/external/chromium_org/chrome/browser/component_updater/test/ |
component_updater_ping_manager_unittest.cc | 66 URLRequestPostInterceptor* interceptor = local 68 EXPECT_TRUE(interceptor); 80 EXPECT_EQ(1, interceptor->GetCount()) << interceptor->GetRequestsAsString(); 81 EXPECT_NE(string::npos, interceptor->GetRequests()[0].find( 84 << interceptor->GetRequestsAsString(); 85 interceptor->Reset(); 97 EXPECT_EQ(1, interceptor->GetCount()) << interceptor->GetRequestsAsString(); 98 EXPECT_NE(string::npos, interceptor->GetRequests()[0].find [all...] |
crx_downloader_unittest.cc | 154 GetInterceptor interceptor; local 155 interceptor.SetResponse( 162 EXPECT_EQ(1, interceptor.GetHitCount()); 175 GetInterceptor interceptor; local 176 interceptor.SetResponse( 187 EXPECT_EQ(1, interceptor.GetHitCount()); 199 GetInterceptor interceptor; local 200 interceptor.SetResponse( 209 EXPECT_EQ(0, interceptor.GetHitCount()); 221 GetInterceptor interceptor; local 241 GetInterceptor interceptor; local 266 GetInterceptor interceptor; local 290 GetInterceptor interceptor; local [all...] |
url_request_post_interceptor.cc | 148 void OnCreateInterceptor(URLRequestPostInterceptor* interceptor) { 150 CHECK(interceptors_.find(interceptor->GetUrl()) == interceptors_.end()); 152 interceptors_.insert(std::make_pair(interceptor->GetUrl(), interceptor)); 178 // There is an interceptor hooked up for this url. Read the request body, 182 URLRequestPostInterceptor* interceptor(it->second); 192 base::AutoLock auto_lock(interceptor->interceptor_lock_); 193 interceptor->requests_.push_back(request_body); 194 if (interceptor->expectations_.empty()) 197 interceptor->expectations_.front()) [all...] |
/external/compiler-rt/lib/msan/ |
msan_interceptors.cc | 33 // True if this is a nested interceptor. 72 // interceptor. 81 INTERCEPTOR(SIZE_T, fread, void *ptr, SIZE_T size, SIZE_T nmemb, void *file) { 89 INTERCEPTOR(SIZE_T, fread_unlocked, void *ptr, SIZE_T size, SIZE_T nmemb, 98 INTERCEPTOR(SSIZE_T, readlink, const char *path, char *buf, SIZE_T bufsiz) { 106 INTERCEPTOR(void *, memcpy, void *dest, const void *src, SIZE_T n) { 110 INTERCEPTOR(void *, mempcpy, void *dest, const void *src, SIZE_T n) { 114 INTERCEPTOR(void *, memmove, void *dest, const void *src, SIZE_T n) { 118 INTERCEPTOR(void *, memset, void *s, int c, SIZE_T n) { 122 INTERCEPTOR(void *, bcopy, const void *src, void *dest, SIZE_T n) [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_common_interceptors.inc | 13 // This file should be included into the tool's interceptor file, 36 INTERCEPTOR(int, strcmp, const char *s1, const char *s2) { 51 INTERCEPTOR(int, strncmp, const char *s1, const char *s2, uptr size) { 80 INTERCEPTOR(int, strcasecmp, const char *s1, const char *s2) { 96 INTERCEPTOR(int, strncasecmp, const char *s1, const char *s2, SIZE_T n) { 120 INTERCEPTOR(double, frexp, double x, int *exp) { 134 INTERCEPTOR(float, frexpf, float x, int *exp) { 142 INTERCEPTOR(long double, frexpl, long double x, int *exp) { 179 INTERCEPTOR(SSIZE_T, read, int fd, void *ptr, SIZE_T count) { 195 INTERCEPTOR(SSIZE_T, pread, int fd, void *ptr, SIZE_T count, OFF_T offset) [all...] |
/external/apache-http/src/org/apache/http/protocol/ |
HttpRequestInterceptorList.java | 52 * Appends a request interceptor to this list. 54 * @param itcp the request interceptor to add 61 * Inserts a request interceptor at the specified index. 63 * @param itcp the request interceptor to add 64 * @param index the index to insert the interceptor at 79 * Obtains a request interceptor from this list. 81 * @param index the index of the interceptor to obtain, 84 * @return the interceptor at the given index, or 99 * Removes all request interceptor of the specified class
|
HttpResponseInterceptorList.java | 54 * Appends a response interceptor to this list. 56 * @param itcp the response interceptor to add 62 * Inserts a response interceptor at the specified index. 64 * @param itcp the response interceptor to add 65 * @param index the index to insert the interceptor at 80 * Obtains a response interceptor from this list. 82 * @param index the index of the interceptor to obtain, 85 * @return the interceptor at the given index, or 100 * Removes all response interceptor of the specified class
|
BasicHttpProcessor.java | 144 * @param interceptor the interceptor to add 147 void addInterceptor(final HttpRequestInterceptor interceptor) { 148 addRequestInterceptor(interceptor); 152 void addInterceptor(final HttpRequestInterceptor interceptor, 154 addRequestInterceptor(interceptor, index); 197 * @param interceptor the interceptor to add 200 void addInterceptor(final HttpResponseInterceptor interceptor) { 201 addResponseInterceptor(interceptor); 288 HttpRequestInterceptor interceptor = local 302 HttpResponseInterceptor interceptor = local [all...] |
/external/compiler-rt/lib/asan/ |
asan_malloc_linux.cc | 63 INTERCEPTOR(void, free, void *ptr) { 68 INTERCEPTOR(void, cfree, void *ptr) { 73 INTERCEPTOR(void*, malloc, uptr size) { 78 INTERCEPTOR(void*, calloc, uptr nmemb, uptr size) { 94 INTERCEPTOR(void*, realloc, void *ptr, uptr size) { 99 INTERCEPTOR(void*, memalign, uptr boundary, uptr size) { 104 INTERCEPTOR(void*, __libc_memalign, uptr align, uptr s) 107 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { 120 INTERCEPTOR(struct fake_mallinfo, mallinfo, void) { 126 INTERCEPTOR(int, mallopt, int cmd, int value) [all...] |
asan_new_delete.cc | 63 INTERCEPTOR(void *, _Znwm, size_t size) { 66 INTERCEPTOR(void *, _Znam, size_t size) { 69 INTERCEPTOR(void *, _ZnwmRKSt9nothrow_t, size_t size, std::nothrow_t const&) { 72 INTERCEPTOR(void *, _ZnamRKSt9nothrow_t, size_t size, std::nothrow_t const&) { 94 INTERCEPTOR(void, _ZdlPv, void *ptr) { 97 INTERCEPTOR(void, _ZdaPv, void *ptr) { 100 INTERCEPTOR(void, _ZdlPvRKSt9nothrow_t, void *ptr, std::nothrow_t const&) { 103 INTERCEPTOR(void, _ZdaPvRKSt9nothrow_t, void *ptr, std::nothrow_t const&) {
|
asan_interceptors.cc | 149 INTERCEPTOR(int, pthread_create, void *thread, 169 INTERCEPTOR(void*, signal, int signum, void *handler) { 176 INTERCEPTOR(int, sigaction, int signum, const struct sigaction *act, 202 INTERCEPTOR(int, swapcontext, struct ucontext_t *oucp, 225 INTERCEPTOR(void, longjmp, void *env, int val) { 231 INTERCEPTOR(void, _longjmp, void *env, int val) { 238 INTERCEPTOR(void, siglongjmp, void *env, int val) { 245 INTERCEPTOR(void, __cxa_throw, void *a, void *b, void *c) { 265 INTERCEPTOR(int, mlock, const void *addr, uptr len) { 270 INTERCEPTOR(int, munlock, const void *addr, uptr len) [all...] |
asan_malloc_mac.cc | 42 INTERCEPTOR(malloc_zone_t *, malloc_create_zone, 62 INTERCEPTOR(malloc_zone_t *, malloc_default_zone, void) { 67 INTERCEPTOR(malloc_zone_t *, malloc_default_purgeable_zone, void) { 74 INTERCEPTOR(void, malloc_make_purgeable, void *ptr) { 80 INTERCEPTOR(int, malloc_make_nonpurgeable, void *ptr) { 89 INTERCEPTOR(void, malloc_set_zone_name, malloc_zone_t *zone, const char *name) { 104 INTERCEPTOR(void *, malloc, size_t size) { 111 INTERCEPTOR(void, free, void *ptr) { 118 INTERCEPTOR(void *, realloc, void *ptr, size_t size) { 124 INTERCEPTOR(void *, calloc, size_t nmemb, size_t size) [all...] |
/external/compiler-rt/lib/asan/lit_tests/TestCases/ |
time_interceptor.cc | 3 // Test the time() interceptor.
|
/external/chromium/chrome/browser/net/ |
connect_interceptor.h | 14 // An interceptor to monitor URLRequests so that we can do speculative DNS 16 class ConnectInterceptor : public net::URLRequest::Interceptor { 24 // Overridden from net::URLRequest::Interceptor:
|
/external/chromium_org/sandbox/win/src/ |
sidestep_resolver.cc | 22 const void* interceptor; // Real interceptor. member in struct:__anon10332::SmartThunk 77 // the thunk to use a chained interceptor. It uses the fact that 97 thunk->interceptor = interceptor_entry_point; 100 &thunk->interceptor); 106 // to our internal smart interceptor. 114 // Fix the internal thunk to pass the whole buffer to the interceptor. 129 // This code must basically either call the intended interceptor or skip the 134 // to our SmartThunk. When we call the interceptor we have to replace this 136 // structure); on the other hand, when we skip the interceptor we have to remov [all...] |
resolver_64.cc | 52 const void* interceptor) { 57 thunk->interceptor_function = reinterpret_cast<ULONG_PTR>(interceptor);
|
/external/compiler-rt/lib/lsan/ |
lsan_interceptors.cc | 60 INTERCEPTOR(void*, malloc, uptr size) { 66 INTERCEPTOR(void, free, void *p) { 71 INTERCEPTOR(void*, calloc, uptr nmemb, uptr size) { 79 INTERCEPTOR(void*, realloc, void *q, uptr size) { 85 INTERCEPTOR(void*, memalign, uptr alignment, uptr size) { 91 INTERCEPTOR(int, posix_memalign, void **memptr, uptr alignment, uptr size) { 99 INTERCEPTOR(void*, valloc, uptr size) { 107 INTERCEPTOR(uptr, malloc_usable_size, void *ptr) { 116 INTERCEPTOR(struct fake_mallinfo, mallinfo, void) { 122 INTERCEPTOR(int, mallopt, int cmd, int value) [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
BroadcastInterceptingContext.java | 89 final BroadcastInterceptor interceptor = new BroadcastInterceptor(null, filter); local 91 mInterceptors.add(interceptor); 93 return interceptor; 115 final BroadcastInterceptor interceptor = i.next(); local 116 if (receiver.equals(interceptor.mReceiver)) { 128 final BroadcastInterceptor interceptor = i.next(); local 129 if (interceptor.dispatchBroadcast(intent)) {
|
/external/chromium_org/webkit/browser/appcache/ |
appcache_interceptor.h | 19 // An interceptor to hijack requests and potentially service them out of 22 : public net::URLRequest::Interceptor { 53 // Override from net::URLRequest::Interceptor:
|
/external/chromium/net/url_request/ |
url_request_job_manager.h | 27 // so no attempt is made to support ProtocolFactory or Interceptor instances 43 // of a redirect. Returns NULL if no interceptor intervenes. 50 // Returns NULL if no interceptor intervenes. 64 // Register/unregister a request interceptor. 65 void RegisterRequestInterceptor(URLRequest::Interceptor* interceptor); 66 void UnregisterRequestInterceptor(URLRequest::Interceptor* interceptor); 73 typedef std::vector<URLRequest::Interceptor*> InterceptorList;
|
url_request_job_manager.cc | 185 URLRequest::Interceptor* interceptor) { 192 DCHECK(std::find(interceptors_.begin(), interceptors_.end(), interceptor) == 194 interceptors_.push_back(interceptor); 198 URLRequest::Interceptor* interceptor) { 206 std::find(interceptors_.begin(), interceptors_.end(), interceptor);
|
/external/chromium_org/net/url_request/ |
url_request_job_manager.h | 26 // so no attempt is made to support ProtocolFactory or Interceptor instances 43 // of a redirect. Returns NULL if no interceptor intervenes. 51 // Returns NULL if no interceptor intervenes. 66 // Register/unregister a request interceptor. 67 void RegisterRequestInterceptor(URLRequest::Interceptor* interceptor); 68 void UnregisterRequestInterceptor(URLRequest::Interceptor* interceptor); 72 typedef std::vector<URLRequest::Interceptor*> InterceptorList;
|
/external/chromium/chrome/browser/extensions/ |
autoupdate_interceptor.h | 15 // This url request interceptor lets us respond to localhost http request urls 18 : public net::URLRequest::Interceptor,
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
AlphaTouchInterceptorOverlay.java | 27 * A View that other Views can use to create a touch-interceptor layer above 32 * alpha layer is the same View as the touch-interceptor layer. However, for 63 * the touch-interceptor. 83 /** Delegate to interceptor-layer. */ 88 /** Delegate to interceptor-layer. */
|
/external/compiler-rt/lib/interception/ |
interception.h | 24 // These typedefs should be used only in the interceptor definitions to replace 33 // How to add an interceptor: 37 // 1) define INTERCEPTOR(int, foo, const char *bar, double baz) { ... } in 44 // By default, REAL(foo) will be visible only inside your interceptor, and if 49 // INTERCEPTOR(..., foo, ...) are in different files, you'll instead need to: 53 // Notes: 1. Things may not work properly if macro INTERCEPTOR(...) {...} or 58 // INTERCEPTOR(int, foo, const char *bar, double baz) {...} 163 // Generally, you don't need to use DEFINE_REAL by itself, as INTERCEPTOR 165 // without defining INTERCEPTOR(..., foo, ...). For example, if you override 166 // foo with an interceptor for other function [all...] |