/external/e2fsprogs/lib/ext2fs/ |
tst_fs_struct.c | 23 #define check_field(x) cur_offset = do_field(#x, sizeof(fs.x), \ 25 cur_offset) 27 static int do_field(const char *field, size_t size, int offset, int cur_offset) 29 if (offset != cur_offset) { 30 printf("\t(padding %d bytes?)\n", offset - cur_offset); 39 int cur_offset = 0; local 78 printf("Ending offset is %d\n\n", cur_offset);
|
tst_inode_size.c | 24 #define check_field(x, s) cur_offset = do_field(#x, s, sizeof(inode.x), \ 26 cur_offset) 29 unsigned offset, unsigned cur_offset) 36 if (offset != cur_offset) { 38 field, cur_offset, offset); 48 int cur_offset = 0; local 74 do_field("Small inode end", 0, 0, cur_offset, 128); 84 do_field("Large inode end", 0, 0, cur_offset, sizeof(inode));
|
tst_super_size.c | 27 #define check_field(x, s) cur_offset = do_field(#x, s, sizeof(sb.x), \ 29 cur_offset) 32 unsigned offset, unsigned cur_offset) 39 if (offset != cur_offset) { 41 field, cur_offset, offset); 51 int cur_offset = 0; local 139 do_field("Superblock end", 0, 0, cur_offset, 1024);
|
/external/chromium_org/content/test/plugin/ |
plugin_request_read_test.cc | 97 int cur_offset = offset + i; local 98 char expected = '0' + cur_offset;
|
/external/chromium_org/pdf/ |
chunk_stream.cc | 111 size_t cur_offset = offset; local 114 if (cur_offset < it->first) { 115 size_t new_size = it->first - cur_offset; 116 ranges->push_back(std::pair<size_t, size_t>(cur_offset, new_size)); 117 cur_offset = it->first + it->second; 118 } else if (cur_offset < it->first + it->second) { 119 cur_offset = it->first + it->second; 124 if (cur_offset < offset + size) 125 ranges->push_back(std::pair<size_t, size_t>(cur_offset, 126 offset + size - cur_offset)); [all...] |
/device/generic/goldfish/camera/ |
QemuClient.cpp | 530 size_t cur_offset = 0; local 535 if ((query.mReplyDataSize - cur_offset) >= vframe_size) { 537 cur_offset += vframe_size; 540 __FUNCTION__, query.mReplyDataSize - cur_offset, vframe_size); 546 if ((query.mReplyDataSize - cur_offset) >= pframe_size) { 547 memcpy(pframe, frame + cur_offset, pframe_size); 548 cur_offset += pframe_size; 551 __FUNCTION__, query.mReplyDataSize - cur_offset, pframe_size);
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_procmaps_linux.cc | 247 uptr cur_beg, cur_end, cur_offset, prot; local 251 Next(&cur_beg, &cur_end, &cur_offset, module_name.data(), 271 uptr base_address = (i ? cur_beg : 0) - cur_offset;
|
/external/qemu/hw/nvram/ |
fw_cfg.c | 52 uint16_t cur_offset; member in struct:FWCfgState 62 if (s->cur_entry & FW_CFG_WRITE_CHANNEL && s->cur_offset < e->len) { 63 e->data[s->cur_offset++] = value; 64 if (s->cur_offset == e->len) { 66 s->cur_offset = 0; 75 s->cur_offset = 0; 95 if (s->cur_entry == FW_CFG_INVALID || !e->data || s->cur_offset >= e->len) 98 ret = e->data[s->cur_offset++]; 173 qemu_put_be16s(f, &s->cur_offset); 184 qemu_get_be16s(f, &s->cur_offset); [all...] |
/external/chromium_org/third_party/freetype/src/cff/ |
cffload.c | 408 FT_ULong n, cur_offset; local 414 cur_offset = idx->offsets[0] - 1; 417 if ( cur_offset >= idx->data_size ) 421 cur_offset )); 422 cur_offset = 0; 426 t[0] = org_bytes + cur_offset; 428 t[0] = new_bytes + cur_offset; 437 next_offset < cur_offset || 439 next_offset = cur_offset; 447 if ( next_offset != cur_offset ) [all...] |
/external/freetype/src/cff/ |
cffload.c | 408 FT_ULong n, cur_offset; local 414 cur_offset = idx->offsets[0] - 1; 417 if ( cur_offset != 0 ) 421 cur_offset )); 422 cur_offset = 0; 426 t[0] = org_bytes + cur_offset; 428 t[0] = new_bytes + cur_offset; 436 if ( next_offset < cur_offset ) 437 next_offset = cur_offset; 447 if ( next_offset != cur_offset ) [all...] |
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/ |
cffload.c | 408 FT_ULong n, cur_offset; local 414 cur_offset = idx->offsets[0] - 1; 417 if ( cur_offset >= idx->data_size ) 421 cur_offset )); 422 cur_offset = 0; 426 t[0] = org_bytes + cur_offset; 428 t[0] = new_bytes + cur_offset; 437 next_offset < cur_offset || 439 next_offset = cur_offset; 447 if ( next_offset != cur_offset ) [all...] |
/frameworks/compile/mclinker/lib/LD/ |
ELFObjectWriter.cpp | 671 size_t cur_offset = 0; local 678 memcpy(pRegion.begin() + cur_offset, from, size); 687 std::memset(pRegion.begin() + cur_offset, 708 std::memset(pRegion.begin() + cur_offset, 716 memcpy(pRegion.begin() + cur_offset, stub_frag.getContent(), size); 730 cur_offset += size;
|
/art/compiler/ |
oat_writer.cc | 418 int cur_offset = cfi_info->size(); local 421 // Set the 'CIE_pointer' field to cur_offset+4. 422 uint32_t CIE_pointer = cur_offset + 4; 423 uint32_t offset_to_update = cur_offset + sizeof(uint32_t); 430 offset_to_update = cur_offset + 2*sizeof(uint32_t); [all...] |
/external/libnfc-nci/src/nfa/ee/ |
nfa_ee_act.c | 2207 int cur_offset; local [all...] |
/art/compiler/dex/quick/arm64/ |
int_arm64.cc | 1494 int cur_offset = 2; \/\/ What's the starting offset after the first stp? We expect the base slot local 1555 cur_offset); local 1559 RegStorage::FloatSolo64(reg1).GetReg(), base.GetReg(), cur_offset); local 1571 cur_offset + 1); local 1581 RegStorage::Solo64(reg1).GetReg(), base.GetReg(), cur_offset); local [all...] |