Searched defs:INTERCEPTOR (Results 1 - 19 of 19) sorted by relevance

/external/compiler-rt/lib/interception/tests/
H A Dinterception_linux_test.cc26 INTERCEPTOR(int, isdigit, int d) { function
/external/compiler-rt/lib/scudo/
H A Dscudo_interceptors.cpp23 INTERCEPTOR(void, free, void *ptr) { function
27 INTERCEPTOR(void, cfree, void *ptr) { function
31 INTERCEPTOR(void*, malloc, uptr size) { function
35 INTERCEPTOR(void*, realloc, void *ptr, uptr size) { function
39 INTERCEPTOR(void*, calloc, uptr nmemb, uptr size) { function
43 INTERCEPTOR(void*, valloc, uptr size) { function
47 INTERCEPTOR(void*, memalign, uptr alignment, uptr size) { function
51 INTERCEPTOR(void*, __libc_memalign, uptr alignment, uptr size) { function
55 INTERCEPTOR(void*, pvalloc, uptr size) { function
59 INTERCEPTOR(voi function
63 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) { function
67 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { function
71 INTERCEPTOR(int, mallopt, int cmd, int value) { function
[all...]
/external/compiler-rt/lib/dfsan/
H A Ddfsan_interceptors.cc19 INTERCEPTOR(void *, mmap, void *addr, SIZE_T length, int prot, int flags, function
27 INTERCEPTOR(void *, mmap64, void *addr, SIZE_T length, int prot, int flags, function
/external/compiler-rt/lib/asan/
H A Dasan_new_delete.cc89 INTERCEPTOR(void *, _Znwm, size_t size) {
92 INTERCEPTOR(void *, _Znam, size_t size) {
95 INTERCEPTOR(void *, _ZnwmRKSt9nothrow_t, size_t size, std::nothrow_t const&) {
98 INTERCEPTOR(void *, _ZnamRKSt9nothrow_t, size_t size, std::nothrow_t const&) {
136 INTERCEPTOR(void, _ZdlPv, void *ptr) { function
139 INTERCEPTOR(void, _ZdaPv, void *ptr) { function
142 INTERCEPTOR(void, _ZdlPvRKSt9nothrow_t, void *ptr, std::nothrow_t const&) { function
145 INTERCEPTOR(void, _ZdaPvRKSt9nothrow_t, void *ptr, std::nothrow_t const&) { function
H A Dasan_mac.cc191 INTERCEPTOR(void, dispatch_x_f, dispatch_queue_t dq, void *ctxt, \
208 INTERCEPTOR(void, dispatch_after_f, dispatch_time_t when, function
221 INTERCEPTOR(void, dispatch_group_async_f, dispatch_group_t group, function
256 INTERCEPTOR(void, dispatch_async, function
263 INTERCEPTOR(void, dispatch_group_async, function
270 INTERCEPTOR(void, dispatch_after, function
277 INTERCEPTOR(void, dispatch_source_set_cancel_handler, function
288 INTERCEPTOR(void, dispatch_source_set_event_handler, function
H A Dasan_malloc_linux.cc46 INTERCEPTOR(void, free, void *ptr) { function
53 INTERCEPTOR(void, cfree, void *ptr) { function
60 INTERCEPTOR(void*, malloc, uptr size) { function
68 INTERCEPTOR(void*, calloc, uptr nmemb, uptr size) { function
76 INTERCEPTOR(void*, realloc, void *ptr, uptr size) { function
88 INTERCEPTOR(void*, memalign, uptr boundary, uptr size) { function
93 INTERCEPTOR(void*, aligned_alloc, uptr boundary, uptr size) { function
98 INTERCEPTOR(void*, __libc_memalign, uptr boundary, uptr size) { function
105 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { function
119 INTERCEPTOR(struc function
125 INTERCEPTOR(int, mallopt, int cmd, int value) { function
129 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) { function
135 INTERCEPTOR(void*, valloc, uptr size) { function
140 INTERCEPTOR(void*, pvalloc, uptr size) { function
145 INTERCEPTOR(void, malloc_stats, void) { function
[all...]
H A Dasan_win.cc77 INTERCEPTOR(int, _except_handler3, void *a, void *b, void *c, void *d) { function
87 INTERCEPTOR(int, _except_handler4, void *a, void *b, void *c, void *d) { function
H A Dasan_win_dll_thunk.cc386 INTERCEPTOR(int, _except_handler4, void *a, void *b, void *c, void *d) { function
H A Dasan_interceptors.cc239 INTERCEPTOR(int, pthread_create, void *thread, function
280 INTERCEPTOR(int, pthread_join, void *t, void **arg) { function
290 INTERCEPTOR(void*, bsd_signal, int signum, void *handler) { function
299 INTERCEPTOR(void*, signal, int signum, void *handler) { function
307 INTERCEPTOR(int, sigaction, int signum, const struct sigaction *act, function
342 INTERCEPTOR(int, swapcontext, struct ucontext_t *oucp, function
365 INTERCEPTOR(void, longjmp, void *env, int val) { function
371 INTERCEPTOR(void, _longjmp, void *env, int val) { function
378 INTERCEPTOR(void, siglongjmp, void *env, int val) { function
385 INTERCEPTOR(voi function
448 INTERCEPTOR(void*, memmove, void *to, const void *from, uptr size) { function
454 INTERCEPTOR(void*, memcpy, void *to, const void *from, uptr size) { function
470 INTERCEPTOR(void*, memset, void *block, int c, uptr size) { function
492 INTERCEPTOR(char*, strcat, char *to, const char *from) { // NOLINT function
513 INTERCEPTOR(char*, strncat, char *to, const char *from, uptr size) { function
532 INTERCEPTOR(char*, strcpy, char *to, const char *from) { // NOLINT function
553 INTERCEPTOR(char*, strdup, const char *s) { function
569 INTERCEPTOR(char*, __strdup, const char *s) { function
585 INTERCEPTOR(SIZE_T, wcslen, const wchar_t *s) { function
596 INTERCEPTOR(char*, strncpy, char *to, const char *from, uptr size) { function
609 INTERCEPTOR(long, strtol, const char *nptr, // NOLINT function
623 INTERCEPTOR(int, atoi, const char *nptr) { function
644 INTERCEPTOR(long, atol, const char *nptr) { // NOLINT function
662 INTERCEPTOR(long long, strtoll, const char *nptr, // NOLINT function
676 INTERCEPTOR(long long, atoll, const char *nptr) { // NOLINT function
697 INTERCEPTOR(int, __cxa_atexit, void (*func)(void *), void *arg, function
710 INTERCEPTOR(int, fork, void) { function
[all...]
/external/compiler-rt/lib/lsan/
H A Dlsan_interceptors.cc53 INTERCEPTOR(void*, malloc, uptr size) { function
59 INTERCEPTOR(void, free, void *p) { function
64 INTERCEPTOR(void*, calloc, uptr nmemb, uptr size) { function
83 INTERCEPTOR(void*, realloc, void *q, uptr size) {
89 INTERCEPTOR(void*, memalign, uptr alignment, uptr size) {
95 INTERCEPTOR(void*, aligned_alloc, uptr alignment, uptr size) {
101 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) {
109 INTERCEPTOR(void *, __libc_memalign, uptr alignment, uptr size) {
117 INTERCEPTOR(void*, valloc, uptr size) {
125 INTERCEPTOR(upt
229 INTERCEPTOR(int, pthread_create, void *th, void *attr, function
266 INTERCEPTOR(int, pthread_join, void *th, void **ret) { function
[all...]
/external/compiler-rt/lib/interception/
H A Dinterception.h38 // 1) define INTERCEPTOR(int, foo, const char *bar, double baz) { ... } in
50 // INTERCEPTOR(..., foo, ...) are in different files, you'll instead need to:
54 // Notes: 1. Things may not work properly if macro INTERCEPTOR(...) {...} or
59 // INTERCEPTOR(int, foo, const char *bar, double baz) {...}
171 // Generally, you don't need to use DEFINE_REAL by itself, as INTERCEPTOR
173 // without defining INTERCEPTOR(..., foo, ...). For example, if you override
186 #define INTERCEPTOR(ret_type, func, ...) \ macro
195 INTERCEPTOR(ret_type, func, __VA_ARGS__)
205 #define INTERCEPTOR(ret_type, func, ...) \ macro
/external/compiler-rt/lib/safestack/
H A Dsafestack.cc171 INTERCEPTOR(int, pthread_create, pthread_t *thread, function
/external/compiler-rt/lib/tsan/dd/
H A Ddd_interceptors.cc43 INTERCEPTOR(int, pthread_mutex_destroy, pthread_mutex_t *m) { function
49 INTERCEPTOR(int, pthread_mutex_lock, pthread_mutex_t *m) { function
57 INTERCEPTOR(int, pthread_mutex_trylock, pthread_mutex_t *m) { function
65 INTERCEPTOR(int, pthread_mutex_unlock, pthread_mutex_t *m) { function
71 INTERCEPTOR(int, pthread_spin_destroy, pthread_spinlock_t *m) { function
78 INTERCEPTOR(int, pthread_spin_lock, pthread_spinlock_t *m) { function
86 INTERCEPTOR(int, pthread_spin_trylock, pthread_spinlock_t *m) { function
94 INTERCEPTOR(int, pthread_spin_unlock, pthread_spinlock_t *m) { function
100 INTERCEPTOR(int, pthread_rwlock_destroy, pthread_rwlock_t *m) { function
106 INTERCEPTOR(in function
114 INTERCEPTOR(int, pthread_rwlock_tryrdlock, pthread_rwlock_t *m) { function
122 INTERCEPTOR(int, pthread_rwlock_timedrdlock, pthread_rwlock_t *m, function
131 INTERCEPTOR(int, pthread_rwlock_wrlock, pthread_rwlock_t *m) { function
139 INTERCEPTOR(int, pthread_rwlock_trywrlock, pthread_rwlock_t *m) { function
147 INTERCEPTOR(int, pthread_rwlock_timedwrlock, pthread_rwlock_t *m, function
156 INTERCEPTOR(int, pthread_rwlock_unlock, pthread_rwlock_t *m) { function
176 INTERCEPTOR(int, pthread_cond_init, pthread_cond_t *c, function
183 INTERCEPTOR(int, pthread_cond_wait, pthread_cond_t *c, pthread_mutex_t *m) { function
193 INTERCEPTOR(int, pthread_cond_timedwait, pthread_cond_t *c, pthread_mutex_t *m, function
204 INTERCEPTOR(int, pthread_cond_signal, pthread_cond_t *c) { function
210 INTERCEPTOR(int, pthread_cond_broadcast, pthread_cond_t *c) { function
216 INTERCEPTOR(int, pthread_cond_destroy, pthread_cond_t *c) { function
226 INTERCEPTOR(char*, realpath, const char *path, char *resolved_path) { function
231 INTERCEPTOR(SSIZE_T, read, int fd, void *ptr, SIZE_T count) { function
236 INTERCEPTOR(SSIZE_T, pread, int fd, void *ptr, SIZE_T count, OFF_T offset) { function
[all...]
/external/v8/src/
H A Dlookup.h34 INTERCEPTOR, enumerator in enum:v8::internal::BASE_EMBEDDED::State
42 BEFORE_PROPERTY = INTERCEPTOR
247 DCHECK_EQ(INTERCEPTOR, state_);
/external/compiler-rt/lib/cfi/
H A Dcfi.cc380 INTERCEPTOR(void*, dlopen, const char *filename, int flag) { function
387 INTERCEPTOR(int, dlclose, void *handle) { function
/external/compiler-rt/lib/esan/
H A Desan_interceptors.cpp243 INTERCEPTOR(char *, strcpy, char *dst, const char *src) { // NOLINT function
252 INTERCEPTOR(char *, strncpy, char *dst, char *src, uptr n) { function
262 INTERCEPTOR(int, open, const char *name, int flags, int mode) { function
270 INTERCEPTOR(int, open64, const char *name, int flags, int mode) { function
281 INTERCEPTOR(int, creat, const char *name, int mode) { function
289 INTERCEPTOR(int, creat64, const char *name, int mode) { function
300 INTERCEPTOR(int, unlink, char *path) { function
307 INTERCEPTOR(uptr, fread, void *ptr, uptr size, uptr nmemb, void *f) { function
314 INTERCEPTOR(uptr, fwrite, const void *p, uptr size, uptr nmemb, void *f) { function
321 INTERCEPTOR(in function
328 INTERCEPTOR(int, rmdir, char *path) { function
342 INTERCEPTOR(void *, mmap, void *addr, SIZE_T sz, int prot, int flags, function
359 INTERCEPTOR(void *, mmap64, void *addr, SIZE_T sz, int prot, int flags, function
379 INTERCEPTOR(signal_handler_t, signal, int signum, signal_handler_t handler) { function
397 INTERCEPTOR(int, sigaction, int signum, const struct sigaction *act, function
427 INTERCEPTOR(int, sigprocmask, int how, __sanitizer_sigset_t *set, function
444 INTERCEPTOR(int, pthread_sigmask, int how, __sanitizer_sigset_t *set, function
488 INTERCEPTOR(void*, calloc, uptr size, uptr n) { function
499 INTERCEPTOR(void, free, void *p) { function
[all...]
/external/compiler-rt/lib/msan/
H A Dmsan_interceptors.cc107 INTERCEPTOR(SIZE_T, fread, void *ptr, SIZE_T size, SIZE_T nmemb, void *file) { function
116 INTERCEPTOR(SIZE_T, fread_unlocked, void *ptr, SIZE_T size, SIZE_T nmemb, function
129 INTERCEPTOR(SSIZE_T, readlink, const char *path, char *buf, SIZE_T bufsiz) { function
138 INTERCEPTOR(void *, memcpy, void *dest, const void *src, SIZE_T n) { function
142 INTERCEPTOR(void *, mempcpy, void *dest, const void *src, SIZE_T n) { function
146 INTERCEPTOR(void *, memccpy, void *dest, const void *src, int c, SIZE_T n) { function
156 INTERCEPTOR(void *, memmove, void *dest, const void *src, SIZE_T n) { function
160 INTERCEPTOR(void *, memset, void *s, int c, SIZE_T n) { function
164 INTERCEPTOR(void *, bcopy, const void *src, void *dest, SIZE_T n) { function
168 INTERCEPTOR(in function
179 INTERCEPTOR(void *, memalign, SIZE_T boundary, SIZE_T size) { function
190 INTERCEPTOR(void *, aligned_alloc, SIZE_T boundary, SIZE_T size) { function
197 INTERCEPTOR(void *, __libc_memalign, SIZE_T boundary, SIZE_T size) { function
205 INTERCEPTOR(void *, valloc, SIZE_T size) { function
212 INTERCEPTOR(void *, pvalloc, SIZE_T size) { function
228 INTERCEPTOR(void, free, void *ptr) { function
235 INTERCEPTOR(void, cfree, void *ptr) { function
245 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { function
254 INTERCEPTOR(void, mallinfo, __sanitizer_mallinfo *sret) { function
269 INTERCEPTOR(int, mallopt, int cmd, int value) { function
278 INTERCEPTOR(void, malloc_stats, void) { function
286 INTERCEPTOR(char *, strcpy, char *dest, const char *src) { // NOLINT function
296 INTERCEPTOR(char *, strncpy, char *dest, const char *src, SIZE_T n) { // NOLINT function
308 INTERCEPTOR(char *, stpcpy, char *dest, const char *src) { // NOLINT function
318 INTERCEPTOR(char *, strdup, char *src) { function
331 INTERCEPTOR(char *, __strdup, char *src) { function
345 INTERCEPTOR(char *, strndup, char *src, SIZE_T n) { function
358 INTERCEPTOR(char *, __strndup, char *src, SIZE_T n) { function
372 INTERCEPTOR(char *, gcvt, double number, SIZE_T ndigit, char *buf) { function
380 INTERCEPTOR(char *, strcat, char *dest, const char *src) { // NOLINT function
392 INTERCEPTOR(char *, strncat, char *dest, const char *src, SIZE_T n) { // NOLINT function
471 INTERCEPTOR(int, vswprintf, void *str, uptr size, void *format, va_list ap) { function
480 INTERCEPTOR(int, swprintf, void *str, uptr size, void *format, ...) { function
489 INTERCEPTOR(SIZE_T, strxfrm, char *dest, const char *src, SIZE_T n) { function
497 INTERCEPTOR(SIZE_T, strxfrm_l, char *dest, const char *src, SIZE_T n, function
512 INTERCEPTOR(SIZE_T, strftime, char *s, SIZE_T max, const char *format, function
517 INTERCEPTOR(SIZE_T, strftime_l, char *s, SIZE_T max, const char *format, function
523 INTERCEPTOR(SIZE_T, __strftime_l, char *s, SIZE_T max, const char *format, function
533 INTERCEPTOR(SIZE_T, wcsftime, wchar_t *s, SIZE_T max, const wchar_t *format, function
538 INTERCEPTOR(SIZE_T, wcsftime_l, wchar_t *s, SIZE_T max, const wchar_t *format, function
545 INTERCEPTOR(SIZE_T, __wcsftime_l, wchar_t *s, SIZE_T max, const wchar_t *format, function
555 INTERCEPTOR(int, mbtowc, wchar_t *dest, const char *src, SIZE_T n) { function
562 INTERCEPTOR(int, mbrtowc, wchar_t *dest, const char *src, SIZE_T n, void *ps) { function
569 INTERCEPTOR(SIZE_T, wcslen, const wchar_t *s) { function
577 INTERCEPTOR(wchar_t *, wcschr, void *s, wchar_t wc, void *ps) { function
584 INTERCEPTOR(wchar_t *, wcscpy, wchar_t *dest, const wchar_t *src) { function
594 INTERCEPTOR(wchar_t *, wmemcpy, wchar_t *dest, const wchar_t *src, SIZE_T n) { function
602 INTERCEPTOR(wchar_t *, wmempcpy, wchar_t *dest, const wchar_t *src, SIZE_T n) { function
610 INTERCEPTOR(wchar_t *, wmemset, wchar_t *s, wchar_t c, SIZE_T n) { function
618 INTERCEPTOR(wchar_t *, wmemmove, wchar_t *dest, const wchar_t *src, SIZE_T n) { function
626 INTERCEPTOR(int, wcscmp, const wchar_t *s1, const wchar_t *s2) { function
632 INTERCEPTOR(int, gettimeofday, void *tv, void *tz) { function
642 INTERCEPTOR(char *, fcvt, double x, int a, int *b, int *c) { function
651 INTERCEPTOR(char *, getenv, char *name) { function
672 INTERCEPTOR(int, setenv, const char *name, const char *value, int overwrite) { function
680 INTERCEPTOR(int, putenv, char *string) { function
688 INTERCEPTOR(int, __fxstat, int magic, int fd, void *buf) { function
701 INTERCEPTOR(int, __fxstat64, int magic, int fd, void *buf) { function
714 INTERCEPTOR(int, fstatat, int fd, char *pathname, void *buf, int flags) { function
722 INTERCEPTOR(int, __fxstatat, int magic, int fd, char *pathname, void *buf, function
733 INTERCEPTOR(int, __fxstatat64, int magic, int fd, char *pathname, void *buf, function
745 INTERCEPTOR(int, pipe, int pipefd[2]) { function
755 INTERCEPTOR(int, pipe2, int pipefd[2], int flags) { function
763 INTERCEPTOR(int, socketpair, int domain, int type, int protocol, int sv[2]) { function
771 INTERCEPTOR(char *, fgets, char *s, int size, void *stream) { function
780 INTERCEPTOR(char *, fgets_unlocked, char *s, int size, void *stream) { function
792 INTERCEPTOR(int, getrlimit, int resource, void *rlim) { function
803 INTERCEPTOR(int, getrlimit64, int resource, void *rlim) { function
811 INTERCEPTOR(int, prlimit, int pid, int resource, void *new_rlimit, function
822 INTERCEPTOR(int, prlimit64, int pid, int resource, void *new_rlimit, function
847 INTERCEPTOR(int, __xuname, int size, void *utsname) { function
856 INTERCEPTOR(int, uname, struct utsname *utsname) { function
866 INTERCEPTOR(int, gethostname, char *name, SIZE_T len) { function
879 INTERCEPTOR(int, epoll_wait, int epfd, void *events, int maxevents, function
894 INTERCEPTOR(int, epoll_pwait, int epfd, void *events, int maxevents, function
908 INTERCEPTOR(void *, calloc, SIZE_T nmemb, SIZE_T size) { function
955 INTERCEPTOR(void *, mmap, void *addr, SIZE_T length, int prot, int flags, function
975 INTERCEPTOR(void *, mmap64, void *addr, SIZE_T length, int prot, int flags, function
996 INTERCEPTOR(int, getrusage, int who, void *usage) { function
1048 INTERCEPTOR(int, sigaction, int signo, const __sanitizer_sigaction *act, function
1088 INTERCEPTOR(int, signal, int signo, uptr cb) { function
1112 INTERCEPTOR(int, pthread_create, void *th, void *attr, void *(*callback)(void*), function
1135 INTERCEPTOR(int, pthread_key_create, __sanitizer_pthread_key_t *key, function
1145 INTERCEPTOR(int, pthread_join, void *th, void **retval) { function
1155 INTERCEPTOR(void, tzset, int fake) { function
1178 INTERCEPTOR(int, __cxa_atexit, void (*func)(void *), void *arg, function
1191 INTERCEPTOR(void *, shmat, int shmid, const void *shmaddr, int shmflg) { function
1214 INTERCEPTOR(int, fork, void) { function
1222 INTERCEPTOR(int, openpty, int *amaster, int *aslave, char *name, function
1234 INTERCEPTOR(int, forkpty, int *amaster, char *name, const void *termp, function
1356 INTERCEPTOR(int, dladdr, void *addr, dlinfo *info) { function
1370 INTERCEPTOR(char *, dlerror, int fake) { function
1399 INTERCEPTOR(int, dl_iterate_phdr, dl_iterate_phdr_cb callback, void *data) { function
[all...]
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors.cc1039 INTERCEPTOR(int, pthread_cond_init, void *c, void *a) { function
1066 INTERCEPTOR(int, pthread_cond_wait, void *c, void *m) { function
1074 INTERCEPTOR(int, pthread_cond_timedwait, void *c, void *m, void *abstime) { function
1082 INTERCEPTOR(int, pthread_cond_timedwait_relative_np, void *c, void *m, function
1091 INTERCEPTOR(int, pthread_cond_signal, void *c) { function
1098 INTERCEPTOR(int, pthread_cond_broadcast, void *c) { function
1105 INTERCEPTOR(int, pthread_cond_destroy, void *c) { function
/external/guice/extensions/persist/lib/
H A Dhibernate-entitymanager.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ org/ org/hibernate/ org/hibernate/ejb/ ...

Completed in 275 milliseconds