Home
last modified time | relevance | path

Searched refs:data_offset (Results 1 – 9 of 9) sorted by relevance

/openthread-3.6.0/third_party/tcplp/lib/
Dcbuf.c106 size_t cbuf_write(struct cbufhead* chdr, const void* data, size_t data_offset, size_t data_len, cbu… in cbuf_write() argument
118 copy_from(buf_data, w_index, data, data_offset, data_len); in cbuf_write()
120 copy_from(buf_data, w_index, data, data_offset, bytes_to_end); in cbuf_write()
121 copy_from(buf_data, 0, data, data_offset + bytes_to_end, data_len - bytes_to_end); in cbuf_write()
127 void cbuf_read_unsafe(struct cbufhead* chdr, void* data, size_t data_offset, size_t numbytes, int p… in cbuf_read_unsafe() argument
131 copy_into(data, data_offset, buf_data, chdr->r_index, numbytes); in cbuf_read_unsafe()
137 copy_into(data, data_offset, buf_data, chdr->r_index, bytes_to_end); in cbuf_read_unsafe()
138 copy_into(data, data_offset + bytes_to_end, buf_data, 0, numbytes - bytes_to_end); in cbuf_read_unsafe()
146 size_t cbuf_read(struct cbufhead* chdr, void* data, size_t data_offset, size_t numbytes, int pop, c… in cbuf_read() argument
151 cbuf_read_unsafe(chdr, data, data_offset, numbytes, pop, copy_into); in cbuf_read()
[all …]
Dcbuf.h65 size_t cbuf_write(struct cbufhead* chdr, const void* data, size_t data_offset, size_t data_len, cbu…
68 size_t cbuf_read(struct cbufhead* chdr, void* data, size_t data_offset, size_t numbytes, int pop, c…
71 size_t cbuf_read_offset(struct cbufhead* chdr, void* data, size_t data_offset, size_t numbytes, siz…
101 size_t cbuf_reass_write(struct cbufhead* chdr, size_t offset, const void* data, size_t data_offset,…
/openthread-3.6.0/third_party/mbedtls/repo/library/
Dpsa_its_file.c135 uint32_t data_offset, in psa_its_get() argument
149 if( data_offset + data_length < data_offset ) in psa_its_get()
152 if( data_offset + data_length > SIZE_MAX ) in psa_its_get()
155 if( data_offset + data_length > info.size ) in psa_its_get()
160 while( data_offset > LONG_MAX ) in psa_its_get()
164 data_offset -= LONG_MAX; in psa_its_get()
167 if( fseek( stream, data_offset, SEEK_CUR ) != 0 ) in psa_its_get()
Dpsa_crypto_its.h109 uint32_t data_offset,
Dssl_msg.c628 || rec->buf_len < rec->data_offset in mbedtls_ssl_encrypt_buf()
629 || rec->buf_len - rec->data_offset < rec->data_len in mbedtls_ssl_encrypt_buf()
639 data = rec->buf + rec->data_offset; in mbedtls_ssl_encrypt_buf()
640 post_avail = rec->buf_len - ( rec->data_len + rec->data_offset ); in mbedtls_ssl_encrypt_buf()
719 post_avail = rec->buf_len - ( rec->data_len + rec->data_offset ); in mbedtls_ssl_encrypt_buf()
923 if( rec->data_offset < dynamic_iv_len ) in mbedtls_ssl_encrypt_buf()
930 rec->data_offset -= dynamic_iv_len; in mbedtls_ssl_encrypt_buf()
977 if( rec->data_offset < transform->ivlen ) in mbedtls_ssl_encrypt_buf()
1031 rec->data_offset -= transform->ivlen; in mbedtls_ssl_encrypt_buf()
1134 rec->buf_len < rec->data_offset || in mbedtls_ssl_decrypt_buf()
[all …]
/openthread-3.6.0/third_party/tcplp/bsdtcp/
Dtcp_reass.c54 tcp_reass(struct tcpcb* tp, struct tcphdr* th, int* tlenp, otMessage* data, off_t data_offset, stru… in tcp_reass() argument
81 …written = cbuf_reass_write(&tp->recvbuf, (size_t) offset, data, data_offset, tlen, tp->reassbmp, &… in tcp_reass()
/openthread-3.6.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_ssl.function3240 rec.data_offset = 16;
3245 memset( rec.buf + rec.data_offset, 42, rec.data_len );
3289 TEST_ASSERT( rec.data_offset == rec_backup.data_offset );
3290 TEST_ASSERT( memcmp( rec.buf + rec.data_offset,
3291 rec_backup.buf + rec_backup.data_offset,
3381 rec.data_offset = offset;
3386 rec.data_offset = default_pre_padding;
3391 rec.data_offset = offset;
3400 memset( rec.buf + rec.data_offset, 42, rec.data_len );
3452 TEST_ASSERT( rec.data_offset == rec_backup.data_offset );
[all …]
/openthread-3.6.0/tests/unit/
Dtest_multipan_rcp_instances.cpp343 static const uint8_t data_offset = 2; in sendToRcp() local
346 mOffset += data_offset; in sendToRcp()
/openthread-3.6.0/third_party/mbedtls/repo/include/mbedtls/
Dssl_internal.h864 size_t data_offset; /* Offset of record content */ member