| /samples/net/sockets/echo/src/ |
| A D | socket_echo.c | 93 int out_len; in main() local 104 out_len = send(client, p, len, 0); in main() 105 if (out_len < 0) { in main() 109 p += out_len; in main() 110 len -= out_len; in main()
|
| /samples/drivers/video/tcpserversink/src/ |
| A D | main.c | 21 ssize_t out_len = send(sock, buf, len, 0); in sendall() local 23 if (out_len < 0) { in sendall() 24 return out_len; in sendall() 26 buf = (const char *)buf + out_len; in sendall() 27 len -= out_len; in sendall()
|
| /samples/net/sockets/echo_service/src/ |
| A D | main.c | 61 int len, out_len; in receive_data() local 91 out_len = sendto(client, p, len, 0, in receive_data() 94 out_len = send(client, p, len, 0); in receive_data() 97 if (out_len < 0) { in receive_data() 102 p += out_len; in receive_data() 103 len -= out_len; in receive_data()
|
| /samples/net/sockets/echo_async/src/ |
| A D | socket_echo.c | 237 int out_len; in main() local 248 for (p = buf; len; len -= out_len) { in main() 249 out_len = send(fd, p, len, 0); in main() 250 if (out_len < 0) { in main() 256 p += out_len; in main()
|
| /samples/net/sockets/echo_async_select/src/ |
| A D | socket_echo_select.c | 220 int out_len; local 231 for (p = buf; len; len -= out_len) { 232 out_len = WRITE(fd, p, len); 233 if (out_len < 0) { 239 p += out_len;
|
| /samples/drivers/crypto/src/ |
| A D | main.c | 159 LOG_INF("Output length (encryption): %d", encrypt.out_len); in ecb_mode() 183 LOG_INF("Output length (decryption): %d", decrypt.out_len); in ecb_mode() 246 LOG_INF("Output length (encryption): %d", encrypt.out_len); in cbc_mode() 270 LOG_INF("Output length (decryption): %d", decrypt.out_len); in cbc_mode() 335 LOG_INF("Output length (encryption): %d", encrypt.out_len); in ctr_mode() 359 LOG_INF("Output length (decryption): %d", decrypt.out_len); in ctr_mode() 438 LOG_INF("Output length (encryption): %d", encrypt.out_len); in ccm_mode() 463 LOG_INF("Output length (decryption): %d", decrypt.out_len); in ccm_mode() 544 LOG_INF("Output length (encryption): %d", encrypt.out_len); in gcm_mode() 569 LOG_INF("Output length (decryption): %d", decrypt.out_len); in gcm_mode()
|
| /samples/net/sockets/echo_client/src/ |
| A D | tcp.c | 38 ssize_t out_len = send(sock, buf, len, 0); in sendall() local 40 if (out_len < 0) { in sendall() 41 return out_len; in sendall() 43 buf = (const char *)buf + out_len; in sendall() 44 len -= out_len; in sendall()
|
| /samples/net/sockets/http_server/src/ |
| A D | ws.c | 100 ssize_t out_len = send(sock, buf, len, 0); in sendall() local 102 if (out_len < 0) { in sendall() 103 return out_len; in sendall() 105 buf = (const char *)buf + out_len; in sendall() 106 len -= out_len; in sendall()
|
| /samples/net/sockets/dumb_http_server_mt/src/ |
| A D | main.c | 138 ssize_t out_len = send(sock, buf, len, 0); in sendall() local 140 if (out_len < 0) { in sendall() 141 return out_len; in sendall() 144 buf = (const char *)buf + out_len; in sendall() 145 len -= out_len; in sendall()
|
| /samples/net/sockets/big_http_download/src/ |
| A D | big_http_download.c | 104 ssize_t out_len = send(sock, buf, len, 0); in sendall() local 105 if (out_len < 0) { in sendall() 106 return out_len; in sendall() 108 buf = (const char *)buf + out_len; in sendall() 109 len -= out_len; in sendall()
|
| /samples/net/sockets/echo_server/src/ |
| A D | tcp.c | 55 ssize_t out_len = send(sock, buf, len, 0); in sendall() local 57 if (out_len < 0) { in sendall() 58 return out_len; in sendall() 60 buf = (const char *)buf + out_len; in sendall() 61 len -= out_len; in sendall()
|