Home
last modified time | relevance | path

Searched refs:REAL (Results 1 – 25 of 63) sorted by relevance

123

/external/compiler-rt/lib/msan/
Dmsan_interceptors.cc109 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 …]
Dmsan_poisoning.cc92 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/
Dasan_interceptors.cc94 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, &param); in INTERCEPTOR()
293 return REAL(bsd_signal)(signum, handler); in INTERCEPTOR()
302 return REAL(signal)(signum, handler); in INTERCEPTOR()
[all …]
Dasan_mac.cc200 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);
Dasan_win.cc69 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()
Dasan_poisoning.h52 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()
/external/compiler-rt/lib/tsan/dd/
Ddd_interceptors.cc46 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/
Desan_interceptors.cpp63 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/
Dtsan_interceptors_mac.cc145 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 …]
Dtsan_interceptors.cc319 #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 …]
Dtsan_libdispatch_mac.cc142 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 …]
Dtsan_interceptors.h33 if (REAL(func) == 0) { \
38 return REAL(func)(__VA_ARGS__); \
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_interceptors.inc132 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 …]
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Dfft.c152 # 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/skqp/bench/
DBlurBench.cpp18 #define REAL 0.5f macro
98 DEF_BENCH(return new BlurBench(REAL, kNormal_SkBlurStyle);)
99 DEF_BENCH(return new BlurBench(REAL, kSolid_SkBlurStyle);)
100 DEF_BENCH(return new BlurBench(REAL, kOuter_SkBlurStyle);)
101 DEF_BENCH(return new BlurBench(REAL, kInner_SkBlurStyle);)
DMorphologyBench.cpp17 #define REAL 1.5f macro
95 DEF_BENCH( return new MorphologyBench(REAL, kErode_MT); )
96 DEF_BENCH( return new MorphologyBench(REAL, kDilate_MT); )
DBlurRectBench.cpp17 #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/skia/bench/
DBlurBench.cpp18 #define REAL 0.5f macro
98 DEF_BENCH(return new BlurBench(REAL, kNormal_SkBlurStyle);)
99 DEF_BENCH(return new BlurBench(REAL, kSolid_SkBlurStyle);)
100 DEF_BENCH(return new BlurBench(REAL, kOuter_SkBlurStyle);)
101 DEF_BENCH(return new BlurBench(REAL, kInner_SkBlurStyle);)
DMorphologyBench.cpp17 #define REAL 1.5f macro
95 DEF_BENCH( return new MorphologyBench(REAL, kErode_MT); )
96 DEF_BENCH( return new MorphologyBench(REAL, kDilate_MT); )
DBlurRectBench.cpp17 #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/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-cov/
Dscan-directory.test5 …show /dev/null -instr-profile /dev/null -dump-collected-paths %t | FileCheck %s --check-prefix=REAL
6 …-profile /dev/null -dump-collected-paths %t/a/b/c.tmp %t/a/d.tmp | FileCheck %s --check-prefix=REAL
8 REAL-DAG: {{.*}}c.tmp
9 REAL-DAG: {{.*}}d.tmp
/external/pdfium/core/fxge/win32/
Dfx_win32_gdipext.cpp81 using Gdiplus::REAL;
266 GDIPCONST REAL* dash,
273 typedef GpStatus(WINGDIPAPI* FuncType_GdipSetPenWidth)(GpPen* pen, REAL width);
288 REAL width,
292 REAL miterLimit);
330 REAL x,
331 REAL y,
332 REAL width,
333 REAL height);
390 REAL flatness);
[all …]
/external/compiler-rt/lib/interception/
Dinterception_win.h68 (::__interception::uptr *)&REAL(func))
73 (::__interception::uptr *)&REAL(func))
81 (::__interception::uptr *)&REAL(func))
/external/compiler-rt/lib/interception/tests/
Dinterception_linux_test.cc57 EXPECT_NE(0, REAL(isdigit)('1')); in TEST()
58 EXPECT_EQ(0, REAL(isdigit)('a')); in TEST()
/external/compiler-rt/lib/dfsan/
Ddfsan_interceptors.cc21 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()

123