Searched refs:fseek (Results 1 - 25 of 77) sorted by relevance

1234

/haiku-fatelf/src/system/libroot/posix/glibc/libio/
H A Dfseek.c32 fseek (fp, offset, whence) function
46 libc_hidden_def (fseek)
/haiku-fatelf/src/system/libroot/posix/stdio/
H A Drewind.c47 (void) fseek(fp, 0L, SEEK_SET);
H A Dfseek.c249 * fseek()'s offset is a long and sizeof(off_t) != sizeof(long) on all arches
252 __indr_reference(fseeko, fseek);
255 fseek(fp, offset, whence) function
/haiku-fatelf/src/tests/system/libroot/posix/
H A Dfseek_test.cpp2 Tests of fseek and fseeko.
8 /* gnulib_test_fseek() is inspired by gnulib's test-fseek.c and test-ftell.c:
48 asprintf(&fname, "%s/tst-fseek.XXXXXX", tmpdir);
77 if (fseek(fp, 0, SEEK_CUR) != 0) {
78 printf("%d: fseek(fp, 0, SEEK_CUR) failed\n", __LINE__);
81 printf("%d: fseek() didn't reset EOF flag\n", __LINE__);
94 printf("%d: fseek(fp, 0, SEEK_CUR) failed\n", __LINE__);
97 printf("%d: fseek() didn't reset EOF flag\n", __LINE__);
102 if (fseek(fp, 0, SEEK_SET) != 0) {
103 printf("%d: fseek(f
[all...]
/haiku-fatelf/src/bin/gdb/include/aout/
H A Dencap.h96 fseek ((f), -sizeof (short), 1), \
102 #define HEADER_SEEK(f) (fseek ((f), HEADER_OFFSET((f)), 1))
/haiku-fatelf/src/bin/findutils/gnulib/lib/
H A Dstdio.h272 /* Provide fseek, fseeko functions that are aware of a preceding
276 # define fseek(fp, offset, whence) fseeko (fp, (off_t)(offset), whence)
288 # undef fseek
290 # define fseek(f,o,w) \
291 (GL_LINK_WARNING ("fseek cannot handle files larger than 4 GB " \
296 # define fseek rpl_fseek
299 # ifndef fseek
300 # define fseek(f,o,w) \ macro
301 (GL_LINK_WARNING ("fseek cannot handle files larger than 4 GB " \
304 fseek (
[all...]
H A Dstdio.in.h243 /* Provide fseek, fseeko functions that are aware of a preceding
247 # define fseek(fp, offset, whence) fseeko (fp, (off_t)(offset), whence) macro
259 # undef fseek macro
261 # define fseek(f,o,w) \ macro
262 (GL_LINK_WARNING ("fseek cannot handle files larger than 4 GB " \
267 # define fseek rpl_fseek macro
270 # ifndef fseek
271 # define fseek(f,o,w) \ macro
272 (GL_LINK_WARNING ("fseek cannot handle files larger than 4 GB " \
275 fseek (
[all...]
H A Dfseeko.c28 # undef fseek macro
29 # define fseeko fseek
/haiku-fatelf/src/bin/coreutils/lib/
H A Dstdio.in.h217 GNU Coding Standards discourage the use of fseek, since it imposes
219 fseek module depends on the fseeko module, so we only have three
228 arbitrary limitations of fseek, so issue a warning under
231 _GL_NO_LARGE_FILES in the compilation units where the use of fseek
234 3. The developer is using the fseeko module, but not fseek. Gnulib
235 guarantees that fseek will still work around platform bugs in that
237 fseek and was trying to avoid it, so issue a warning even when
247 # undef fseek
250 # undef fseek
251 # define fseek rpl_fsee
[all...]
H A Dfseeko.c33 # undef fseek macro
34 # define fseeko fseek
/haiku-fatelf/src/bin/network/wget/lib/
H A Dfseeko.c30 # undef fseek macro
31 # define fseeko fseek
H A Dstdio.in.h318 /* Provide fseek, fseeko functions that are aware of a preceding
322 # define fseek(fp, offset, whence) fseeko (fp, (off_t)(offset), whence)
334 # undef fseek
336 # define fseek(f,o,w) \
337 (GL_LINK_WARNING ("fseek cannot handle files larger than 4 GB " \
342 # define fseek rpl_fseek
345 # ifndef fseek
346 # define fseek(f,o,w) \
347 (GL_LINK_WARNING ("fseek cannot handle files larger than 4 GB " \
350 fseek (
[all...]
/haiku-fatelf/src/tests/kits/midi/synth_file_reader/
H A DSynthFileReader.h55 void Seek(uint32 pos) { fseek(fFile, pos, SEEK_SET); }
H A DSynthFileReader.cpp116 fseek(fFile, bytes, SEEK_CUR);
123 fseek(fFile, 0, SEEK_SET);
133 fseek(fFile, nextChunk, SEEK_SET);
253 fseek(fFile, 0, SEEK_SET);
311 fseek(fFile, pos, SEEK_SET);
382 fseek(fFile, next, SEEK_SET);
394 fseek(fFile, offset, SEEK_CUR);
/haiku-fatelf/src/bin/zip/
H A Dzipfile.c399 if (fseek(f, -3L, SEEK_CUR))
406 && fseek(f, -12L, SEEK_CUR) == 0 && fread(b, 12, 1, f) == 1
467 (s && fseek(f, (long)s, SEEK_CUR)))
496 if (fseek(f, -15L, SEEK_CUR))
509 if (fseek(f, p, SEEK_SET) || fread(b, 16, 1, f) != 1)
532 if (fseek(f, -3L, SEEK_CUR))
614 if (fseek(f, -4096L, SEEK_END) == 0) {
625 fseek(f, -8192L, SEEK_CUR);
640 fseek(f, (long) zipbeg + 4L, SEEK_SET);
655 fseek(
[all...]
H A Dcrypt.c242 if (fseek(source, (long)((4 + LOCHEAD) + (ulg)z->nam + (ulg)z->ext),
256 if ((flag & 8) != 0 && fseek(source, 16L, SEEK_CUR)) {
288 fseek(source, (long)((4 + LOCHEAD) + (ulg)z->nam + (ulg)z->ext),
320 if (fseek(source, offset, SEEK_SET)) {
346 if ((flag & 8) != 0 && fseek(source, 16L, SEEK_CUR)) {
/haiku-fatelf/src/add-ons/translators/hpgs/lib/
H A Dhpgsistream.c41 return fseek(file,pos,SEEK_SET);
46 return fseek(file,-(long)pos,SEEK_END);
/haiku-fatelf/src/libs/print/libprint/
H A DPackBits.cpp176 fseek(input, 0, SEEK_END);
178 fseek(input, 0, SEEK_SET);
/haiku-fatelf/headers/cpp/
H A Diostdio.h77 #define fseek _IO_fseek macro
/haiku-fatelf/src/bin/network/atftpd/
H A Dtftp_io.c358 fseek(fp, block_number * data_buffer_size, SEEK_SET);
387 fseek(fp, *prev_file_pos, SEEK_SET);
440 fseek(fp, (block_number - 1) * data_buffer_size, SEEK_SET);
469 fseek(fp, -1, SEEK_CUR); /* cr,lf to lf */
/haiku-fatelf/src/libs/stdc++/legacy/
H A Dstdiostream.cc103 return fseek(_file, offset, fdir);
/haiku-fatelf/src/bin/sharutils/src/
H A Dunshar.c144 fseek (file, start, 0);
188 fseek (file, position, 0);
225 fseek (file, position, 0);
/haiku-fatelf/src/libs/pdflib/libs/tiff/
H A Dtif_unix.c49 return ((toff_t) fseek((FILE *)fd, (long) off, whence));
67 fseek((FILE *)fd, 0, SEEK_SET);
74 fseek((FILE *)fd, 0, SEEK_END);
/haiku-fatelf/src/bin/unzip/
H A Dcrypt.c241 if (fseek(source, (long)(4 + LOCHEAD + (ulg)z->nam + (ulg)z->ext),
255 if ((flag & 8) != 0 && fseek(source, 16L, SEEK_CUR)) {
280 fseek(source, (long)(4 + LOCHEAD + (ulg)z->nam + (ulg)z->ext),
311 if (fseek(source, offset, SEEK_SET)) {
337 if ((flag & 8) != 0 && fseek(source, 16L, SEEK_CUR)) {
H A Dcryptf.c244 if (fseek(source, (long)(4 + LOCHEAD + (ulg)z->nam + (ulg)z->ext),
258 if ((flag & 8) != 0 && fseek(source, 16L, SEEK_CUR)) {
283 fseek(source, (long)(4 + LOCHEAD + (ulg)z->nam + (ulg)z->ext),
314 if (fseek(source, offset, SEEK_SET)) {
340 if ((flag & 8) != 0 && fseek(source, 16L, SEEK_CUR)) {

Completed in 158 milliseconds

1234