Home
last modified time | relevance | path

Searched refs:key (Results 1 – 23 of 23) sorted by relevance

/libevent-2.1.12/
H A Devent_iocp.c75 ULONG_PTR key=0; in loop() local
77 int ok = GetQueuedCompletionStatus(p, &bytes, &key, in loop()
89 if (key != NOTIFICATION_KEY && overlapped) in loop()
90 handle_entry(overlapped, key, bytes, ok); in loop()
103 ev_uintptr_t key) in event_iocp_port_associate_() argument
106 h = CreateIoCompletionPort((HANDLE)fd, port->port, key, port->n_threads); in event_iocp_port_associate_()
278 ev_uintptr_t key, ev_uint32_t n) in event_iocp_activate_overlapped_() argument
282 r = PostQueuedCompletionStatus(port->port, n, key, &o->overlapped); in event_iocp_activate_overlapped_()
H A Diocp-internal.h173 ev_uintptr_t key);
188 ev_uintptr_t key, ev_uint32_t n_bytes);
H A Devrpc.c991 mm_free(entry->key); in evrpc_meta_data_free()
1029 evrpc_hook_add_meta(void *ctx, const char *key, in evrpc_hook_add_meta() argument
1041 meta->key = mm_strdup(key); in evrpc_hook_add_meta()
1042 EVUTIL_ASSERT(meta->key != NULL); in evrpc_hook_add_meta()
1052 evrpc_hook_find_meta(void *ctx, const char *key, void **data, size_t *data_size) in evrpc_hook_find_meta() argument
1061 if (strcmp(meta->key, key) == 0) { in evrpc_hook_find_meta()
H A Dhttp.c196 const char *key, const char *value);
623 header->key, header->value); in evhttp_make_header()
1904 if (evutil_ascii_strcasecmp(header->key, key) == 0) in evhttp_find_header()
1920 mm_free(header->key); in evhttp_clear_headers()
1937 if (evutil_ascii_strcasecmp(header->key, key) == 0) in evhttp_remove_header()
1946 mm_free(header->key); in evhttp_remove_header()
1974 if (strchr(key, '\r') != NULL || strchr(key, '\n') != NULL) { in evhttp_add_header()
1997 if ((header->key = mm_strdup(key)) == NULL) { in evhttp_add_header_internal()
2003 mm_free(header->key); in evhttp_add_header_internal()
3288 char *key, *value, *decoded_value; in evhttp_parse_query_impl() local
[all …]
H A Devrpc-internal.h107 char *key; member
H A Dbufferevent_async.c433 connect_complete(struct event_overlapped *eo, ev_uintptr_t key, in connect_complete() argument
461 read_complete(struct event_overlapped *eo, ev_uintptr_t key, in read_complete() argument
500 write_complete(struct event_overlapped *eo, ev_uintptr_t key, in write_complete() argument
H A Dlistener.c472 static void accepted_socket_cb(struct event_overlapped *o, ev_uintptr_t key,
673 accepted_socket_cb(struct event_overlapped *o, ev_uintptr_t key, ev_ssize_t n, int ok) in accepted_socket_cb() argument
H A Devdns.c3842 config_nameserver_from_reg_key(struct evdns_base *base, HKEY key, const TCHAR *subkey) in config_nameserver_from_reg_key() argument
3849 if (RegQueryValueEx(key, subkey, 0, &type, NULL, &bufsz) in config_nameserver_from_reg_key()
3855 if (RegQueryValueEx(key, subkey, 0, &type, (LPBYTE)buf, &bufsz) in config_nameserver_from_reg_key()
H A Dwhatsnew-2.0.txt7 This document describes the key differences between Libevent 1.4 and
H A Dwhatsnew-2.1.txt8 This document describes the key differences between Libevent 2.0 and
H A DChangeLog388 o Switch from a 512 to 2048-bit RSA key. (f9803a6 Adam Langley)
/libevent-2.1.12/test/
H A Dregress_iocp.c122 dummy_cb(struct event_overlapped *o, uintptr_t key, ev_ssize_t n, int ok) in dummy_cb() argument
129 d_o->keys[d_o->call_count] = key; in dummy_cb()
139 pair_is_in(struct dummy_overlapped *o, uintptr_t key, ev_ssize_t n) in pair_is_in() argument
145 if (o->keys[i] == key && o->sizes[i] == n) { in pair_is_in()
214 read_complete(struct event_overlapped *eo, uintptr_t key, in read_complete() argument
225 write_complete(struct event_overlapped *eo, uintptr_t key, in write_complete() argument
H A Dregress_ssl.c104 EVP_PKEY *key; in ssl_getkey() local
111 key = PEM_read_bio_PrivateKey(bio,NULL,NULL,NULL); in ssl_getkey()
113 tt_assert(key); in ssl_getkey()
115 return key; in ssl_getkey()
121 ssl_getcert(EVP_PKEY *key) in ssl_getcert() argument
131 tt_assert(key); in ssl_getcert()
154 X509_set_pubkey(x509, key); in ssl_getcert()
155 tt_assert(0 != X509_sign(x509, key, EVP_sha1())); in ssl_getcert()
H A Dregress.h137 X509 *ssl_getcert(EVP_PKEY *key);
H A Dregress_http.c2420 const char *key, const char *value) in validate_header() argument
2422 const char *real_val = evhttp_find_header(headers, key); in validate_header()
/libevent-2.1.12/.github/workflows/
H A Dmingw.yml43 key: windows-mingw
49 key: mingw-autotools-${{ matrix.EVENT_MATRIX }}-v2
112 key: windows-mingw-cmake
118 key: mingw-cmake-${{ matrix.EVENT_MATRIX }}-v2
H A Dlinux.yml49 key: ${{ matrix.os }}-cmake-${{ matrix.EVENT_MATRIX }}-v2
54 key: ${{ matrix.os }}-cmake-dist-${{ matrix.EVENT_MATRIX }}-v2
149 key: ${{ matrix.os }}-autotools-${{ matrix.EVENT_MATRIX }}-v2
154 key: ${{ matrix.os }}-autotools-dist-${{ matrix.EVENT_MATRIX }}-v2
H A Dwindows.yml39 key: ${{ matrix.os }}-vcpkg
45 key: ${{ matrix.os }}-${{ matrix.EVENT_MATRIX }}-v3
145 key: ${{ matrix.os }}-vcpkg
151 key: ${{ matrix.os }}-${{ matrix.EVENT_MATRIX }}-v3
H A Dmacos.yml46 key: macos-10.15-cmake-${{ matrix.EVENT_MATRIX }}-v2
124 key: ${{ matrix.os }}-autotools-${{ matrix.EVENT_MATRIX }}-v2
/libevent-2.1.12/include/event2/
H A Dhttp.h864 const char *key);
875 int evhttp_remove_header(struct evkeyvalq *headers, const char *key);
887 int evhttp_add_header(struct evkeyvalq *headers, const char *key, const char *value);
H A Dkeyvalq_struct.h61 char *key; member
H A Drpc.h551 void evrpc_hook_add_meta(void *ctx, const char *key,
565 int evrpc_hook_find_meta(void *ctx, const char *key,
/libevent-2.1.12/sample/
H A Dhttp-server.c160 printf(" %s: %s\n", header->key, header->value); in dump_request_cb()