/build/make/common/ |
D | math.mk | 22 __MATH_POS_NUMBERS := 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 \ 44 $(if $(subst $(got),,$(2))$(subst $(2),,$(got))$(MATH_TEST_ERROR), \ 45 $(if $(MATH_TEST_ERROR),$(warning $(MATH_TEST_ERROR)),$(warning $$$1 '$(got)' != '$(2)')) \ 55 $(if $(subst $(MATH_TEST_ERROR),,$(2))$(subst $(2),,$(MATH_TEST_ERROR)), \ 56 $(warning '$(MATH_TEST_ERROR)' != '$(2)') \ 67 $(if $(word 2,$(1)),$(call math-error,Multiple words in a single argument: $(1))) \ 73 $(if $(word 2,$(1)),$(call math-error,Multiple words in a single argument: $(1))) \ 78 $(call math-expect-true,(call math_is_number,2)) 81 $(call math-expect-error,(call math_is_number,1 2),Multiple words in a single argument: 1 2) 82 $(call math-expect-error,(call math_is_number,no 2),Multiple words in a single argument: no 2) [all …]
|
D | json.mk | 6 # $2: List. 7 _json_list =$= [$(if $(2),"$(subst $(1),"$(comma)",$(2))")] 20 # 2: Value 21 …ontents := $$(_json_contents)$$(_json_indent)"$$(strip $$(1))": $$(strip $$(2))$$(comma)$$(newline… 22 add_json_str =$= $(call add_json_val,$(1),"$(strip $(2))") 23 add_json_list =$= $(call add_json_val,$(1),$(call json_list,$(patsubst %,%,$(2)))) 24 add_json_csv =$= $(call add_json_val,$(1),$(call csv_to_json_list,$(strip $(2)))) 25 add_json_bool =$= $(call add_json_val,$(1),$(if $(strip $(2)),true,false))
|
/build/soong/ui/build/ |
D | config_test.go | 215 path: "1/2/3/4/5/6/7/8/9/1/2/3/4/5/6/7/8/9/1/2/3/4/5/6/7/8/9/1/2/3/4/5/6/7", 220 path: "1/2/3/4/5", 372 dirsInTrees: []string{"0/1/2/3"}, 373 buildFiles: []string{"0/1/2/3/Android.bp"}, 374 dirs: []string{"1/2/3"}, 376 expectedTargets: []string{"MODULES-IN-0-1-2-3"}, 379 dirsInTrees: []string{"0/1/2/3"}, 381 dirs: []string{"1/2/3"}, 383 errStr: "Build file not found for 0/1/2/3 directory", 386 dirsInTrees: []string{"0/1/2/3"}, [all …]
|
/build/soong/bazel/ |
D | aquery_test.go | 31 "id": 2, 63 "targetId": 2, 72 "inputDepSetIds": [2], 107 "id": 2, 121 "directArtifactIds": [1, 2, 3] 123 "id": 2, 124 "directArtifactIds": [1, 2, 3] 127 "directArtifactIds": [1, 2, 3] 130 "directArtifactIds": [1, 2, 3] 154 "id": 2, [all …]
|
/build/soong/ui/terminal/ |
D | status_test.go | 37 …r\x1b[1m[ 0% 0/2] action1\x1b[0m\x1b[K\r\x1b[1m[ 50% 1/2] action1\x1b[0m\x1b[K\r\x1b[1m[ 50% 1/2]… 38 simple: "[ 50% 1/2] action1\n[100% 2/2] action2\n", 43 …r\x1b[1m[ 0% 0/2] action1\x1b[0m\x1b[K\r\x1b[1m[ 0% 0/2] action2\x1b[0m\x1b[K\r\x1b[1m[ 50% 1/2]… 44 simple: "[ 50% 1/2] action1\n[100% 2/2] action2\n", 49 …[ 33% 1/3] action2\x1b[0m\x1b[K\r\x1b[1m[ 66% 2/3] action2\x1b[0m\x1b[K\noutput1\noutput2\n\r\x1b[… 50 simple: "[ 33% 1/3] action1\n[ 66% 2/3] action2\noutput1\noutput2\n[100% 3/3] action3\n", 55 …[ 33% 1/3] action2\x1b[0m\x1b[K\r\x1b[1m[ 66% 2/3] action2\x1b[0m\x1b[K\noutput1\noutput2\n\r\x1b[… 56 simple: "[ 33% 1/3] action1\n[ 66% 2/3] action2\noutput1\noutput2\n[100% 3/3] action3\n", 61 …tion2\x1b[0m\x1b[K\r\x1b[1m[ 66% 2/3] action2\x1b[0m\x1b[K\nFAILED: f1 f2\ntouch f1 f2\nerror1\ner… 62 …simple: "[ 33% 1/3] action1\n[ 66% 2/3] action2\nFAILED: f1 f2\ntouch f1 f2\nerror1\nerror2\n[100%… [all …]
|
/build/blueprint/parser/ |
D | parser_test.go | 45 TypePos: mkpos(3, 2, 3), 47 LBracePos: mkpos(7, 2, 7), 48 RBracePos: mkpos(8, 2, 8), 63 TypePos: mkpos(3, 2, 3), 65 LBracePos: mkpos(7, 2, 7), 92 TypePos: mkpos(3, 2, 3), 94 LBracePos: mkpos(7, 2, 7), 122 TypePos: mkpos(3, 2, 3), 124 LBracePos: mkpos(7, 2, 7), 153 TypePos: mkpos(3, 2, 3), [all …]
|
/build/soong/ui/status/ |
D | status_test.go | 61 s.SetTotalActions(2) 67 TotalActions: 2, 76 TotalActions: 2, 86 TotalActions: 2, 88 StartedActions: 2, 95 TotalActions: 2, 97 StartedActions: 2, 98 FinishedActions: 2, 102 // For when a tool claims to have 2 actions, but finishes after one. 109 s.SetTotalActions(2) [all …]
|
/build/blueprint/tests/ |
D | test_tree_tests.sh | 38 sleep 2 42 echo "unnecessary build.ninja regeneration for null build" >&2 47 echo "unnecessary .bootstrap/build.ninja regeneration for null build" >&2 54 sleep 2 58 echo "unnecessary build.ninja regeneration for new empty directory" >&2 62 echo "unnecessary .bootstrap/build.ninja regeneration for new empty directory" >&2 69 sleep 2 73 echo "Failed to rebuild build.ninja for glob addition" >&2 77 echo "Failed to rebuild .bootstrap/build.ninja for glob addition" >&2 86 sleep 2 [all …]
|
D | test.sh | 13 echo "Tests should not be enabled here" >&2 17 sleep 2 22 echo "Tests should be enabled here" >&2 26 sleep 2 31 echo "Tests should not be enabled here (2)" >&2
|
/build/make/core/ |
D | node_fns.mk | 45 # $(2): list of variable names to copy 48 $(foreach v,$(2),$(eval $(strip $(1)).$(v):=$($(v)))) 67 # $(2): destination prefix 72 $(eval $(2).$(v) := $($(1).$(v))) \ 79 # $(2): needle 99 $(if $(filter-out 0 1,$(words $(filter $(2),$(1)))), \ 101 $(eval h := $(subst |||$(strip $(2))|||,|||$(space)|||,$(h))) \ 102 $(eval h := $(word 1,$(h)) $(2) $(wordlist 2,9999,$(h))) \ 126 # $(2): list of variables to check 132 $(foreach v,$(2),$($(1).$(v))) \ [all …]
|
D | dex_preopt_libart.mk | 20 # Install $(1) to $(2) so that it is shared between architectures. 25 $(eval my_vdex_shared := $(dir $(patsubst %/,%,$(dir $(2))))$(notdir $(2))) \ 30 $(eval # Create symlink at $(2) which points to the actual physical copy.) \ 31 $(call symlink-file,$(my_vdex_shared),../$(notdir $(2)),$(2)) \ 32 $(my_vdex_shared) $(2) \ 38 $(foreach v,$(1),$(call copy-vdex-file,$(call word-colon,1,$(v)),$(2)$(call word-colon,2,$(v)))) 49 my_rest_pairs := $(wordlist 2,$(words $(my_copy_pairs)),$(my_copy_pairs)) 52 my_first_dest := $(my_boot_image_out)$(call word-colon,2,$(my_first_pair))
|
/build/soong/third_party/zip/ |
D | android_test.go | 34 in: []byte{1, 2, 3}, 35 out: []byte{1, 2, 3}, 39 in: []byte{2, 0, 2, 0, 1, 2}, 40 out: []byte{2, 0, 2, 0, 1, 2}, 44 in: []byte{2, 0, 2, 0, 1, 2, 2, 0, 0, 0}, 45 out: []byte{2, 0, 2, 0, 1, 2, 2, 0, 0, 0}, 49 in: []byte{1, 0, 8, 0, 1, 2, 3, 4, 5, 6, 7, 8}, 54 in: []byte{1, 0, 8, 0, 1, 2, 3, 4, 5, 6, 7, 8, 2, 0, 0, 0}, 55 out: []byte{2, 0, 0, 0}, 64 in: []byte{1, 0, 8, 0, 1, 2, 3, 4, 5, 6, 7, 8, 85, 84, 5, 0, 1, 1, 2, 3, 4, 2, 0, 0, 0}, [all …]
|
/build/soong/cmd/extract_apks/bundle_proto/ |
D | commands.proto | 24 Bundletool bundletool = 2; 42 repeated ApkSet apk_set = 2; 57 repeated ApkDescription apk_description = 2; 79 bool on_demand_deprecated = 2 [deprecated = true]; 88 repeated ApkDescription apk_description = 2; 102 bool on_demand_deprecated = 2 [deprecated = true]; 113 bool on_demand_deprecated = 2 [deprecated = true]; 119 ON_DEMAND = 2; 130 string path = 2; 153 bool is_master_split = 2; [all …]
|
D | config.proto | 14 Optimizations optimizations = 2; 26 ASSET_ONLY = 2; 34 string version = 2; 50 repeated string resource_names = 2; 57 UncompressNativeLibraries uncompress_native_libraries = 2; 84 bool strip_64_bit_libraries = 2; 91 SCREEN_DENSITY = 2; 102 bool negate = 2; 130 string default_suffix = 2; 145 string path = 2; [all …]
|
/build/make/core/clang/ |
D | tidy.mk | 17 # Returns 2nd word of $(1) if $(2) has prefix of the 1st word of $(1). 19 $(if $(filter $(word 1,$(1))%,$(2)/),$(word 2,$(1))) 22 # Returns 2nd part of $(1) if $(2) has prefix of the 1st part of $(1). 24 $(call find_default_local_tidy_check2,$(subst :,$(space),$(1)),$(2))
|
/build/make/tools/ |
D | build-license-metadata.sh | 42 # When the exit status is 2, assumes a usage error and outputs the usage message 46 # Optional numeric exit status (defaults to 2, i.e. a usage error.) 49 lstatus=2 51 case "${lstatus}" in 2) echo "${USAGE}" >&2; echo >&2 ;; esac 53 echo -e "$*\n" >&2 144 awk '$1 == "dep_name:" { sub(/^"/, "", $2); sub(/"$/, "", $2); print $2; }' 183 if ! expr "${depfiles}" : ".* ${lmod} .*" >/dev/null 2>&1; then 263 print " dep_sub_dep: "$2 266 print " dep_license_kind: "$2 269 print " dep_license_condition: "$2 [all …]
|
/build/soong/java/ |
D | lint_defaults.txt | 7 --warning_check BlockedPrivateApi # 2 occurences in 2 modules 8 --warning_check ByteOrderMark # 2 occurences in 2 modules 16 --warning_check GetContentDescriptionOverride # 3 occurences in 2 modules 24 --warning_check InvalidUsesTagAttribute # 6 occurences in 2 modules 26 --warning_check JavascriptInterface # 3 occurences in 2 modules 36 --warning_check MissingLeanbackSupport # 2 occurences in 2 modules 51 --warning_check ParcelCreator # 23 occurences in 2 modules
|
/build/bazel/json_module_graph/ |
D | query.sh | 6 echo "Usage: query.sh [-C] <command> <graph JSON> [argument]" 1>&2 7 echo " -C: colorized output" 1>&2 22 if [[ "$#" -lt 2 ]]; then 27 GRAPH="$2" 29 if [[ "$#" -gt 2 ]]; then
|
/build/bazel/scripts/ |
D | queryview-bottom-up.sh | 57 # 2 //bionic/libc:bionic_libc_platform_headers--android_arm_armv7-a-neon … 58 # 2 //bionic/libc:crtbegin_so--android_arm_armv7-a-neon … 59 # 2 //bionic/libc:crtend_so--android_arm_armv7-a-neon … 60 # 2 //bionic/libc:libc_common--android_arm_armv7-a-neon_static … 61 # 2 //bionic/libc:libc_common_static--android_arm_armv7-a-neon_static … 62 # 2 //bionic/libc:libc_dynamic_dispatch--android_arm_armv7-a-neon_static … 75 label_array=$(bazel query --config=queryview "deps($T)" --output=label $COMMON_BAZEL_OPTS 2>/dev/nu… 78 …s($T)" --output=minrank $COMMON_BAZEL_OPTS 2>/dev/null | awk -e '{print $2 " " $1}' | sort | awk -… 81 …T)" --output=label_kind $COMMON_BAZEL_OPTS 2>/dev/null | awk -e '{print $3 " " $1}' | sort | awk -…
|
/build/soong/ui/metrics/metrics_proto/ |
D | metrics.proto | 25 optional string build_id = 2; 36 ENG = 2; 44 ARM64 = 2; 60 // The host 2nd arch information, eg. x86. 75 // The host cross 2nd arch information, eg. x86_64. 116 optional bool use_rbe = 2; 126 optional int32 available_cpus = 2; 134 optional string name = 2; 156 optional uint64 user_time_micros = 2; 187 MAKE = 2; [all …]
|
/build/make/tools/releasetools/ |
D | test_rangelib.py | 59 RangeSet("2-3 7-12")) 101 self.assertEqual(str(RangeSet("2-10 12")), "2-10 12") 102 self.assertEqual(str(RangeSet("11 2-10 12 1 0")), "0-12") 106 self.assertEqual(RangeSet("0-9").to_string_raw(), "2,0,10") 107 self.assertEqual(RangeSet("2-10 12").to_string_raw(), "4,2,11,12,13") 108 self.assertEqual(RangeSet("11 2-10 12 1 0").to_string_raw(), "2,0,13") 115 self.assertTrue(RangeSet("2-9").monotonic) 116 self.assertTrue(RangeSet("2-9 30 31 35").monotonic) 124 self.assertTrue(RangeSet(data=[2, 9, 30, 31, 31, 32, 35, 36]).monotonic) 133 RangeSet.parse_raw(RangeSet("2-10 12").to_string_raw()), [all …]
|
/build/make/tools/product_config/ |
D | inherit_tree.py | 23 if len(argv) != 2: 35 root = line[2] 40 graph.setdefault(line[1], list()).append(line[2]) 48 # vim: set expandtab ts=2 sw=2 sts=2:
|
/build/soong/dexpreopt/dexpreopt_gen/ |
D | dexpreopt_gen.go | 95 os.Exit(2) 101 os.Exit(2) 107 os.Exit(2) 113 os.Exit(2) 119 os.Exit(2) 125 os.Exit(2) 188 fmt.Fprintln(script, "rm -f $2.d") 189 // Write the output path unescaped so the $2 gets expanded 190 fmt.Fprintln(script, `echo -n $2 > $2.d`) 193 fmt.Fprintf(script, "cat >> $2.d <<'EOF'\n%sEOF\n", depFile.String()) [all …]
|
/build/soong/ |
D | soong.bash | 17 echo '==== ERROR: bootstrap.bash & ./soong are obsolete ====' >&2 18 echo 'Use `m --skip-make` with a standalone OUT_DIR instead.' >&2 19 echo 'Without envsetup.sh, use:' >&2 20 echo ' build/soong/soong_ui.bash --make-mode --skip-make' >&2 21 echo '======================================================' >&2
|
D | bootstrap.bash | 17 echo '==== ERROR: bootstrap.bash & ./soong are obsolete ====' >&2 18 echo 'Use `m --skip-make` with a standalone OUT_DIR instead.' >&2 19 echo 'Without envsetup.sh, use:' >&2 20 echo ' build/soong/soong_ui.bash --make-mode --skip-make' >&2 21 echo '======================================================' >&2
|