Home
last modified time | relevance | path

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

/external/python/apitools/apitools/base/py/
Dtransfer.py317 end_byte = self.__ComputeEndByte(0)
318 self.__SetRangeHeader(http_request, 0, end_byte)
385 end_byte = end
388 return end_byte
392 if end_byte is not None:
393 end_byte = min(end_byte, alternate)
395 end_byte = alternate
399 if end_byte is not None:
400 end_byte = min(end_byte, alternate)
402 end_byte = alternate
[all …]
Dtransfer_test.py139 for (start_byte, end_byte) in [(0, 25), (5, 15), (0, 0), (25, 25)]:
153 (start_byte, end_byte),
156 content=string.ascii_lowercase[start_byte:end_byte + 1],
161 download.GetRange(start_byte, end_byte)
/external/libchrome/base/memory/
Dplatform_shared_memory_region_android.cc120 size_t end_byte; in MapAt() local
121 if (!CheckAdd(offset, size).AssignIfValid(&end_byte) || end_byte > size_) { in MapAt()
Dplatform_shared_memory_region_posix.cc169 size_t end_byte; in MapAt() local
170 if (!CheckAdd(offset, size).AssignIfValid(&end_byte) || end_byte > size_) { in MapAt()
/external/puffin/src/
Dpuffin_stream.cc221 uint64_t end_byte = (cur_deflate_->offset + 7) / 8; in Read() local
222 auto bytes_to_read = std::min(length - bytes_read, end_byte - start_byte); in Read()
262 auto end_byte = (cur_deflate_->offset + cur_deflate_->length + 7) / 8; in Read() local
263 auto bytes_to_read = end_byte - start_byte; in Read()
373 auto end_byte = (cur_deflate_->offset + cur_deflate_->length + 7) / 8; in Write() local
374 auto bytes_to_write = end_byte - start_byte; in Write()
Dutils.cc335 auto end_byte = (deflate->offset + deflate->length + 7) / 8; in FindPuffLocations() local
336 deflate_buffer.resize(end_byte - start_byte); in FindPuffLocations()
368 end_byte = (deflate->offset + deflate->length) / 8; in FindPuffLocations()
369 int64_t deflate_length_in_bytes = end_byte - start_byte; in FindPuffLocations()
/external/ltp/testcases/network/netstress/
Dnetstress.c60 static const int end_byte = 0x0a; variable
269 if (buf[offset - 1] != end_byte) in client_recv()
361 client_msg[*cln_len - 1] = end_byte; in make_client_request()
538 send_msg[size - 1] = end_byte; in make_server_reply()
544 char send_msg[max_msg_len], end[] = { end_byte }; in server_fn()
583 if (recv_msg[offset - 1] != end_byte) { in server_fn()
/external/pdfium/third_party/libpng16/
Dpngrutil.c3207 png_byte end_byte = 0; in png_combine_row() local
3239 end_byte = *end_ptr; in png_combine_row()
3679 *end_ptr = (png_byte)((end_byte & end_mask) | (*end_ptr & ~end_mask)); in png_combine_row()
/external/libpng/
Dpngrutil.c3207 png_byte end_byte = 0; in png_combine_row() local
3239 end_byte = *end_ptr; in png_combine_row()
3679 *end_ptr = (png_byte)((end_byte & end_mask) | (*end_ptr & ~end_mask)); in png_combine_row()