Home
last modified time | relevance | path

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

/external/pdfium/core/fpdfapi/parser/
Dcpdf_cross_ref_avail_unittest.cpp140 int cur_offset = 0; in TEST() local
142 prev_offset = cur_offset; in TEST()
143 cur_offset = static_cast<int>(table.size()); in TEST()
153 prev_offset = cur_offset; in TEST()
154 cur_offset = static_cast<int>(table.size()); in TEST()
167 prev_offset = cur_offset; in TEST()
168 cur_offset = static_cast<int>(table.size()); in TEST()
180 const FX_FILESIZE last_crossref_offset = cur_offset; in TEST()
192 int cur_offset = 0; in TEST() local
194 prev_offset = cur_offset; in TEST()
[all …]
/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
147 do_field("Superblock end", 0, 0, cur_offset, 1024); in main()
/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/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/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/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/u-boot/drivers/mtd/
Dmtdpart.c383 uint64_t cur_offset) in allocate_partition() argument
479 slave->offset = cur_offset; in allocate_partition()
481 slave->offset = cur_offset; in allocate_partition()
482 if (mtd_mod_by_eb(cur_offset, master) != 0) { in allocate_partition()
484 slave->offset = (mtd_div_by_eb(cur_offset, master) + 1) * master->erasesize; in allocate_partition()
487 (unsigned long long)cur_offset, (unsigned long long)slave->offset); in allocate_partition()
491 slave->offset = cur_offset; in allocate_partition()
680 uint64_t cur_offset = 0; in add_mtd_partitions() local
696 slave = allocate_partition(master, parts + i, i, cur_offset); in add_mtd_partitions()
706 cur_offset = slave->offset + slave->mtd.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/tensorflow/tensorflow/python/kernel_tests/
Dconcat_op_test.py128 cur_offset = 0
135 ind[concat_dim] = slice(cur_offset,
136 cur_offset + params[p[i]].shape[concat_dim])
137 cur_offset += params[p[i]].shape[concat_dim]
533 cur_offset = 0
540 index[concat_dim] = slice(cur_offset,
541 cur_offset + params[p[i]].shape[concat_dim])
542 cur_offset += params[p[i]].shape[concat_dim]
/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/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/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.c5245 const int cur_offset = (int)cm->current_frame.order_hint; in check_skip_mode_enabled() local
5249 cur_offset, ref_offset[0]); in check_skip_mode_enabled()
5251 cur_offset, ref_offset[1])); in check_skip_mode_enabled()
/external/python/cpython2/Modules/
D_bsddb.c6506 MAKE_ENTRY(cur_offset); in DBEnv_log_stat()
/external/freetype/
DChangeLog.253972 * src/cff/cffload.c (cff_index_get_pointers): Check for `cur_offset