/external/python/cpython2/Python/ |
D | getargs.c | 215 char msgbuf[256]; in vgetargs1() local 286 PyOS_snprintf(msgbuf, sizeof(msgbuf), in vgetargs1() 290 PyErr_SetString(PyExc_TypeError, msgbuf); in vgetargs1() 295 PyOS_snprintf(msgbuf, sizeof(msgbuf), in vgetargs1() 299 PyErr_SetString(PyExc_TypeError, msgbuf); in vgetargs1() 303 msgbuf, sizeof(msgbuf), &freelist); in vgetargs1() 326 PyOS_snprintf(msgbuf, sizeof(msgbuf), in vgetargs1() 336 message = msgbuf; in vgetargs1() 346 flags, levels, msgbuf, in vgetargs1() 347 sizeof(msgbuf), &freelist); in vgetargs1() [all …]
|
/external/ltp/utils/sctp/func_tests/ |
D | test_1_to_1_shutdown.c | 71 char msgbuf[100]; in main() local 146 error = recv(acpt_sk[0], msgbuf, 100, 0); in main() 154 test_recv(clnt_sk[0], msgbuf, 100, 0); in main() 157 error = recv(clnt_sk[0], msgbuf, 100, 0); in main() 169 error = recv(clnt_sk[1], msgbuf, 100, 0); in main() 181 test_recv(acpt_sk[1], msgbuf, 100, 0); in main() 187 error = recv(clnt_sk[1], msgbuf, 100, 0); in main() 198 error = recv(acpt_sk[2], msgbuf, 100, 0); in main() 203 error = recv(clnt_sk[2], msgbuf, 100, 0); in main()
|
D | test_tcp_style.c | 70 char msgbuf[100]; in main() local 211 test_recv(accept_sk[i], msgbuf, 100, 0); in main() 221 test_recv(clt_sk[i], msgbuf, 100, 0); in main() 235 error = recv(listen_sk, msgbuf, 100, 0); in main() 255 error = recv(accept_sk[0], msgbuf, 100, 0); in main() 265 test_recv(clt_sk[0], msgbuf, 100, 0); in main() 286 error = recv(clt_sk[0], msgbuf, 100, 0); in main() 298 error = recv(clt_sk[1], msgbuf, 100, 0); in main() 307 test_recv(accept_sk[1], msgbuf, 100, 0); in main() 313 error = recv(clt_sk[1], msgbuf, 100, 0); in main() [all …]
|
/external/python/cpython3/Python/ |
D | getargs.c | 258 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() 554 return msgbuf; in converttuple() [all …]
|
/external/openssh/ |
D | log.c | 406 char msgbuf[MSGBUFSIZ]; in do_log() local 452 vsnprintf(msgbuf, sizeof(msgbuf), fmtbuf, args); in do_log() 454 vsnprintf(msgbuf, sizeof(msgbuf), fmt, args); in do_log() 456 strnvis(fmtbuf, msgbuf, sizeof(fmtbuf), in do_log() 465 snprintf(msgbuf, sizeof msgbuf, "%.*s\r\n", in do_log() 466 (int)sizeof msgbuf - 3, fmtbuf); in do_log() 467 (void)write(log_stderr_fd, msgbuf, strlen(msgbuf)); in do_log()
|
/external/ltp/testcases/network/stress/ns-tools/ |
D | ns-udpserver.c | 143 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()
|
D | ns-mcast_receiver.c | 370 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()
|
/external/linux-kselftest/tools/testing/selftests/ipc/ |
D | msgque.c | 175 struct msg1 msgbuf; in fill_msgque() local 177 msgbuf.mtype = MSG_TYPE; in fill_msgque() 178 memcpy(msgbuf.mtext, TEST_STRING, sizeof(TEST_STRING)); in fill_msgque() 179 if (msgsnd(msgque->msq_id, &msgbuf.mtype, sizeof(TEST_STRING), in fill_msgque() 185 msgbuf.mtype = ANOTHER_MSG_TYPE; in fill_msgque() 186 memcpy(msgbuf.mtext, ANOTHER_TEST_STRING, sizeof(ANOTHER_TEST_STRING)); in fill_msgque() 187 if (msgsnd(msgque->msq_id, &msgbuf.mtype, sizeof(ANOTHER_TEST_STRING), in fill_msgque()
|
/external/curl/tests/server/ |
D | fake_ntlm.c | 126 char *msgbuf; in main() local 266 msgbuf = printable(buf, 0); in main() 267 if(msgbuf) { in main() 268 logmsg("invalid input: '%s'\n", msgbuf); in main() 269 free(msgbuf); in main()
|
/external/libwebsockets/win32port/zlib/ |
D | gzlib.c | 34 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);
|
/external/libpcap/rpcapd/ |
D | log.c | 103 char msgbuf[1024]; in rpcapd_vlog_systemlog() 160 vsprintf(msgbuf, message, ap); in rpcapd_vlog_systemlog() 162 strings[0] = msgbuf; in rpcapd_vlog_systemlog()
|
/external/rust/crates/libz-sys/src/zlib/test/ |
D | minigzip.c | 85 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);
|
/external/python/cpython2/Modules/zlib/ |
D | minigzip.c | 85 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);
|
D | gzlib.c | 38 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);
|
/external/angle/third_party/zlib/ |
D | gzlib.c | 38 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);
|
/external/rust/crates/libz-sys/src/zlib/ |
D | gzlib.c | 38 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);
|
/external/zlib/ |
D | gzlib.c | 38 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);
|
/external/zstd/zlibWrapper/examples/ |
D | minigzip.c | 90 wchar_t *msgbuf; local 97 (LPVOID)&msgbuf, 103 && msgbuf[chars - 2] == '\r' && msgbuf[chars - 1] == '\n') { 105 msgbuf[chars] = 0; 110 msgbuf[chars] = 0; 113 wcstombs(buf, msgbuf, chars + 1); 114 LocalFree(msgbuf);
|
/external/zlib/contrib/minigzip/ |
D | minigzip.c | 85 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);
|
/external/webrtc/rtc_base/ |
D | logging.cc | 142 char msgbuf[256]; in LogMessage() local 147 msgbuf, sizeof(msgbuf) / sizeof(msgbuf[0]), nullptr)) { in LogMessage() 149 isspace(static_cast<unsigned char>(msgbuf[len - 1]))) { in LogMessage() 150 msgbuf[--len] = 0; in LogMessage() 152 tmp << " " << msgbuf; in LogMessage()
|
/external/selinux/libselinux/utils/ |
D | selinux_check_access.c | 18 char *msgbuf, size_t msgbufsize) in cb_auditinfo() argument 20 return snprintf(msgbuf, msgbufsize, "%s", (char *)auditdata); in cb_auditinfo()
|
/external/zstd/zlibWrapper/ |
D | gzlib.c | 41 wchar_t *msgbuf; local 48 (LPVOID)&msgbuf, 54 && msgbuf[chars - 2] == '\r' && msgbuf[chars - 1] == '\n') { 56 msgbuf[chars] = 0; 61 msgbuf[chars] = 0; 64 wcstombs(buf, msgbuf, chars + 1); 65 LocalFree(msgbuf);
|
/external/curl/lib/ |
D | strerror.c | 974 char msgbuf[256]; in Curl_sspi_strerror() local 978 if(get_winapi_error(err, msgbuf, sizeof(msgbuf))) in Curl_sspi_strerror() 979 msnprintf(buf, buflen, "%s - %s", txtbuf, msgbuf); in Curl_sspi_strerror()
|
/external/strace/ |
D | print_msgbuf.c | 39 typedef struct msgbuf msgbuf_t;
|
/external/kernel-headers/original/uapi/linux/ |
D | ipc.h | 59 struct msgbuf __user *msgp;
|