Searched refs:cur_offset (Results 1 - 12 of 12) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
H A 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) argument
29 if (offset != cur_offset) {
30 printf("\t(padding %d bytes?)\n", offset - cur_offset);
39 int cur_offset = 0; local
78 printf("Ending offset is %d\n\n", cur_offset);
H A 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)
37 if (offset != cur_offset) {
39 field, cur_offset, offset);
49 int cur_offset = 0; local
75 do_field("Small inode end", 0, 0, cur_offset, 128);
86 do_field("Large inode end", 0, 0, cur_offset, sizeof(inode));
29 do_field(const char *field, unsigned size, unsigned cur_size, unsigned offset, unsigned cur_offset) argument
H A 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)
40 if (offset != cur_offset) {
42 field, cur_offset, offset);
52 int cur_offset = 0; local
147 do_field("Superblock end", 0, 0, cur_offset, 1024);
32 do_field(const char *field, unsigned size, unsigned cur_size, unsigned offset, unsigned cur_offset) argument
/external/pdfium/core/fxcodec/lgif/
H A Dfx_gif.cpp1060 if (gif_ptr->cur_offset) {
1070 gif_ptr->cur_offset += sizeof(GifHeader);
1071 SetWord_LSBFirst(dst_buf + gif_ptr->cur_offset, gif_ptr->lsd_ptr->width);
1072 gif_ptr->cur_offset += 2;
1073 SetWord_LSBFirst(dst_buf + gif_ptr->cur_offset, gif_ptr->lsd_ptr->height);
1074 gif_ptr->cur_offset += 2;
1075 dst_buf[gif_ptr->cur_offset++] = gif_ptr->lsd_ptr->global_flag;
1076 dst_buf[gif_ptr->cur_offset++] = gif_ptr->lsd_ptr->bc_index;
1077 dst_buf[gif_ptr->cur_offset++] = gif_ptr->lsd_ptr->pixel_aspect;
1080 if (!gif_grow_buf(dst_buf, dst_len, gif_ptr->cur_offset
[all...]
H A Dfx_gif.h264 uint32_t cur_offset; member in struct:tag_gif_compress_struct
/external/fio/t/
H A Ddedupe.c38 uint64_t cur_offset; member in struct:worker_thread
77 static uint64_t cur_offset; variable
107 if (cur_offset < total_size) {
108 *offset = cur_offset;
109 this_chunk = min((uint64_t)chunk_size, total_size - cur_offset);
111 cur_offset += this_chunk;
286 offset = thread->cur_offset;
319 if (get_work(&thread->cur_offset, &thread->size)) {
385 cur_offset = 0;
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_procmaps_common.cc122 uptr cur_beg, cur_end, cur_offset, prot; local
124 for (uptr i = 0; Next(&cur_beg, &cur_end, &cur_offset, module_name.data(),
141 uptr base_address = (i ? cur_beg : 0) - cur_offset;
/external/squashfs-tools/kernel/fs/squashfs/
H A Dfile.c246 int cur_offset = squashfs_i(inode)->offset; local
268 cur_offset = meta_entry->offset;
275 cur_offset, cur_data_block);
287 &cur_index_block, &cur_offset);
304 meta_entry->offset = cur_offset;
318 *index_offset = cur_offset;
/external/pdfium/third_party/freetype/src/cff/
H A Dcffload.c408 FT_ULong n, cur_offset; local
414 cur_offset = idx->offsets[0] - 1;
417 if ( cur_offset != 0 )
421 cur_offset ));
422 cur_offset = 0;
426 t[0] = org_bytes + cur_offset;
428 t[0] = new_bytes + cur_offset;
436 if ( next_offset < cur_offset )
437 next_offset = cur_offset;
447 if ( next_offset != cur_offset )
[all...]
/external/freetype/src/cff/
H A Dcffload.c433 FT_ULong n, cur_offset; local
439 cur_offset = idx->offsets[0] - 1;
442 if ( cur_offset != 0 )
446 cur_offset ));
447 cur_offset = 0;
451 t[0] = org_bytes + cur_offset;
453 t[0] = new_bytes + cur_offset;
461 if ( next_offset < cur_offset )
462 next_offset = cur_offset;
472 if ( next_offset != cur_offset )
[all...]
/external/ltp/testcases/kernel/fs/doio/
H A Dgrowfiles.c1941 int cur_offset; local
1999 if ((cur_offset = lseek(fd, 0, SEEK_CUR)) == -1) {
2344 int cur_offset; local
2372 if ((cur_offset = lseek(fd, 0, SEEK_CUR)) == -1) {
2416 new_offset = cur_offset - trunc_incr;
2466 Progname, Pid, __FILE__, __LINE__, cur_offset - new_offset,
2470 bytes_consumed -= (cur_offset - new_offset);
/external/squashfs-tools/kernel-2.4/fs/squashfs/
H A Dinode.c1336 int cur_offset = SQUASHFS_I(inode)->offset; local
1354 cur_offset = meta_entry->offset;
1361 cur_offset, cur_data_block);
1373 &cur_offset);
1384 meta_entry->offset = cur_offset;
1398 *index_offset = cur_offset;

Completed in 347 milliseconds