Home
last modified time | relevance | path

Searched refs:namelen (Results 51 - 75 of 381) sorted by relevance

12345678910>>...16

/third_party/ltp/utils/sctp/func_tests/
H A Dtest_inaddr_any.c86 socklen_t namelen; in main() local
137 namelen = sizeof(loop); in main()
138 error = getsockname(sk1, &loop.sa, &namelen); in main()
142 namelen = sizeof(anyaddr); in main()
143 error = getsockname(sk2, &anyaddr.sa, &namelen); in main()
/third_party/openssl/test/
H A Dfilterprov.c169 size_t namelen; in filter_provider_set_filter() local
193 namelen = strlen(name); in filter_provider_set_filter()
200 if (found[namelen] != '\0' && found[namelen] != ':') in filter_provider_set_filter()
H A Dv3nametest.c287 size_t namelen = strlen(*pname); in run_cert() local
288 char *name = OPENSSL_malloc(namelen + 1); in run_cert()
293 memcpy(name, *pname, namelen + 1); in run_cert()
296 if (!TEST_int_ge(ret = X509_check_host(crt, name, namelen, 0, NULL), in run_cert()
310 if (!TEST_int_ge(ret = X509_check_host(crt, name, namelen, in run_cert()
326 ret = X509_check_email(crt, name, namelen, 0); in run_cert()
/third_party/elfutils/libebl/
H A Deblreginfo.c38 ebl_register_info (Ebl *ebl, int regno, char *name, size_t namelen, in ebl_register_info() argument
42 return ebl == NULL ? -1 : ebl->register_info (ebl, regno, name, namelen, in ebl_register_info()
/third_party/nghttp2/lib/
H A Dnghttp2_frame.c961 if (a->namelen != b->namelen || a->valuelen != b->valuelen) { in nghttp2_nv_equal()
966 assert(a->namelen == 0); in nghttp2_nv_equal()
967 assert(b->namelen == 0); in nghttp2_nv_equal()
968 } else if (memcmp(a->name, b->name, a->namelen) != 0) { in nghttp2_nv_equal()
1014 return bytes_compar(lhs->name, lhs->namelen, rhs->name, rhs->namelen); in nghttp2_nv_compare_name()
1022 rv = bytes_compar(a->name, a->namelen, b->name, b->namelen); in nv_compar()
1051 buflen += nva[i].namelen in nghttp2_nv_array_copy()
[all...]
/third_party/node/deps/nghttp2/lib/
H A Dnghttp2_frame.c961 if (a->namelen != b->namelen || a->valuelen != b->valuelen) { in nghttp2_nv_equal()
966 assert(a->namelen == 0); in nghttp2_nv_equal()
967 assert(b->namelen == 0); in nghttp2_nv_equal()
968 } else if (memcmp(a->name, b->name, a->namelen) != 0) { in nghttp2_nv_equal()
1014 return bytes_compar(lhs->name, lhs->namelen, rhs->name, rhs->namelen); in nghttp2_nv_compare_name()
1022 rv = bytes_compar(a->name, a->namelen, b->name, b->namelen); in nv_compar()
1051 buflen += nva[i].namelen in nghttp2_nv_array_copy()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A Dmain_winsvc.c202 DWORD namelen; in wpa_supplicant_thread() local
204 namelen = 255; in wpa_supplicant_thread()
205 ret = RegEnumKeyEx(ihk, i, name, &namelen, NULL, NULL, NULL, in wpa_supplicant_thread()
217 if (namelen >= 255) in wpa_supplicant_thread()
218 namelen = 255 - 1; in wpa_supplicant_thread()
219 name[namelen] = '\0'; in wpa_supplicant_thread()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
H A Dmain_winsvc.c202 DWORD namelen; in wpa_supplicant_thread() local
204 namelen = 255; in wpa_supplicant_thread()
205 ret = RegEnumKeyEx(ihk, i, name, &namelen, NULL, NULL, NULL, in wpa_supplicant_thread()
217 if (namelen >= 255) in wpa_supplicant_thread()
218 namelen = 255 - 1; in wpa_supplicant_thread()
219 name[namelen] = '\0'; in wpa_supplicant_thread()
/third_party/node/deps/v8/third_party/ittapi/src/ittnotify/
H A Dittnotify_static.h69 ITT_STUB(LIBITTAPI, int, thr_name_setA, (const char *name, int namelen), (ITT_FORMAT name, namelen), thr_name_setA, __itt_group_thread | __itt_group_legacy, "\"%s\", %d")
70 ITT_STUB(LIBITTAPI, int, thr_name_setW, (const wchar_t *name, int namelen), (ITT_FORMAT name, namelen), thr_name_setW, __itt_group_thread | __itt_group_legacy, "\"%S\", %d")
72 ITT_STUB(LIBITTAPI, int, thr_name_set, (const char *name, int namelen), (ITT_FORMAT name, namelen), thr_name_set, __itt_group_thread | __itt_group_legacy, "\"%s\", %d")
204 ITT_STUB(LIBITTAPI, __itt_event, event_createA, (const char *name, int namelen), (ITT_FORMAT name, namelen), event_createA, __itt_group_mark | __itt_group_legacy, "\"%s\", %d")
205 ITT_STUB(LIBITTAPI, __itt_event, event_createW, (const wchar_t *name, int namelen), (ITT_FORMAT name, namelen), event_create
[all...]
/third_party/openssl/ohos_lite/include/openssl/
H A Dpkcs12.h132 int namelen);
134 int namelen);
136 int namelen);
138 int namelen);
140 const unsigned char *name, int namelen);
/third_party/libwebsockets/include/libwebsockets/
H A Dlws-dll2.h256 _lws_dll2_search_sz_pl(lws_dll2_owner_t *own, const char *name, size_t namelen,
265 #define lws_dll2_search_sz_pl(own, name, namelen, type, membd2list, membptr) \
266 ((type *)_lws_dll2_search_sz_pl(own, name, namelen, \
H A Dlws-network-helper.h115 * \param namelen: Length of client address name buffer
121 lws_get_peer_simple(struct lws *wsi, char *name, size_t namelen);
124 lws_get_peer_simple_fd(lws_sockfd_type fd, char *name, size_t namelen);
/third_party/nghttp2/examples/
H A Ddeflate.c106 sum += nva[i].namelen + nva[i].valuelen; in deflate()
112 fwrite(nva[i].name, 1, nva[i].namelen, stdout); in deflate()
189 fwrite(nv.name, 1, nv.namelen, stderr); in inflate_header_block()
/third_party/node/deps/ngtcp2/ngtcp2/lib/
H A Dngtcp2_qlog.c107 static uint8_t *write_pair_impl(uint8_t *p, const uint8_t *name, size_t namelen, in write_pair_impl() argument
109 p = write_string_impl(p, name, namelen); in write_pair_impl()
118 size_t namelen, const uint8_t *value, in write_pair_hex_impl()
120 p = write_string_impl(p, name, namelen); in write_pair_hex_impl()
130 size_t namelen, uint64_t value) { in write_pair_number_impl()
131 p = write_string_impl(p, name, namelen); in write_pair_number_impl()
141 size_t namelen, in write_pair_duration_impl()
143 p = write_string_impl(p, name, namelen); in write_pair_duration_impl()
153 size_t namelen, ngtcp2_tstamp ts) { in write_pair_tstamp_impl()
154 p = write_string_impl(p, name, namelen); in write_pair_tstamp_impl()
117 write_pair_hex_impl(uint8_t *p, const uint8_t *name, size_t namelen, const uint8_t *value, size_t valuelen) write_pair_hex_impl() argument
129 write_pair_number_impl(uint8_t *p, const uint8_t *name, size_t namelen, uint64_t value) write_pair_number_impl() argument
140 write_pair_duration_impl(uint8_t *p, const uint8_t *name, size_t namelen, ngtcp2_duration duration) write_pair_duration_impl() argument
152 write_pair_tstamp_impl(uint8_t *p, const uint8_t *name, size_t namelen, ngtcp2_tstamp ts) write_pair_tstamp_impl() argument
163 write_pair_bool_impl(uint8_t *p, const uint8_t *name, size_t namelen, int b) write_pair_bool_impl() argument
174 write_pair_cid_impl(uint8_t *p, const uint8_t *name, size_t namelen, const ngtcp2_cid *cid) write_pair_cid_impl() argument
[all...]
/third_party/lwip/src/core/
H A Ddns.c444 size_t namelen; in dns_init_local() local
448 namelen = strlen(init_entry->name); in dns_init_local()
449 LWIP_ASSERT("namelen <= DNS_LOCAL_HOSTLIST_MAX_NAMELEN", namelen <= DNS_LOCAL_HOSTLIST_MAX_NAMELEN); in dns_init_local()
454 MEMCPY(entry_name, init_entry->name, namelen); in dns_init_local()
455 entry_name[namelen] = 0; in dns_init_local()
599 size_t namelen; in dns_local_addhost() local
602 namelen = strlen(hostname); in dns_local_addhost()
603 LWIP_ASSERT("namelen <= DNS_LOCAL_HOSTLIST_MAX_NAMELEN", namelen < in dns_local_addhost()
1493 size_t namelen; dns_enqueue() local
[all...]
/third_party/python/Modules/
H A Dunicodedata.c1174 _cmpname(PyObject *self, int code, const char* name, int namelen) in _cmpname() argument
1181 for (i = 0; i < namelen; i++) { in _cmpname()
1185 return buffer[namelen] == '\0'; in _cmpname()
1225 const char* name, int namelen, Py_UCS4* code, int with_named_seq) in _getcode()
1245 if (L != -1 && V != -1 && T != -1 && pos-name == namelen) { in _getcode()
1258 namelen -= 22; in _getcode()
1259 if (namelen != 4 && namelen != 5) in _getcode()
1261 while (namelen--) { in _getcode()
1281 h = (unsigned int) _gethash(name, namelen, code_magi in _getcode()
1224 _getcode(PyObject* self, const char* name, int namelen, Py_UCS4* code, int with_named_seq) _getcode() argument
1307 capi_getcode(const char* name, int namelen, Py_UCS4* code, int with_named_seq) capi_getcode() argument
[all...]
/third_party/nghttp2/tests/
H A Dnghttp2_test_helper.c114 return strmemeq(a, nv->name, nv->namelen); in nvnameeq()
138 if (nv->namelen) { in add_out()
139 onv->name = mem->malloc(nv->namelen, NULL); in add_out()
140 memcpy(onv->name, nv->name, nv->namelen); in add_out()
150 onv->namelen = nv->namelen; in add_out()
/third_party/libfuse/include/
H A Dfuse_kernel.h278 uint32_t namelen; member
921 uint32_t namelen; member
933 FUSE_DIRENT_ALIGN(FUSE_NAME_OFFSET + (d)->namelen)
943 FUSE_DIRENT_ALIGN(FUSE_NAME_OFFSET_DIRENTPLUS + (d)->dirent.namelen)
953 uint32_t namelen; member
960 uint32_t namelen; member
/foundation/filemanagement/dfs_service/test/unittests/clouddisk_database/mock/
H A Dmeta_file_clouddisk_mock.cpp55 uint16_t namelen{0};
322 de->namelen = name.length(); in UpdateDentry()
342 (de + i)->namelen = 0; in UpdateDentry()
408 if (!de->namelen) { in FindInBlock()
413 if (de->hash == namehash && de->namelen == name.length() && in FindInBlock()
414 !memcmp(name.c_str(), dentryBlk.fileName[bitPos], de->namelen)) { in FindInBlock()
418 bitPos += GetDentrySlots(de->namelen); in FindInBlock()
/third_party/libuv/test/
H A Dtest-pipe-getsockname.c96 size_t namelen; in TEST_IMPL() local
101 namelen = sizeof(TEST_PIPENAME) - 1; in TEST_IMPL()
120 r = uv_pipe_bind2(&pipe_server, namebuf, namelen, 0); in TEST_IMPL()
156 namelen, in TEST_IMPL()
/third_party/nghttp2/src/
H A Dhttp2.h116 Headers::value_type to_header(const uint8_t *name, size_t namelen,
123 void add_header(Headers &nva, const uint8_t *name, size_t namelen,
342 // Looks up header token for header name |name| of length |namelen|.
345 int lookup_token(const uint8_t *name, size_t namelen);
392 // Looks up method token for method name |name| of length |namelen|.
395 int lookup_method_token(const uint8_t *name, size_t namelen);
H A Ddeflatehd.cc161 nva[i].namelen = strlen(name); in deflate_hd_json()
174 inputlen += nva[i].namelen + nva[i].valuelen; in deflate_hd_json()
278 nv.namelen = strlen(line); in perform_from_http1text()
284 inputlen += nv.namelen + nv.valuelen; in perform_from_http1text()
H A Dh2load_http2_session.cc46 const uint8_t *name, size_t namelen, in on_header_callback()
54 client->on_header(frame->hd.stream_id, name, namelen, value, valuelen); in on_header_callback()
55 client->worker->stats.bytes_head_decomp += namelen + valuelen; in on_header_callback()
59 std::cout.write(reinterpret_cast<const char *>(name), namelen); in on_header_callback() local
45 on_header_callback(nghttp2_session *session, const nghttp2_frame *frame, const uint8_t *name, size_t namelen, const uint8_t *value, size_t valuelen, uint8_t flags, void *user_data) on_header_callback() argument
/foundation/filemanagement/dfs_service/utils/dentry/src/
H A Dmeta_file_clouddisk.cpp54 uint16_t namelen{0};
297 de->namelen = name.length(); in UpdateDentry()
320 (de + i)->namelen = 0; in UpdateDentry()
442 if (!de->namelen) { in FindInBlock()
447 if (de->hash == namehash && de->namelen == name.length() && in FindInBlock()
448 !memcmp(name.c_str(), dentryBlk.fileName[bitPos], de->namelen)) { in FindInBlock()
452 bitPos += GetDentrySlots(de->namelen); in FindInBlock()
516 uint32_t slots = GetDentrySlots(de->namelen); in DoRemove()
621 int len = dentryGroup.nsl[i].namelen; in DecodeDentrys()
H A Dmeta_file.cpp53 uint16_t namelen{0};
286 de->namelen = name.length(); in UpdateDentry()
305 (de + i)->namelen = 0; in UpdateDentry()
425 if (!de->namelen) { in FindInBlock()
430 if (de->hash == namehash && de->namelen == name.length() && in FindInBlock()
431 !memcmp(name.c_str(), dentryBlk.fileName[bitPos], de->namelen)) { in FindInBlock()
435 bitPos += GetDentrySlots(de->namelen); in FindInBlock()
516 uint32_t slots = GetDentrySlots(de->namelen); in DoRemove()
622 int len = dentryGroup.nsl[i].namelen; in DecodeDentrys()

Completed in 23 milliseconds

12345678910>>...16