Home
last modified time | relevance | path

Searched refs:index (Results 1 – 25 of 88) sorted by relevance

1234

/build/soong/cc/
Dvndk.go79 if index := strings.LastIndex(filename, "."); index != -1 {
80 return filename[:index] + "." + vndkVersion + filename[index:]
/build/make/tools/releasetools/
Dota_metadata_pb2.py35 name='UNKNOWN', index=0, number=0,
39 name='AB', index=1, number=1,
43 name='BLOCK', index=2, number=2,
47 name='BRICK', index=3, number=3,
67 …name='partition_name', full_name='build.tools.releasetools.PartitionState.partition_name', index=0,
74 name='device', full_name='build.tools.releasetools.PartitionState.device', index=1,
81 name='build', full_name='build.tools.releasetools.PartitionState.build', index=2,
88 name='version', full_name='build.tools.releasetools.PartitionState.version', index=3,
119 name='device', full_name='build.tools.releasetools.DeviceState.device', index=0,
126 name='build', full_name='build.tools.releasetools.DeviceState.build', index=1,
[all …]
Dcare_map_pb2.py37 name='name', full_name='recovery_update_verifier.CareMap.PartitionInfo.name', index=0,
44 name='ranges', full_name='recovery_update_verifier.CareMap.PartitionInfo.ranges', index=1,
51 name='id', full_name='recovery_update_verifier.CareMap.PartitionInfo.id', index=2,
58 …ame='fingerprint', full_name='recovery_update_verifier.CareMap.PartitionInfo.fingerprint', index=3,
88 name='partitions', full_name='recovery_update_verifier.CareMap.partitions', index=0,
/build/soong/android/
Dpath_properties.go131 func fieldsByIndex(v reflect.Value, index []int, values *[]reflect.Value) {
133 if len(index) == 1 {
136 *values = append(*values, v.Index(i).Field(index[0]))
146 *values = append(*values, v.Field(index[0]))
161 fieldsByIndex(v.Index(i).Field(index[0]), index[1:], values)
165 fieldsByIndex(v.Field(index[0]), index[1:], values)
Dapex.go568 if index, exists := seen[mergedName]; exists {
570 merged[index].InApexVariants = append(merged[index].InApexVariants, variantName)
571 merged[index].InApexModules = append(merged[index].InApexModules, apexInfo.InApexModules...)
572 merged[index].ApexContents = append(merged[index].ApexContents, apexInfo.ApexContents...)
573 merged[index].Updatable = merged[index].Updatable || apexInfo.Updatable
576 merged[index].UsePlatformApis = merged[index].UsePlatformApis && apexInfo.UsePlatformApis
577 merged[index].TestApexes = append(merged[index].TestApexes, apexInfo.TestApexes...)
743 index := sort.SearchStrings(bApexes, aApex)
744 if index < len(bApexes) && bApexes[index] == aApex {
/build/soong/androidmk/parser/
Dmake_strings.go303 index := strings.IndexAny(s, sep)
304 if index >= 0 {
305 ret = append(ret, s[0:index])
306 s = s[index+1:]
321 index := strings.IndexByte(s, '\\')
322 if index < 0 {
326 if index+1 == len(s) {
330 switch s[index+1] {
332 ret += s[:index] + s[index+1:index+2]
334 ret += s[:index+2]
[all …]
/build/soong/java/
Dhiddenapi_singleton.go48 index android.OutputPath member
108 index: hiddenapiDir.Join(ctx, "hiddenapi-index.csv"),
158 index := configuredBootJars.IndexOfJar(name)
159 if index == -1 {
172 requiredApex := configuredBootJars.Apex(index)
198 outputPath := hiddenAPISingletonPaths(ctx).index
/build/make/tools/product_config/src/com/android/build/config/
DConvertMakeToGenericConfig.java68 for (int index = 1; index < blocks.size() - 1; index++) { in convert()
69 if (blocks.get(index).getBlockType() != MakeConfig.BlockType.INHERIT) { in convert()
70 throw new RuntimeException("expected INHERIT at block " + index); in convert()
81 for (int index = 1; index < blocks.size(); index++) { in convert()
82 final MakeConfig.Block block = blocks.get(index); in convert()
DDumpConfigParser.java82 int index = 0; in parseImpl() local
91 for (; index < lineCount; index++) { in parseImpl()
92 final CsvParser.Line line = lines.get(index); in parseImpl()
123 for (; index < lineCount; index++) { in parseImpl()
124 final CsvParser.Line line = lines.get(index); in parseImpl()
/build/make/tools/aconfig/aconfig_storage_read_api/tests/
Dstorage_read_api_test.cpp198 for (int index = 0; index < 8; ++index) { in TEST_F() local
199 auto value = api::get_boolean_flag_value(*mapped_file, index); in TEST_F()
201 ASSERT_EQ(*value, expected_value[index]); in TEST_F()
227 for (int index = 0; index < 8; ++index) { in TEST_F() local
228 auto attribute = api::get_flag_attribute(*mapped_file, api::FlagValueType::Boolean, index); in TEST_F()
232 expected_value[index]); in TEST_F()
/build/bazel/rules/cc/
Dcc_hidl_library_test.bzl128 index = cmd.index("-p")
131 index > 0,
137 cmd[index + 1] == ".",
141 index = cmd.index("-o")
144 index > 0,
150 cmd[index + 1].endswith(package_root),
154 index = cmd.index("-L")
157 index > 0,
163 cmd[index + 1] == "c++-headers",
/build/soong/ui/build/
Dsandbox_linux_test.go93 indexOfSrcDir := index(cmdArgs, dirName)
97 func index(arr []string, target string) int { func
/build/bazel/json_module_graph/
DfilterSubtree.jq5 def isBlueprint($p): .Blueprint | index($p) != null
/build/make/tools/aconfig/aconfig_storage_read_api/include/aconfig_storage/
Daconfig_storage_read_api.hpp160 uint32_t index);
170 uint32_t index);
/build/soong/sdk/
Dbootclasspath_fragment_sdk_test.go173 index: "hiddenapi/index.csv",
200 …diates/art-bootclasspath-fragment/android_common/modular-hiddenapi/index.csv -> hiddenapi/index.csv
402 index: "hiddenapi/index.csv",
487 …meworks/base/boot/platform-bootclasspath/android_common/hiddenapi-monolithic/index-from-classes.csv
488 snapshot/hiddenapi/index.csv
521 …rmediates/mybootclasspathfragment/android_common/modular-hiddenapi/index.csv -> hiddenapi/index.csv
541 …es/mybootclasspathfragment/android_common_myapex/modular-hiddenapi/index.csv -> hiddenapi/index.csv
693 index: "hiddenapi/index.csv",
773 index: "hiddenapi/index.csv",
951 index: "hiddenapi/index.csv",
[all …]
/build/make/tools/aconfig/aconfig/src/storage/
Dmod.rs68 let index = *(package_index.entry(parsed_flag.package()).or_insert(packages.len())); in group_flags_by_package() localVariable
69 if index == packages.len() { in group_flags_by_package()
70 packages.push(FlagPackage::new(parsed_flag.package(), index as u32)); in group_flags_by_package()
72 packages[index].insert(parsed_flag); in group_flags_by_package()
Dpackage_table.rs92 if let Some(index) = next_node_bucket_idx { in create_package_table()
93 if index == node_bucket_idx { in create_package_table()
/build/make/tools/aconfig/aconfig_storage_read_api/
Daconfig_storage_read_api.cpp172 uint32_t index) { in get_boolean_flag_value() argument
175 auto value_cxx = get_boolean_flag_value_cxx(content, index); in get_boolean_flag_value()
189 uint32_t index) { in get_flag_attribute() argument
193 content, static_cast<uint16_t>(value_type), index); in get_flag_attribute()
/build/make/tools/
Dpost_process_props.py220 index = next((i for i,p in enumerate(self.props)
222 if index == -1:
226 self.props[index].comments.append(
228 self.props[index].value)
229 self.props[index].value = value
/build/soong/jar/
Djar.go43 diff := index(filepathA) - index(filepathB)
66 func index(name string) int { func
/build/soong/scripts/hiddenapi/
Dsignature_trie.py244 for index, element in enumerate(elements[:-1]):
247 elif only_if_matches and index == 0:
250 selector = self.elements_to_selector(elements[0:index + 1])
/build/make/tools/aconfig/aconfig_storage_write_api/src/
Dlib.rs60 index: u32, in set_boolean_flag_value()
63 crate::flag_value_update::update_boolean_flag_value(file, index, value)?; in set_boolean_flag_value()
79 index: u32, in set_flag_has_server_override()
82 crate::flag_info_update::update_flag_has_server_override(file, flag_type, index, value)?; in set_flag_has_server_override()
98 index: u32, in set_flag_has_local_override()
101 crate::flag_info_update::update_flag_has_local_override(file, flag_type, index, value)?; in set_flag_has_local_override()
/build/soong/apex/
Ddexpreopt_bootjars_test.go114 index: "my-bootclasspath-fragment/index.csv",
328 index: "my-bootclasspath-fragment/index.csv",
485 index: "my-bootclasspath-fragment/index.csv",
/build/make/tools/finalization/
Dbuild_soong_java_droidstubs.go.revert_hack.diff14 index ec4a0f4..5777b18 100644
/build/bazel/scripts/incremental_build/
Dgo_allowlists.py71 left_pad = line[: line.index(real_item)]
93 left_pad = line[: line.index(real_item)]

1234