Home
last modified time | relevance | path

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

12345

/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dmath_agree.rs46 #define DECLARE_REFERENCE_SET_VEC_VEC(type, abbrev, func) \
47 volatile type func##_rand_##abbrev##1_##abbrev##1; \ typedef
48 volatile type##2 func##_rand_##abbrev##2_##abbrev##2; \
49 volatile type##3 func##_rand_##abbrev##3_##abbrev##3; \
50 volatile type##4 func##_rand_##abbrev##4_##abbrev##4;
51 #define DECLARE_REFERENCE_SET_VEC_SCL(type, abbrev, func) \
52 volatile type##2 func##_rand_##abbrev##2_##abbrev##1; \
53 volatile type##3 func##_rand_##abbrev##3_##abbrev##1; \
54 volatile type##4 func##_rand_##abbrev##4_##abbrev##1;
56 #define DECLARE_ALL_REFERENCE_SETS_VEC_VEC(func) \
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dmath_agree.rs48 #define DECLARE_REFERENCE_SET_VEC_VEC(type, abbrev, func) \
49 volatile type func##_rand_##abbrev##1_##abbrev##1; \ typedef
50 volatile type##2 func##_rand_##abbrev##2_##abbrev##2; \
51 volatile type##3 func##_rand_##abbrev##3_##abbrev##3; \
52 volatile type##4 func##_rand_##abbrev##4_##abbrev##4;
53 #define DECLARE_REFERENCE_SET_VEC_SCL(type, abbrev, func) \
54 volatile type##2 func##_rand_##abbrev##2_##abbrev##1; \
55 volatile type##3 func##_rand_##abbrev##3_##abbrev##1; \
56 volatile type##4 func##_rand_##abbrev##4_##abbrev##1;
58 #define DECLARE_ALL_REFERENCE_SETS_VEC_VEC(func) \
[all …]
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
Dmath_agree.rs30 #define DECLARE_REFERENCE_SET_VEC_VEC(type, abbrev, func) \
31 volatile type func##_rand_##abbrev##1_##abbrev##1; \ typedef
32 volatile type##2 func##_rand_##abbrev##2_##abbrev##2; \
33 volatile type##3 func##_rand_##abbrev##3_##abbrev##3; \
34 volatile type##4 func##_rand_##abbrev##4_##abbrev##4;
35 #define DECLARE_REFERENCE_SET_VEC_SCL(type, abbrev, func) \
36 volatile type##2 func##_rand_##abbrev##2_##abbrev##1; \
37 volatile type##3 func##_rand_##abbrev##3_##abbrev##1; \
38 volatile type##4 func##_rand_##abbrev##4_##abbrev##1;
40 #define DECLARE_ALL_REFERENCE_SETS_VEC_VEC(func) \
[all …]
/frameworks/rs/tests/lldb/tests/harness/
Ddecorators.py44 def __call__(self, func): argument
45 @functools.wraps(func)
53 print("skipping %r - %s" % (func, self._message))
55 return func(args[0])
75 def wimpy(func): argument
81 func.wimpy = True
83 return func
91 def __call__(self, func): argument
92 func.test_order = self._order
93 return func
[all …]
/frameworks/native/libs/binder/
DDebug.cpp150 void printTypeCode(uint32_t typeCode, debugPrintFunc func, void* cookie) in printTypeCode() argument
155 func ? (*func)(cookie, buffer) : defaultPrintFunc(cookie, buffer); in printTypeCode()
161 debugPrintFunc func, void* cookie) in printHexData() argument
168 if (func == NULL) func = defaultPrintFunc; in printHexData()
175 if (singleLineBytesCutoff < 0) func(cookie, "\n"); in printHexData()
176 func(cookie, "(NULL)"); in printHexData()
181 if (singleLineBytesCutoff < 0) func(cookie, "\n"); in printHexData()
182 func(cookie, "(empty)"); in printHexData()
187 if (singleLineBytesCutoff < 0) func(cookie, "\n"); in printHexData()
190 func(cookie, buf); in printHexData()
[all …]
DBpBinder.cpp46 IBinder::object_cleanup_func func) in attach() argument
51 e.func = func; in attach()
80 if (e.func != NULL) { in kill()
81 e.func(mObjects.keyAt(i), e.object, e.cleanupCookie); in kill()
288 object_cleanup_func func) in attachObject() argument
292 mObjects.attach(objectID, object, cleanupCookie, func); in attachObject()
/frameworks/base/tools/aapt2/
DFlags.cpp34 auto func = [value](const StringPiece& arg) -> bool { in RequiredFlag() local
39 flags_.push_back(Flag{name.to_string(), description.to_string(), func, true, 1, false}); in RequiredFlag()
46 auto func = [value](const StringPiece& arg) -> bool { in RequiredFlagList() local
51 flags_.push_back(Flag{name.to_string(), description.to_string(), func, true, 1, false}); in RequiredFlagList()
58 auto func = [value](const StringPiece& arg) -> bool { in OptionalFlag() local
63 flags_.push_back(Flag{name.to_string(), description.to_string(), func, false, 1, false}); in OptionalFlag()
70 auto func = [value](const StringPiece& arg) -> bool { in OptionalFlagList() local
75 flags_.push_back(Flag{name.to_string(), description.to_string(), func, false, 1, false}); in OptionalFlagList()
82 auto func = [value](const StringPiece& arg) -> bool { in OptionalFlagList() local
87 flags_.push_back(Flag{name.to_string(), description.to_string(), func, false, 1, false}); in OptionalFlagList()
[all …]
/frameworks/native/cmds/lshal/
DTimeout.h32 BackgroundTaskState(std::function<void(void)> &&func) in BackgroundTaskState() argument
33 : mFunc(std::forward<decltype(func)>(func)) {} in BackgroundTaskState()
64 bool timeout(std::chrono::duration<R, P> delay, std::function<void(void)> &&func) { in timeout() argument
66 BackgroundTaskState state{std::forward<decltype(func)>(func)}; in timeout()
82 timeoutIPC(std::chrono::duration<R, P> wait, const sp<I> &interfaceObject, Function &&func, in timeoutIPC() argument
86 auto boundFunc = std::bind(std::forward<Function>(func), in timeoutIPC()
99 timeoutIPC(const sp<I> &interfaceObject, Function &&func, Args &&... args) { in timeoutIPC() argument
100 return timeoutIPC(IPC_CALL_WAIT, interfaceObject, func, args...); in timeoutIPC()
/frameworks/rs/rsov/compiler/spirit/
Dbuilder.cpp32 FunctionDefinition *func, const char *name) { in MakeEntryPointDefinition() argument
33 return new EntryPointDefinition(this, execModel, func, name); in MakeEntryPointDefinition()
43 FunctionInst *func = MakeFunction(retType, ctrl, funcType); in MakeFunctionDefinition() local
45 return new FunctionDefinition(this, func, end); in MakeFunctionDefinition()
/frameworks/rs/tests/lldb/tests/testcases/
Dreduce_common.py82 for func, typename in funcname_types:
86 if not func.endswith(".combiner"):
92 expected_regex=[breakpoint_match % (script_soname, func)]
100 script_soname, func)
/frameworks/support/lifecycle/extensions/src/main/java/android/arch/lifecycle/
DTransformations.java45 public static <X, Y> LiveData<Y> map(LiveData<X> source, final Function<X, Y> func) { in map() argument
50 result.setValue(func.apply(x)); in map()
76 final Function<X, LiveData<Y>> func) { in switchMap() argument
83 LiveData<Y> newLiveData = func.apply(x); in switchMap()
/frameworks/base/native/android/
Dstorage_manager.cpp73 ObbCallback* registerObbCallback(AStorageManager_obbCallbackFunc func, void* data) { in registerObbCallback()
74 ObbCallback* cb = new ObbCallback(getNextNonce(), func, data); in registerObbCallback()
128 void mountObb(const char* rawPath, const char* key, AStorageManager_obbCallbackFunc func, in mountObb()
137 ObbCallback* cb = registerObbCallback(func, data); in mountObb()
144 …void unmountObb(const char* filename, const bool force, AStorageManager_obbCallbackFunc func, void… in unmountObb()
145 ObbCallback* cb = registerObbCallback(func, data); in unmountObb()
/frameworks/wilhelm/src/
Dassert.cpp30 void __assert2(const char *file, int line, const char *func, const char *failedexpr) in __assert2() argument
33 failedexpr, file, line, func); in __assert2()
/frameworks/rs/cpu_ref/
DrsCpuRuntimeMath.cpp30 #define EXPORT_F32_FN_F32(func) \ argument
31 float __attribute__((overloadable)) SC_##func(float v) { \
32 return func(v); \
35 #define EXPORT_F32_FN_F32_F32(func) \ argument
36 float __attribute__((overloadable)) SC_##func(float t, float v) { \
37 return func(t, v); \
DrsCpuScriptGroup2.h24 CPUClosure(const Closure* closure, RsdCpuScriptImpl* si, ExpandFuncTy func) : in CPUClosure() argument
25 mClosure(closure), mSi(si), mFunc(func) {} in CPUClosure()
/frameworks/native/libs/binder/include/binder/
DBpBinder.h55 object_cleanup_func func);
73 IBinder::object_cleanup_func func);
87 IBinder::object_cleanup_func func; member
DDebug.h34 debugPrintFunc func = 0, void* cookie = 0);
39 debugPrintFunc func = 0, void* cookie = 0);
DTextOutput.h78 TextOutput& operator<<(TextOutput& to, TextOutputManipFunc func);
170 inline TextOutput& operator<<(TextOutput& to, TextOutputManipFunc func)
172 return (*func)(to);
/frameworks/native/opengl/libagl/
Dstate.cpp226 void glStencilFunc(GLenum func, GLint /*ref*/, GLuint /*mask*/) { in glStencilFunc() argument
228 if (func < GL_NEVER || func > GL_ALWAYS) { in glStencilFunc()
249 void glAlphaFunc(GLenum func, GLclampf ref) in glAlphaFunc() argument
251 glAlphaFuncx(func, gglFloatToFixed(ref)); in glAlphaFunc()
544 void glDepthFunc(GLenum func) { in glDepthFunc() argument
546 c->rasterizer.procs.depthFunc(c, func); in glDepthFunc()
554 void glAlphaFuncx(GLenum func, GLclampx ref) { in glAlphaFuncx() argument
556 c->rasterizer.procs.alphaFuncx(c, func, ref); in glAlphaFuncx()
/frameworks/rs/cpp/
DRenderScript.cpp270 void RS::setErrorHandler(ErrorHandlerFunc_t func) { in setErrorHandler() argument
271 mErrorFunc = func; in setErrorHandler()
274 void RS::setMessageHandler(MessageHandlerFunc_t func) { in setMessageHandler() argument
275 mMessageFunc = func; in setMessageHandler()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowContainerController.java67 boolean checkCallingPermission(String permission, String func) { in checkCallingPermission() argument
68 return mService.checkCallingPermission(permission, func); in checkCallingPermission()
/frameworks/native/cmds/atrace/
Datrace.cpp669 char* func = strtok(myFuncs, ","); in verifyKernelTraceFuncs() local
670 while (func) { in verifyKernelTraceFuncs()
671 if (!strchr(func, '*')) { in verifyKernelTraceFuncs()
672 String8 fancyFunc = String8::format("\n%s\n", func); in verifyKernelTraceFuncs()
674 if (!found || func[0] == '\0') { in verifyKernelTraceFuncs()
676 "to trace.\n", func); in verifyKernelTraceFuncs()
680 func = strtok(NULL, ","); in verifyKernelTraceFuncs()
710 char* func = strtok(myFuncs, ","); in setKernelTraceFuncs() local
711 while (func) { in setKernelTraceFuncs()
712 ok &= appendStr(k_ftraceFilterPath, func); in setKernelTraceFuncs()
[all …]
/frameworks/base/tests/backup/
Dbackup_helper_test.cpp32 test_func func; member
90 t->result = t->func(); in main()
/frameworks/native/cmds/servicemanager/
Dbinder.h26 void (*func)(struct binder_state *bs, void *ptr); member
73 void binder_loop(struct binder_state *bs, binder_handler func);
/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/
Dtypedefs.h168 #define ADD_PREFIX(func) LINK0(PREFIX, _, func) argument

12345