/system/core/toolbox/ |
hd.c | 19 int filepos = 0; local 62 filepos = base; 68 if(count > 0 && base + count - filepos < read_len) 69 read_len = base + count - filepos; 75 printf("%08x: ", filepos + i); 86 printf("Read error on %s, offset %d len %d, %s\n", argv[optind], filepos, read_len, strerror(errno)); 89 filepos += res; 90 if(filepos == base + count)
|
cmp.c | 18 int filepos = 0; local 71 printf("%s %s differ byte %d", argv[optind], argv[optind+1], filepos + i); 89 filepos += res;
|
/external/quake/quake/src/QW/client/ |
wad.c | 93 lump_p->filepos = LittleLong(lump_p->filepos); 97 SwapPic ( (qpic_t *)(wad_base + lump_p->filepos)); 131 return (void *)(wad_base + lump->filepos); 143 return (void *)(wad_base + lump->filepos);
|
wad.h | 56 int filepos; member in struct:__anon12976
|
/external/quake/quake/src/WinQuake/ |
wad.cpp | 93 lump_p->filepos = LittleLong(lump_p->filepos); 97 SwapPic ( (qpic_t *)(wad_base + lump_p->filepos)); 131 return (void *)(wad_base + lump->filepos); 143 return (void *)(wad_base + lump->filepos);
|
wad.h | 56 int filepos; member in struct:__anon13434
|
/external/oprofile/libutil++/ |
op_bfd.cpp | 60 section_filepos(a->section->filepos), 91 return filepos() < rhs.filepos(); 96 return bfd_symbol->section->filepos + bfd_symbol->section->size; 169 filepos_map[sect->name] = sect->filepos; 235 // need to use filepos of original file's section for 239 u32 filepos = filepos_map[dbfd.syms[i]->section->name]; local 240 if (filepos != 0) 241 dbfd.syms[i]->section->filepos = filepos; [all...] |
op_bfd.h | 52 unsigned long filepos() const { return symb_value + section_filepos; } function in class:op_bfd_symbol 63 /// compare two symbols by their filepos() 73 /// the section filepos for this symbol 170 * Otherwise, return the filepos of a section with a matching 292 // mapping of section names to filepos in the original binary
|
op_spu_bfd.cpp | 165 filepos_map[sect->name] = sect->filepos;
|
/external/grub/stage2/ |
fsys_vstafs.c | 42 extern int filepos; 200 if (filepos > 0) 202 if (filepos < a[0].a_len * 512 - VSTAFS_START_DATA) 204 offset = filepos + VSTAFS_START_DATA; 206 curr_len = a[0].a_len * 512 - offset - filepos; 211 offset = filepos - ext_size;
|
fsys_xfs.c | 382 filepos &= ~(xfs.dirbsize - 1); 383 filepos |= xfs.blkoff; 390 filepos += toread; 422 filepos = 0; 426 filepos = xfs.dirbsize - sizeof(*tail); 448 filepos = xfs.blkoff; 495 grub_memmove (buf, inode->di_u.di_c + filepos, len); 496 filepos += len; 500 startpos = filepos; 501 endpos = filepos + len [all...] |
fsys_fat.c | 208 size = FAT_SUPER->root_max - filepos; 211 if (!devread(FAT_SUPER->root_offset, filepos, size, buf)) 213 filepos += size; 217 logical_clust = filepos >> FAT_SUPER->clustsize_bits; 218 offset = (filepos & ((1 << FAT_SUPER->clustsize_bits) - 1)); 284 filepos += size; 310 filepos = 0; 480 filepos = 0;
|
fsys_jfs.c | 235 startpos = filepos; 236 endpos = filepos + len; 242 if (isinxt (filepos >> jfs.l2bsize, offset, xadlen)) { 245 ? len : (endofcur - filepos); 249 filepos - (offset << jfs.l2bsize), toread, buf); 254 filepos += toread; 259 filepos += toread; 269 return filepos - startpos; 300 filepos = 0; 320 filepos = 0 [all...] |
fsys_ffs.c | 151 off = blkoff (SUPERBLOCK, filepos); 152 logno = lblkno (SUPERBLOCK, filepos); 171 filepos += size;
|
fsys_ufs2.c | 176 off = blkoff (SUPERBLOCK, filepos); 177 logno = lblkno (SUPERBLOCK, filepos); 196 filepos += size;
|
fsys_minix.c | 257 logical_block = filepos >> BLOCK_SIZE_BITS; 258 offset = filepos & (BLOCK_SIZE - 1); 280 filepos += size; 388 filepos = 0;
|
disk_io.c | 127 int filepos; variable [all...] |
gunzip.c | 182 /* swap filepos */ 183 itmp = filepos; 184 filepos = gzip_filepos; 284 filepos = 0; 307 gzip_data_offset = filepos; 309 filepos = filemax - 8; 330 filepos = 0; 494 if (filepos == gzip_data_offset || bufloc == INBUFSIZ) [all...] |
fsys_iso9660.c | 372 filepos = 0; 416 blkoffset = filepos & (ISO_SECTOR_SIZE - 1); 417 sector = filepos >> ISO_SECTOR_BITS; 434 filepos += size;
|
fsys_ext2fs.c | 421 logical_block = filepos >> EXT2_BLOCK_SIZE_BITS (SUPERBLOCK); 422 offset = filepos & (EXT2_BLOCK_SIZE (SUPERBLOCK) - 1); 448 filepos += size; 637 filepos = 0;
|
fsys_reiserfs.c | 894 printf ("reiserfs_read: filepos=%d len=%d, offset=%x:%x\n", 895 filepos, len, (__u64) IH_KEY_OFFSET (INFO->current_ih) - 1); 899 || IH_KEY_OFFSET (INFO->current_ih) > filepos + 1) 910 offset = filepos - IH_KEY_OFFSET (INFO->current_ih) + 1; 914 printf (" loop: filepos=%d len=%d, offset=%d blocksize=%d\n", 915 filepos, len, offset, blocksize); 973 filepos += to_read; 990 * of the file we were trying to look up, filepos is 0 and filemax is [all...] |
/external/grub/netboot/ |
fsys_tftp.c | 328 if (filepos < saved_filepos) 330 /* Uggh.. FILEPOS has been moved backwards. So reopen the file. */ 359 int amt = buf_read + saved_filepos - filepos; 369 grub_memmove (addr, buf + filepos - saved_filepos, amt); 372 filepos += amt; 377 if (filepos - saved_filepos > FSYS_BUFLEN / 2)
|
/frameworks/av/libvideoeditor/osal/src/ |
LVOSA_FileReader_optim.c | 75 M4OSA_FilePosition filepos; /**< position in the file where the buffer starts */ member in struct:__anon17289 163 apContext->buffer[i].filepos = 0; 199 if( (pos < apContext->buffer[i].filepos) 200 || (pos > (apContext->buffer[i].filepos + apContext->buffer[i].size - 1)) ) 205 offset = pos - apContext->buffer[i].filepos; 239 apContext->readFilePos, apContext->buffer[i].filepos); 280 apContext->buffer[i].filepos = apContext->readFilePos; 361 if( (pos >= apContext->buffer[i].filepos) 362 && (pos < (apContext->buffer[i].filepos + apContext->buffer[i].size)) ) [all...] |
/external/llvm/lib/Archive/ |
ArchiveWriter.cpp | 210 unsigned filepos = ARFile.tellp(); local 211 filepos -= 8; 245 symTab.insert(std::make_pair(*SI,filepos)); 250 numVbrBytes(filepos);
|
/external/oprofile/libpp/ |
callgraph_container.cpp | 97 // sorted by filepos so this will find the nearest 110 u32 const end_offset = it->size() + it->filepos(); 173 << b.syms[i].name() << " filepos " << start 189 callee_end = bfdsym->size() + bfdsym->filepos() - boffset; 195 finish_sym(i, bfdsym->filepos()); 199 << bfdsym->name() << " filepos " 200 << bfdsym->filepos() << "-" 201 << (bfdsym->filepos() + bfdsym->size())
|