Home
last modified time | relevance | path

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

/external/chromium_org/third_party/boringssl/src/tool/
Dspeed.cc166 size_t chunk_len) { in SpeedAEADChunk() argument
176 std::unique_ptr<uint8_t[]> in(new uint8_t[chunk_len]); in SpeedAEADChunk()
177 memset(in.get(), 0, chunk_len); in SpeedAEADChunk()
178 std::unique_ptr<uint8_t[]> out(new uint8_t[chunk_len + overhead_len]); in SpeedAEADChunk()
179 memset(out.get(), 0, chunk_len + overhead_len); in SpeedAEADChunk()
189 if (!TimeFunction(&results, [chunk_len, overhead_len, nonce_len, &in, &out, in SpeedAEADChunk()
194 chunk_len + overhead_len, nonce.get(), in SpeedAEADChunk()
195 nonce_len, in.get(), chunk_len, NULL, 0); in SpeedAEADChunk()
202 results.PrintWithBytes(name + " seal", chunk_len); in SpeedAEADChunk()
216 size_t chunk_len) { in SpeedHashChunk() argument
[all …]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/
Dlayout_test_finder.py123 (chunk_num, chunk_len) = chunk_value.split(":")
126 test_size = int(chunk_len)
137 chunk_len = test_size
140 slice_start = (chunk_num * chunk_len) % num_tests
153 chunk_len = rounded_tests / test_size
154 slice_start = chunk_len * (chunk_num - 1)
158 slice_end = min(num_tests, slice_start + chunk_len)
166 if slice_end - slice_start < chunk_len:
167 extra = chunk_len - (slice_end - slice_start)
/external/chromium_org/chrome/browser/safe_browsing/
Dprotocol_parser.h36 size_t chunk_len,
46 size_t chunk_len,
53 size_t chunk_len,
Dprotocol_parser.cc172 size_t chunk_len, in ParseGetHash() argument
176 BufferReader reader(chunk_data, chunk_len); in ParseGetHash()
273 size_t chunk_len, in ParseUpdate() argument
282 BufferReader reader(chunk_data, chunk_len); in ParseUpdate()
/external/srec/srec/EventLog/src/
Driff.c882 static unsigned char *writeSwiAudioChunk(int doSwap, int chunk_len, SwiRiffAudio *riffaudio, in writeSwiAudioChunk() argument
889 ck.ckLength = chunk_len; in writeSwiAudioChunk()
898 chunk_len -= sizeof(int); in writeSwiAudioChunk()
900 memcpy(workbuf, riffaudio->tuples, chunk_len); in writeSwiAudioChunk()
903 return workbuf + chunk_len; in writeSwiAudioChunk()
911 chunk_len -= sizeof(int); in writeSwiAudioChunk()
913 memcpy(workbuf, riffaudio->tuples, chunk_len); in writeSwiAudioChunk()
914 return workbuf + chunk_len; in writeSwiAudioChunk()
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
Dsctp_output.c2068 uint16_t *padding_len, uint16_t *chunk_len) in sctp_add_addresses_to_i_ia() argument
2179 if ((chunk_len != NULL) && in sctp_add_addresses_to_i_ia()
2182 memset(mtod(m_at, caddr_t) + *chunk_len, 0, *padding_len); in sctp_add_addresses_to_i_ia()
2184 *chunk_len += *padding_len; in sctp_add_addresses_to_i_ia()
2187 m_at = sctp_add_addr_to_mbuf(m_at, sctp_ifap, chunk_len); in sctp_add_addresses_to_i_ia()
2257 if ((chunk_len != NULL) && in sctp_add_addresses_to_i_ia()
2260 memset(mtod(m_at, caddr_t) + *chunk_len, 0, *padding_len); in sctp_add_addresses_to_i_ia()
2262 *chunk_len += *padding_len; in sctp_add_addresses_to_i_ia()
2265 m_at = sctp_add_addr_to_mbuf(m_at, laddr->ifa, chunk_len); in sctp_add_addresses_to_i_ia()
5066 uint16_t num_ext, chunk_len, padding_len, parameter_len; local
[all …]
Dsctp_output.h52 uint16_t *padding_len, uint16_t *chunk_len);
Dsctputil.c3617 size_t notif_len, chunk_len; in sctp_notify_remote_error() local
3624 chunk_len = ntohs(chunk->ch.chunk_length); in sctp_notify_remote_error()
3626 chunk_len = 0; in sctp_notify_remote_error()
3628 notif_len = sizeof(struct sctp_remote_error) + chunk_len; in sctp_notify_remote_error()
3647 memcpy(sre->sre_data, chunk, chunk_len); in sctp_notify_remote_error()
3648 sre->sre_length += chunk_len; in sctp_notify_remote_error()
/external/chromium_org/components/crash/app/
Dbreakpad_linux.cc345 size_t chunk_len = std::min(chunk_size, msg_length); in AddPairDataInChunks() local
354 AddItemWithoutTrailingSpaces(msg_data + done, chunk_len); in AddPairDataInChunks()
356 AddItem(msg_data + done, chunk_len); in AddPairDataInChunks()
362 done += chunk_len; in AddPairDataInChunks()
363 msg_length -= chunk_len; in AddPairDataInChunks()
467 size_t chunk_len = std::min(chunk_size, msg_length); in AddPairDataInChunks() local
469 size_t write_len = chunk_len; in AddPairDataInChunks()
488 done += chunk_len; in AddPairDataInChunks()
489 msg_length -= chunk_len; in AddPairDataInChunks()
/external/strace/
Dutil.c994 int chunk_len; in umovestr() local
997 chunk_len = len; in umovestr()
998 if (chunk_len > 256) in umovestr()
999 chunk_len = 256; in umovestr()
1005 end_in_page = ((addr + chunk_len) & 4095); in umovestr()
1006 r = chunk_len - end_in_page; in umovestr()
1008 chunk_len = r; /* chunk_len -= end_in_page */ in umovestr()
1010 local[0].iov_len = remote[0].iov_len = chunk_len; in umovestr()