/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
D | math_agree.rscript | 46 #define DECLARE_REFERENCE_SET_VEC_VEC(type, abbrev, func) \ 47 volatile type func##_rand_##abbrev##1_##abbrev##1; \ 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/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | math_agree.rscript | 30 #define DECLARE_REFERENCE_SET_VEC_VEC(type, abbrev, func) \ 31 volatile type func##_rand_##abbrev##1_##abbrev##1; \ 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/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/ |
D | math_agree.rscript | 48 #define DECLARE_REFERENCE_SET_VEC_VEC(type, abbrev, func) \ 49 volatile type func##_rand_##abbrev##1_##abbrev##1; \ 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/lldb/tests/harness/ |
D | decorators.py | 44 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/ |
D | Debug.cpp | 150 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 == nullptr) 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 …]
|
D | BpBinder.cpp | 65 IBinder::object_cleanup_func func) in attach() argument 70 e.func = func; in attach() 99 if (e.func != nullptr) { in kill() 100 e.func(mObjects.keyAt(i), e.object, e.cleanupCookie); in kill() 363 object_cleanup_func func) in attachObject() argument 367 mObjects.attach(objectID, object, cleanupCookie, func); in attachObject()
|
/frameworks/base/libs/hwui/thread/ |
D | WorkQueue.h | 83 void postAt(nsecs_t time, F&& func) { in postAt() argument 84 enqueue(WorkItem{time, std::function<void()>(std::forward<F>(func))}); in postAt() 88 void postDelayed(nsecs_t delay, F&& func) { in postDelayed() argument 89 enqueue(WorkItem{clock::now() + delay, std::function<void()>(std::forward<F>(func))}); in postDelayed() 93 void post(F&& func) { in post() argument 94 postAt(0, std::forward<F>(func)); in post() 98 auto async(F&& func) -> std::future<decltype(func())> { 99 typedef std::packaged_task<decltype(func())()> task_t; 100 auto task = std::make_shared<task_t>(std::forward<F>(func)); 106 auto runSync(F&& func) -> decltype(func()) { [all …]
|
D | CommonPool.h | 83 static void post(Task&& func); 86 static auto async(F&& func) -> std::future<decltype(func())> { 87 typedef std::packaged_task<decltype(func())()> task_t; 88 auto task = std::make_shared<task_t>(std::forward<F>(func)); 94 static auto runSync(F&& func) -> decltype(func()) { 95 std::packaged_task<decltype(func())()> task{std::forward<F>(func)};
|
/frameworks/native/cmds/lshal/ |
D | Timeout.h | 34 explicit BackgroundTaskState(std::function<void(void)> &&func) in BackgroundTaskState() argument 35 : mFunc(std::forward<decltype(func)>(func)) {} in BackgroundTaskState() 66 bool timeout(std::chrono::duration<R, P> delay, std::function<void(void)> &&func) { in timeout() argument 68 BackgroundTaskState state{std::forward<decltype(func)>(func)}; in timeout() 84 timeoutIPC(std::chrono::duration<R, P> wait, const sp<I> &interfaceObject, Function &&func, in timeoutIPC() argument 88 auto boundFunc = std::bind(std::forward<Function>(func), in timeoutIPC() 101 timeoutIPC(const sp<I> &interfaceObject, Function &&func, Args &&... args) { in timeoutIPC() argument 102 return timeoutIPC(IPC_CALL_WAIT, interfaceObject, func, args...); in timeoutIPC()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/textservices/ |
D | LazyIntToIntMapTest.java | 42 final IntUnaryOperator func = mock(IntUnaryOperator.class); in testLaziness() local 43 when(func.applyAsInt(eq(1))).thenReturn(11); in testLaziness() 44 when(func.applyAsInt(eq(2))).thenReturn(22); in testLaziness() 46 final LazyIntToIntMap map = new LazyIntToIntMap(func); in testLaziness() 48 verify(func, never()).applyAsInt(anyInt()); in testLaziness() 51 verify(func, times(0)).applyAsInt(eq(1)); in testLaziness() 52 verify(func, times(1)).applyAsInt(eq(2)); in testLaziness() 56 verify(func, times(0)).applyAsInt(eq(1)); in testLaziness() 57 verify(func, times(1)).applyAsInt(eq(2)); in testLaziness()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Command.cpp | 56 auto func = [value, flags](const StringPiece& arg) -> bool { in AddRequiredFlag() local 61 flags_.emplace_back(Flag(name, description, /* required */ true, /* num_args */ 1, func)); in AddRequiredFlag() 66 auto func = [value, flags](const StringPiece& arg) -> bool { in AddRequiredFlagList() local 71 flags_.emplace_back(Flag(name, description, /* required */ true, /* num_args */ 1, func)); in AddRequiredFlagList() 76 auto func = [value, flags](const StringPiece& arg) -> bool { in AddOptionalFlag() local 81 flags_.emplace_back(Flag(name, description, /* required */ false, /* num_args */ 1, func)); in AddOptionalFlag() 86 auto func = [value, flags](const StringPiece& arg) -> bool { in AddOptionalFlagList() local 91 flags_.emplace_back(Flag(name, description, /* required */ false, /* num_args */ 1, func)); in AddOptionalFlagList() 96 auto func = [value](const StringPiece& arg) -> bool { in AddOptionalFlagList() local 101 flags_.emplace_back(Flag(name, description, /* required */ false, /* num_args */ 1, func)); in AddOptionalFlagList() [all …]
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | CommandLineOptions.cpp | 41 auto func = [value](const std::string& arg ATTRIBUTE_UNUSED) -> void { *value = true; }; in OptionalFlag() local 42 options_.push_back(Option{name, description, func, Option::COUNT_OPTIONAL, false}); in OptionalFlag() 50 auto func = [value](const std::string& arg) -> void { *value = arg; }; in MandatoryOption() local 51 options_.push_back(Option{name, description, func, Option::COUNT_EXACTLY_ONCE, true}); in MandatoryOption() 59 auto func = [value](const std::string& arg) -> void { value->push_back(arg); }; in MandatoryOption() local 60 options_.push_back(Option{name, description, func, Option::COUNT_ONCE_OR_MORE, true}); in MandatoryOption() 68 auto func = [value](const std::string& arg) -> void { *value = arg; }; in OptionalOption() local 69 options_.push_back(Option{name, description, func, Option::COUNT_OPTIONAL, true}); in OptionalOption() 77 auto func = [value](const std::string& arg) -> void { value->push_back(arg); }; in OptionalOption() local 78 options_.push_back(Option{name, description, func, Option::COUNT_OPTIONAL_ONCE_OR_MORE, true}); in OptionalOption()
|
/frameworks/rs/tests/lldb/tests/testcases/ |
D | reduce_common.py | 82 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/base/cmds/incidentd/src/ |
D | Reporter.h | 117 void forEachPersistedRequest(const function<void (const sp<ReportRequest>&)>& func); 122 void forEachStreamingRequest(const function<void (const sp<ReportRequest>&)>& func); 127 void forEachFd(int sectionId, const function<void (const sp<ReportRequest>&)>& func); 132 void forEachListener(const function<void (const sp<IIncidentReportStatusListener>&)>& func); 139 const function<void (const sp<IIncidentReportStatusListener>&)>& func);
|
D | Reporter.cpp | 206 void ReportBatch::forEachPersistedRequest(const function<void (const sp<ReportRequest>&)>& func) { in forEachPersistedRequest() argument 209 func(it->second); in forEachPersistedRequest() 213 void ReportBatch::forEachStreamingRequest(const function<void (const sp<ReportRequest>&)>& func) { in forEachStreamingRequest() argument 216 func(*request); in forEachStreamingRequest() 221 const function<void (const sp<IIncidentReportStatusListener>&)>& func) { in forEachListener() argument 226 func(listener); in forEachListener() 233 func(listener); in forEachListener() 239 const function<void (const sp<IIncidentReportStatusListener>&)>& func) { in forEachListener() argument 245 func(listener); in forEachListener() 254 func(listener); in forEachListener()
|
/frameworks/base/native/android/ |
D | storage_manager.cpp | 74 ObbCallback* registerObbCallback(AStorageManager_obbCallbackFunc func, void* data) { in registerObbCallback() 75 ObbCallback* cb = new ObbCallback(getNextNonce(), func, data); in registerObbCallback() 143 void mountObb(const char* rawPath, const char* key, AStorageManager_obbCallbackFunc func, in mountObb() 158 ObbCallback* cb = registerObbCallback(func, data); in mountObb() 166 …void unmountObb(const char* filename, const bool force, AStorageManager_obbCallbackFunc func, void… in unmountObb() 167 ObbCallback* cb = registerObbCallback(func, data); in unmountObb()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuRuntimeMath.cpp | 30 #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); \
|
/frameworks/wilhelm/src/ |
D | assert.cpp | 30 void __assert2(const char *file, int line, const char *func, const char *failedexpr) in __assert2() argument 33 failedexpr, file, line, func); in __assert2()
|
/frameworks/ml/nn/common/operations/ |
D | Elementwise.cpp | 41 inline bool compute(IntermediateType func(IntermediateType), const T* input, const Shape& shape, in compute() 45 output[i] = static_cast<T>(func(static_cast<IntermediateType>(input[i]))); in compute() 50 bool execute(IOperationExecutionContext* context, float func(float)) { in execute() 53 return compute<float, _Float16>(func, context->getInputBuffer<_Float16>(kInputTensor), in execute() 57 return compute<float, float>(func, context->getInputBuffer<float>(kInputTensor), in execute()
|
/frameworks/native/libs/binder/include/binder/ |
D | Debug.h | 34 debugPrintFunc func = nullptr, void* cookie = nullptr); 39 debugPrintFunc func = nullptr, void* cookie = nullptr);
|
/frameworks/libs/net/common/hostdevice/com/android/testutils/ |
D | ExceptionUtils.java | 59 public static <T> Supplier<T> ignoreExceptions(ThrowingSupplier<T> func) { in ignoreExceptions() argument 62 return func.get(); in ignoreExceptions()
|
/frameworks/native/opengl/libagl/ |
D | state.cpp | 226 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/ |
D | RenderScript.cpp | 276 void RS::setErrorHandler(ErrorHandlerFunc_t func) { in setErrorHandler() argument 277 mErrorFunc = func; in setErrorHandler() 280 void RS::setMessageHandler(MessageHandlerFunc_t func) { in setMessageHandler() argument 281 mMessageFunc = func; in setMessageHandler()
|
/frameworks/libs/native_bridge_support/overriding/libc/ |
D | __cxa_thread_atexit_impl.cpp | 46 extern "C" int __cxa_thread_atexit_impl(void (*func)(void*), void* arg, void* dso_handle) { in __cxa_thread_atexit_impl() 48 wrapped_arg->fn = func; in __cxa_thread_atexit_impl()
|
/frameworks/native/opengl/libs/EGL/ |
D | GLES_layers.md | 16 const char* func = "eglFoo"; 17 void* gpa = get_next_layer_proc_address(layer_id, func); 130 #define GETPROCADDR(func) if(!strcmp(funcName, #func)) { \ 131 return (EGLFuncPointer)glesLayer_##func; } 191 #define GETPROCADDR(func) if(!strcmp(funcName, #func)) { \ 192 return (EGLFuncPointer)glesLayer_##func; } 205 const char* func = “eglChooseConfig”; 206 funcMap[func] = get_next_layer_proc_address(layer_id, func);
|