Home
last modified time | relevance | path

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

/external/pdfium/core/src/fxcodec/lgif/
Dfx_gif.cpp1196 if (gif_ptr->cur_offset) { in _gif_write_header()
1206 gif_ptr->cur_offset += sizeof(GifHeader); in _gif_write_header()
1207 _SetWord_LSBFirst(dst_buf + gif_ptr->cur_offset, gif_ptr->lsd_ptr->width); in _gif_write_header()
1208 gif_ptr->cur_offset += 2; in _gif_write_header()
1209 _SetWord_LSBFirst(dst_buf + gif_ptr->cur_offset, gif_ptr->lsd_ptr->height); in _gif_write_header()
1210 gif_ptr->cur_offset += 2; in _gif_write_header()
1211 dst_buf[gif_ptr->cur_offset++] = gif_ptr->lsd_ptr->global_flag; in _gif_write_header()
1212 dst_buf[gif_ptr->cur_offset++] = gif_ptr->lsd_ptr->bc_index; in _gif_write_header()
1213 dst_buf[gif_ptr->cur_offset++] = gif_ptr->lsd_ptr->pixel_aspect; in _gif_write_header()
1216 if (!_gif_grow_buf(dst_buf, dst_len, gif_ptr->cur_offset + size)) { in _gif_write_header()
[all …]
Dfx_gif.h269 FX_DWORD cur_offset; member
/external/e2fsprogs/lib/ext2fs/
Dtst_inode_size.c24 #define check_field(x, s) cur_offset = do_field(#x, s, sizeof(inode.x), \
26 cur_offset)
29 unsigned offset, unsigned cur_offset) in do_field() argument
36 if (offset != cur_offset) { in do_field()
38 field, cur_offset, offset); in do_field()
48 int cur_offset = 0; in main() local
74 do_field("Small inode end", 0, 0, cur_offset, 128); in main()
84 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.c27 #define check_field(x, s) cur_offset = do_field(#x, s, sizeof(sb.x), \
29 cur_offset)
32 unsigned offset, unsigned cur_offset) in do_field() argument
39 if (offset != cur_offset) { in do_field()
41 field, cur_offset, offset); in do_field()
51 int cur_offset = 0; in main() local
144 do_field("Superblock end", 0, 0, cur_offset, 1024); in main()
/external/fio/t/
Ddedupe.c38 uint64_t cur_offset; member
77 static uint64_t cur_offset; variable
107 if (cur_offset < total_size) { in get_work()
108 *offset = cur_offset; in get_work()
109 this_chunk = min((uint64_t)chunk_size, total_size - cur_offset); in get_work()
111 cur_offset += this_chunk; in get_work()
286 offset = thread->cur_offset; in do_work()
319 if (get_work(&thread->cur_offset, &thread->size)) { in thread_fn()
385 cur_offset = 0; in run_dedupe_threads()
/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/compiler-rt/lib/sanitizer_common/
Dsanitizer_procmaps_common.cc123 uptr cur_beg, cur_end, cur_offset, prot; in DumpListOfModules() local
127 Next(&cur_beg, &cur_end, &cur_offset, module_name.data(), in DumpListOfModules()
146 uptr base_address = (i ? cur_beg : 0) - cur_offset; in DumpListOfModules()
/external/freetype/src/cff/
Dcffload.c408 FT_ULong n, cur_offset; in cff_index_get_pointers() local
414 cur_offset = idx->offsets[0] - 1; in cff_index_get_pointers()
417 if ( cur_offset != 0 ) in cff_index_get_pointers()
421 cur_offset )); in cff_index_get_pointers()
422 cur_offset = 0; in cff_index_get_pointers()
426 t[0] = org_bytes + cur_offset; in cff_index_get_pointers()
428 t[0] = new_bytes + cur_offset; in cff_index_get_pointers()
436 if ( next_offset < cur_offset ) in cff_index_get_pointers()
437 next_offset = cur_offset; in cff_index_get_pointers()
447 if ( next_offset != cur_offset ) in cff_index_get_pointers()
[all …]
/external/pdfium/third_party/freetype/src/cff/
Dcffload.c408 FT_ULong n, cur_offset; in cff_index_get_pointers() local
414 cur_offset = idx->offsets[0] - 1; in cff_index_get_pointers()
417 if ( cur_offset != 0 ) in cff_index_get_pointers()
421 cur_offset )); in cff_index_get_pointers()
422 cur_offset = 0; in cff_index_get_pointers()
426 t[0] = org_bytes + cur_offset; in cff_index_get_pointers()
428 t[0] = new_bytes + cur_offset; in cff_index_get_pointers()
436 if ( next_offset < cur_offset ) in cff_index_get_pointers()
437 next_offset = cur_offset; in cff_index_get_pointers()
447 if ( next_offset != cur_offset ) in cff_index_get_pointers()
[all …]
/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/libnfc-nci/src/nfa/ee/
Dnfa_ee_act.c2238 int cur_offset; in nfa_ee_lmrt_to_nfcc() local
2272 cur_offset = 0; in nfa_ee_lmrt_to_nfcc()
2275 … status = nfa_ee_route_add_one_ecb(&nfa_ee_cb.ecb[NFA_EE_CB_4_DH], &max_len, more, p, &cur_offset); in nfa_ee_lmrt_to_nfcc()
2290 status = nfa_ee_route_add_one_ecb(p_cb, &max_len, more, p, &cur_offset); in nfa_ee_lmrt_to_nfcc()
/external/opencv3/3rdparty/include/ffmpeg_/libavcodec/
Davcodec.h3816 int64_t cur_offset; /* current offset member