Home
last modified time | relevance | path

Searched refs:cur_offset (Results 1 – 25 of 34) 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/icing/icing/legacy/index/
Dicing-array-storage.cc220 uint32_t cur_offset = 0; in UpdateCrc() local
241 &saved_orig_buf_[cur_offset + change.elt_len * elt_size_]; in UpdateCrc()
244 for (char *cur = &saved_orig_buf_[cur_offset]; cur < buf_end; in UpdateCrc()
253 for (char *cur = &saved_orig_buf_[cur_offset]; cur < buf_end; in UpdateCrc()
276 cur_offset += change.elt_len * elt_size_; in UpdateCrc()
/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/tensorflow/tensorflow/lite/delegates/gpu/common/memory_management/
Dgreedy_by_size_assignment.cc97 size_t cur_offset = assignment->offsets[allocated_id]; in GreedyBySizeAssignment() local
98 if (cur_offset >= prev_offset) { in GreedyBySizeAssignment()
99 size_t diff = cur_offset - prev_offset; in GreedyBySizeAssignment()
109 prev_offset, cur_offset + usage_records[allocated_id].tensor_size); in GreedyBySizeAssignment()
/external/tensorflow/tensorflow/compiler/tests/
Dconcat_ops_test.py114 cur_offset = 0
121 ind[concat_dim] = slice(cur_offset,
122 cur_offset + params[p[i]].shape[concat_dim])
123 cur_offset += params[p[i]].shape[concat_dim]
322 cur_offset = 0
330 cur_offset, cur_offset + params[p[i]].shape[concat_dim])
331 cur_offset += params[p[i]].shape[concat_dim]
/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/icing/icing/file/
Dfile-backed-vector.h658 uint32_t cur_offset = 0; in ComputeChecksum() local
679 const char* buffer_end = &saved_original_buffer_[cur_offset + sizeof(T)]; in ComputeChecksum()
683 for (char* cur = &saved_original_buffer_[cur_offset]; cur < buffer_end; in ComputeChecksum()
692 for (char* cur = &saved_original_buffer_[cur_offset]; cur < buffer_end; in ComputeChecksum()
723 cur_offset += sizeof(T); in ComputeChecksum()
/external/freetype/src/cff/
Dcffload.c433 FT_ULong n, cur_offset; in cff_index_get_pointers() local
439 cur_offset = idx->offsets[0] - 1; in cff_index_get_pointers()
442 if ( cur_offset != 0 ) in cff_index_get_pointers()
446 cur_offset )); in cff_index_get_pointers()
447 cur_offset = 0; in cff_index_get_pointers()
451 tbl[0] = org_bytes + cur_offset; in cff_index_get_pointers()
453 tbl[0] = new_bytes + cur_offset; in cff_index_get_pointers()
461 if ( next_offset < cur_offset ) in cff_index_get_pointers()
462 next_offset = cur_offset; in cff_index_get_pointers()
472 if ( next_offset != cur_offset ) in cff_index_get_pointers()
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dconcat_op_test.py145 cur_offset = 0
152 ind[concat_dim] = slice(cur_offset,
153 cur_offset + params[p[i]].shape[concat_dim])
154 cur_offset += params[p[i]].shape[concat_dim]
550 cur_offset = 0
557 index[concat_dim] = slice(cur_offset,
558 cur_offset + params[p[i]].shape[concat_dim])
559 cur_offset += params[p[i]].shape[concat_dim]
/external/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/
DObjCLanguageRuntime.cpp333 int32_t cur_offset = ivar.m_offset; in GetTypeBitSize() local
334 if (cur_offset > max_offset) { in GetTypeBitSize()
335 max_offset = cur_offset; in GetTypeBitSize()
/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()
/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/rust/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/transport/
Dparsing.cc223 size_t cur_offset = static_cast<size_t>(cur - beg); in grpc_chttp2_perform_read() local
226 grpc_slice_sub_no_ref(slice, cur_offset, in grpc_chttp2_perform_read()
227 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/virglrenderer/src/
Dvrend_decode.c1647 const uint32_t cur_offset = buf_offset; in vrend_decode_ctx_submit_cmd() local
1667 cur_offset, vrend_get_comand_name(cmd), len); in vrend_decode_ctx_submit_cmd()

12