/build/kati/testcase/ |
D | word.mk | 2 echo $(word 2, foo bar baz) 3 echo $(word 2, ) 4 echo $(word 4, foo bar baz) 5 echo $(word 1, foo,bar baz) 6 echo $(word 2, foo,bar baz) 7 echo $(word 2, foo, bar baz)
|
D | err_word_zero.mk | 2 echo $(word 0, foo bar)
|
D | err_word_non_numeric.mk | 2 echo $(word -1, foo bar)
|
/build/make/core/tasks/tools/ |
D | package-modules.mk | 15 my_built_modules := $(foreach p,$(my_copy_pairs),$(call word-colon,1,$(p))) 16 …y_copy_pairs := $(foreach p,$(my_copy_pairs),$(call word-colon,1,$(p)):$(my_staging_dir)/$(call wo… 43 $(eval _module_class_folder := $($(strip MODULE_CLASS_$(word 1, $(strip $(ALL_MODULES.$(m).CLASS)\ 50 $(eval ins := $(word 2,$(bui_ins)))\ 52 $(eval bui := $(word 1,$(bui_ins)))\ 74 mkdir -p $(dir $(word 2,$(pair))) && \ 75 cp -Rf $(word 1,$(pair)) $(word 2,$(pair)) && ) true
|
D | build_custom_image.mk | 46 $(eval ins := $(word 2,$(bui_ins)))\ 48 $(eval bui := $(word 1,$(bui_ins)))\ 61 $(eval src := $(word 1,$(pair)))\ 63 $(eval my_copy_pairs += $(src):$(my_staging_dir)/$(word 2,$(pair)))) 118 mkdir -p $(dir $(word 2,$(pair)));\ 119 cp -Rf $(word 1,$(pair)) $(word 2,$(pair));)
|
/build/kati/ |
D | buf.go | 46 func (w *ssvWriter) writeWord(word []byte) { 51 w.Writer.Write(word) 54 func (w *ssvWriter) writeWordString(word string) { 59 io.WriteString(w.Writer, word) 161 word := wb.words[len(wb.words)-1] 163 wb.buf.buf = wb.buf.buf[:len(wb.buf.buf)-len(word)] 165 w = append(w, word...) 188 func (wb *wordBuffer) writeWord(word []byte) { 193 wb.buf.buf = append(wb.buf.buf, word...) 194 wb.words = append(wb.words, wb.buf.buf[off:off+len(word)]) [all …]
|
D | buf_test.go | 62 for _, word := range wb.words { 63 got = append(got, string(word))
|
D | func.go | 219 for _, word := range wb.words { 220 pre, subst, post := substPatternBytes(pat, repl, word) 249 for _, word := range wb.words { 250 w.writeWord(word) 451 for i, word := range wb.words { 453 w.writeWord(word) 548 var word []byte 550 word = append(word, wb1.words[i]...) 553 word = append(word, wb2.words[i]...) 555 w.writeWord(word) [all …]
|
/build/make/packaging/ |
D | distdir.mk | 23 $(eval goal := $(call word-colon,1,$(pair))) \ 24 $(eval output := $(call word-colon,2,$(pair))) \ 39 $(eval src := $(call word-colon,1,$(pair))) \ 40 $(eval dst := $(DIST_DIR)/$(call word-colon,2,$(pair))) \
|
/build/make/core/ |
D | multi_prebuilt.mk | 60 $(if $(word 3,$(tw)),$(error $(LOCAL_PATH): Bad prebuilt filename '$(t)')) \ 61 $(if $(word 2,$(tw)), \ 62 $(eval LOCAL_MODULE := $(word 1,$(tw))) \ 63 $(eval LOCAL_SRC_FILES := $(word 2,$(tw))) \ 71 $(if $(word 2,$(tw)), \
|
D | dex_preopt_libart.mk | 11 my_installed := $(foreach v,$(my_vdex_copy_pairs),$(PRODUCT_OUT)$(call word-colon,2,$(v))) 14 my_built_vdex_dir := $(dir $(call word-colon,1,$(firstword $(my_vdex_copy_pairs)))) 15 my_installed_vdex_dir := $(PRODUCT_OUT)$(dir $(call word-colon,2,$(firstword $(my_vdex_copy_pairs))…
|
D | product.mk | 47 $(if $(word 2,$(_cpm_words)), \ 65 $(if $(filter-out eng userdebug user,$(word 2,$(_parts))), \ 66 $(error $(LOCAL_DIR): $(choice): Invalid variant: $(word 2,$(_parts)))) \ 67 $(if $(filter-out $(foreach p,$(2),$(call _decode-product-name,$(p))),$(word 1,$(_parts))), \ 68 $(error $(LOCAL_DIR): $(word 1,$(_parts)): Product not defined in this file)) \ 381 $(eval current_mk := $(strip $(word 1,$(_include_stack)))) \ 391 $(eval current_mk := $(strip $(word 1,$(_include_stack)))) \ 401 $(eval current_mk := $(strip $(word 1,$(_include_stack)))) \ 526 $(if $(wildcard $(word 1,$(subst :, ,$(1)))),$(1))
|
D | distdir.mk | 40 $(eval src := $(call word-colon,1,$(file))) \ 41 $(eval dst := $(call word-colon,2,$(file))) \
|
D | node_fns.mk | 97 define uniq-word 102 $(eval h := $(word 1,$(h)) $(2) $(wordlist 2,9999,$(h))) \ 160 $(call uniq-word,$($(_eiv_tv)),$(INHERIT_TAG)$(i))) \
|
D | base_rules.mk | 200 …$(error $(LOCAL_PATH): LOCAL_MODULE_CLASS must contain exactly one word, not "$(LOCAL_MODULE_CLASS… 490 my_init_rc_installed := $(foreach rc,$(my_init_rc_pairs),$(call word-colon,2,$(rc))) 522 my_vintf_installed := $(foreach xml,$(my_vintf_pairs),$(call word-colon,2,$(xml))) 575 $(eval _file := $(call word-colon,2,$(td))) \ 577 $(eval _src_base := $(call word-colon,1,$(td))), \ 579 $(eval _file := $(call word-colon,1,$(td)))) \ 683 $(eval s := $(word 1,$(p))) \ 684 $(eval n := $(or $(word 2,$(p)),$(notdir $(word 1, $(p))))) \ 723 $(eval src_path := $(word 1,$(parts))) \ 724 $(eval file := $(word 2,$(parts))) \ [all …]
|
D | definitions.mk | 119 $(foreach word,$($(var)), \ 120 $(info $(space)$(space)$(word)) \ 2126 -name $(word 1, $(PRIVATE_JAR_EXCLUDE_FILES)) \ 2519 $(eval _cmf_src := $(word 1,$(_cmf_tuple))) \ 2520 $(eval _cmf_dest := $(word 2,$(_cmf_tuple))) \ 2549 $(eval _cmf_src := $(word 1,$(_cmf_tuple))) \ 2550 $(eval _cmf_dest := $(word 2,$(_cmf_tuple))) \ 2571 $(eval _cmf_src := $(word 1,$(_cmf_tuple))) \ 2572 $(eval _cmf_dest := $(word 2,$(_cmf_tuple))) \ 2593 $(eval _cmf_src := $(word 1,$(_cmf_tuple))) \ [all …]
|
D | pdk_config.mk | 79 mkdir -p $(PRODUCT_OUT)/$(dir $(call word-colon,1,$(s))) && \ 80 ln -sf $(call word-colon,2,$(s)) $(PRODUCT_OUT)/$(call word-colon,1,$(s)) &&) true
|
D | product_config.mk | 108 TARGET_PRODUCT := $(word 1,$(product_goals)) 111 TARGET_BUILD_VARIANT := $(word 2,$(product_goals)) 193 $(eval _cpm_word1 := $(word 1,$(_cpm_words)))\ 194 $(eval _cpm_word2 := $(word 2,$(_cpm_words)))\
|
/build/make/core/tasks/ |
D | sdk-addon.mk | 48 $(eval _src := $(call module-stubs-files,$(call word-colon,1,$(cf)))) \ 51 …$(if $(_src),,$(eval $(error Unknown or unlinkable module: $(call word-colon,1,$(cf)). Requested b… 52 $(eval _dest := $(call word-colon,2,$(cf))) \ 60 $(eval _src := $(call word-colon,1,$(cf))) \ 61 $(eval _dest := $(call word-colon,2,$(cf))) \ 85 $(eval _root := $(call word-colon,1,$(cf))) \ 86 $(eval _src := $(call word-colon,2,$(cf))) \ 87 …$(eval _dest := $(call append-path,$(call append-path,$(staging),$(_root)),$(call word-colon,3,$(c…
|
D | vndk.mk | 34 $(eval module := $(call word-colon,1,$(pair))$(if $(2),$(TARGET_2ND_ARCH_MODULE_SUFFIX))) \ 36 $(eval filename := $(call word-colon,2,$(pair))) \ 39 $(if $(built),$(call word-colon,1,$(built)):$(filename)) \ 136 $(vndk_snapshot_zip): $(foreach d,$(deps),$(call word-colon,1,$(d))) 142 $(vndk_snapshot_zip): $(foreach d,$(deps),$(call word-colon,1,$(d))) 150 $(vndk_snapshot_zip): $(foreach d,$(deps),$(call word-colon,1,$(d))) 156 $(vndk_snapshot_zip): $(foreach n,$(notices),$(call word-colon,1,$(n))) 163 $(vndk_snapshot_zip): $(foreach d,$(deps),$(call word-colon,1,$(d))) 169 $(vndk_snapshot_zip): $(foreach d,$(deps),$(call word-colon,1,$(d))) 180 cp $(call word-colon,1,$(file)) $(call append-path,$(1),$(call word-colon,2,$(file))) && \
|
D | vendor_module_check.mk | 90 $(if $(filter $(_vendor_owner_whitelist), $(call word-colon,3,$(c))),,\ 92 $(eval _vendor_module_owner_info += $(call word-colon,2,$(c)):$(call word-colon,3,$(c))))
|
D | tradefed-tests-list.mk | 25 $(eval all_tests += $(word 2,$(subst /res/config/,$(space),$(test)))))
|
/build/make/core/clang/ |
D | tidy.mk | 19 $(if $(filter $(word 1,$(1))%,$(2)/),$(word 2,$(1)))
|
/build/make/common/ |
D | strings.mk | 86 define word-colon 87 $(word $(1),$(subst :,$(space),$(2))) 112 $(strip $(foreach w,$(1), $(eval _first := $(word 1,$(subst $(2),$(space),$(w))))\
|
/build/make/tools/atree/ |
D | files.cpp | 273 const string& word = *it; in read_list_file() local 274 if (word == "rm") { in read_list_file() 280 } else if (word == "strip") { in read_list_file() 288 paths[pcount++] = replace_variables(word, variables, &error); in read_list_file()
|