HomeSort by relevance Sort by last modified time
    Searched full:filepos (Results 1 - 25 of 76) sorted by null

1 2 3 4

  /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/chromium_org/chrome/browser/resources/file_manager/foreground/js/metadata/
mpeg_parser.js 163 * @param {number} filePos File position of the atom start.
165 MpegParser.prototype.applyParser = function(parser, br, atom, filePos) {
183 '@' + (filePos + start) + ':' + (atom.end - start),
196 this.parseMpegAtomsInRange(parser, br, atom, filePos);
205 * @param {number} filePos File position of the atom start.
208 parser, br, parentAtom, filePos) {
226 filePos
235 * @param {number} filePos Start position in the file.
242 file, filePos, size, name, onError, onSuccess) {
248 reader.result, file, filePos, size, name, onError, onSuccess)
    [all...]
exif_parser.js 48 * @param {number} filePos // TODO(JSDOC).
52 file, callback, errorCallback, metadata, filePos, opt_length) {
60 file, callback, errorCallback, metadata, filePos, reader.result);
62 reader.readAsArrayBuffer(file.slice(filePos, filePos + opt_length));
70 * @param {number} filePos // TODO(JSDOC).
74 file, callback, errorCallback, metadata, filePos, buf) {
80 throw new Error('Unexpected EOF @' + (filePos + buf.byteLength));
83 if (filePos == 0) {
93 filePos + br.tell() + (opt_offset || 0), opt_bytes)
    [all...]
  /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
bfd_support.h 148 * can't lookup the section contents of code section etc. The filepos of
150 * filepos earlier.
  /frameworks/av/libvideoeditor/vss/src/
M4AMRR_CoreReader.c 160 M4OSA_FilePosition filePos;
242 filePos = 4;
244 M4OSA_kFileSeekBeginning, &filePos);
295 M4OSA_FilePosition filePos;
333 filePos = -1;
335 &filePos);
390 filePos = size-1;
392 M4OSA_kFileSeekCurrent, &filePos);
404 filePos = 6;
406 M4OSA_kFileSeekBeginning, &filePos);
    [all...]
  /external/grub/stage2/
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_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_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_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;
disk_io.c 127 int filepos; variable
    [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_iso9660.c 372 filepos = 0;
416 blkoffset = filepos & (ISO_SECTOR_SIZE - 1);
417 sector = filepos >> ISO_SECTOR_BITS;
434 filepos += size;
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...]
  /frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
FwdLockFile.c 68 off64_t filePos;
246 uint64_t blockIndex = pSession->filePos / AES_BLOCK_SIZE;
247 uint64_t blockOffset = pSession->filePos % AES_BLOCK_SIZE;
289 pSession->filePos = 0;
310 ++pSession->filePos;
340 (void)lseek64(pSession->fileDesc, pSession->dataOffset + pSession->filePos,
347 pSession->filePos = newFilePos - pSession->dataOffset;
348 newFilePos = pSession->filePos;
401 (void)lseek64(pSession->fileDesc, pSession->dataOffset + pSession->filePos,
  /external/clang/lib/Rewrite/Core/
HTMLRewrite.cpp 118 for (unsigned FilePos = 0; C != FileEnd ; ++C, ++FilePos) {
128 RB.ReplaceText(FilePos, 1, "&nbsp;");
132 RB.ReplaceText(FilePos, 1, "<hr>");
141 RB.ReplaceText(FilePos, 1,
145 RB.ReplaceText(FilePos, 1, StringRef(" ", NumSpaces));
150 RB.ReplaceText(FilePos, 1, "&lt;");
155 RB.ReplaceText(FilePos, 1, "&gt;");
160 RB.ReplaceText(FilePos, 1, "&amp;");
237 unsigned FilePos = 0
    [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)
  /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())
  /external/sonivox/arm-wt-22k/misc/
eas_host.c 90 EAS_I32 filePos;
263 file->filePos = 0;
287 if (fseek(file->pFile, file->filePos, SEEK_SET) != 0)
320 EAS_ReportX(_EAS_SEVERITY_NOFILTER, "EAS_HWReadFile: Reading %d bytes from position %d\n", n, file->filePos);
335 file->filePos += temp;
353 if (fseek(file->pFile, file->filePos, SEEK_SET) != 0)
360 file->filePos += temp;
417 EAS_ReportX(_EAS_SEVERITY_NOFILTER, "EAS_HWGetByte: Reading from position %d, byte = 0x%02x\n", file->filePos, *(EAS_U8*)p);
420 file->filePos++;
438 EAS_ReportX(_EAS_SEVERITY_NOFILTER, "EAS_HWGetWord: Reading 2 bytes from position %d\n", file->filePos);
    [all...]
  /frameworks/av/libvideoeditor/osal/src/
LVOSA_FileReader_optim.c 75 M4OSA_FilePosition filepos; /**< position in the file where the buffer starts */ member in struct:__anon29121
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/sonivox/arm-wt-22k/jetcreator_lib_src/darwin-x86/
EASLib.c 76 EAS_I32 filePos;
85 EAS_I32 filePos;
842 file->filePos = 0;
866 if (fseek(file->pFile, file->filePos, SEEK_SET) != 0)
899 EAS_ReportX(_EAS_SEVERITY_NOFILTER, "EAS_HWReadFile: Reading %d bytes from position %d\n", n, file->filePos);
914 file->filePos += temp;
932 if (fseek(file->pFile, file->filePos, SEEK_SET) != 0)
938 file->filePos += temp;
995 EAS_ReportX(_EAS_SEVERITY_NOFILTER, "EAS_HWGetByte: Reading from position %d, byte = 0x%02x\n", file->filePos, *(EAS_U8*)p);
998 file->filePos++
    [all...]
EASLibVst.c 74 EAS_I32 filePos;
83 EAS_I32 filePos;
537 file->filePos = 0;
561 if (fseek(file->pFile, file->filePos, SEEK_SET) != 0)
594 EAS_ReportX(_EAS_SEVERITY_NOFILTER, "EAS_HWReadFile: Reading %d bytes from position %d\n", n, file->filePos);
609 file->filePos += temp;
627 if (fseek(file->pFile, file->filePos, SEEK_SET) != 0)
633 file->filePos += temp;
690 EAS_ReportX(_EAS_SEVERITY_NOFILTER, "EAS_HWGetByte: Reading from position %d, byte = 0x%02x\n", file->filePos, *(EAS_U8*)p);
693 file->filePos++
    [all...]

Completed in 797 milliseconds

1 2 3 4