Home
last modified time | relevance | path

Searched refs:out_len (Results 1 – 11 of 11) sorted by relevance

/samples/net/sockets/echo/src/
A Dsocket_echo.c93 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 Dmain.c21 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 Dmain.c61 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 Dsocket_echo.c237 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 Dsocket_echo_select.c220 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 Dmain.c159 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 Dtcp.c38 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 Dws.c100 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 Dmain.c138 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 Dbig_http_download.c104 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 Dtcp.c55 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()

Completed in 40 milliseconds