Home
last modified time | relevance | path

Searched refs:cur_offset (Results 1 – 25 of 29) sorted by relevance

12

/external/e2fsprogs/lib/ext2fs/
Dtst_inode_size.c25 #define check_field(x, s) cur_offset = do_field(#x, s, sizeof(inode.x), \
27 cur_offset)
30 unsigned offset, unsigned cur_offset) in do_field() argument
37 if (offset != cur_offset) { in do_field()
39 field, cur_offset, offset); in do_field()
49 int cur_offset = 0; in main() local
75 do_field("Small inode end", 0, 0, cur_offset, 128); in main()
86 do_field("Large inode end", 0, 0, cur_offset, sizeof(inode)); in main()
Dtst_fs_struct.c23 #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) in do_field() argument
29 if (offset != cur_offset) { in do_field()
30 printf("\t(padding %d bytes?)\n", offset - cur_offset); in do_field()
39 int cur_offset = 0; in main() local
78 printf("Ending offset is %d\n\n", cur_offset); in main()
Dtst_super_size.c28 #define check_field(x, s) cur_offset = do_field(#x, s, sizeof(sb.x), \
30 cur_offset)
33 unsigned offset, unsigned cur_offset) in do_field() argument
40 if (offset != cur_offset) { in do_field()
42 field, cur_offset, offset); in do_field()
52 int cur_offset = 0; in main() local
156 do_field("Superblock end", 0, 0, cur_offset, 1024); in main()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_cross_ref_avail_unittest.cpp136 size_t cur_offset = table.size(); in TEST() local
146 size_t prev_offset = cur_offset; in TEST()
147 cur_offset = table.size(); in TEST()
160 prev_offset = cur_offset; in TEST()
161 cur_offset = table.size(); in TEST()
173 const FX_FILESIZE last_crossref_offset = static_cast<FX_FILESIZE>(cur_offset); in TEST()
184 size_t cur_offset = table.size(); in TEST() local
194 size_t prev_offset = cur_offset; in TEST()
195 cur_offset = table.size(); in TEST()
206 prev_offset = cur_offset; in TEST()
[all …]
/external/deqp-deps/amber/src/
Dformat.cc261 uint32_t cur_offset = 0; in AddSegmentsForType() local
264 assert(static_cast<uint32_t>(member.offset_in_bytes) >= cur_offset); in AddSegmentsForType()
267 cur_offset); in AddSegmentsForType()
268 cur_offset = static_cast<uint32_t>(member.offset_in_bytes); in AddSegmentsForType()
299 cur_offset += seg_size; in AddSegmentsForType()
302 assert(cur_offset <= s->StrideInBytes() && in AddSegmentsForType()
304 AddPaddedSegment(s->StrideInBytes() - cur_offset); in AddSegmentsForType()
305 cur_offset = s->StrideInBytes(); in AddSegmentsForType()
308 auto pad = CalculatePad(cur_offset); in AddSegmentsForType()
311 cur_offset += pad; in AddSegmentsForType()
[all …]
/external/squashfs-tools/kernel/fs/squashfs/
Dfile.c246 int cur_offset = squashfs_i(inode)->offset; in fill_meta_index() local
268 cur_offset = meta_entry->offset; in fill_meta_index()
275 cur_offset, cur_data_block); in fill_meta_index()
287 &cur_index_block, &cur_offset); in fill_meta_index()
304 meta_entry->offset = cur_offset; in fill_meta_index()
318 *index_offset = cur_offset; in fill_meta_index()
/external/libhevc/encoder/
Dihevce_dep_mngr.c733 WORD32 cur_offset, in ihevce_dmgr_chk_row_row_sync() argument
755 ASSERT((cur_offset + dep_offset) <= ps_dep_mngr_state->i4_num_horz_units); in ihevce_dmgr_chk_row_row_sync()
762 if(ref_value >= (cur_offset + dep_offset)) in ihevce_dmgr_chk_row_row_sync()
808 void *pv_dep_mngr_state, WORD32 cur_offset, WORD32 cur_row, WORD32 cur_tile_col) in ihevce_dmgr_set_row_row_sync() argument
819 ASSERT(cur_offset >= 0); in ihevce_dmgr_set_row_row_sync()
820 ASSERT(cur_offset <= ps_dep_mngr_state->i4_num_horz_units); in ihevce_dmgr_set_row_row_sync()
831 *pi4_units_prcsd = cur_offset; in ihevce_dmgr_set_row_row_sync()
851 if(cur_offset == ps_dep_mngr_state->i4_num_horz_units) in ihevce_dmgr_set_row_row_sync()
Dihevce_dep_mngr_interface.h153 WORD32 cur_offset,
160 void *pv_dep_mngr_state, WORD32 cur_offset, WORD32 cur_row, WORD32 cur_tile_col);
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_procmaps_common.cc122 uptr cur_beg, cur_end, cur_offset, prot; in DumpListOfModules() local
124 for (uptr i = 0; Next(&cur_beg, &cur_end, &cur_offset, module_name.data(), in DumpListOfModules()
141 uptr base_address = (i ? cur_beg : 0) - cur_offset; in DumpListOfModules()
/external/linux-kselftest/tools/testing/selftests/sparc64/drivers/
Dadi-test.c212 unsigned long cur_offset; in pread_adi() local
215 cur_offset = offset; in pread_adi()
219 cur_offset); in pread_adi()
227 cur_offset += ret; in pread_adi()
267 unsigned long cur_offset; in pwrite_adi() local
270 cur_offset = offset; in pwrite_adi()
275 buf_sz - bytes_written, cur_offset); in pwrite_adi()
286 cur_offset += ret; in pwrite_adi()
/external/tensorflow/tensorflow/compiler/tests/
Dconcat_ops_test.py113 cur_offset = 0
120 ind[concat_dim] = slice(cur_offset,
121 cur_offset + params[p[i]].shape[concat_dim])
122 cur_offset += params[p[i]].shape[concat_dim]
320 cur_offset = 0
328 cur_offset, cur_offset + params[p[i]].shape[concat_dim])
329 cur_offset += params[p[i]].shape[concat_dim]
/external/tensorflow/tensorflow/lite/delegates/gpu/common/memory_management/
Dgreedy_by_size_assignment.cc92 size_t cur_offset = assignment->offsets[allocated_id]; in GreedyBySizeAssignment() local
93 if (cur_offset >= prev_offset) { in GreedyBySizeAssignment()
94 size_t diff = cur_offset - prev_offset; in GreedyBySizeAssignment()
104 prev_offset, cur_offset + usage_records[allocated_id].tensor_size); in GreedyBySizeAssignment()
/external/u-boot/drivers/mtd/
Dmtdpart.c572 int partno, uint64_t cur_offset) in allocate_partition() argument
672 slave->offset = cur_offset; in allocate_partition()
674 slave->offset = cur_offset; in allocate_partition()
675 if (mtd_mod_by_eb(cur_offset, master) != 0) { in allocate_partition()
677 slave->offset = (mtd_div_by_eb(cur_offset, master) + 1) * master->erasesize; in allocate_partition()
680 (unsigned long long)cur_offset, (unsigned long long)slave->offset); in allocate_partition()
684 slave->offset = cur_offset; in allocate_partition()
870 uint64_t cur_offset = 0; in add_mtd_partitions() local
876 slave = allocate_partition(master, parts + i, i, cur_offset); in add_mtd_partitions()
886 cur_offset = slave->offset + slave->size; in add_mtd_partitions()
/external/freetype/src/cff/
Dcffload.c434 FT_ULong n, cur_offset; in cff_index_get_pointers() local
440 cur_offset = idx->offsets[0] - 1; in cff_index_get_pointers()
443 if ( cur_offset != 0 ) in cff_index_get_pointers()
447 cur_offset )); in cff_index_get_pointers()
448 cur_offset = 0; in cff_index_get_pointers()
452 t[0] = org_bytes + cur_offset; in cff_index_get_pointers()
454 t[0] = new_bytes + cur_offset; in cff_index_get_pointers()
462 if ( next_offset < cur_offset ) in cff_index_get_pointers()
463 next_offset = cur_offset; in cff_index_get_pointers()
473 if ( next_offset != cur_offset ) in cff_index_get_pointers()
[all …]
/external/u-boot/drivers/video/bridge/
Danx6345.c211 u8 cur_offset; in anx6345_read_aux_i2c() local
215 cur_offset = offset + i; in anx6345_read_aux_i2c()
217 chip_addr, &cur_offset, 1); in anx6345_read_aux_i2c()
/external/tensorflow/tensorflow/python/kernel_tests/
Dconcat_op_test.py129 cur_offset = 0
136 ind[concat_dim] = slice(cur_offset,
137 cur_offset + params[p[i]].shape[concat_dim])
138 cur_offset += params[p[i]].shape[concat_dim]
534 cur_offset = 0
541 index[concat_dim] = slice(cur_offset,
542 cur_offset + params[p[i]].shape[concat_dim])
543 cur_offset += params[p[i]].shape[concat_dim]
/external/mesa3d/src/amd/vulkan/
Dradv_sqtt.c584 return info->cur_offset == info->gfx9_write_counter; in radv_is_thread_trace_complete()
593 return ((info->cur_offset * 32) + dropped_cntr_per_se) / 1024; in radv_get_expected_buffer_size()
623 (info->cur_offset * 32) / 1024; in radv_get_thread_trace()
Dradv_rgp.c621 uint64_t size = info->cur_offset * 32; /* unit of 32 bytes */ in radv_sqtt_dump_data()
Dradv_private.h2495 uint32_t cur_offset; member
/external/ltp/testcases/kernel/fs/doio/
Dgrowfiles.c1954 int cur_offset; in growfile() local
2012 if ((cur_offset = lseek(fd, 0, SEEK_CUR)) == -1) { in growfile()
2357 int cur_offset; in shrinkfile() local
2385 if ((cur_offset = lseek(fd, 0, SEEK_CUR)) == -1) { in shrinkfile()
2429 new_offset = cur_offset - trunc_incr; in shrinkfile()
2479 Progname, Pid, __FILE__, __LINE__, cur_offset - new_offset, in shrinkfile()
2483 bytes_consumed -= (cur_offset - new_offset); in shrinkfile()
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dparsing.cc224 size_t cur_offset = static_cast<size_t>(cur - beg); in grpc_chttp2_perform_read() local
227 grpc_slice_sub_no_ref(slice, cur_offset, in grpc_chttp2_perform_read()
228 cur_offset + t->incoming_frame_size), in grpc_chttp2_perform_read()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_non_greedy_mv.c472 int cur_offset = row * bh * cur_stride + col * bw; in vp9_get_local_structure() local
473 uint8_t *center = cur_frame->y_buffer + cur_offset; in vp9_get_local_structure()
/external/squashfs-tools/kernel-2.4/fs/squashfs/
Dinode.c1336 int cur_offset = SQUASHFS_I(inode)->offset; in get_meta_index() local
1354 cur_offset = meta_entry->offset; in get_meta_index()
1361 cur_offset, cur_data_block); in get_meta_index()
1373 &cur_offset); in get_meta_index()
1384 meta_entry->offset = cur_offset; in get_meta_index()
1398 *index_offset = cur_offset; in get_meta_index()
/external/scapy/scapy/layers/
Dinet6.py1138 cur_offset = p[IPv6ExtHdrFragment].offset
1139 if cur_offset < min_offset:
1141 min_offset = cur_offset
/external/libaom/libaom/av1/encoder/
Dencodeframe.c5264 const int cur_offset = (int)cm->current_frame.order_hint; in check_skip_mode_enabled() local
5268 cur_offset, ref_offset[0]); in check_skip_mode_enabled()
5270 cur_offset, ref_offset[1])); in check_skip_mode_enabled()

12