/build/soong/starlark_fmt/ |
D | format.go | 36 func PrintBool(item bool) string { 37 return strings.Title(fmt.Sprintf("%t", item)) 60 for _, item := range items { 61 list = append(list, fmt.Sprintf(`%s`+formatString(item)+`,`, innerIndent, item))
|
/build/make/tools/releasetools/merge/ |
D | merge_utils.py | 106 any(item.startswith(partition) for item in OPTIONS.framework_item_list) 109 any(item.startswith(partition) for item in OPTIONS.vendor_item_list) or 156 for item in item_list: 157 partition_match = _PARTITION_ITEM_PATTERN.search(item.strip())
|
D | merge_builds.py | 135 item for item in vbmeta_partitions 136 if item not in chained_partitions.split()
|
/build/bazel/scripts/bp2build-progress/ |
D | bp2build-progress.py | 66 for item in data: 67 ret.input_module.add(item.input_module) 68 for key, value in item.all_unconverted_modules.items(): 70 for key, value in item.blocked_modules.items(): 72 ret.dirs_with_unconverted_modules.update(item.dirs_with_unconverted_modules) 73 ret.kind_of_unconverted_modules.update(item.kind_of_unconverted_modules) 75 ret.converted.update(item.converted) 298 for item in attr: 299 if item.attrib["value"] == name:
|
/build/make/tools/product_config/src/com/android/build/config/ |
D | FlattenConfig.java | 393 final Str item = items.get(i); in assignToListVar() local 394 addWords(result, item); in assignToListVar() 411 for (Str item: items) { in appendToListVar() 412 addWords(out, item); in appendToListVar() 419 private static void addWords(List<Str> out, Str item) { in addWords() argument 420 for (String word: RE_SPACE.split(item.toString().trim())) { in addWords() 422 out.add(new Str(item.getPosition(), word)); in addWords() 437 final Str item = list.get(i); in flattenAssignList() local 438 result.append(item.toString()); in flattenAssignList() 442 final Position pos = item.getPosition(); in flattenAssignList()
|
/build/soong/mk2rbc/ |
D | expr.go | 386 for _, item := range l.items { 388 item.emit(gctx) 398 for _, item := range l.items { 400 item.emit(gctx) 418 for i, item := range l.items { 419 itemsCopy[i] = item.transform(transformer) 431 for _, item := range items { 432 v.items = append(v.items, &stringLiteralExpr{item}) 450 for _, item := range c.items[1:] { 452 item.emit(gctx) [all …]
|
/build/make/tools/ |
D | compare_builds.py | 439 SortByTimestamp(changed, key=lambda item: item[1])) 458 def SortByTimestamp(items, key=lambda item: item): 464 return [x[0] for x in sorted([(item, GetFileTimestamp(key(item))) for item in items], 649 for item in items: 650 sys.stdout.write(" %s\n" % fmt % item)
|
D | check_radio_versions.py | 39 for item in sys.argv[2:]: 40 key, fn = item.split(":", 1)
|
D | fat16copy.py | 748 def add_item(directory, item): argument 755 if os.path.isdir(item): 756 base = os.path.basename(item) 758 base = os.path.basename(item[:-1]) 760 for next_item in sorted(os.listdir(item)): 761 add_item(sub, os.path.join(item, next_item)) 763 with open(item, 'rb') as f: 764 directory.new_file(os.path.basename(item), f)
|
/build/make/tools/droiddoc/templates-pdk/assets/ |
D | android-developer-resource-browser.js | 95 resource.topicsHtml = humanizeList(resource.topics, function(item) { argument 96 return '<strong>' + allTags[item].displayTag + '</strong>'; 123 taggedWithHtml.push(humanizeList(searchTags, function(item) { argument 124 return '<strong>' + allTags[item].displayTag + '</strong>';
|
/build/soong/partner/bpfix/extensions/ |
D | headers.go | 62 for _, item := range list.Values { 63 if lib, found := findHeaderLib(item); found { 68 newList = append(newList, item)
|
/build/make/tools/warn/ |
D | html_writer.py | 581 for item in array: 582 writer(str(item) + ',') 589 for item in array: 590 writer('"' + strip_escape_string(item) + '",') 597 for item in array: 598 writer('"' + html.escape(strip_escape_string(item)) + '",') 605 for item in array: 606 writer(str(item) + ',')
|
/build/soong/mk2rbc/cmd/ |
D | mk2rbc.go | 504 for _, item := range items { 505 freq[strings.TrimPrefix(strings.TrimSuffix(item, "]"), "[")]++ 508 for item := range freq { 509 sorted = append(sorted, item) 516 for i, item := range sorted { 521 count := freq[item] 523 res += fmt.Sprintf("%s%s(%d)", sep, item, count) 525 res += fmt.Sprintf("%s%s", sep, item)
|
/build/soong/cmd/soong_build/ |
D | writedocs.go | 60 item := moduleTypeTemplateData{ 86 oldProp := &item.Properties[len(item.Properties)-1].Properties 89 item.Properties = append(item.Properties, prop) 93 result = append(result, item)
|
/build/soong/scripts/ |
D | conv_linker_config.py | 62 for item in installed_libraries: 63 if item not in getattr(pb, 'provideLibs'): 64 getattr(pb, 'provideLibs').append(item)
|
/build/make/tools/releasetools/ |
D | test_blockimgdiff.py | 50 item = HeapItem(self.Item(15)) 51 self.assertTrue(item) 53 item.clear() 54 self.assertFalse(item)
|
D | add_img_to_target_files | 694 for item in files_list: 695 file_path = os.path.join(OPTIONS.input_tmp, item) 697 common.ZipWrite(output_zip, file_path, arcname=item) 968 item for item in vbmeta_partitions 969 if item not in vbmeta_system.split()] 978 item for item in vbmeta_partitions 979 if item not in vbmeta_vendor.split()]
|
D | add_img_to_target_files.py | 694 for item in files_list: 695 file_path = os.path.join(OPTIONS.input_tmp, item) 697 common.ZipWrite(output_zip, file_path, arcname=item) 968 item for item in vbmeta_partitions 969 if item not in vbmeta_system.split()] 978 item for item in vbmeta_partitions 979 if item not in vbmeta_vendor.split()]
|
/build/soong/android/ |
D | util.go | 226 for _, item := range list { 227 if item != s { 228 result = append(result, item)
|
/build/soong/bpfix/bpfix/ |
D | bpfix.go | 848 for _, item := range variables.Values { 849 nameValue, ok := item.(*parser.String) 855 patchList.Add(item.Pos().Offset, item.End().Offset+2, "") 1044 for _, item := range list.Values { 1045 str, ok := item.(*parser.String) 1047 replaceStr += fmt.Sprintf("// ERROR: Unable to parse tag %q\n", item) 1254 for _, item := range items.Values { 1257 equal, err := parser.ExpressionsAreSame(item, removal) 1267 items.Values[writeIndex] = item 1270 patchList.Add(item.Pos().Offset, item.End().Offset+2, "")
|
/build/blueprint/proptools/ |
D | unpack.go | 172 for i, item := range items { 177 Value: item.Value, 406 for i, item := range items { 408 itemProperty.Value = item.Key 417 itemProperty.Value = item.Value
|
/build/make/tools/fs_config/ |
D | fs_config_generator.py | 559 if all([config.has_option(section, item) for item in options]): 585 self._aids.sort(key=lambda item: item.normalized_value) 1355 aids.sort(key=lambda item: int(item.normalized_value))
|
/build/make/core/ |
D | product_config.rbc | 104 seen = {item: 0 for item in value_list} 319 for item in values_list: 321 if type(item) != "tuple": 322 result.append(item) 324 child_name = item[0] 375 """Returns configuration item for the inherited module.""" 532 """Generate <item>:<outdir>/item for each item.""" 787 If 's' is a list, applies substitution to each item. 797 For each item in a given list, create <from>:<to> pair, where <from> and
|
/build/make/tools/rbcrun/ |
D | host.go | 228 for i, item := range items { 229 elems[i] = starlark.String(item)
|
/build/soong/bazel/ |
D | properties.go | 898 for _, item := range value.Includes { 902 filtered := f.filter(ctx, item) 911 if *filtered == item { 913 …ctx.ModuleErrorf("%q was found in multiple partitions: %q, %q", item.Label, *inPartition, partitio… 922 partitionToLabels.appendIncludes(*remainderPartition, item)
|