| /src/external/mit/libuv/dist/src/win/ |
| handle-inl.h | 32 #define DECREASE_ACTIVE_COUNT(loop, handle) \ 34 if (--(handle)->activecnt == 0 && \ 35 !((handle)->flags & UV_HANDLE_CLOSING)) { \ 36 uv__handle_stop((handle)); \ 38 assert((handle)->activecnt >= 0); \ 42 #define INCREASE_ACTIVE_COUNT(loop, handle) \ 44 if ((handle)->activecnt++ == 0) { \ 45 uv__handle_start((handle)); \ 47 assert((handle)->activecnt > 0); \ 51 #define DECREASE_PENDING_REQ_COUNT(handle) \ 99 uv_handle_t* handle; local 173 HANDLE handle; local [all...] |
| async.c | 27 #include "handle-inl.h" 31 void uv__async_endgame(uv_loop_t* loop, uv_async_t* handle) { 32 if (handle->flags & UV_HANDLE_CLOSING && 33 !handle->async_sent) { 34 assert(!(handle->flags & UV_HANDLE_CLOSED)); 35 uv__handle_close(handle); 40 int uv_async_init(uv_loop_t* loop, uv_async_t* handle, uv_async_cb async_cb) { 43 uv__handle_init(loop, (uv_handle_t*) handle, UV_ASYNC); 44 handle->async_sent = 0; 45 handle->async_cb = async_cb [all...] |
| stream-inl.h | 29 #include "handle-inl.h" 34 uv_stream_t* handle, 36 uv__handle_init(loop, (uv_handle_t*) handle, type); 37 handle->write_queue_size = 0; 38 handle->activecnt = 0; 39 handle->stream.conn.shutdown_req = NULL; 40 handle->stream.conn.write_reqs_pending = 0; 42 UV_REQ_INIT(&handle->read_req, UV_READ); 43 handle->read_req.event_handle = NULL; 44 handle->read_req.wait_handle = INVALID_HANDLE_VALUE [all...] |
| handle.c | 28 #include "handle-inl.h" 32 HANDLE handle; local 39 handle = uv__get_osfhandle(file); 41 switch (GetFileType(handle)) { 43 if (GetConsoleMode(handle, &mode)) { 61 int uv_is_active(const uv_handle_t* handle) { 62 return (handle->flags & UV_HANDLE_ACTIVE) && 63 !(handle->flags & UV_HANDLE_CLOSING); 67 void uv_close(uv_handle_t* handle, uv_close_cb cb) [all...] |
| loop-watcher.c | 26 #include "handle-inl.h" 29 void uv__loop_watcher_endgame(uv_loop_t* loop, uv_handle_t* handle) { 30 if (handle->flags & UV_HANDLE_CLOSING) { 31 assert(!(handle->flags & UV_HANDLE_CLOSED)); 32 handle->flags |= UV_HANDLE_CLOSED; 33 uv__handle_close(handle); 39 int uv_##name##_init(uv_loop_t* loop, uv_##name##_t* handle) { \ 40 uv__handle_init(loop, (uv_handle_t*) handle, UV_##NAME); \ 46 int uv_##name##_start(uv_##name##_t* handle, uv_##name##_cb cb) { \ 47 uv_loop_t* loop = handle->loop; [all...] |
| /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
| jpeg_v1_0.h | 29 int jpeg_v1_0_early_init(void *handle); 30 int jpeg_v1_0_sw_init(void *handle); 31 void jpeg_v1_0_sw_fini(void *handle);
|
| /src/lib/librumphijack/ |
| hijackdlsym.c | 49 bouncer(void *handle, const char *symbol) 52 return dlsym(handle, symbol); 56 rumphijack_dlsym(void *handle, const char *symbol) 59 return bouncer(handle, symbol);
|
| /src/external/mit/libuv/dist/src/ |
| timer.c | 58 int uv_timer_init(uv_loop_t* loop, uv_timer_t* handle) { 59 uv__handle_init(loop, (uv_handle_t*)handle, UV_TIMER); 60 handle->timer_cb = NULL; 61 handle->timeout = 0; 62 handle->repeat = 0; 63 uv__queue_init(&handle->node.queue); 68 int uv_timer_start(uv_timer_t* handle, 74 if (uv__is_closing(handle) || cb == NULL) 77 uv_timer_stop(handle); 79 clamped_timeout = handle->loop->time + timeout 146 const uv_timer_t* handle; local 167 uv_timer_t* handle; local [all...] |
| /src/external/apache2/argon2/dist/phc-winner-argon2/src/ |
| thread.c | 25 int argon2_thread_create(argon2_thread_handle_t *handle, 27 if (NULL == handle || func == NULL) { 31 *handle = _beginthreadex(NULL, 0, func, args, 0, NULL); 32 return *handle != 0 ? 0 : -1; 34 return pthread_create(handle, NULL, func, args); 38 int argon2_thread_join(argon2_thread_handle_t handle) { 40 if (WaitForSingleObject((HANDLE)handle, INFINITE) == WAIT_OBJECT_0) { 41 return CloseHandle((HANDLE)handle) != 0 ? 0 : -1 [all...] |
| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/ |
| corefile-buildid-shlib.c | 25 #define dlsym(handle, func) GetProcAddress (handle, func) 26 #define dlclose(handle) FreeLibrary (handle) 37 void *handle; local 41 handle = dlopen (the_shlib, RTLD_LAZY); 42 if (!handle) 48 func = (int (*)(void)) dlsym (handle, "crashfunc"); 56 dlclose (handle);
|
| solib-disc.c | 24 #define dlsym(handle, func) GetProcAddress (handle, func) 25 #define dlclose(handle) FreeLibrary (handle) 33 void *handle; local 36 handle = dlopen (SHLIB_NAME, RTLD_LAZY); 37 if (!handle) 43 func = (void (*)(void)) dlsym (handle, "shrfunc"); 52 dlclose (handle);
|
| break-probes.c | 23 void *handle = dlopen (SHLIB_NAME, RTLD_LAZY); local 25 assert (handle != NULL); 27 dlclose (handle);
|
| dlmopen-main.c | 31 void *handle[4]; local 36 handle[0] = dlmopen (LM_ID_NEWLM, DSO1_NAME, RTLD_LAZY | RTLD_LOCAL); 37 assert (handle[0] != NULL); 39 dlinfo (handle[0], RTLD_DI_LMID, &lmid); 41 handle[1] = dlopen (DSO1_NAME, RTLD_LAZY | RTLD_LOCAL); 42 assert (handle[1] != NULL); 44 handle[2] = dlmopen (LM_ID_NEWLM, DSO1_NAME, RTLD_LAZY | RTLD_LOCAL); 45 assert (handle[2] != NULL); 47 handle[3] = dlmopen (lmid, DSO2_NAME, RTLD_LAZY | RTLD_LOCAL); 48 assert (handle[3] != NULL) [all...] |
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/ |
| corefile-buildid-shlib.c | 25 #define dlsym(handle, func) GetProcAddress (handle, func) 26 #define dlclose(handle) FreeLibrary (handle) 37 void *handle; local 41 handle = dlopen (the_shlib, RTLD_LAZY); 42 if (!handle) 48 func = (int (*)(void)) dlsym (handle, "crashfunc"); 56 dlclose (handle);
|
| solib-disc.c | 24 #define dlsym(handle, func) GetProcAddress (handle, func) 25 #define dlclose(handle) FreeLibrary (handle) 33 void *handle; local 36 handle = dlopen (SHLIB_NAME, RTLD_LAZY); 37 if (!handle) 43 func = (void (*)(void)) dlsym (handle, "shrfunc"); 52 dlclose (handle);
|
| break-probes.c | 23 void *handle = dlopen (SHLIB_NAME, RTLD_LAZY); local 25 assert (handle != NULL); 27 dlclose (handle);
|
| dlmopen.c | 31 void *handle[4]; local 36 handle[0] = dlmopen (LM_ID_NEWLM, DSO1_NAME, RTLD_LAZY | RTLD_LOCAL); 37 assert (handle[0] != NULL); 39 dlinfo (handle[0], RTLD_DI_LMID, &lmid); 41 handle[1] = dlopen (DSO1_NAME, RTLD_LAZY | RTLD_LOCAL); 42 assert (handle[1] != NULL); 44 handle[2] = dlmopen (LM_ID_NEWLM, DSO1_NAME, RTLD_LAZY | RTLD_LOCAL); 45 assert (handle[2] != NULL); 47 handle[3] = dlmopen (lmid, DSO2_NAME, RTLD_LAZY | RTLD_LOCAL); 48 assert (handle[3] != NULL) [all...] |
| /src/external/gpl2/lvm2/dist/doc/ |
| example_cmdlib.c | 34 void *handle; local 39 handle = lvm2_init(); 41 lvm2_log_level(handle, 1); 42 r = lvm2_run(handle, "vgs --noheadings vg1"); 46 lvm2_exit(handle);
|
| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.dap/ |
| modules.c | 28 void *handle; local 33 handle = dlopen (SHLIB_NAME, RTLD_LAZY); 34 assert (handle != NULL); 36 func = (int (*)(void (*) (void))) dlsym (handle, "call_me"); 39 dlclose (handle);
|
| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.multi/ |
| pending-bp.c | 32 void *handle; local 42 handle = dlopen (SHLIB_NAME, RTLD_LAZY); 43 if (handle == NULL) 49 func = (void (*)(int)) dlsym (handle, "foo"); 60 if (dlclose (handle) != 0)
|
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.dap/ |
| modules.c | 28 void *handle; local 33 handle = dlopen (SHLIB_NAME, RTLD_LAZY); 34 assert (handle != NULL); 36 func = (int (*)(void (*) (void))) dlsym (handle, "call_me"); 39 dlclose (handle);
|
| /src/external/bsd/libbind/dist/nameser/ |
| ns_parse.c | 77 int ns_msg_getflag(ns_msg handle, int flag) { 78 return(((handle)._flags & _ns_flagdata[flag].mask) >> _ns_flagdata[flag].shift); 106 ns_initparse(const u_char *msg, int msglen, ns_msg *handle) { 110 handle->_msg = msg; 111 handle->_eom = eom; 114 NS_GET16(handle->_id, msg); 117 NS_GET16(handle->_flags, msg); 121 NS_GET16(handle->_counts[i], msg); 124 if (handle->_counts[i] == 0) 125 handle->_sections[i] = NULL [all...] |
| /src/external/mit/libuv/dist/src/unix/ |
| poll.c | 30 uv_poll_t* handle; local 33 handle = container_of(w, uv_poll_t, io_watcher); 48 uv__handle_stop(handle); 49 handle->poll_cb(handle, UV_EBADF, 0); 63 handle->poll_cb(handle, 0, pevents); 67 int uv_poll_init(uv_loop_t* loop, uv_poll_t* handle, int fd) { 89 uv__handle_init(loop, (uv_handle_t*) handle, UV_POLL); 90 uv__io_init(&handle->io_watcher, uv__poll_io, fd) [all...] |
| /src/tests/libexec/ld.elf_so/ |
| h_df_1_noopen.c | 38 void *handle; local 40 handle = dlopen("libpthread.so", RTLD_NOLOAD); 41 if (handle == NULL)
|
| /src/sys/dev/sdmmc/ |
| sdmmcchip.h | 71 #define sdmmc_chip_host_reset(tag, handle) \ 72 ((tag)->host_reset((handle))) 74 #define sdmmc_chip_host_ocr(tag, handle) \ 75 ((tag)->host_ocr((handle))) 76 #define sdmmc_chip_host_maxblklen(tag, handle) \ 77 ((tag)->host_maxblklen((handle))) 79 #define sdmmc_chip_card_detect(tag, handle) \ 80 ((tag)->card_detect((handle))) 82 #define sdmmc_chip_write_protect(tag, handle) \ 83 ((tag)->write_protect((handle))) [all...] |