Home
last modified time | relevance | path

Searched refs:cur_offset (Results 1 – 25 of 38) 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
157 do_field("Superblock end", 0, 0, cur_offset, 1024); in main()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_cross_ref_avail_unittest.cpp135 size_t cur_offset = table.size(); in TEST() local
145 size_t prev_offset = cur_offset; in TEST()
146 cur_offset = table.size(); in TEST()
159 prev_offset = cur_offset; in TEST()
160 cur_offset = table.size(); in TEST()
172 const FX_FILESIZE last_crossref_offset = static_cast<FX_FILESIZE>(cur_offset); in TEST()
183 size_t cur_offset = table.size(); in TEST() local
193 size_t prev_offset = cur_offset; in TEST()
194 cur_offset = table.size(); in TEST()
205 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.cc215 uint32_t cur_offset = 0; in UpdateCrc() local
236 &saved_orig_buf_[cur_offset + change.elt_len * elt_size_]; in UpdateCrc()
239 for (char *cur = &saved_orig_buf_[cur_offset]; cur < buf_end; in UpdateCrc()
248 for (char *cur = &saved_orig_buf_[cur_offset]; cur < buf_end; in UpdateCrc()
271 cur_offset += change.elt_len * elt_size_; in UpdateCrc()
/external/linux-kselftest/tools/testing/selftests/sparc64/drivers/
Dadi-test.c208 unsigned long cur_offset; in pread_adi() local
211 cur_offset = offset; in pread_adi()
215 cur_offset); in pread_adi()
223 cur_offset += ret; in pread_adi()
263 unsigned long cur_offset; in pwrite_adi() local
266 cur_offset = offset; in pwrite_adi()
271 buf_sz - bytes_written, cur_offset); in pwrite_adi()
282 cur_offset += ret; in pwrite_adi()
/external/tensorflow/tensorflow/compiler/tests/
Dconcat_ops_test.py109 cur_offset = 0
116 ind[concat_dim] = slice(cur_offset,
117 cur_offset + params[p[i]].shape[concat_dim])
118 cur_offset += params[p[i]].shape[concat_dim]
316 cur_offset = 0
324 cur_offset, cur_offset + params[p[i]].shape[concat_dim])
325 cur_offset += params[p[i]].shape[concat_dim]
/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.cc99 size_t cur_offset = assignment->offsets[allocated_id]; in GreedyBySizeAssignment() local
100 if (cur_offset >= prev_offset) { in GreedyBySizeAssignment()
101 size_t diff = cur_offset - prev_offset; in GreedyBySizeAssignment()
112 AlignByN(cur_offset + usage_records[allocated_id].tensor_size, in GreedyBySizeAssignment()
/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/angle/build/android/pylib/dex/
Ddex_parser.py263 cur_offset = data_offset
265 byte = self._data[cur_offset]
266 cur_offset += 1
272 return value, cur_offset - data_offset
/external/cronet/build/android/pylib/dex/
Ddex_parser.py263 cur_offset = data_offset
265 byte = self._data[cur_offset]
266 cur_offset += 1
272 return value, cur_offset - data_offset
/external/tensorflow/tensorflow/python/kernel_tests/array_ops/
Dconcat_op_test.py142 cur_offset = 0
149 ind[concat_dim] = slice(cur_offset,
150 cur_offset + params[p[i]].shape[concat_dim])
151 cur_offset += params[p[i]].shape[concat_dim]
547 cur_offset = 0
554 index[concat_dim] = slice(cur_offset,
555 cur_offset + params[p[i]].shape[concat_dim])
556 cur_offset += params[p[i]].shape[concat_dim]
/external/icing/icing/file/
Dfile-backed-vector.h1007 uint32_t cur_offset = 0; in ComputeChecksum() local
1028 &saved_original_buffer_[cur_offset + kElementTypeSize]; in ComputeChecksum()
1032 for (char* cur = &saved_original_buffer_[cur_offset]; cur < buffer_end; in ComputeChecksum()
1041 for (char* cur = &saved_original_buffer_[cur_offset]; cur < buffer_end; in ComputeChecksum()
1073 cur_offset += kElementTypeSize; in ComputeChecksum()
/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.cc225 size_t cur_offset = static_cast<size_t>(cur - beg); in grpc_chttp2_perform_read() local
228 grpc_slice_sub_no_ref(slice, cur_offset, in grpc_chttp2_perform_read()
229 cur_offset + t->incoming_frame_size), in grpc_chttp2_perform_read()
/external/libvpx/vp9/encoder/
Dvp9_non_greedy_mv.c475 int cur_offset = row * bh * cur_stride + col * bw; in vp9_get_local_structure() local
476 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()

12