/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 | 334 auto start_byte = deflate->offset / 8; in FindPuffLocations() local 336 deflate_buffer.resize(end_byte - start_byte); in FindPuffLocations() 337 TEST_AND_RETURN_FALSE(src->Seek(start_byte)); in FindPuffLocations() 367 start_byte = ((deflate->offset + 7) / 8); in FindPuffLocations() 369 int64_t deflate_length_in_bytes = end_byte - start_byte; in FindPuffLocations() 373 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/icing/icing/legacy/index/ |
D | icing-array-storage.cc | 150 uint32_t start_byte = elt_idx * elt_size_; in GetMutableMemInternal() local 176 saved_orig_buf_.append(array_cast<char>() + start_byte, in GetMutableMemInternal() 184 int start_page = start_byte / IcingMMapper::system_page_size(); in GetMutableMemInternal() 186 (start_byte + len_bytes - 1) / IcingMMapper::system_page_size(); in GetMutableMemInternal() 196 return MakeVoidPtr(&(array())[start_byte]); in GetMutableMemInternal()
|
/external/avb/test/ |
D | avb_unittest_util.cc | 128 uint8_t start_byte) { in GenerateImage() argument 136 start_byte, in GenerateImage()
|
D | avb_unittest_util.h | 88 uint8_t start_byte = 0);
|
/external/ltp/testcases/network/netstress/ |
D | netstress.c | 58 static const int start_byte = 0x24; variable 256 (buf[0] != start_byte && buf[0] != start_fin_byte)) { in client_recv() 352 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()
|
/external/python/apitools/apitools/base/py/ |
D | transfer_test.py | 139 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/icing/icing/file/ |
D | file-backed-vector.h | 558 int32_t start_byte = idx * sizeof(T); in Set() local 562 reinterpret_cast<char*>(const_cast<T*>(array())) + start_byte, in Set()
|
/external/avb/ |
D | avbtool.py | 2183 def generate_test_image(self, output, image_size, start_byte): argument 2194 pattern = bytearray([x & 0xFF for x in range(start_byte, start_byte + 256)]) 4699 self.avb.generate_test_image(args.output, args.image_size, args.start_byte)
|
D | avbtool | 2183 def generate_test_image(self, output, image_size, start_byte): argument 2194 pattern = bytearray([x & 0xFF for x in range(start_byte, start_byte + 256)]) 4699 self.avb.generate_test_image(args.output, args.image_size, args.start_byte)
|