Home
last modified time | relevance | path

Searched refs:len_bytes (Results 1 – 2 of 2) sorted by relevance

/AliOS-Things-master/kernel/rhino/
A Dk_ringbuf.c25 size_t len_bytes = 0; in ringbuf_push() local
47 len_bytes = RING_BUF_LEN; in ringbuf_push()
50 if (p_ringbuf->freesize < (len_bytes + len)) { in ringbuf_push()
63 split_len < len_bytes && split_len > 0) { in ringbuf_push()
65 len_bytes -= split_len; in ringbuf_push()
72 if (len_bytes > 0) { in ringbuf_push()
74 p_ringbuf->freesize -= len_bytes; in ringbuf_push()
75 p_ringbuf->tail += len_bytes; in ringbuf_push()
109 size_t len_bytes = 0; in ringbuf_pop() local
127 len_bytes = RING_BUF_LEN; in ringbuf_pop()
[all …]
/AliOS-Things-master/components/mbedtls/library/
A Dssl_cli.c2159 size_t len_bytes = ssl->minor_ver == MBEDTLS_SSL_MINOR_VERSION_0 ? 0 : 2; in ssl_write_encrypted_pms() local
2162 if( offset + len_bytes > MBEDTLS_SSL_OUT_CONTENT_LEN ) in ssl_write_encrypted_pms()
2204 ssl->out_msg + offset + len_bytes, olen, in ssl_write_encrypted_pms()
2205 MBEDTLS_SSL_OUT_CONTENT_LEN - offset - len_bytes, in ssl_write_encrypted_pms()
2214 if( len_bytes == 2 ) in ssl_write_encrypted_pms()

Completed in 7 milliseconds