Home
last modified time | relevance | path

Searched refs:off_t (Results 1 – 25 of 227) sorted by relevance

12345678910

/external/bsdiff/
Dbsdiff.c43 static void split(off_t *I,off_t *V,off_t start,off_t len,off_t h) in split()
45 off_t i,j,k,x,tmp,jj,kk; in split()
104 static void qsufsort(off_t *I,off_t *V,u_char *old,off_t oldsize) in qsufsort()
106 off_t buckets[256]; in qsufsort()
107 off_t i,h,len; in qsufsort()
142 static off_t matchlen(u_char *old,off_t oldsize,u_char *new,off_t newsize) in matchlen()
144 off_t i; in matchlen()
152 static off_t search(off_t *I,u_char *old,off_t oldsize, in search()
153 u_char *new,off_t newsize,off_t st,off_t en,off_t *pos) in search()
155 off_t x,y; in search()
[all …]
Dbspatch.c40 static off_t offtin(u_char *buf) in offtin()
42 off_t y; in offtin()
68 off_t oldpos,newpos; in main()
69 off_t ctrl[3]; in main()
70 off_t lenread; in main()
71 off_t i; in main()
/external/dropbear/
Dprogressmeter.c43 static void format_size(char *, int, off_t);
44 static void format_rate(char *, int, off_t);
59 static off_t end_pos; /* ending position of transfer */
60 static off_t cur_pos; /* transfer position as of last refresh */
61 static volatile off_t *counter; /* progress counter */
77 format_rate(char *buf, int size, off_t bytes) in format_rate()
96 format_size(char *buf, int size, off_t bytes) in format_size()
113 off_t transferred; in refresh_progress_meter()
116 off_t bytes_left; in refresh_progress_meter()
178 (off_t)bytes_per_second); in refresh_progress_meter()
[all …]
Dprogressmeter.h26 void start_progress_meter(char *, off_t, off_t *);
/external/openssh/
Dprogressmeter.c53 static void format_size(char *, int, off_t);
54 static void format_rate(char *, int, off_t);
69 static off_t end_pos; /* ending position of transfer */
70 static off_t cur_pos; /* transfer position as of last refresh */
71 static volatile off_t *counter; /* progress counter */
87 format_rate(char *buf, int size, off_t bytes) in format_rate()
106 format_size(char *buf, int size, off_t bytes) in format_size()
123 off_t transferred; in refresh_progress_meter()
126 off_t bytes_left; in refresh_progress_meter()
188 (off_t)bytes_per_second); in refresh_progress_meter()
[all …]
Dprogressmeter.h26 void start_progress_meter(char *, off_t, off_t *);
/external/e2fsprogs/lib/ext2fs/
Dllseek.c95 if ((sizeof(off_t) >= sizeof(ext2_loff_t)) || in ext2fs_llseek()
96 (offset < ((ext2_loff_t) 1 << ((sizeof(off_t)*8) -1)))) in ext2fs_llseek()
97 return lseek(fd, (off_t) offset, origin); in ext2fs_llseek()
127 if ((sizeof(off_t) < sizeof(ext2_loff_t)) && in ext2fs_llseek()
128 (offset >= ((ext2_loff_t) 1 << ((sizeof(off_t)*8) -1)))) { in ext2fs_llseek()
132 return lseek (fd, (off_t) offset, origin); in ext2fs_llseek()
/external/e2fsprogs/lib/blkid/
Dllseek.c95 if ((sizeof(off_t) >= sizeof(blkid_loff_t)) || in blkid_llseek()
96 (offset < ((blkid_loff_t) 1 << ((sizeof(off_t)*8) -1)))) in blkid_llseek()
97 return lseek(fd, (off_t) offset, whence); in blkid_llseek()
131 if ((sizeof(off_t) < sizeof(blkid_loff_t)) && in blkid_llseek()
132 (offset >= ((blkid_loff_t) 1 << ((sizeof(off_t)*8) - 1)))) { in blkid_llseek()
136 return lseek(fd, (off_t) offset, origin); in blkid_llseek()
/external/skia/legacy/src/images/
DSkFDStream.cpp25 off_t value = ::lseek(fFD, 0, SEEK_SET); in rewind()
39 off_t curr = ::lseek(fFD, 0, SEEK_CUR); in read()
46 off_t size = ::lseek(fFD, 0, SEEK_END); in read()
62 off_t oldCurr = ::lseek(fFD, 0, SEEK_CUR); in read()
69 off_t newCurr = ::lseek(fFD, size, SEEK_CUR); in read()
/external/skia/src/images/
DSkFDStream.cpp25 off_t value = ::lseek(fFD, 0, SEEK_SET); in rewind()
39 off_t curr = ::lseek(fFD, 0, SEEK_CUR); in read()
46 off_t size = ::lseek(fFD, 0, SEEK_END); in read()
62 off_t oldCurr = ::lseek(fFD, 0, SEEK_CUR); in read()
69 off_t newCurr = ::lseek(fFD, size, SEEK_CUR); in read()
/external/openssh/openbsd-compat/
Dsha2.h88 char *SHA256_FileChunk(const char *, char *, off_t, off_t)
106 char *SHA384_FileChunk(const char *, char *, off_t, off_t)
124 char *SHA512_FileChunk(const char *, char *, off_t, off_t)
Dxmmap.c55 -1, (off_t)0); in xmmap()
58 open("/dev/zero", O_RDWR), (off_t)0); in xmmap()
77 tmpfd, (off_t)0); in xmmap()
/external/yaffs2/yaffs2/direct/
Dyaffsfs.h147 off_t d_off; /* offset to this dirent */
167 off_t st_size; /* total size, in bytes */
179 off_t yaffs_lseek(int fd, off_t offset, int whence) ;
180 int yaffs_truncate(int fd, off_t newSize);
/external/zlib/src/examples/
Dzran.c63 off_t out; /* corresponding offset in uncompressed data */
64 off_t in; /* offset in input file of first full byte */
88 off_t in, off_t out, unsigned left, unsigned char *window) in addpoint()
139 local int build_index(FILE *in, off_t span, struct access **built) in build_index()
142 off_t totin, totout; /* our own total counters to avoid 4GB limit */ in build_index()
143 off_t last; /* totout value of last access point */ in build_index()
244 local int extract(FILE *in, struct access *index, off_t offset, in extract()
352 off_t offset; in main()
/external/skia/src/pdf/
DSkPDFCatalog.h45 size_t setFileOffset(SkPDFObject* obj, off_t offset);
85 off_t setSubstituteResourcesOffsets(off_t fileOffset, bool firstPage);
100 off_t fFileOffset;
/external/bison/m4/
Dlargefile.m416 /* Check that off_t can represent 2**63 - 1 correctly.
20 @%:@define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
109 # overrides ensure that off_t or 'struct size.st_size' are 64-bit, respectively.
116 dnl mingw64 defines off_t to a 64-bit type already, if
118 AC_CACHE_CHECK([for 64-bit off_t], [gl_cv_type_off_t_64],
122 int verify_off_t_size[sizeof (off_t) >= 8 ? 1 : -1];
138 dnl A 64-bit off_t is
/external/flac/libFLAC/
Dmetadata_iterators.c128 … *iterator, FILE **tempfile, char **tempfilename, int fixup_is_last_code, off_t fixup_is_last_flag…
130 static FLAC__bool copy_n_bytes_from_file_(FILE *file, FILE *tempfile, off_t bytes, FLAC__Metadata_S…
131 …ead_cb, FLAC__IOHandle temp_handle, FLAC__IOCallback_Write temp_write_cb, off_t bytes, FLAC__Metad…
352 off_t offset[SIMPLE_ITERATOR_MAX_PUSH_DEPTH];
353 off_t first_offset; /* this is the offset to the STREAMINFO block */
549 off_t this_offset; in FLAC__metadata_simple_iterator_prev()
566 while(ftello(iterator->file) + (off_t)iterator->length < iterator->offset[iterator->depth]) { in FLAC__metadata_simple_iterator_prev()
591 FLAC_API off_t FLAC__metadata_simple_iterator_get_block_offset(const FLAC__Metadata_SimpleIterator … in FLAC__metadata_simple_iterator_get_block_offset()
675 FLAC__ASSERT_DECLARATION(off_t debug_target_offset = iterator->offset[iterator->depth];) in FLAC__metadata_simple_iterator_set_block()
702 …FLAC__ASSERT(!ret || ftello(iterator->file) == debug_target_offset + (off_t)FLAC__STREAM_METADATA_… in FLAC__metadata_simple_iterator_set_block()
[all …]
/external/elfutils/libelf/
Dlibelf.h102 off_t d_off; /* Offset into section. */
170 off_t ar_size; /* File size. */
215 extern off_t elf_update (Elf *__elf, Elf_Cmd __cmd);
229 extern off_t elf_getbase (Elf *__elf);
339 off_t __offset, size_t __size,
357 extern off_t elf_getaroff (Elf *__elf);
Delf_update.c63 static off_t
64 write_file (Elf *elf, off_t size, int change_bo, size_t shnum) in write_file()
151 off_t
157 off_t size;
Delf_getbase.c61 off_t
65 return elf == NULL ? (off_t) -1 : elf->start_offset;
/external/elfutils/src/
Dranlib.c146 copy_content (Elf *elf, int newfd, off_t off, size_t n) in copy_content()
203 off_t index_off = -1; in handle_file()
205 off_t cur_off = SARMAG; in handle_file()
222 cur_off += (((arhdr->ar_size + 1) & ~((off_t) 1)) in handle_file()
269 off_t rest_off; in handle_file()
/external/bison/lib/
Dunistd.in.h576 _GL_FUNCDECL_RPL (ftruncate, int, (int fd, off_t length));
577 _GL_CXXALIAS_RPL (ftruncate, int, (int fd, off_t length));
580 _GL_FUNCDECL_SYS (ftruncate, int, (int fd, off_t length));
582 _GL_CXXALIAS_SYS (ftruncate, int, (int fd, off_t length));
1086 _GL_FUNCDECL_RPL (lseek, off_t, (int fd, off_t offset, int whence));
1087 _GL_CXXALIAS_RPL (lseek, off_t, (int fd, off_t offset, int whence));
1089 _GL_CXXALIAS_SYS (lseek, off_t, (int fd, off_t offset, int whence));
1160 (int fd, void *buf, size_t bufsize, off_t offset)
1163 (int fd, void *buf, size_t bufsize, off_t offset));
1167 (int fd, void *buf, size_t bufsize, off_t offset)
[all …]
/external/linux-tools-perf/util/ui/
Dbrowser.h23 void (*seek)(struct ui_browser *self, off_t offset, int whence);
45 void ui_browser__rb_tree_seek(struct ui_browser *self, off_t offset, int whence);
48 void ui_browser__list_head_seek(struct ui_browser *self, off_t offset, int whence);
/external/bison/linux-lib/
Dunistd.h888 _GL_FUNCDECL_RPL (ftruncate, int, (int fd, off_t length));
889 _GL_CXXALIAS_RPL (ftruncate, int, (int fd, off_t length));
892 _GL_FUNCDECL_SYS (ftruncate, int, (int fd, off_t length));
894 _GL_CXXALIAS_SYS (ftruncate, int, (int fd, off_t length));
1398 _GL_FUNCDECL_RPL (lseek, off_t, (int fd, off_t offset, int whence));
1399 _GL_CXXALIAS_RPL (lseek, off_t, (int fd, off_t offset, int whence));
1401 _GL_CXXALIAS_SYS (lseek, off_t, (int fd, off_t offset, int whence));
1472 (int fd, void *buf, size_t bufsize, off_t offset)
1475 (int fd, void *buf, size_t bufsize, off_t offset));
1479 (int fd, void *buf, size_t bufsize, off_t offset)
[all …]
/external/bison/darwin-lib/
Dunistd.h888 _GL_FUNCDECL_RPL (ftruncate, int, (int fd, off_t length));
889 _GL_CXXALIAS_RPL (ftruncate, int, (int fd, off_t length));
892 _GL_FUNCDECL_SYS (ftruncate, int, (int fd, off_t length));
894 _GL_CXXALIAS_SYS (ftruncate, int, (int fd, off_t length));
1398 _GL_FUNCDECL_RPL (lseek, off_t, (int fd, off_t offset, int whence));
1399 _GL_CXXALIAS_RPL (lseek, off_t, (int fd, off_t offset, int whence));
1401 _GL_CXXALIAS_SYS (lseek, off_t, (int fd, off_t offset, int whence));
1472 (int fd, void *buf, size_t bufsize, off_t offset)
1475 (int fd, void *buf, size_t bufsize, off_t offset));
1479 (int fd, void *buf, size_t bufsize, off_t offset)
[all …]

12345678910