Home
last modified time | relevance | path

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

/ndk/build/core/
Dsetup-abi.mk35 $(eval TARGET_PLATFORM := $$(subst android-$(_plat),android-9,$$(TARGET_PLATFORM)))\
42 $(eval TARGET_PLATFORM := $$(subst android-$(_plat),android-9,$$(TARGET_PLATFORM)))\
Dsetup-toolchain.mk62 … TARGET_TOOLCHAIN_BASE := $(subst $(space),-,$(call chop,$(subst -,$(space),$(TARGET_TOOLCHAIN))))
104 TOOLCHAIN_VERSION := $(call last,$(subst -,$(space),$(TARGET_TOOLCHAIN)))
Dsetup-imports.mk32 $(foreach __path,$(subst $(HOST_DIRSEP),$(space),$(NDK_MODULE_PATH)),\
Dbuild-local.mk25 NDK_ROOT := $(subst \,/,$(NDK_ROOT))
70 $(eval __host_dir_node := $(patsubst %/,%,$(subst \,/,$1)))\
Ddefinitions.mk163 …$(eval __host_rm_files := $(foreach __host_rm_file,$1,$(subst /,\,$(wildcard $(__host_rm_file)))))\
178 …$(eval __host_rmdir_files := $(foreach __host_rmdir_file,$1,$(subst /,\,$(wildcard $(__host_rmdir_…
192 host-mkdir = md $(subst /,\,"$1") >NUL 2>NUL || rem
206 host-cp = copy /b/y $(subst /,\,"$1" "$2") > NUL
221 host-install = copy /b/y $(subst /,\,"$1" "$2") > NUL
250 copy-if-differ = $(HOST_CMP) -s $1 $2 > NUL || copy /b/y $(subst /,\,"$1" "$2") > NUL
1029 ifneq (1,$$(words $$(subst /, ,$$(LOCAL_MODULE_FILENAME))))
1313 $(subst ../,__/,\
Dbuild-binary.mk229 LOCAL_OBJECTS := $(subst ../,__/,$(LOCAL_OBJECTS))
/ndk/sources/host-tools/make-3.81/tests/scripts/functions/
Dsubstitution3 $description = "Test the subst and patsubst functions";
25 # Variable subst where a pattern matches multiple times in a single word.
Dandor10 NEQ = $(subst $1,,$2)
31 NEQ = $(subst $1,,$2)
Dif10 NEQ = \$(subst \$1,,\$2)
Dforeach26 fe = $(foreach var2, $(for_var),$(subst .c,.o, $(var2) ) )
/ndk/build/gmsl/
D__gmsl292 seq = $(__gmsl_tr2)$(if $(filter-out xx,x$(subst $1,,$2)$(subst $2,,$1)x),$(false),$(true))
309 split = $(__gmsl_tr2)$(strip $(subst $1, ,$2))
335 $(subst $(word 1,$(subst :, ,$c)),$(word 2,$(subst :, ,$c)), \
384 …__temp := $(subst $(__gmsl_space),x,$1))$(foreach a,$(__gmsl_characters),$(eval __temp := $$(subst
406subst $$(__gmsl_space),� ,$$1))$(foreach a,$(__gmsl_characters),$(eval __temp := $$(subst $$a,$$a$…
614 int_max = $(__gmsl_tr2)$(subst xx,x,$(join $1,$2))
615 int_min = $(__gmsl_tr2)$(subst xx,x,$(filter xx,$(join $1,$2)))
727 int_halve = $(__gmsl_tr1)$(strip $(subst xx,x,$(filter-out xy x y, \
/ndk/sources/host-tools/sed-4.2.1/sed/
Dsed.h122 struct subst { struct
174 struct subst *cmd_subst;
Dcompile.c587 static int mark_subst_opts P_((struct subst *cmd));
590 struct subst *cmd; in mark_subst_opts()
770 static void setup_replacement P_((struct subst *, const char *, size_t));
773 struct subst *sub; in setup_replacement()
1277 cur_cmd->x.cmd_subst = OB_MALLOC(&obs, 1, struct subst);
Dexecute.c1171 static void do_subst P_((struct subst *));
1174 struct subst *sub; in do_subst()
/ndk/sources/host-tools/sed-4.2.1/testsuite/
Dmanis.sed4 # Protect against being on the right side of a sed subst in config.status.
Dmac-mf.sed114 # Don't ask... prev subst seems to omit the second filename.
/ndk/sources/host-tools/make-3.81/tests/scripts/features/
Dvarnesting11 ."y = \$(subst 1,2,\$(x))\n"
Dmult_targets18 print MAKEFILE "\t\@echo I am \$(subst output,,\$@)\n";
/ndk/sources/host-tools/make-3.81/tests/scripts/variables/
DMAKE13 print MAKEFILE "MAKE := \$(subst X=\$(X),,\$(MAKE))\n\n";
/ndk/sources/host-tools/make-3.81/
Dvariable.h127 extern char *subst_expand PARAMS ((char *o, char *text, char *subst, char *replace,
Dfunction.c77 subst_expand (char *o, char *text, char *subst, char *replace, in subst_expand() argument
100 p = strstr (t, subst); in subst_expand()
120 o = variable_buffer_output (o, subst, slen); in subst_expand()
/ndk/sources/host-tools/sed-4.2.1/
DChangeLog165 * sed/compile.c (mark_subst_opts): Turn off subst options i, I,
518 (struct addr, struct subst, compile_regex, match_regex,
763 (struct sed_cmd, struct subst): Use `struct output *' instead of mere
1102 * sed/sed.h (struct subst): Add an `eval' flag.
1599 Abstracted out `struct replacement' from `struct subst'.
2644 * sed.h: moved the definition of what is now struct subst
/ndk/sources/host-tools/make-3.81/doc/
Dmake.info-12574 generate text.g -$(subst output,,$@) > $@
2586 for an explanation of the `subst' function.
4287 `subst' function (*note Functions for String Substitution and Analysis:
4292 y = $(subst 1,2,$(x))
4298 works: `$($($(z)))' expands to `$($(y))' which becomes `$($(subst
5146 `$(subst a,b,$(x))', not `$(subst a,b,${x})'. This is because it is
5167 bar:= $(subst $(space),$(comma),$(foo))
5170 Here the `subst' function replaces each space with a comma, through the
5181 `$(subst FROM,TO,TEXT)'
5186 $(subst ee,EE,feet on the street)
[all …]
Dmake.texi3050 generate text.g -$(subst output,,$@@) > $@@
3053 @findex subst
3070 for an explanation of the @code{subst} function.
5215 For example, using the @code{subst} function
5222 y = $(subst 1,2,$(x))
5232 @samp{$($(subst 1,2,$(x)))}. This gets the value @samp{variable1} from
6243 @w{@samp{$(subst a,b,$(x))}}, not @w{@samp{$(subst a,b,$@{x@})}}. This
6265 bar:= $(subst $(space),$(comma),$(foo))
6271 Here the @code{subst} function replaces each space with a comma, through
6281 @item $(subst @var{from},@var{to},@var{text})
[all …]
Dmake.info-22184 `$(subst FROM,TO,TEXT)'
4371 * subst <1>: Text Functions. (line 9)
4372 * subst: Multiple Targets. (line 28)