Home
last modified time | relevance | path

Searched refs:bufsiz (Results 1 – 12 of 12) sorted by relevance

/third_party/ltp/include/lapi/
Dreadlinkat.h15 char *buf, size_t bufsiz) in readlinkat() argument
17 return ltp_syscall(__NR_readlinkat, dirfd, pathname, buf, bufsiz); in readlinkat()
/third_party/ltp/testcases/network/stress/ns-tools/
Dns-common.c98 int bufsiz; /* buffer size of socket */ in maximize_sockbuf() local
105 if ((fscanf(fp, "%d", &bufsiz)) != 1) { in maximize_sockbuf()
111 (sd, SOL_SOCKET, level[idx], &bufsiz, sizeof(int))) { in maximize_sockbuf()
121 optlen = sizeof(bufsiz); in maximize_sockbuf()
123 (sd, SOL_SOCKET, level[idx], &bufsiz, in maximize_sockbuf()
128 bufsiz); in maximize_sockbuf()
/third_party/ltp/testcases/kernel/syscalls/readlinkat/
Dreadlinkat02.c49 size_t bufsiz; member
100 TEST(readlinkat(*test->dirfd, test->pathname, buf, test->bufsiz)); in readlinkat_verify()
/third_party/python/PC/
Dgetpathp.c565 size_t bufsiz = MAXPATHLEN; in read_pth_file() local
568 buf = (wchar_t*)PyMem_RawMalloc(bufsiz * sizeof(wchar_t)); in read_pth_file()
611 while (usedsiz + wn + prefixlen + 4 > bufsiz) { in read_pth_file()
612 bufsiz += MAXPATHLEN; in read_pth_file()
613 wchar_t *tmp = (wchar_t*)PyMem_RawRealloc(buf, (bufsiz + 1) * in read_pth_file()
623 wcscat_s(buf, bufsiz, L";"); in read_pth_file()
629 result = wcscat_s(buf, bufsiz, prefix); in read_pth_file()
/third_party/openssl/test/
Dssltest_old.c2202 size_t bufsiz = 256; /* small buffer for testing */ in doit_biopair() local
2204 if (!BIO_new_bio_pair(&server, bufsiz, &server_io, bufsiz)) in doit_biopair()
2206 if (!BIO_new_bio_pair(&client, bufsiz, &client_io, bufsiz)) in doit_biopair()
2574 long bufsiz; in doit() local
2591 bufsiz = count > 40 * 1024 ? 40 * 1024 : count; in doit()
2593 if ((cbuf = OPENSSL_zalloc(bufsiz)) == NULL) in doit()
2595 if ((sbuf = OPENSSL_zalloc(bufsiz)) == NULL) in doit()
2681 j = (cw_num > bufsiz) ? (int)bufsiz : (int)cw_num; in doit()
2711 i = BIO_read(c_bio, cbuf, bufsiz); in doit()
2748 i = BIO_read(s_bio, sbuf, bufsiz); in doit()
[all …]
/third_party/libwebsockets/lib/system/dhcpclient/
Ddhcpc4.c78 lws_dhcpc4_prep(uint8_t *start, unsigned int bufsiz, lws_dhcpc_req_t *r, int op) in lws_dhcpc4_prep() argument
82 memset(start, 0, bufsiz); in lws_dhcpc4_prep()
/third_party/libxml2/os400/dlfcn/
Ddlfcn.c406 dlresolveLink(const char * path, char * buf, size_t bufsiz) in dlresolveLink() argument
425 if (!path || !*path || !bufsiz) { in dlresolveLink()
477 if (l1 >= bufsiz) { in dlresolveLink()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Dxml_libxml2.c205 int bufsiz; in xml_node_to_str() local
213 xmlDocDumpFormatMemory(doc, &buf, &bufsiz, 0); in xml_node_to_str()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Dxml_libxml2.c205 int bufsiz; in xml_node_to_str() local
213 xmlDocDumpFormatMemory(doc, &buf, &bufsiz, 0); in xml_node_to_str()
/third_party/openssl/apps/
Dapps.c290 int password_callback(char *buf, int bufsiz, int verify, PW_CB_DATA *cb_tmp) in password_callback() argument
324 pw_min_len, bufsiz - 1); in password_callback()
327 buff = app_malloc(bufsiz, "password buffer"); in password_callback()
329 pw_min_len, bufsiz - 1, buf); in password_callback()
336 OPENSSL_clear_free(buff, (unsigned int)bufsiz); in password_callback()
343 OPENSSL_cleanse(buf, (unsigned int)bufsiz); in password_callback()
348 OPENSSL_cleanse(buf, (unsigned int)bufsiz); in password_callback()
Dapps.h440 int password_callback(char *buf, int bufsiz, int verify, PW_CB_DATA *cb_data);
Drehash.c67 ssize_t readlink(const char *pathname, char *buf, size_t bufsiz) in readlink() argument