Home
last modified time | relevance | path

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

/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.cc46 int chunk_len, in ParseGetHash() argument
49 int length = chunk_len; in ParseGetHash()
108 int chunk_len, in ParseUpdate() argument
117 int length = chunk_len; in ParseUpdate()
222 const int chunk_len = atoi(cmd_parts[3].c_str()); in ParseChunk() local
224 if (remaining < chunk_len) in ParseChunk()
232 if (!ParseAddChunk(list_name, chunk_data, chunk_len, hash_len, in ParseChunk()
237 if (!ParseSubChunk(list_name, chunk_data, chunk_len, hash_len, in ParseChunk()
245 chunk_data += chunk_len; in ParseChunk()
246 remaining -= chunk_len; in ParseChunk()
Dprotocol_parser.h63 int chunk_len,
74 int chunk_len,
79 int chunk_len,
/external/chromium/chrome/browser/safe_browsing/
Dprotocol_parser.cc53 int chunk_len, in ParseGetHash() argument
58 int length = chunk_len; in ParseGetHash()
134 int chunk_len, in ParseUpdate() argument
145 int length = chunk_len; in ParseUpdate()
296 const int chunk_len = atoi(cmd_parts[3].c_str()); in ParseChunk() local
298 if (remaining < chunk_len) in ParseChunk()
306 if (!ParseAddChunk(list_name, chunk_data, chunk_len, hash_len, in ParseChunk()
311 if (!ParseSubChunk(list_name, chunk_data, chunk_len, hash_len, in ParseChunk()
319 chunk_data += chunk_len; in ParseChunk()
320 remaining -= chunk_len; in ParseChunk()
Dprotocol_parser.h67 int chunk_len,
80 int chunk_len,
89 int chunk_len,
/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/components/breakpad/app/
Dbreakpad_linux.cc352 size_t chunk_len = std::min(chunk_size, msg_length); in AddPairDataInChunks() local
361 AddItemWithoutTrailingSpaces(msg_data + done, chunk_len); in AddPairDataInChunks()
363 AddItem(msg_data + done, chunk_len); in AddPairDataInChunks()
369 done += chunk_len; in AddPairDataInChunks()
370 msg_length -= chunk_len; in AddPairDataInChunks()
475 size_t chunk_len = std::min(chunk_size, msg_length); in AddPairDataInChunks() local
477 size_t write_len = chunk_len; in AddPairDataInChunks()
496 done += chunk_len; in AddPairDataInChunks()
497 msg_length -= chunk_len; in AddPairDataInChunks()