HomeSort by relevance Sort by last modified time
    Searched refs:hook_type (Results 1 - 8 of 8) sorted by null

  /external/chromium/third_party/libevent/
evrpc.c 101 enum EVRPC_HOOK_TYPE hook_type,
108 switch (hook_type) {
116 assert(hook_type == EVRPC_INPUT || hook_type == EVRPC_OUTPUT);
149 evrpc_remove_hook(void *vbase, enum EVRPC_HOOK_TYPE hook_type, void *handle)
153 switch (hook_type) {
161 assert(hook_type == EVRPC_INPUT || hook_type == EVRPC_OUTPUT);
evrpc.h 459 * @param hook_type either INPUT or OUTPUT
466 enum EVRPC_HOOK_TYPE hook_type,
473 * @param hook_type either INPUT or OUTPUT
479 enum EVRPC_HOOK_TYPE hook_type,
  /external/chromium_org/third_party/libevent/
evrpc.c 101 enum EVRPC_HOOK_TYPE hook_type,
108 switch (hook_type) {
116 assert(hook_type == EVRPC_INPUT || hook_type == EVRPC_OUTPUT);
149 evrpc_remove_hook(void *vbase, enum EVRPC_HOOK_TYPE hook_type, void *handle)
153 switch (hook_type) {
161 assert(hook_type == EVRPC_INPUT || hook_type == EVRPC_OUTPUT);
evrpc.h 459 * @param hook_type either INPUT or OUTPUT
466 enum EVRPC_HOOK_TYPE hook_type,
473 * @param hook_type either INPUT or OUTPUT
479 enum EVRPC_HOOK_TYPE hook_type,
  /external/chromium_org/third_party/tcmalloc/chromium/src/tests/
tcmalloc_unittest.cc 726 #define MAKE_HOOK_CALLBACK(hook_type) \
727 static int g_##hook_type##_calls = 0; \
728 static void IncrementCallsTo##hook_type(...) { \
729 g_##hook_type##_calls++; \
731 static void Verify##hook_type##WasCalled() { \
732 CHECK_GT(g_##hook_type##_calls, 0); \
733 g_##hook_type##_calls = 0; /* reset for next call */ \
735 static void Set##hook_type() { \
736 CHECK(MallocHook::Add##hook_type( \
737 (MallocHook::hook_type)&IncrementCallsTo##hook_type));
    [all...]
  /external/chromium_org/third_party/tcmalloc/vendor/src/tests/
tcmalloc_unittest.cc 726 #define MAKE_HOOK_CALLBACK(hook_type) \
727 static int g_##hook_type##_calls = 0; \
728 static void IncrementCallsTo##hook_type(...) { \
729 g_##hook_type##_calls++; \
731 static void Verify##hook_type##WasCalled() { \
732 CHECK_GT(g_##hook_type##_calls, 0); \
733 g_##hook_type##_calls = 0; /* reset for next call */ \
735 static void Set##hook_type() { \
736 CHECK(MallocHook::Add##hook_type( \
737 (MallocHook::hook_type)&IncrementCallsTo##hook_type));
    [all...]
  /external/chromium/third_party/libevent/test/
regress_rpc.c 415 const char *hook_type = arg; local
416 if (strcmp("input", hook_type) == 0)
417 evhttp_add_header(req->input_headers, "X-Hook", hook_type);
419 evhttp_add_header(req->output_headers, "X-Hook", hook_type);
  /external/chromium_org/third_party/libevent/test/
regress_rpc.c 415 const char *hook_type = arg; local
416 if (strcmp("input", hook_type) == 0)
417 evhttp_add_header(req->input_headers, "X-Hook", hook_type);
419 evhttp_add_header(req->output_headers, "X-Hook", hook_type);

Completed in 100 milliseconds