/external/compiler-rt/lib/msan/ |
D | msan_interceptors.cc | 109 SIZE_T res = REAL(fread)(ptr, size, nmemb, file); in INTERCEPTOR() 119 SIZE_T res = REAL(fread_unlocked)(ptr, size, nmemb, file); in INTERCEPTOR() 132 SSIZE_T res = REAL(readlink)(path, buf, bufsiz); in INTERCEPTOR() 148 void *res = REAL(memccpy)(dest, src, c, n); in INTERCEPTOR() 260 REAL(memset)(sret, 0, sizeof(*sret)); in INTERCEPTOR() 289 SIZE_T n = REAL(strlen)(src); in INTERCEPTOR() 291 char *res = REAL(strcpy)(dest, src); // NOLINT in INTERCEPTOR() 299 SIZE_T copy_size = REAL(strnlen)(src, n); in INTERCEPTOR() 302 char *res = REAL(strncpy)(dest, src, n); // NOLINT in INTERCEPTOR() 311 SIZE_T n = REAL(strlen)(src); in INTERCEPTOR() [all …]
|
D | msan_poisoning.cc | 92 REAL(memcpy)((void *)MEM_TO_ORIGIN(beg), (void *)MEM_TO_ORIGIN(s), in CopyOrigin() 103 REAL(memmove)((void *)MEM_TO_SHADOW((uptr)dst), in MoveShadowAndOrigin() 112 REAL(memcpy)((void *)MEM_TO_SHADOW((uptr)dst), in CopyShadowAndOrigin() 118 REAL(memcpy)(dst, src, size); in CopyMemory() 128 REAL(memset)((void *)shadow_beg, value, shadow_end - shadow_beg); in SetShadow() 134 REAL(memset)((void *)shadow_beg, 0, shadow_end - shadow_beg); in SetShadow() 137 REAL(memset)((void *)shadow_beg, 0, page_beg - shadow_beg); in SetShadow() 140 REAL(memset)((void *)page_end, 0, shadow_end - page_end); in SetShadow()
|
/external/compiler-rt/lib/asan/ |
D | asan_interceptors.cc | 94 ASAN_READ_STRING_OF_LEN((ctx), (s), REAL(strlen)(s), (n)) 115 if (REAL(strnlen)) { in MaybeRealStrnlen() 116 return REAL(strnlen)(s, maxlen); in MaybeRealStrnlen() 157 return REAL(func)(__VA_ARGS__); \ 159 return REAL(func)(__VA_ARGS__); \ 182 #define COMMON_INTERCEPTOR_BLOCK_REAL(name) REAL(name) 248 REAL(pthread_attr_getdetachstate)(attr, &detached); in INTERCEPTOR() 261 result = REAL(pthread_create)(thread, attr, asan_thread_start, ¶m); in INTERCEPTOR() 293 return REAL(bsd_signal)(signum, handler); in INTERCEPTOR() 302 return REAL(signal)(signum, handler); in INTERCEPTOR() [all …]
|
D | asan_mac.cc | 200 return REAL(dispatch_x_f)(dq, (void*)asan_ctxt, \ 217 return REAL(dispatch_after_f)(when, dq, (void*)asan_ctxt, in INTERCEPT_DISPATCH_X_F_3() 231 REAL(dispatch_group_async_f)(group, dq, (void*)asan_ctxt, in INTERCEPTOR() 260 REAL(dispatch_async)(dq, asan_block); 267 REAL(dispatch_group_async)(dg, dq, asan_block); 274 REAL(dispatch_after)(when, queue, asan_block); 280 REAL(dispatch_source_set_cancel_handler)(ds, work); 285 REAL(dispatch_source_set_cancel_handler)(ds, asan_block); 292 REAL(dispatch_source_set_event_handler)(ds, asan_block);
|
D | asan_win.cc | 69 CHECK(REAL(RaiseException)); in INTERCEPTOR_WINAPI() 71 REAL(RaiseException)(a, b, c, d); in INTERCEPTOR_WINAPI() 78 CHECK(REAL(_except_handler3)); in INTERCEPTOR() 80 return REAL(_except_handler3)(a, b, c, d); in INTERCEPTOR() 88 CHECK(REAL(_except_handler4)); in INTERCEPTOR() 90 return REAL(_except_handler4)(a, b, c, d); in INTERCEPTOR() 114 return REAL(CreateThread)(security, stack_size, in INTERCEPTOR_WINAPI() 146 return REAL(NtWaitForWorkViaWorkerFactory)(a, b); in INTERCEPTOR_WINAPI() 167 (uptr *)&REAL(NtWaitForWorkViaWorkerFactory))); in InitializePlatformInterceptors()
|
D | asan_poisoning.h | 52 REAL(memset)((void*)shadow_beg, value, shadow_end - shadow_beg); in FastPoisonShadow() 59 REAL(memset)((void *)shadow_beg, 0, shadow_end - shadow_beg); in FastPoisonShadow() 62 REAL(memset)((void *)shadow_beg, 0, page_beg - shadow_beg); in FastPoisonShadow() 65 REAL(memset)((void *)page_end, 0, shadow_end - page_end); in FastPoisonShadow()
|
D | asan_interceptors.h | 96 if ((!INTERCEPT_FUNCTION(name) || !REAL(name))) \ in DECLARE_REAL() 101 if ((!INTERCEPT_FUNCTION_VER(name, ver) || !REAL(name))) \
|
D | asan_stats.cc | 29 CHECK(REAL(memset)); in Clear() 30 REAL(memset)(this, 0, sizeof(AsanStats)); in Clear()
|
/external/compiler-rt/lib/tsan/dd/ |
D | dd_interceptors.cc | 46 return REAL(pthread_mutex_destroy)(m); in INTERCEPTOR() 52 int res = REAL(pthread_mutex_lock)(m); in INTERCEPTOR() 59 int res = REAL(pthread_mutex_trylock)(m); in INTERCEPTOR() 68 return REAL(pthread_mutex_unlock)(m); in INTERCEPTOR() 73 int res = REAL(pthread_spin_destroy)(m); in INTERCEPTOR() 81 int res = REAL(pthread_spin_lock)(m); in INTERCEPTOR() 88 int res = REAL(pthread_spin_trylock)(m); in INTERCEPTOR() 97 return REAL(pthread_spin_unlock)(m); in INTERCEPTOR() 103 return REAL(pthread_rwlock_destroy)(m); in INTERCEPTOR() 109 int res = REAL(pthread_rwlock_rdlock)(m); in INTERCEPTOR() [all …]
|
/external/compiler-rt/lib/esan/ |
D | esan_interceptors.cpp | 63 return REAL(func)(__VA_ARGS__); \ 148 #define COMMON_INTERCEPTOR_BLOCK_REAL(name) REAL(name) 249 return REAL(strcpy)(dst, src); // NOLINT in INTERCEPTOR() 259 return REAL(strncpy)(dst, src, n); in INTERCEPTOR() 266 return REAL(open)(name, flags, mode); in INTERCEPTOR() 274 return REAL(open64)(name, flags, mode); in INTERCEPTOR() 285 return REAL(creat)(name, mode); in INTERCEPTOR() 293 return REAL(creat64)(name, mode); in INTERCEPTOR() 304 return REAL(unlink)(path); in INTERCEPTOR() 311 return REAL(fread)(ptr, size, nmemb, f); in INTERCEPTOR() [all …]
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_interceptors_mac.cc | 145 REAL(OSAtomicEnqueue)(list, item, offset); 150 void *item = REAL(OSAtomicDequeue)(list, offset); in TSAN_INTERCEPTOR() 162 REAL(OSAtomicFifoEnqueue)(list, item, offset); in TSAN_INTERCEPTOR() 168 void *item = REAL(OSAtomicFifoDequeue)(list, offset); in TSAN_INTERCEPTOR() 178 return REAL(OSSpinLockLock)(lock); in TSAN_INTERCEPTOR() 181 REAL(OSSpinLockLock)(lock); in TSAN_INTERCEPTOR() 188 return REAL(OSSpinLockTry)(lock); in TSAN_INTERCEPTOR() 191 bool result = REAL(OSSpinLockTry)(lock); in TSAN_INTERCEPTOR() 200 return REAL(OSSpinLockUnlock)(lock); in TSAN_INTERCEPTOR() 204 REAL(OSSpinLockUnlock)(lock); in TSAN_INTERCEPTOR() [all …]
|
D | tsan_interceptors.cc | 319 #define BLOCK_REAL(name) (BlockingCall(thr), REAL(name)) 416 int res = REAL(__cxa_atexit)(at_exit_wrapper, ctx, dso); in setup_at_exit_wrapper() 442 int res = REAL(on_exit)(on_exit_wrapper, ctx); in TSAN_INTERCEPTOR() 574 REAL(longjmp)(env, val); in DEFINE_REAL() 582 REAL(siglongjmp)(env, val); in TSAN_INTERCEPTOR() 659 return REAL(strcpy)(dst, src); // NOLINT in TSAN_INTERCEPTOR() 667 return REAL(strncpy)(dst, src, n); in TSAN_INTERCEPTOR() 673 return REAL(strdup)(str); in TSAN_INTERCEPTOR() 695 void *res = REAL(mmap)(addr, sz, prot, flags, fd, off); in TSAN_INTERCEPTOR() 714 void *res = REAL(mmap64)(addr, sz, prot, flags, fd, off); in TSAN_INTERCEPTOR() [all …]
|
D | tsan_libdispatch_mac.cc | 142 REAL(name##_f)(q, new_context, dispatch_callback_wrap); \ 156 REAL(name##_f)(q, &new_context, dispatch_callback_wrap); \ 170 REAL(name)(q, new_context, dispatch_callback_wrap); \ 182 REAL(name)(q, &new_context, dispatch_callback_wrap); \ 210 REAL(dispatch_after_f)(when, queue, new_context, dispatch_callback_wrap); in DISPATCH_INTERCEPT_B() 272 return REAL(dispatch_semaphore_signal)(dsema); in TSAN_INTERCEPTOR() 278 long_t result = REAL(dispatch_semaphore_wait)(dsema, timeout); in TSAN_INTERCEPTOR() 286 long_t result = REAL(dispatch_group_wait)(group, timeout); in TSAN_INTERCEPTOR() 295 REAL(dispatch_group_leave)(group); in TSAN_INTERCEPTOR() 348 REAL(dispatch_group_notify_f)(group, q, new_context, dispatch_callback_wrap); in TSAN_INTERCEPTOR() [all …]
|
D | tsan_interceptors.h | 33 if (REAL(func) == 0) { \ 38 return REAL(func)(__VA_ARGS__); \
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_common_interceptors.inc | 132 COMMON_INTERCEPTOR_READ_STRING_OF_LEN((ctx), (s), REAL(strlen)(s), (n)) 218 // in which case the REAL(strlen) typically used in 225 SIZE_T result = REAL(strlen)(s); 239 SIZE_T length = REAL(strnlen)(s, maxlen); 254 char *domain = REAL(textdomain)(domainname); 256 COMMON_INTERCEPTOR_INITIALIZE_RANGE(domain, REAL(strlen)(domain) + 1); 369 uptr len1 = REAL(strlen)(s1); 370 uptr len2 = REAL(strlen)(s2); 383 char *r = REAL(strstr)(s1, s2); 398 char *r = REAL(strcasestr)(s1, s2); [all …]
|
D | sanitizer_posix.h | 72 return REAL(pthread_create)(th, attr, callback, param); \ 75 return REAL(pthread_join(th, ret)); \
|
/external/skia/bench/ |
D | BlurBench.cpp | 18 #define REAL 1.5f macro 100 DEF_BENCH(return new BlurBench(REAL, kNormal_SkBlurStyle);) 101 DEF_BENCH(return new BlurBench(REAL, kSolid_SkBlurStyle);) 102 DEF_BENCH(return new BlurBench(REAL, kOuter_SkBlurStyle);) 103 DEF_BENCH(return new BlurBench(REAL, kInner_SkBlurStyle);) 113 DEF_BENCH(return new BlurBench(REAL, kNormal_SkBlurStyle, SkBlurMaskFilter::kHighQuality_BlurFlag);)
|
D | MorphologyBench.cpp | 17 #define REAL 1.5f macro 95 DEF_BENCH( return new MorphologyBench(REAL, kErode_MT); ) 96 DEF_BENCH( return new MorphologyBench(REAL, kDilate_MT); )
|
D | BlurRectBench.cpp | 17 #define REAL 1.5f macro 188 DEF_BENCH(return new BlurRectBoxFilterBench(REAL);) 192 DEF_BENCH(return new BlurRectGaussianBench(REAL);) 196 DEF_BENCH(return new BlurRectDirectBench(REAL);)
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/ |
D | fft.c | 152 # define REAL double macro 265 static int FFTRADIX (REAL Re[], in FFTRADIX() 266 REAL Im[], in FFTRADIX() 279 REAL radf; in FFTRADIX() 280 REAL c1, c2, c3, cd, aa, aj, ak, ajm, ajp, akm, akp; in FFTRADIX() 281 REAL s1, s2, s3, sd, bb, bj, bk, bjm, bjp, bkm, bkp; in FFTRADIX() 283 REAL *Rtmp = NULL; /* temp space for real part*/ in FFTRADIX() 284 REAL *Itmp = NULL; /* temp space for imaginary part */ in FFTRADIX() 285 REAL *Cos = NULL; /* Cosine values */ in FFTRADIX() 286 REAL *Sin = NULL; /* Sine values */ in FFTRADIX() [all …]
|
/external/compiler-rt/lib/interception/ |
D | interception_win.h | 68 (::__interception::uptr *)&REAL(func)) 73 (::__interception::uptr *)&REAL(func)) 81 (::__interception::uptr *)&REAL(func))
|
/external/pdfium/core/fxge/win32/ |
D | fx_win32_gdipext.cpp | 203 GDIPCONST REAL* dash, 210 typedef GpStatus(WINGDIPAPI* FuncType_GdipSetPenWidth)(GpPen* pen, REAL width); 225 REAL width, 229 REAL miterLimit); 267 REAL x, 268 REAL y, 269 REAL width, 270 REAL height); 327 REAL flatness); 329 REAL x1, [all …]
|
/external/compiler-rt/lib/interception/tests/ |
D | interception_linux_test.cc | 57 EXPECT_NE(0, REAL(isdigit)('1')); in TEST() 58 EXPECT_EQ(0, REAL(isdigit)('a')); in TEST()
|
/external/compiler-rt/lib/dfsan/ |
D | dfsan_interceptors.cc | 21 void *res = REAL(mmap)(addr, length, prot, flags, fd, offset); in INTERCEPTOR() 29 void *res = REAL(mmap64)(addr, length, prot, flags, fd, offset); in INTERCEPTOR()
|
/external/llvm/test/DebugInfo/ARM/ |
D | sroa-complex.ll | 23 ; CHECK-SAME: metadata ![[C:.*]], metadata ![[REAL:.*]]) 29 ; CHECK: ![[REAL]] = !DIExpression(DW_OP_bit_piece, 0, 64)
|