/external/compiler-rt/lib/msan/ |
D | msan_interceptors.cc | 106 SIZE_T res = REAL(fread)(ptr, size, nmemb, file); in INTERCEPTOR() 116 SIZE_T res = REAL(fread_unlocked)(ptr, size, nmemb, file); in INTERCEPTOR() 129 SSIZE_T res = REAL(readlink)(path, buf, bufsiz); in INTERCEPTOR() 145 void *res = REAL(memccpy)(dest, src, c, n); in INTERCEPTOR() 257 REAL(memset)(sret, 0, sizeof(*sret)); in INTERCEPTOR() 285 return REAL(strlen)(s); in INTERCEPTOR() 287 SIZE_T res = REAL(strlen)(s); in INTERCEPTOR() 294 SIZE_T res = REAL(strnlen)(s, n); in INTERCEPTOR() 303 SIZE_T n = REAL(strlen)(src); in INTERCEPTOR() 305 char *res = REAL(strcpy)(dest, src); // NOLINT 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 | 93 ASAN_READ_STRING_OF_LEN((ctx), (s), REAL(strlen)(s), (n)) 114 if (REAL(strnlen)) { in MaybeRealStrnlen() 115 return REAL(strnlen)(s, maxlen); in MaybeRealStrnlen() 154 return REAL(func)(__VA_ARGS__); \ 156 return REAL(func)(__VA_ARGS__); \ 179 #define COMMON_INTERCEPTOR_BLOCK_REAL(name) REAL(name) 241 REAL(pthread_attr_getdetachstate)(attr, &detached); in INTERCEPTOR() 245 int result = REAL(pthread_create)(thread, attr, asan_thread_start, ¶m); in INTERCEPTOR() 275 return REAL(bsd_signal)(signum, handler); in INTERCEPTOR() 283 return REAL(signal)(signum, handler); in INTERCEPTOR() [all …]
|
D | asan_win.cc | 59 CHECK(REAL(RaiseException)); in INTERCEPTOR_WINAPI() 61 REAL(RaiseException)(a, b, c, d); in INTERCEPTOR_WINAPI() 65 CHECK(REAL(_except_handler3)); in INTERCEPTOR() 67 return REAL(_except_handler3)(a, b, c, d); in INTERCEPTOR() 75 CHECK(REAL(_except_handler4)); in INTERCEPTOR() 77 return REAL(_except_handler4)(a, b, c, d); in INTERCEPTOR() 100 return REAL(CreateThread)(security, stack_size, in INTERCEPTOR_WINAPI() 132 return REAL(NtWaitForWorkViaWorkerFactory)(a, b); in INTERCEPTOR_WINAPI() 149 (uptr *)&REAL(NtWaitForWorkViaWorkerFactory))); in InitializePlatformInterceptors()
|
D | asan_mac.cc | 167 return REAL(dispatch_x_f)(dq, (void*)asan_ctxt, \ 184 return REAL(dispatch_after_f)(when, dq, (void*)asan_ctxt, in INTERCEPT_DISPATCH_X_F_3() 198 REAL(dispatch_group_async_f)(group, dq, (void*)asan_ctxt, in INTERCEPTOR() 227 REAL(dispatch_async)(dq, asan_block); 234 REAL(dispatch_group_async)(dg, dq, asan_block); 241 REAL(dispatch_after)(when, queue, asan_block); 247 REAL(dispatch_source_set_cancel_handler)(ds, work); 252 REAL(dispatch_source_set_cancel_handler)(ds, asan_block); 259 REAL(dispatch_source_set_event_handler)(ds, asan_block);
|
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 | 98 if ((!INTERCEPT_FUNCTION(name) || !REAL(name))) \ in DECLARE_REAL() 103 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/rtl/ |
D | tsan_interceptors_mac.cc | 28 return REAL(OSSpinLockLock)(lock); in TSAN_INTERCEPTOR() 31 REAL(OSSpinLockLock)(lock); in TSAN_INTERCEPTOR() 38 return REAL(OSSpinLockTry)(lock); in TSAN_INTERCEPTOR() 41 bool result = REAL(OSSpinLockTry)(lock); in TSAN_INTERCEPTOR() 50 return REAL(OSSpinLockUnlock)(lock); in TSAN_INTERCEPTOR() 54 REAL(OSSpinLockUnlock)(lock); in TSAN_INTERCEPTOR() 60 return REAL(os_lock_lock)(lock); in TSAN_INTERCEPTOR() 63 REAL(os_lock_lock)(lock); in TSAN_INTERCEPTOR() 70 return REAL(os_lock_trylock)(lock); in TSAN_INTERCEPTOR() 73 bool result = REAL(os_lock_trylock)(lock); in TSAN_INTERCEPTOR() [all …]
|
D | tsan_interceptors.cc | 47 #define __libc_malloc REAL(malloc) 48 #define __libc_realloc REAL(realloc) 49 #define __libc_calloc REAL(calloc) 50 #define __libc_free REAL(free) 53 #define __libc_malloc REAL(malloc) 54 #define __libc_realloc REAL(realloc) 55 #define __libc_calloc REAL(calloc) 56 #define __libc_free REAL(free) 326 #define BLOCK_REAL(name) (BlockingCall(thr), REAL(name)) 423 int res = REAL(__cxa_atexit)(at_exit_wrapper, ctx, dso); in setup_at_exit_wrapper() [all …]
|
D | tsan_malloc_mac.cc | 32 return REAL(malloc)(size); \ 37 return REAL(realloc)(ptr, size); \ 42 return REAL(calloc)(count, size); \ 47 return REAL(valloc)(size); \ 52 return REAL(free)(ptr); \
|
D | tsan_libdispatch_mac.cc | 120 REAL(name##_f)(q, new_context, dispatch_callback_wrap_acquire); \ 132 REAL(name)(q, new_context, dispatch_callback_wrap_acquire); \ 198 return REAL(dispatch_semaphore_signal)(dsema); in TSAN_INTERCEPTOR() 204 long_t result = REAL(dispatch_semaphore_wait)(dsema, timeout); in TSAN_INTERCEPTOR() 212 long_t result = REAL(dispatch_group_wait)(group, timeout); in TSAN_INTERCEPTOR() 220 REAL(dispatch_group_leave)(group); in TSAN_INTERCEPTOR() 263 REAL(dispatch_group_notify_f)(group, q, new_context, in TSAN_INTERCEPTOR() 278 REAL(dispatch_group_notify_f)(group, q, new_context, in TSAN_INTERCEPTOR()
|
D | tsan_interceptors.h | 33 if (REAL(func) == 0) { \ 38 return REAL(func)(__VA_ARGS__); \
|
D | tsan_new_delete.cc | 27 #define __libc_malloc REAL(malloc) 28 #define __libc_free REAL(free)
|
/external/compiler-rt/lib/tsan/dd/ |
D | dd_interceptors.cc | 49 return REAL(pthread_mutex_destroy)(m); in INTERCEPTOR() 55 int res = REAL(pthread_mutex_lock)(m); in INTERCEPTOR() 62 int res = REAL(pthread_mutex_trylock)(m); in INTERCEPTOR() 71 return REAL(pthread_mutex_unlock)(m); in INTERCEPTOR() 76 int res = REAL(pthread_spin_destroy)(m); in INTERCEPTOR() 84 int res = REAL(pthread_spin_lock)(m); in INTERCEPTOR() 91 int res = REAL(pthread_spin_trylock)(m); in INTERCEPTOR() 100 return REAL(pthread_spin_unlock)(m); in INTERCEPTOR() 106 return REAL(pthread_rwlock_destroy)(m); in INTERCEPTOR() 112 int res = REAL(pthread_rwlock_rdlock)(m); in INTERCEPTOR() [all …]
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_common_interceptors.inc | 128 COMMON_INTERCEPTOR_READ_STRING_OF_LEN((ctx), (s), REAL(strlen)(s), (n)) 200 char *domain = REAL(textdomain)(domainname); 202 COMMON_INTERCEPTOR_INITIALIZE_RANGE(domain, REAL(strlen)(domain) + 1); 312 uptr len1 = REAL(strlen)(s1); 313 uptr len2 = REAL(strlen)(s2); 326 char *r = REAL(strstr)(s1, s2); 341 char *r = REAL(strcasestr)(s1, s2); 356 SIZE_T r = REAL(strspn)(s1, s2); 358 COMMON_INTERCEPTOR_READ_RANGE(ctx, s2, REAL(strlen)(s2) + 1); 367 SIZE_T r = REAL(strcspn)(s1, s2); [all …]
|
D | sanitizer_posix.h | 71 return REAL(pthread_create)(th, attr, callback, param); \ 74 return REAL(pthread_join(th, ret)); \
|
/external/skia/bench/ |
D | BlurBench.cpp | 19 #define REAL 1.5f macro 102 DEF_BENCH(return new BlurBench(REAL, kNormal_SkBlurStyle);) 103 DEF_BENCH(return new BlurBench(REAL, kSolid_SkBlurStyle);) 104 DEF_BENCH(return new BlurBench(REAL, kOuter_SkBlurStyle);) 105 DEF_BENCH(return new BlurBench(REAL, kInner_SkBlurStyle);) 115 DEF_BENCH(return new BlurBench(REAL, kNormal_SkBlurStyle, SkBlurMaskFilter::kHighQuality_BlurFlag);)
|
D | MorphologyBench.cpp | 17 #define REAL 1.5f macro 93 DEF_BENCH( return new MorphologyBench(REAL, kErode_MT); ) 94 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/pdfium/core/src/fxge/win32/ |
D | fx_win32_gdipext.cpp | 197 GDIPCONST REAL* dash, 204 typedef GpStatus(WINGDIPAPI* FuncType_GdipSetPenWidth)(GpPen* pen, REAL width); 219 REAL width, 223 REAL miterLimit); 261 REAL x, 262 REAL y, 263 REAL width, 264 REAL height); 321 REAL flatness); 323 REAL x1, [all …]
|
/external/compiler-rt/lib/interception/ |
D | interception_win.h | 43 (::__interception::uptr *)&REAL(func)) 48 (::__interception::uptr *)&REAL(func))
|
/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/opencv3/modules/ml/src/ |
D | boost.cpp | 59 boostType = Boost::REAL; in BoostTreeParams() 178 else if( bparams.boostType == Boost::REAL ) in calcValue() 256 else if( bparams.boostType == Boost::REAL || bparams.boostType == Boost::GENTLE ) in updateWeightsAndTrim() 377 bparams.boostType == Boost::REAL ? "RealAdaboost" : in writeTrainingParams() 416 bts == "RealAdaboost" ? Boost::REAL : in readParams()
|