Home
last modified time | relevance | path

Searched refs:SEEK_END (Results 1 – 25 of 445) sorted by relevance

12345678910>>...18

/third_party/ltp/testcases/kernel/syscalls/llseek/
Dllseek03.c48 {SEEK_END, -1, 7, 1, "h"},
53 {SEEK_END, 0, 8, 0, NULL},
58 {SEEK_END, 4, 12, 0, NULL},
68 case SEEK_END: in str_whence()
/third_party/ltp/testcases/kernel/syscalls/lseek/
Dlseek02.c37 {&bad_fd, SEEK_END, EBADF},
43 {&pfd1, SEEK_END, ESPIPE},
46 {&pfds[0], SEEK_END, ESPIPE},
49 {&pfd2, SEEK_END, ESPIPE},
Dlseek01.c33 {-4, SEEK_END, "SEEK_END", 3, 4, "defg"},
34 {0, SEEK_END, "SEEK_END", 7, 0, NULL},
Dlseek11.c178 SAFE_LSEEK(fd, -128, SEEK_END); in setup()
199 if (offset != SAFE_LSEEK(fd, 0, SEEK_END)) in test_lseek()
/third_party/ffmpeg/libavformat/
Dcache.c109 pos = lseek(c->fd, 0, SEEK_END); in add_entry()
235 pos= ffurl_seek(c->inner, -1, SEEK_END); in cache_seek()
248 } else if (whence == SEEK_END && c->is_true_eof) { in cache_seek()
263 whence == SEEK_END && pos <= 0) && ret < 0) { in cache_seek()
267 while (c->logical_pos < pos || whence == SEEK_END) { in cache_seek()
272 if (ret == AVERROR_EOF && whence == SEEK_END) { in cache_seek()
Dsubfile.c122 if (whence == AVSEEK_SIZE || whence == SEEK_END) { in subfile_seek()
137 case SEEK_END: in subfile_seek()
/third_party/musl/libc-test/src/functionalext/supplement/stdio/
Dfread.c88 fseek(fptr, 0, SEEK_END); in fread_0300()
110 fseek(fptr, 0, SEEK_END); in fread_0400()
Dfseeko.c136 int result = fseeko(fp, -1L, SEEK_END); in fseeko_0400()
192 int result = fseeko(fp, 10L, SEEK_END); in fseeko_0600()
/third_party/libsnd/tests/
Dwin32_test.c133 LSEEK (fd, 0, SEEK_END) ; in show_fstat_error()
194 LSEEK (fd, 0, SEEK_END) ; in show_lseek_error()
209 retval = LSEEK (fd, 0, SEEK_END) ; in show_lseek_error()
Dogg_test.c98 test_seek_or_die (file, 0, SEEK_END, sfinfo.frames, sfinfo.channels, __LINE__) ; in ogg_short_test()
316 test_seek_or_die (file, pos, SEEK_END, 500, sfinfo.channels, __LINE__) ; in ogg_stereo_seek_test()
321 test_seek_or_die (file, pos, SEEK_END, 10, sfinfo.channels, __LINE__) ; in ogg_stereo_seek_test()
/third_party/libsnd/programs/
Dsndfile-concat.c143 sf_seek (wfile, 0, SEEK_END) ; in concat_data_fp()
161 sf_seek (wfile, 0, SEEK_END) ; in concat_data_int()
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
Dlseek.c121 off_t data = lseek(fd, -1L, SEEK_END); in lseek_0400()
155 off_t data = lseek(fd, 10L, SEEK_END); in lseek_0600()
/third_party/musl/porting/liteos_a/kernel/include/
Dfcntl.h78 #undef SEEK_END
81 #define SEEK_END 2 macro
/third_party/musl/porting/uniproton/kernel/include/
Dfcntl.h77 #undef SEEK_END
80 #define SEEK_END 2 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
Dfcntl.h77 #undef SEEK_END
80 #define SEEK_END 2 macro
/third_party/musl/porting/linux/user/include/
Dfcntl.h78 #undef SEEK_END
81 #define SEEK_END 2 macro
/third_party/musl/porting/liteos_m/kernel/include/
Dfcntl.h77 #undef SEEK_END
80 #define SEEK_END 2 macro
/third_party/musl/porting/liteos_m/user/include/
Dfcntl.h77 #undef SEEK_END
80 #define SEEK_END 2 macro
/third_party/musl/ndk_musl_include/
Dfcntl.h77 #undef SEEK_END
80 #define SEEK_END 2 macro
/third_party/musl/include/
Dfcntl.h77 #undef SEEK_END
80 #define SEEK_END 2 macro
/third_party/mesa3d/src/util/
Dfossilize_db.c114 fseek(db_idx, 0, SEEK_END); in update_foz_index()
203 fseek(db_idx, 0, SEEK_END); in load_foz_dbs()
216 fseek(db_idx, 0, SEEK_END); in load_foz_dbs()
470 fseek(foz_db->file[0], 0, SEEK_END); in foz_write_entry()
/third_party/skia/third_party/externals/sfntly/cpp/src/test/
Dfile_io_test.cc36 fseek(file_handle, 0, SEEK_END); in TestFileInputStream()
97 fseek(file_handle, 0, SEEK_END); in TestFontInputStreamBasic()
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/test/
Dfile_io_test.cc36 fseek(file_handle, 0, SEEK_END); in TestFileInputStream()
97 fseek(file_handle, 0, SEEK_END); in TestFontInputStreamBasic()
/third_party/libsnd/src/
Dtest_file_io.c192 test_seek_or_die (psf, 0, SEEK_END, 2 * SIGNED_SIZEOF (data_out), __LINE__) ; in file_read_write_test()
324 test_seek_or_die (psf, 0, SEEK_END, SIGNED_SIZEOF (buffer) / 4, __LINE__) ; in file_truncate_test()
346 real_end = psf_fseek (psf, 0, SEEK_END) ; in file_seek_with_offset_test()
359 test_seek_or_die (psf, 0, SEEK_END, real_end - fileoffset, __LINE__) ; in file_seek_with_offset_test()
/third_party/toybox/toys/posix/
Dtail.c72 off_t pos = lseek(fd, 0, SEEK_END); in try_lseek()
79 if (lseek(fd, bytes, SEEK_END)<0) lseek(fd, 0, SEEK_SET); in try_lseek()

12345678910>>...18