Searched refs:start_byte (Results 1 – 8 of 8) sorted by relevance
/external/puffin/src/ |
D | puffin_stream.cc | 220 uint64_t start_byte = (deflate_bit_pos_ / 8); in Read() local 222 auto bytes_to_read = std::min(length - bytes_read, end_byte - start_byte); in Read() 225 TEST_AND_RETURN_FALSE(stream_->Seek(start_byte)); in Read() 230 if ((start_byte + bytes_to_read) * 8 > cur_deflate_->offset) { in Read() 241 if (start_byte * 8 < deflate_bit_pos_) { in Read() 261 auto start_byte = (cur_deflate_->offset / 8); in Read() local 263 auto bytes_to_read = end_byte - start_byte; in Read() 274 TEST_AND_RETURN_FALSE(stream_->Seek(start_byte)); in Read() 295 TEST_AND_RETURN_FALSE(stream_->Seek(start_byte + bytes_to_read)); in Read() 372 auto start_byte = cur_deflate_->offset / 8; in Write() local [all …]
|
D | utils.cc | 326 auto start_byte = deflate->offset / 8; in FindPuffLocations() local 328 deflate_buffer.resize(end_byte - start_byte); in FindPuffLocations() 329 TEST_AND_RETURN_FALSE(src->Seek(start_byte)); in FindPuffLocations() 359 start_byte = ((deflate->offset + 7) / 8); in FindPuffLocations() 361 int64_t deflate_length_in_bytes = end_byte - start_byte; in FindPuffLocations() 365 auto puff_offset = start_byte - gap + total_size_difference; in FindPuffLocations()
|
/external/e2fsprogs/lib/ext2fs/ |
D | blkmap64_ba.c | 215 __u64 start_byte, len_byte = len >> 3; in ba_test_clear_bmap_extent() local 226 start_byte = start >> 3; in ba_test_clear_bmap_extent() 248 if (first_bit & ADDR[start_byte]) in ba_test_clear_bmap_extent() 253 start_byte++; in ba_test_clear_bmap_extent() 274 if (last_bit & ADDR[start_byte + len_byte]) in ba_test_clear_bmap_extent() 281 return ext2fs_mem_is_zero(ADDR + start_byte, len_byte); in ba_test_clear_bmap_extent()
|
D | gen_bitmap.c | 470 size_t start_byte, len_byte = len >> 3; in ext2fs_test_clear_generic_bitmap_range() local 480 start_byte = start >> 3; in ext2fs_test_clear_generic_bitmap_range() 502 if (first_bit & ADDR[start_byte]) in ext2fs_test_clear_generic_bitmap_range() 507 start_byte++; in ext2fs_test_clear_generic_bitmap_range() 528 if (last_bit & ADDR[start_byte + len_byte]) in ext2fs_test_clear_generic_bitmap_range() 535 return ext2fs_mem_is_zero(ADDR + start_byte, len_byte); in ext2fs_test_clear_generic_bitmap_range()
|
/external/python/apitools/apitools/base/py/ |
D | transfer_test.py | 96 for (start_byte, end_byte) in [(0, 25), (5, 15), (0, 0), (25, 25)]: 110 (start_byte, end_byte), 113 content=string.ascii_lowercase[start_byte:end_byte+1], 118 download.GetRange(start_byte, end_byte)
|
/external/avb/test/ |
D | avb_unittest_util.cc | 128 uint8_t start_byte) { in GenerateImage() argument 132 image[n] = uint8_t(n + start_byte); in GenerateImage()
|
D | avb_unittest_util.h | 88 uint8_t start_byte = 0);
|
/external/ltp/testcases/network/netstress/ |
D | netstress.c | 72 static const int start_byte = 0x24; variable 267 (buf[0] != start_byte && buf[0] != start_fin_byte)) { in client_recv() 353 client_msg[0] = start_byte; in make_client_request() 537 send_msg[0] = start_byte; in make_server_reply() 575 (recv_msg[0] != start_byte && in server_fn()
|