Searched defs:whence (Results 1 - 25 of 32) sorted by relevance

12

/external/strace/
H A Dlseek.c16 int whence; local
21 whence = tcp->u_arg[2];
22 if (whence == SEEK_SET)
26 printxval(whence_codes, whence, "SEEK_???");
34 int whence; local
39 whence = tcp->u_arg[2];
40 if (whence == SEEK_SET)
44 printxval(whence_codes, whence, "SEEK_???");
/external/e2fsprogs/lib/blkid/
H A Dllseek.c90 blkid_loff_t blkid_llseek(int fd, blkid_loff_t offset, int whence) argument
97 return lseek(fd, (off_t) offset, whence);
104 result = my_llseek(fd, offset, whence);
/external/marisa-trie/lib/marisa/
H A Dmapper.cc64 void Mapper::open(const char *filename, long offset, int whence) { argument
88 temp.seek(offset, whence);
92 void Mapper::open(const char *filename, long offset, int whence) { argument
112 temp.seek(offset, whence);
135 void Mapper::seek(long offset, int whence) { argument
136 switch (whence) {
H A Dreader.cc32 void Reader::open(const char *filename, long offset, int whence) { argument
44 if (::fseek(file, offset, whence) != 0) {
H A Dwriter.cc33 long offset, int whence) {
56 if (::fseek(file, offset, whence) != 0) {
32 open(const char *filename, bool trunc_flag, long offset, int whence) argument
H A Dintvector.cc44 long offset, int whence) {
47 temp_mapper.open(filename, offset, whence);
67 long offset, int whence) {
69 reader.open(filename, offset, whence);
98 long offset, int whence) const {
100 writer.open(filename, trunc_flag, offset, whence);
43 mmap(Mapper *mapper, const char *filename, long offset, int whence) argument
66 load(const char *filename, long offset, int whence) argument
H A Dtrie.cc13 long offset, int whence) {
16 temp_mapper.open(filename, offset, whence);
46 long offset, int whence) {
48 reader.open(filename, offset, whence);
87 long offset, int whence) const {
89 writer.open(filename, trunc_flag, offset, whence);
12 mmap(Mapper *mapper, const char *filename, long offset, int whence) argument
45 load(const char *filename, long offset, int whence) argument
H A Dbitvector.cc257 long offset, int whence) {
260 temp_mapper.open(filename, offset, whence);
281 long offset, int whence) {
283 reader.open(filename, offset, whence);
313 long offset, int whence) const {
315 writer.open(filename, trunc_flag, offset, whence);
256 mmap(Mapper *mapper, const char *filename, long offset, int whence) argument
280 load(const char *filename, long offset, int whence) argument
H A Dtail.cc31 long offset, int whence) {
36 temp_mapper.open(filename, offset, whence);
52 void Tail::load(const char *filename, long offset, int whence) { argument
54 reader.open(filename, offset, whence);
80 long offset, int whence) const {
82 writer.open(filename, trunc_flag, offset, whence);
30 mmap(Mapper *mapper, const char *filename, long offset, int whence) argument
H A Dtrie-c.cc92 long offset, int whence) {
96 h->trie.mmap(&h->mapper, filename, offset, whence);
110 long offset, int whence) {
114 h->trie.load(filename, offset, whence);
138 int trunc_flag, long offset, int whence) {
142 h->trie.save(filename, trunc_flag != 0, offset, whence);
91 marisa_mmap(marisa_trie *h, const char *filename, long offset, int whence) argument
109 marisa_load(marisa_trie *h, const char *filename, long offset, int whence) argument
137 marisa_save(const marisa_trie *h, const char *filename, int trunc_flag, long offset, int whence) argument
H A Dvector-inline.h22 long offset, int whence) {
25 temp_mapper.open(filename, offset, whence);
49 long offset, int whence) {
51 reader.open(filename, offset, whence);
85 long offset, int whence) const {
87 writer.open(filename, trunc_flag, offset, whence);
21 mmap(Mapper *mapper, const char *filename, long offset, int whence) argument
48 load(const char *filename, long offset, int whence) argument
/external/marisa-trie/v0_1_5/lib/marisa_alpha/
H A Dmapper.cc66 void Mapper::open(const char *filename, long offset, int whence) { argument
91 temp.seek(offset, whence);
95 void Mapper::open(const char *filename, long offset, int whence) { argument
116 temp.seek(offset, whence);
139 void Mapper::seek(long offset, int whence) { argument
140 switch (whence) {
H A Dreader.cc32 void Reader::open(const char *filename, long offset, int whence) { argument
44 if (::fseek(file, offset, whence) != 0) {
H A Dwriter.cc33 long offset, int whence) {
56 if (::fseek(file, offset, whence) != 0) {
32 open(const char *filename, bool trunc_flag, long offset, int whence) argument
H A Dintvector.cc44 long offset, int whence) {
47 temp_mapper.open(filename, offset, whence);
67 long offset, int whence) {
69 reader.open(filename, offset, whence);
98 long offset, int whence) const {
100 writer.open(filename, trunc_flag, offset, whence);
43 mmap(Mapper *mapper, const char *filename, long offset, int whence) argument
66 load(const char *filename, long offset, int whence) argument
H A Dtrie.cc13 long offset, int whence) {
16 temp_mapper.open(filename, offset, whence);
46 long offset, int whence) {
48 reader.open(filename, offset, whence);
87 long offset, int whence) const {
89 writer.open(filename, trunc_flag, offset, whence);
12 mmap(Mapper *mapper, const char *filename, long offset, int whence) argument
45 load(const char *filename, long offset, int whence) argument
H A Dbitvector.cc257 long offset, int whence) {
260 temp_mapper.open(filename, offset, whence);
281 long offset, int whence) {
283 reader.open(filename, offset, whence);
313 long offset, int whence) const {
315 writer.open(filename, trunc_flag, offset, whence);
256 mmap(Mapper *mapper, const char *filename, long offset, int whence) argument
280 load(const char *filename, long offset, int whence) argument
H A Dtail.cc31 long offset, int whence) {
36 temp_mapper.open(filename, offset, whence);
52 void Tail::load(const char *filename, long offset, int whence) { argument
54 reader.open(filename, offset, whence);
80 long offset, int whence) const {
82 writer.open(filename, trunc_flag, offset, whence);
30 mmap(Mapper *mapper, const char *filename, long offset, int whence) argument
H A Dtrie-c.cc94 const char *filename, long offset, int whence) try {
98 h->trie.mmap(&h->mapper, filename, offset, whence);
117 const char *filename, long offset, int whence) try {
121 h->trie.load(filename, offset, whence);
151 const char *filename, int trunc_flag, long offset, int whence) try {
155 h->trie.save(filename, trunc_flag != 0, offset, whence);
93 marisa_alpha_mmap(marisa_alpha_trie *h, const char *filename, long offset, int whence) argument
116 marisa_alpha_load(marisa_alpha_trie *h, const char *filename, long offset, int whence) argument
150 marisa_alpha_save(const marisa_alpha_trie *h, const char *filename, int trunc_flag, long offset, int whence) argument
H A Dvector-inline.h22 long offset, int whence) {
25 temp_mapper.open(filename, offset, whence);
49 long offset, int whence) {
51 reader.open(filename, offset, whence);
85 long offset, int whence) const {
87 writer.open(filename, trunc_flag, offset, whence);
21 mmap(Mapper *mapper, const char *filename, long offset, int whence) argument
48 load(const char *filename, long offset, int whence) argument
/external/clang/test/Analysis/
H A Dstream.c46 fseek(p, 1, 3); // expected-warning {{The whence argument to fseek() should be SEEK_SET, SEEK_END, or SEEK_CUR}}
81 // PR 8081 - null pointer crash when 'whence' is not an integer constant
82 void pr8081(FILE *stream, long offset, int whence) { argument
83 fseek(stream, offset, whence);
/external/e2fsprogs/lib/ext2fs/
H A Dfileio.c338 int whence, __u64 *ret_pos)
342 if (whence == EXT2_SEEK_SET)
344 else if (whence == EXT2_SEEK_CUR)
346 else if (whence == EXT2_SEEK_END)
358 int whence, ext2_off_t *ret_pos)
364 retval = ext2fs_file_llseek(file, loffset, whence, &ret_loffset);
337 ext2fs_file_llseek(ext2_file_t file, __u64 offset, int whence, __u64 *ret_pos) argument
357 ext2fs_file_lseek(ext2_file_t file, ext2_off_t offset, int whence, ext2_off_t *ret_pos) argument
/external/libvorbis/include/vorbis/
H A Dvorbisfile.h41 int (*seek_func) (void *datasource, ogg_int64_t offset, int whence);
53 static int _ov_header_fseek_wrap(FILE *f,ogg_int64_t off,int whence){ argument
57 return fseeko64(f,off,whence);
59 return _fseeki64(f,off,whence);
61 return fseek(f,off,whence);
/external/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/
H A Dgzlib.c365 int whence)
383 if (whence != SEEK_SET && whence != SEEK_CUR)
387 if (whence == SEEK_SET)
442 int whence)
446 ret = gzseek64(file, (z_off64_t)offset, whence);
362 gzseek64( gzFile file, z_off64_t offset, int whence) argument
439 gzseek( gzFile file, z_off_t offset, int whence) argument
/external/linux-tools-perf/src/tools/perf/ui/
H A Dbrowser.c75 void ui_browser__list_head_seek(struct ui_browser *browser, off_t offset, int whence) argument
83 switch (whence) {
110 void ui_browser__rb_tree_seek(struct ui_browser *browser, off_t offset, int whence) argument
115 switch (whence) {
562 void ui_browser__argv_seek(struct ui_browser *browser, off_t offset, int whence) argument
564 switch (whence) {

Completed in 527 milliseconds

12