Home
last modified time | relevance | path

Searched refs:chunk_len (Results 1 – 25 of 26) sorted by relevance

12

/external/boringssl/src/tool/
Dspeed.cc351 static std::string ChunkLenSuffix(size_t chunk_len) { in ChunkLenSuffix() argument
353 snprintf(buf, sizeof(buf), " (%zu byte%s)", chunk_len, in ChunkLenSuffix()
354 chunk_len != 1 ? "s" : ""); in ChunkLenSuffix()
359 size_t chunk_len, size_t ad_len, in SpeedAEADChunk() argument
363 name += ChunkLenSuffix(chunk_len); in SpeedAEADChunk()
373 std::unique_ptr<uint8_t[]> in_storage(new uint8_t[chunk_len + kAlignment]); in SpeedAEADChunk()
378 new uint8_t[chunk_len + overhead_len + kAlignment]); in SpeedAEADChunk()
380 new uint8_t[chunk_len + overhead_len + kAlignment]); in SpeedAEADChunk()
388 OPENSSL_memset(in, 0, chunk_len); in SpeedAEADChunk()
390 OPENSSL_memset(out, 0, chunk_len + overhead_len); in SpeedAEADChunk()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/tool/
Dspeed.cc350 static std::string ChunkLenSuffix(size_t chunk_len) { in ChunkLenSuffix() argument
352 snprintf(buf, sizeof(buf), " (%zu byte%s)", chunk_len, in ChunkLenSuffix()
353 chunk_len != 1 ? "s" : ""); in ChunkLenSuffix()
358 size_t chunk_len, size_t ad_len, in SpeedAEADChunk() argument
362 name += ChunkLenSuffix(chunk_len); in SpeedAEADChunk()
372 std::unique_ptr<uint8_t[]> in_storage(new uint8_t[chunk_len + kAlignment]); in SpeedAEADChunk()
377 new uint8_t[chunk_len + overhead_len + kAlignment]); in SpeedAEADChunk()
379 new uint8_t[chunk_len + overhead_len + kAlignment]); in SpeedAEADChunk()
387 OPENSSL_memset(in, 0, chunk_len); in SpeedAEADChunk()
389 OPENSSL_memset(out, 0, chunk_len + overhead_len); in SpeedAEADChunk()
[all …]
/external/dtc/
Dyamltree.c142 int chunk_len; in yaml_propval() local
148 chunk_len = type_marker_length(m) ? : len; in yaml_propval()
149 assert(chunk_len > 0); in yaml_propval()
150 len -= chunk_len; in yaml_propval()
154 yaml_propval_int(emitter, m, data, chunk_len, 2); in yaml_propval()
157 yaml_propval_int(emitter, m, data, chunk_len, 4); in yaml_propval()
160 yaml_propval_int(emitter, m, data, chunk_len, 8); in yaml_propval()
163 yaml_propval_string(emitter, data, chunk_len); in yaml_propval()
166 yaml_propval_int(emitter, m, data, chunk_len, 1); in yaml_propval()
Dtreesource.c229 size_t chunk_len = (m->next ? m->next->offset : len) - m->offset; in write_propval() local
242 assert(chunk_len == 0); in write_propval()
248 write_propval_int(f, p, chunk_len, 2); in write_propval()
251 write_propval_int(f, p, chunk_len, 4); in write_propval()
254 write_propval_int(f, p, chunk_len, 8); in write_propval()
257 write_propval_string(f, p, chunk_len); in write_propval()
260 write_propval_int(f, p, chunk_len, 1); in write_propval()
263 if (chunk_len == data_len) { in write_propval()
264 size_t pos = m->offset + chunk_len; in write_propval()
/external/rust/crates/ring/src/aead/
Daes_gcm.rs134 let mut chunk_len = CHUNK_BLOCKS * BLOCK_LEN; in aead() localVariable
138 if whole_len - output < chunk_len { in aead()
139 chunk_len = whole_len - output; in aead()
141 if chunk_len == 0 { in aead()
146 gcm_ctx.update_blocks(&in_out[input..][..chunk_len]); in aead()
150 &mut in_out[output..][..(chunk_len + in_prefix_len)], in aead()
156 gcm_ctx.update_blocks(&in_out[output..][..chunk_len]); in aead()
159 output += chunk_len; in aead()
160 input += chunk_len; in aead()
/external/arm-trusted-firmware/drivers/brcm/
Dspi_flash.c195 uint32_t chunk_len, actual; in spi_flash_write() local
208 for (actual = 0; actual < len; actual += chunk_len) { in spi_flash_write()
211 chunk_len = MIN(len - actual, in spi_flash_write()
217 cmd[2], cmd[3], chunk_len); in spi_flash_write()
220 buf + actual, chunk_len); in spi_flash_write()
226 offset += chunk_len; in spi_flash_write()
/external/strace/
Ducopy.c285 unsigned int chunk_len = len > page_size ? page_size : len; in umovestr() local
286 unsigned int end_in_page = (addr + chunk_len) & page_mask; in umovestr()
287 if (chunk_len > end_in_page) /* crosses to the next page */ in umovestr()
288 chunk_len -= end_in_page; in umovestr()
290 int r = vm_read_mem(pid, laddr, addr, chunk_len); in umovestr()
/external/conscrypt/common/src/jni/main/include/conscrypt/
Dmacros.h138 #define ARRAY_CHUNK_INVALID(array_len, chunk_offset, chunk_len) \ argument
139 ((chunk_offset) < 0 || (chunk_offset) > static_cast<ssize_t>(array_len) || (chunk_len) < 0 || \
140 (chunk_len) > static_cast<ssize_t>(array_len) - (chunk_offset))
/external/rust/crates/futures-util/src/stream/stream/
Dchunks.rs80 let chunk_len = if self.items.is_empty() { 0 } else { 1 }; in size_hint() localVariable
82 let lower = lower.saturating_add(chunk_len); in size_hint()
84 Some(x) => x.checked_add(chunk_len), in size_hint()
Dready_chunks.rs85 let chunk_len = if self.items.is_empty() { 0 } else { 1 }; in size_hint() localVariable
87 let lower = lower.saturating_add(chunk_len); in size_hint()
89 Some(x) => x.checked_add(chunk_len), in size_hint()
/external/ltp/testcases/network/sctp/
Dsctp_big_chunk.c89 uint16_t chunk_len; in setup_client() local
121 chunk_len = htons(pkt_len - cmn_hdr_off); in setup_client()
122 memcpy(packet + cmn_hdr_off + 2, &chunk_len, 2); in setup_client()
/external/boringssl/src/ssl/test/
Dpacketed_bio.cc60 int chunk_len = INT_MAX; in ReadAll() local
62 chunk_len = (int)len; in ReadAll()
64 int ret = BIO_read(bio, out, chunk_len); in ReadAll()
Dmock_quic_transport.cc54 int chunk_len = std::numeric_limits<int>::max(); in ReadAll() local
56 chunk_len = len; in ReadAll()
58 int ret = BIO_read(bio, buf, chunk_len); in ReadAll()
/external/rust/crates/quiche/deps/boringssl/src/ssl/test/
Dpacketed_bio.cc60 int chunk_len = INT_MAX; in ReadAll() local
62 chunk_len = (int)len; in ReadAll()
64 int ret = BIO_read(bio, out, chunk_len); in ReadAll()
Dmock_quic_transport.cc62 int chunk_len = std::numeric_limits<int>::max(); in ReadAll() local
64 chunk_len = len; in ReadAll()
66 int ret = BIO_read(bio, buf, chunk_len); in ReadAll()
/external/rust/crates/ring/src/
Drand.rs220 let chunk_len: c::size_t = dest.len(); in chunk() localVariable
221 let r = unsafe { libc::syscall(SYS_GETRANDOM, dest.as_mut_ptr(), chunk_len, 0) }; in chunk()
312 let chunk_len = chunk(&mut dest[read_len..])?; in fill() localVariable
313 read_len += chunk_len; in fill()
/external/usrsctp/usrsctplib/netinet/
Dsctp_output.c2073 uint16_t *padding_len, uint16_t *chunk_len) in sctp_add_addresses_to_i_ia() argument
2184 if ((chunk_len != NULL) && in sctp_add_addresses_to_i_ia()
2187 memset(mtod(m_at, caddr_t) + *chunk_len, 0, *padding_len); in sctp_add_addresses_to_i_ia()
2189 *chunk_len += *padding_len; in sctp_add_addresses_to_i_ia()
2192 m_at = sctp_add_addr_to_mbuf(m_at, sctp_ifap, chunk_len); in sctp_add_addresses_to_i_ia()
2262 if ((chunk_len != NULL) && in sctp_add_addresses_to_i_ia()
2265 memset(mtod(m_at, caddr_t) + *chunk_len, 0, *padding_len); in sctp_add_addresses_to_i_ia()
2267 *chunk_len += *padding_len; in sctp_add_addresses_to_i_ia()
2270 m_at = sctp_add_addr_to_mbuf(m_at, laddr->ifa, chunk_len); in sctp_add_addresses_to_i_ia()
5131 uint16_t num_ext, chunk_len, padding_len, parameter_len; local
[all …]
Dsctp_output.h54 uint16_t *padding_len, uint16_t *chunk_len);
Dsctputil.c4188 uint16_t chunk_len; in sctp_notify_remote_error() local
4195 chunk_len = ntohs(chunk->ch.chunk_length); in sctp_notify_remote_error()
4200 if (chunk_len > SCTP_CHUNK_BUFFER_SIZE) { in sctp_notify_remote_error()
4201 chunk_len = SCTP_CHUNK_BUFFER_SIZE; in sctp_notify_remote_error()
4204 chunk_len = 0; in sctp_notify_remote_error()
4206 notif_len = (unsigned int)(sizeof(struct sctp_remote_error) + chunk_len); in sctp_notify_remote_error()
4225 memcpy(sre->sre_data, chunk, chunk_len); in sctp_notify_remote_error()
4226 sre->sre_length += chunk_len; in sctp_notify_remote_error()
/external/python/setuptools/setuptools/command/
Degg_info.py66 chunk_len = len(chunk)
67 while i < chunk_len:
79 if inner_i < chunk_len and chunk[inner_i] == '!':
81 if inner_i < chunk_len and chunk[inner_i] == ']':
85 while inner_i < chunk_len and chunk[inner_i] != ']':
88 if inner_i >= chunk_len:
/external/pigweed/pw_kvs/
Dkey_value_store_initialized_test.cc104 size_t chunk_len = in FillKvs() local
113 chunk_len - kvs_attr.ChunkHeaderSize() - in FillKvs()
115 size_to_fill -= chunk_len; in FillKvs()
116 chunk_len = std::min(size_to_fill, kMaxPutSize); in FillKvs()
/external/rust/crates/ring/tests/
Ddigest_tests.rs270 let chunk_len = chunk.len() as u64; localVariable
275 hashed += chunk_len;
/external/llvm-project/mlir/utils/spirv/
Dgen_spirv_dialect.py87 chunk_len = 0
90 chunk_len += len(item) + 2
91 if chunk_len > 80:
94 chunk_len = len(item) + 2
/external/rust/crates/itertools/benches/
Dbench1.rs604 let chunk_len = 1 + rng(&mut state) % 512; in kmerge_tenway() localVariable
605 let chunk_len = cmp::min(rest.len(), chunk_len as usize); in kmerge_tenway() localVariable
606 let (fst, tail) = {rest}.split_at_mut(chunk_len); in kmerge_tenway()
/external/brotli/c/enc/
Dhash_rolling_inc.h49 uint32_t chunk_len; member

12