Home
last modified time | relevance | path

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

12345678910>>...12

/ndk/build/gmsl/
Dgmsl-tests46 @echo "$(call int_decode,$(passed)) tests passed; $(call int_decode,$(failed)) tests failed"
57 test_pass = .$(eval passed := $(call int_inc,$(passed)))
58 test_fail = X$(eval failed := $(call int_inc,$(failed)))$(eval current_test := ERROR '$1' != '$2')
59 …,$(origin 2)),$(eval 2 :=))$(shell $(ECHO) -n $(if $(call seq,$1,$2),$(call test_pass,$1,$2),$(cal…
61 $(call start_test,not)
62 $(call test_assert,$(call not,$(true)),$(false))
63 $(call test_assert,$(call not,$(false)),$(true))
64 $(call stop_test)
66 $(call start_test,or)
67 $(call test_assert,$(call or,$(true),$(true)),$(true))
[all …]
/ndk/build/core/
Ddefinitions-utils.mk72 $(call test-expect,,$(call remove-duplicates))\
73 $(call test-expect,foo bar,$(call remove-duplicates,foo bar))\
74 $(call test-expect,foo bar,$(call remove-duplicates,foo bar foo bar))\
75 $(call test-expect,foo bar,$(call remove-duplicates,foo foo bar bar bar))
97 $(if $(call $2,$(__filter_by_n)),$(__filter_by_n))))
100 $(eval -local-func = $$(call seq,foo,$$1))\
101 $(call test-expect,,$(call filter-by,,-local-func))\
102 $(call test-expect,foo,$(call filter-by,foo,-local-func))\
103 $(call test-expect,foo,$(call filter-by,foo bar,-local-func))\
104 $(call test-expect,foo foo,$(call filter-by,aaa foo bar foo,-local-func))\
[all …]
Ddefinitions-graph.mk54 $(if $(call $2,$(_ndk_mod_filter_n)),$(_ndk_mod_filter_n))\
58 $(eval -local-func = $$(call seq,foo,$$1))\
59 $(call test-expect,,$(call -ndk-mod-filter,,-local-func))\
60 $(call test-expect,foo,$(call -ndk-mod-filter,foo,-local-func))\
61 $(call test-expect,foo,$(call -ndk-mod-filter,foo bar,-local-func))\
62 $(call test-expect,foo foo,$(call -ndk-mod-filter,aaa foo bar foo,-local-func))\
63 $(eval -local-func = $$(call sne,foo,$$1))\
64 $(call test-expect,,$(call -ndk-mod-filter,,-local-func))\
65 $(call test-expect,,$(call -ndk-mod-filter,foo,-local-func))\
66 $(call test-expect,bar,$(call -ndk-mod-filter,foo bar,-local-func))\
[all …]
Ddefinitions.mk50 $(call __ndk_error, Assertion failure: $(__varname) is not defined)\
65 $(call __ndk_info, Required variable $(__varname) is not defined by $2)\
66 $(call __ndk_error,Aborting)\
94 @$$(call host-mkdir,$$@)
98 generate-dir = $(eval $(call ev-generate-dir,$1))
114 __ndk_file_dir := $(call parent-dir,$1)
115 $$(call generate-dir,$$(__ndk_file_dir))
119 generate-file-dir = $(eval $(call ev-generate-file-dir,$1))
145 bump-0-to-1 = $(if $(call index-is-zero,$1),1,$1)
148 $(call test-expect,$(call bump-0-to-1))\
[all …]
Ddefinitions-host.mk31 host-path = $(if $(strip $1),$(call cygwin-to-host-path,$1))
130 host-echo-build-step = @ $(HOST_ECHO) [$1] $(call left-justify-quoted-15,$2):
142 host-c-includes = $(patsubst %,-I%,$(call host-path,$1))
189 host-path-is-absolute = $(call windows-path-is-absolute,$1)
195 $(call test-expect,,$(call host-path-is-absolute,foo))\
196 $(call test-expect,,$(call host-path-is-absolute,foo/bar))\
197 $(call test-expect,,$(call host-path-is-absolute,.))\
198 $(call test-expect,,$(call host-path-is-absolute,..))
201 $(call test-expect,true,$(call host-path-is-absolute,/))\
202 $(call test-expect,true,$(call host-path-is-absolute,/foo))\
[all …]
Dadd-application.mk26 $(call assert-defined, _application_mk _app)
27 $(call ndk_log,Parsing $(_application_mk))
29 $(call clear-vars, $(NDK_APP_VARS))
45 …$(call __ndk_warning,NDK_DEBUG is defined to the unsupported value '$(NDK_DEBUG)', will be ignored…
51 $(call check-required-vars,$(NDK_APP_VARS_REQUIRED),$(_application_mk))
56 APP_MODULES := $(call strip-lib-prefix,$(APP_MODULES))
67 $(call ndk_log, Defaulted to APP_PLATFORM=$(APP_PLATFORM))
84 …APP_PLATFORM := $(strip $(shell $(HOST_AWK) -f $(BUILD_AWK)/extract-platform.awk $(call host-path,…
85 $(call ndk_log, Found APP_PLATFORM=$(APP_PLATFORM) in $(_local_props))
88 $(call ndk_log, Defaulted to APP_PLATFORM=$(APP_PLATFORM))
[all …]
Dbuild-binary.mk17 $(call assert-defined,LOCAL_MODULE)
18 $(call module-restore-locals,$(LOCAL_MODULE))
29 $(call assert-defined,LOCAL_MAKEFILE LOCAL_BUILD_SCRIPT LOCAL_BUILT_MODULE)
39 ifeq ($(call module-get-class,$(LOCAL_MODULE)),STATIC_LIBRARY)
42 …$(call __ndk_info,WARNING:$(LOCAL_MAKEFILE):$(LOCAL_MODULE): $(_notvar) is always ignored for stat…
78 …$(call __ndk_info,WARNING:$(LOCAL_MAKEFILE):$(LOCAL_MODULE): non-system libraries in linker flags:…
79 …$(call __ndk_info, This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARI…
80 $(call __ndk_info, or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the)
81 $(call __ndk_info, current module)
90 ifneq (STATIC_LIBRARY,$(call module-get-class,$(LOCAL_MODULE)))
[all …]
Dsetup-toolchain.mk20 $(call assert-defined,TARGET_PLATFORM TARGET_ARCH TARGET_ARCH_ABI)
21 $(call assert-defined,NDK_APPS NDK_APP_STL)
50 $(call __ndk_info,There is no toolchain that supports the $(TARGET_ARCH_ABI) ABI.)
51 $(call __ndk_info,Please modify the APP_ABI definition in $(NDK_APP_APPLICATION_MK) to use)
52 $(call __ndk_info,a set of the following values: $(NDK_ALL_ABIS))
53 $(call __ndk_error,Aborting)
75 … $(call ndk_log,Specified NDK_TOOLCHAIN_VERSION $(NDK_TOOLCHAIN_VERSION) does not support 64-bit)
76 … $(call ndk_log,Using default target toolchain '$(TARGET_TOOLCHAIN)' for '$(TARGET_ARCH_ABI)' ABI)
92 … TARGET_TOOLCHAIN_BASE := $(subst $(space),-,$(call chop,$(subst -,$(space),$(TARGET_TOOLCHAIN))))
99 …$(call ndk_log,Using target toolchain '$(TARGET_TOOLCHAIN)' for '$(TARGET_ARCH_ABI)' ABI (through …
[all …]
Dmain.mk63 $(call __ndk_info,\
65 $(call __ndk_info,\
67 $(call __ndk_info,\
69 $(call __ndk_info,\
71 $(call __ndk_error, Aborting)
77 $(call __ndk_info,\
79 $(call __ndk_info,\
81 $(call __ndk_error, Aborting)
88 $(call ndk_log,Parsing $(_application_mk))\
92 $(call __ndk_info,\
[all …]
Dprebuilt-library.mk20 $(call assert-defined, LOCAL_BUILD_SCRIPT LOCAL_MAKEFILE LOCAL_PREBUILT_PREFIX LOCAL_PREBUILT_SUFFI…
22 $(call check-defined-LOCAL_MODULE,$(LOCAL_BUILD_SCRIPT))
23 $(call check-LOCAL_MODULE,$(LOCAL_MAKEFILE))
24 $(call check-LOCAL_MODULE_FILENAME)
28 $(call __ndk_info,ERROR:$(LOCAL_MAKEFILE):$(LOCAL_MODULE): The LOCAL_SRC_FILES for a prebuilt libra…
29 $(call __ndk_error,Aborting)
34 $(call __ndk_info,ERROR:$(LOCAL_MAKEFILE):$(LOCAL_MODULE): LOCAL_SRC_FILES should point to a file e…
35 $(call __ndk_info,The following file is unsupported: $(bad_prebuilts))
36 $(call __ndk_error,Aborting)
39 prebuilt_path := $(call local-prebuilt-path,$(LOCAL_SRC_FILES))
[all …]
Dbuild-module.mk16 $(call check-defined-LOCAL_MODULE,$(LOCAL_BUILD_SCRIPT))
17 $(call check-LOCAL_MODULE,$(LOCAL_MAKEFILE))
25 $(call __ndk_info,$(LOCAL_MAKEFILE):$(LOCAL_MODULE): LOCAL_MODULE_CLASS definition is missing !)
26 $(call __ndk_error,Aborting)
29 $(if $(call module-class-check,$(LOCAL_MODULE_CLASS)),,\
30 $(call __ndk_info,$(LOCAL_MAKEFILE):$(LOCAL_MODULE): Unknown LOCAL_MODULE_CLASS value: $(LOCAL_MODU…
31 $(call __ndk_error,Aborting)\
34 $(call module-add,$(LOCAL_MODULE))
Dbuild-local.mk77 find-project-dir = $(strip $(call find-project-dir-inner,$(abspath $1),$2))
83 $(call find-project-dir-inner-2)\
87 $(call ndk_log,Looking for $(__find_project_file) in $(__find_project_path))\
90 $(call ndk_log, Found it !)\
93 $(eval __find_project_parent := $(call parent-dir,$(__find_project_path)))\
96 $(call find-project-dir-inner-2)\
106 $(call ndk_log,Use APP_PROJECT_PATH for NDK_PROJECT_PATH: $(APP_PROJECT_PATH))
111 …$(call __ndk_info,WARNING: NDK_PROJECT_PATH and APP_PROJECT_PATH are both set but not equal litera…
112 $(call __ndk_info, NDK_PROJECT_PATH = $(NDK_PROJECT_PATH))
113 $(call __ndk_info, APP_PROJECT_PATH = $(APP_PROJECT_PATH))
[all …]
Dinit.mk121 get-toolchain-root = $(call host-toolchain-path,$(NDK_TOOLCHAINS_ROOT),$1)
171 $(call __ndk_info,Unable to determine HOST_OS from uname -s: $(UNAME))
172 $(call __ndk_info,Please define HOST_OS in your environment.)
173 $(call __ndk_error,Aborting.)
176 $(call ndk_log,Host OS was auto-detected: $(HOST_OS))
178 $(call ndk_log,Host OS from environment: $(HOST_OS))
200 $(call ndk_log,Found /bin/uname.exe on Windows host, checking for Cygwin)
205 $(call ndk_log,uname -s returned: $(UNAME))
207 $(call ndk_log,Cygwin detected: $(shell uname -a))
212 $(call ndk_log,MSys detected: $(shell uname -a))
[all …]
Dsetup-imports.mk25 $(call __ndk_info,ERROR: You NDK_MODULE_PATH variable contains spaces)
26 $(call __ndk_info,Please fix the error and start again.)
27 $(call __ndk_error,Aborting)
31 $(call import-init)
33 $(call import-add-path,$(__path))\
35 $(call import-add-path-optional,$(NDK_ROOT)/sources)
36 $(call import-add-path-optional,$(NDK_ROOT)/../development/ndk/sources)
Dimport-locals.mk18 $(call assert-defined,LOCAL_MODULE)
29 all_depends := $(call module-get-all-dependencies,$(LOCAL_MODULE))
32 imported_CFLAGS := $(call module-get-listed-export,$(all_depends),CFLAGS)
33 imported_CONLYFLAGS := $(call module-get-listed-export,$(all_depends),CONLYFLAGS)
34 imported_CPPFLAGS := $(call module-get-listed-export,$(all_depends),CPPFLAGS)
35 imported_RENDERSCRIPT_FLAGS := $(call module-get-listed-export,$(all_depends),RENDERSCRIPT_FLAGS)
36 imported_ASMFLAGS := $(call module-get-listed-export,$(all_depends),ASMFLAGS)
37 imported_C_INCLUDES := $(call module-get-listed-export,$(all_depends),C_INCLUDES)
38 imported_LDFLAGS := $(call module-get-listed-export,$(all_depends),LDFLAGS)
73 imported_LDLIBS := $(call module-get-listed-export,$(all_depends),LDLIBS)
Ddefault-build-commands.mk31 $(call host-path, $1) \
32 $(call link-whole-archives,$3) \
33 $(call host-path, $2 $(PRIVATE_LIBGCC) $4) \
76 --sysroot=$(call host-path,$(PRIVATE_SYSROOT_LINK)) \
80 -o $(call host-path,$(LOCAL_BUILT_MODULE))
91 --sysroot=$(call host-path,$(PRIVATE_SYSROOT_LINK)) \
92 -Wl,-rpath-link=$(call host-path,$(PRIVATE_SYSROOT_LINK)/usr/lib) \
93 -Wl,-rpath-link=$(call host-path,$(TARGET_OUT)) \
97 -o $(call host-path,$(LOCAL_BUILT_MODULE))
101 $(PRIVATE_AR) $(call host-path,$(LOCAL_BUILT_MODULE)) $(PRIVATE_AR_OBJECTS)
[all …]
/ndk/sources/cxx-stl/gabi++/tests/
DAndroid.mk1 LOCAL_PATH := $(call my-dir)
18 do_test_simple = $(call do_test,$1,$1.cpp,$2)
20 $(call do_test,rtti,test_gabixx_rtti.cpp)
21 $(call do_test,exceptions,test_gabixx_exceptions.cpp)
22 $(call do_test,aux_runtime,test_aux_runtime.cpp)
23 $(call do_test_simple,test_guard)
24 $(call do_test_simple,catch_array_01)
25 $(call do_test_simple,catch_array_02)
26 $(call do_test_simple,catch_class_01)
27 $(call do_test_simple,catch_class_02)
[all …]
/ndk/tests/device/test-libc++-static-full/jni/
DAndroid.mk1 LOCAL_PATH := $(call my-dir)
137 $(if $(strip $(filter-out $(black_list), $1)), $(eval $(call ev-gen-test, $1)))
141 $(call gen-test, algorithms/alg.c.library/tested_elsewhere)
142 $(call gen-test, algorithms/alg.modifying.operations/alg.copy/copy_backward)
143 $(call gen-test, algorithms/alg.modifying.operations/alg.copy/copy_if)
144 $(call gen-test, algorithms/alg.modifying.operations/alg.copy/copy_n)
145 $(call gen-test, algorithms/alg.modifying.operations/alg.copy/copy)
146 $(call gen-test, algorithms/alg.modifying.operations/alg.fill/fill_n)
147 $(call gen-test, algorithms/alg.modifying.operations/alg.fill/fill)
148 $(call gen-test, algorithms/alg.modifying.operations/alg.generate/generate_n)
[all …]
/ndk/tests/device/test-libc++-shared-full/jni/
DAndroid.mk1 LOCAL_PATH := $(call my-dir)
146 $(if $(strip $(filter-out $(black_list), $1)), $(eval $(call ev-gen-test, $1)))
150 $(call gen-test, algorithms/alg.c.library/tested_elsewhere)
151 $(call gen-test, algorithms/alg.modifying.operations/alg.copy/copy_backward)
152 $(call gen-test, algorithms/alg.modifying.operations/alg.copy/copy_if)
153 $(call gen-test, algorithms/alg.modifying.operations/alg.copy/copy_n)
154 $(call gen-test, algorithms/alg.modifying.operations/alg.copy/copy)
155 $(call gen-test, algorithms/alg.modifying.operations/alg.fill/fill_n)
156 $(call gen-test, algorithms/alg.modifying.operations/alg.fill/fill)
157 $(call gen-test, algorithms/alg.modifying.operations/alg.generate/generate_n)
[all …]
/ndk/sources/host-tools/make-3.81/tests/scripts/functions/
Dcall2 $description = "Test the call function.\n";
4 $details = "Try various uses of call and ensure they all give the correct
16 # A complex `map' function, using recursive `call'.
18 map = $(foreach a,$2,$(call $1,$a))
20 # Test using a builtin; this is silly as it's simpler to do without call
22 my-notdir = $(call notdir,$(1))
29 # Test recursive invocations of call with different arguments
32 two = $(call one,$(1),foo,$(2))
36 # Implement transitive closure using $(call ...)
42 $(call tclose,$(sort ${DEP_$(firstword $1)} $(call rest,$1))))
[all …]
/ndk/build/core/toolchains/arm-linux-androideabi-clang3.6/
Dsetup.mk30 LLVM_TOOLCHAIN_PREBUILT_ROOT := $(call get-toolchain-root,llvm)
34 BINUTILS_ROOT := $(call get-binutils-root,$(NDK_ROOT),$(TOOLCHAIN_NAME))
35 TOOLCHAIN_ROOT := $(call get-toolchain-root,$(TOOLCHAIN_NAME)-4.9)
46 -gcc-toolchain $(call host-path,$(TOOLCHAIN_ROOT)) \
60 -gcc-toolchain $(call host-path,$(TOOLCHAIN_ROOT)) \
105 GCCLIB_ROOT := $(call get-gcclibs-path,$(NDK_ROOT),$(TOOLCHAIN_NAME))
139 $(eval __arm_sources := $(call get-src-files-with-tag,arm)) \
140 $(eval __thumb_sources := $(call get-src-files-without-tag,arm)) \
141 $(eval __debug_sources := $(call get-src-files-with-tag,debug)) \
142 $(eval __release_sources := $(call get-src-files-without-tag,debug)) \
[all …]
/ndk/build/core/toolchains/arm-linux-androideabi-4.9/
Dsetup.mk90 $(eval __arm_sources := $(call get-src-files-with-tag,arm)) \
91 $(eval __thumb_sources := $(call get-src-files-without-tag,arm)) \
92 $(eval __debug_sources := $(call get-src-files-with-tag,debug)) \
93 $(eval __release_sources := $(call get-src-files-without-tag,debug)) \
94 $(call set-src-files-target-cflags, \
95 $(call set_intersection,$(__arm_sources),$(__debug_sources)), \
97 $(call set-src-files-target-cflags,\
98 $(call set_intersection,$(__arm_sources),$(__release_sources)),\
100 $(call set-src-files-target-cflags,\
101 $(call set_intersection,$(__arm_sources),$(__debug_sources)),\
[all …]
/ndk/build/core/toolchains/x86_64-clang3.6/
Dsetup.mk30 LLVM_TOOLCHAIN_PREBUILT_ROOT := $(call get-toolchain-root,llvm)
34 BINUTILS_ROOT := $(call get-binutils-root,$(NDK_ROOT),$(TOOLCHAIN_NAME))
35 TOOLCHAIN_ROOT := $(call get-toolchain-root,x86_64-4.9)
44 -gcc-toolchain $(call host-path,$(TOOLCHAIN_ROOT)) \
55 -gcc-toolchain $(call host-path,$(TOOLCHAIN_ROOT)) \
75 $(eval __debug_sources := $(call get-src-files-with-tag,debug)) \
76 $(eval __release_sources := $(call get-src-files-without-tag,debug)) \
77 $(call set-src-files-target-cflags, $(__debug_sources), $(TARGET_x86_64_debug_CFLAGS)) \
78 $(call set-src-files-target-cflags, $(__release_sources),$(TARGET_x86_64_release_CFLAGS)) \
/ndk/build/core/toolchains/aarch64-linux-android-clang3.6/
Dsetup.mk30 LLVM_TOOLCHAIN_PREBUILT_ROOT := $(call get-toolchain-root,llvm)
34 BINUTILS_ROOT := $(call get-binutils-root,$(NDK_ROOT),$(TOOLCHAIN_NAME))
35 TOOLCHAIN_ROOT := $(call get-toolchain-root,$(TOOLCHAIN_NAME)-4.9)
44 -gcc-toolchain $(call host-path,$(TOOLCHAIN_ROOT)) \
55 -gcc-toolchain $(call host-path,$(TOOLCHAIN_ROOT)) \
75 $(eval __debug_sources := $(call get-src-files-with-tag,debug)) \
76 $(eval __release_sources := $(call get-src-files-without-tag,debug)) \
77 $(call set-src-files-target-cflags, $(__debug_sources), $(TARGET_arm64_debug_CFLAGS)) \
78 $(call set-src-files-target-cflags, $(__release_sources),$(TARGET_arm64_release_CFLAGS)) \
/ndk/build/core/toolchains/mips64el-linux-android-clang3.6/
Dsetup.mk30 LLVM_TOOLCHAIN_PREBUILT_ROOT := $(call get-toolchain-root,llvm)
34 BINUTILS_ROOT := $(call get-binutils-root,$(NDK_ROOT),$(TOOLCHAIN_NAME))
35 TOOLCHAIN_ROOT := $(call get-toolchain-root,$(TOOLCHAIN_NAME)-4.9)
48 -gcc-toolchain $(call host-path,$(TOOLCHAIN_ROOT)) \
62 -gcc-toolchain $(call host-path,$(TOOLCHAIN_ROOT)) \
79 $(eval __debug_sources := $(call get-src-files-with-tag,debug)) \
80 $(eval __release_sources := $(call get-src-files-without-tag,debug)) \
81 $(call set-src-files-target-cflags, \
84 $(call set-src-files-target-cflags,\

12345678910>>...12