Home
last modified time | relevance | path

Searched refs:msgbuf (Results 1 – 25 of 33) sorted by relevance

12

/third_party/python/Python/
Dgetargs.c258 char msgbuf[256]; in vgetargs1_impl() local
359 msgbuf, sizeof(msgbuf), &freelist); in vgetargs1_impl()
392 flags, levels, msgbuf, in vgetargs1_impl()
393 sizeof(msgbuf), &freelist); in vgetargs1_impl()
501 int *levels, char *msgbuf, size_t bufsize, int toplevel, in converttuple() argument
530 PyOS_snprintf(msgbuf, bufsize, in converttuple()
535 return msgbuf; in converttuple()
542 PyOS_snprintf(msgbuf, bufsize, in converttuple()
549 PyOS_snprintf(msgbuf, bufsize, in converttuple()
553 return msgbuf; in converttuple()
[all …]
/third_party/ltp/utils/sctp/func_tests/
Dtest_1_to_1_shutdown.c72 char msgbuf[100]; in main() local
150 error = recv(acpt_sk[0], msgbuf, 100, 0); in main()
158 test_recv(clnt_sk[0], msgbuf, 100, 0); in main()
161 error = recv(clnt_sk[0], msgbuf, 100, 0); in main()
173 error = recv(clnt_sk[1], msgbuf, 100, 0); in main()
185 test_recv(acpt_sk[1], msgbuf, 100, 0); in main()
191 error = recv(clnt_sk[1], msgbuf, 100, 0); in main()
202 error = recv(acpt_sk[2], msgbuf, 100, 0); in main()
207 error = recv(clnt_sk[2], msgbuf, 100, 0); in main()
Dtest_tcp_style.c71 char msgbuf[100]; in main() local
215 test_recv(accept_sk[i], msgbuf, 100, 0); in main()
225 test_recv(clt_sk[i], msgbuf, 100, 0); in main()
239 error = recv(listen_sk, msgbuf, 100, 0); in main()
259 error = recv(accept_sk[0], msgbuf, 100, 0); in main()
269 test_recv(clt_sk[0], msgbuf, 100, 0); in main()
290 error = recv(clt_sk[0], msgbuf, 100, 0); in main()
302 error = recv(clt_sk[1], msgbuf, 100, 0); in main()
311 test_recv(accept_sk[1], msgbuf, 100, 0); in main()
317 error = recv(clt_sk[1], msgbuf, 100, 0); in main()
[all …]
/third_party/ltp/testcases/network/stress/ns-tools/
Dns-udpserver.c143 char *msgbuf; /* Pointer to the message */ in respond_to_client() local
159 msgbuf = malloc(msgbuf_size + 1); in respond_to_client()
160 if (msgbuf == NULL) { in respond_to_client()
168 if ((msglen = recvfrom(sock_fd, msgbuf, msgbuf_size, 0, in respond_to_client()
172 msgbuf[msglen] = '\0'; in respond_to_client()
175 fprintf(stderr, "Message is %s\n", msgbuf); in respond_to_client()
178 if (sendto(sock_fd, msgbuf, msglen, 0, in respond_to_client()
182 free(msgbuf); in respond_to_client()
Dns-mcast_receiver.c370 char *msgbuf; /* Pointer to the message */ in receive_mcast() local
386 msgbuf = malloc(msgbuf_size + 1); in receive_mcast()
387 if (msgbuf == NULL) { in receive_mcast()
408 msglen = recvfrom(sd, msgbuf, msgbuf_size, MSG_DONTWAIT, in receive_mcast()
/third_party/curl/tests/server/
Dfake_ntlm.c129 char *msgbuf; in main() local
274 msgbuf = printable(buf, 0); in main()
275 if(msgbuf) { in main()
276 logmsg("invalid input: '%s'\n", msgbuf); in main()
277 free(msgbuf); in main()
/third_party/libwebsockets/win32port/zlib/
Dgzlib.c34 wchar_t *msgbuf; local
41 (LPVOID)&msgbuf,
47 && msgbuf[chars - 2] == '\r' && msgbuf[chars - 1] == '\n') {
49 msgbuf[chars] = 0;
54 msgbuf[chars] = 0;
57 wcstombs(buf, msgbuf, chars + 1);
58 LocalFree(msgbuf);
/third_party/node/deps/zlib/
Dgzlib.c35 wchar_t *msgbuf; in gz_strwinerror() local
42 (LPVOID)&msgbuf, in gz_strwinerror()
48 && msgbuf[chars - 2] == '\r' && msgbuf[chars - 1] == '\n') { in gz_strwinerror()
50 msgbuf[chars] = 0; in gz_strwinerror()
55 msgbuf[chars] = 0; in gz_strwinerror()
58 wcstombs(buf, msgbuf, chars + 1); in gz_strwinerror()
59 LocalFree(msgbuf); in gz_strwinerror()
/third_party/zlib/
Dgzlib.c40 wchar_t *msgbuf; local
47 (LPVOID)&msgbuf,
53 && msgbuf[chars - 2] == '\r' && msgbuf[chars - 1] == '\n') {
55 msgbuf[chars] = 0;
60 msgbuf[chars] = 0;
63 wcstombs(buf, msgbuf, chars + 1);
64 LocalFree(msgbuf);
/third_party/skia/third_party/externals/zlib/
Dgzlib.c38 wchar_t *msgbuf; local
45 (LPVOID)&msgbuf,
51 && msgbuf[chars - 2] == '\r' && msgbuf[chars - 1] == '\n') {
53 msgbuf[chars] = 0;
58 msgbuf[chars] = 0;
61 wcstombs(buf, msgbuf, chars + 1);
62 LocalFree(msgbuf);
/third_party/zlib/test/
Dminigzip.c85 wchar_t *msgbuf; local
92 (LPVOID)&msgbuf,
98 && msgbuf[chars - 2] == '\r' && msgbuf[chars - 1] == '\n') {
100 msgbuf[chars] = 0;
105 msgbuf[chars] = 0;
108 wcstombs(buf, msgbuf, chars + 1);
109 LocalFree(msgbuf);
/third_party/node/deps/v8/third_party/zlib/
Dgzlib.c38 wchar_t *msgbuf; local
45 (LPVOID)&msgbuf,
51 && msgbuf[chars - 2] == '\r' && msgbuf[chars - 1] == '\n') {
53 msgbuf[chars] = 0;
58 msgbuf[chars] = 0;
61 wcstombs(buf, msgbuf, chars + 1);
62 LocalFree(msgbuf);
/third_party/cef/libcef_dll/base/
Dcef_logging.cc210 char msgbuf[error_message_buffer_size]; in SystemErrorCodeToString() local
212 DWORD len = FormatMessageA(flags, NULL, error_code, 0, msgbuf, in SystemErrorCodeToString()
213 static_cast<DWORD>(base::size(msgbuf)), NULL); in SystemErrorCodeToString()
216 std::string s(msgbuf); in SystemErrorCodeToString()
/third_party/selinux/libselinux/utils/
Dselinux_check_access.c18 char *msgbuf, size_t msgbufsize) in cb_auditinfo() argument
20 return snprintf(msgbuf, msgbufsize, "%s", (char *)auditdata); in cb_auditinfo()
/third_party/gn/src/base/
Dlogging.cc250 char msgbuf[kErrorMessageBufferSize]; in SystemErrorCodeToString() local
252 DWORD len = FormatMessageA(flags, nullptr, error_code, 0, msgbuf, in SystemErrorCodeToString()
253 std::size(msgbuf), nullptr); in SystemErrorCodeToString()
256 return base::CollapseWhitespaceASCII(msgbuf, true) + in SystemErrorCodeToString()
/third_party/pulseaudio/src/pulsecore/
Dconf-parser.c245 LPVOID msgbuf; in pa_config_parse() local
247 … NULL, err, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (LPTSTR)&msgbuf, 0, NULL); in pa_config_parse()
250 …a_log_warn("FindFirstFile(%s) failed with error %ld (%s), ignoring.", pattern, err, (char*)msgbuf); in pa_config_parse()
251 LocalFree(msgbuf); in pa_config_parse()
/third_party/curl/lib/
Dstrerror.c1081 char msgbuf[256]; in Curl_sspi_strerror() local
1085 if(get_winapi_error(err, msgbuf, sizeof(msgbuf))) in Curl_sspi_strerror()
1086 msnprintf(buf, buflen, "%s - %s", txtbuf, msgbuf); in Curl_sspi_strerror()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/
Deap_server_peap.c236 struct wpabuf *buf, *encr_req, msgbuf; in eap_peap_build_phase2_req() local
259 wpabuf_set(&msgbuf, req, req_len); in eap_peap_build_phase2_req()
260 encr_req = eap_server_tls_encrypt(sm, &data->ssl, &msgbuf); in eap_peap_build_phase2_req()
272 struct wpabuf *buf1, *buf, *encr_req, msgbuf; in eap_peap_build_phase2_soh() local
297 wpabuf_set(&msgbuf, req, req_len); in eap_peap_build_phase2_soh()
299 encr_req = eap_server_tls_encrypt(sm, &data->ssl, &msgbuf); in eap_peap_build_phase2_soh()
481 struct wpabuf *encr_req, msgbuf; in eap_peap_build_phase2_term() local
497 wpabuf_set(&msgbuf, hdr, req_len); in eap_peap_build_phase2_term()
498 encr_req = eap_server_tls_encrypt(sm, &data->ssl, &msgbuf); in eap_peap_build_phase2_term()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
Deap_server_peap.c236 struct wpabuf *buf, *encr_req, msgbuf; in eap_peap_build_phase2_req() local
259 wpabuf_set(&msgbuf, req, req_len); in eap_peap_build_phase2_req()
260 encr_req = eap_server_tls_encrypt(sm, &data->ssl, &msgbuf); in eap_peap_build_phase2_req()
272 struct wpabuf *buf1, *buf, *encr_req, msgbuf; in eap_peap_build_phase2_soh() local
297 wpabuf_set(&msgbuf, req, req_len); in eap_peap_build_phase2_soh()
299 encr_req = eap_server_tls_encrypt(sm, &data->ssl, &msgbuf); in eap_peap_build_phase2_soh()
495 struct wpabuf *encr_req, msgbuf; in eap_peap_build_phase2_term() local
511 wpabuf_set(&msgbuf, hdr, req_len); in eap_peap_build_phase2_term()
512 encr_req = eap_server_tls_encrypt(sm, &data->ssl, &msgbuf); in eap_peap_build_phase2_term()
/third_party/ltp/testcases/cve/
Dicmp_rate_limit01.c114 char msgbuf[BUFSIZE], errbuf[BUFSIZE]; in count_icmp_errors() local
119 .iov_base = msgbuf, in count_icmp_errors()
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dmsg.h43 struct msgbuf { struct
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dmsg.h43 struct msgbuf { struct
/third_party/musl/ndk_musl_include/sys/
Dmsg.h43 struct msgbuf { struct
/third_party/musl/include/sys/
Dmsg.h43 struct msgbuf { struct
/third_party/musl/porting/uniproton/kernel/include/sys/
Dmsg.h43 struct msgbuf { struct

12