Home
last modified time | relevance | path

Searched refs:context (Results 1 – 13 of 13) sorted by relevance

/libuv/test/
H A Dtest-poll.c150 context = (connection_context_t*) malloc(sizeof *context); in create_connection_context()
166 context->poll_handle.data = context; in create_connection_context()
171 context->timer_handle.data = context; in create_connection_context()
174 return context; in create_connection_context()
196 free(context); in connection_close_cb()
419 if (context->got_fin && context->sent_fin && context->got_disconnect) {
421 if (context->got_fin && context->sent_fin) {
452 context->events |= context->delayed_events;
467 context = (server_context_t*) malloc(sizeof *context);
474 context->poll_handle.data = context;
[all …]
H A Dtest-signal-multiple-loops.c82 static void signal_handling_worker(void* context) { in signal_handling_worker() argument
90 action = (enum signal_action) (uintptr_t) context; in signal_handling_worker()
164 static void loop_creating_worker(void* context) { in loop_creating_worker() argument
167 (void) context; in loop_creating_worker()
H A Dtest-getsockname.c81 int compare_port, const char* context) { in check_sockname() argument
104 printf("%s: %s:%d\n", context, check_ip, ntohs(check_addr.sin_port)); in check_sockname()
/libuv/docs/code/uvwget/
H A Dmain.c17 curl_context_t *context; in create_curl_context() local
19 context = (curl_context_t*) malloc(sizeof *context); in create_curl_context()
21 context->sockfd = sockfd; in create_curl_context()
25 context->poll_handle.data = context; in create_curl_context()
27 return context; in create_curl_context()
31 curl_context_t *context = (curl_context_t*) handle->data; in curl_close_cb() local
32 free(context); in curl_close_cb()
35 void destroy_curl_context(curl_context_t *context) { in destroy_curl_context() argument
36 uv_close((uv_handle_t*) &context->poll_handle, curl_close_cb); in destroy_curl_context()
89 curl_context_t *context; in curl_perform() local
[all …]
/libuv/docs/src/guide/
H A Dbasics.rst192 Requests are used to preserve context between the initiation and the callback
224 Storing context
227 In callback based programming style you'll often want to pass some 'context' --
230 context and cast back in the callback. This is a common pattern used throughout
H A Dintroduction.rst27 JavaScript. You will use libuv purely in the context of node.js. For
H A Dutilities.rst445 .. [#] I was first introduced to the term baton in this context, in Konstantin
/libuv/src/win/
H A Dtcp.c355 static void CALLBACK post_completion(void* context, BOOLEAN timed_out) { in post_completion() argument
359 req = (uv_req_t*) context; in post_completion()
374 static void CALLBACK post_write_completion(void* context, BOOLEAN timed_out) { in post_write_completion() argument
378 req = (uv_write_t*) context; in post_write_completion()
H A Dthread.c41 static BOOL WINAPI uv__once_inner(INIT_ONCE *once, void* param, void** context) { in uv__once_inner() argument
H A Dpipe.c1341 static void CALLBACK post_completion_read_wait(void* context, BOOLEAN timed_out) { in post_completion_read_wait() argument
1345 req = (uv_read_t*) context; in post_completion_read_wait()
1360 static void CALLBACK post_completion_write_wait(void* context, BOOLEAN timed_out) { in post_completion_write_wait() argument
1364 req = (uv_write_t*) context; in post_completion_write_wait()
/libuv/docs/src/
H A Dmisc.rst140 uint64_t ru_nvcsw; /* voluntary context switches (X) */
141 uint64_t ru_nivcsw; /* involuntary context switches (X) */
/libuv/
H A DLICENSE-docs247 reasonable manner based on the medium, means, and context in
H A DChangeLog2917 * win: allow directory symlinks to be created in a non-elevated context (Bert

Completed in 33 milliseconds