Home
last modified time | relevance | path

Searched refs:SEEK_END (Results 1 - 25 of 387) sorted by relevance

12345678910>>...16

/third_party/ltp/testcases/kernel/syscalls/llseek/
H A Dllseek03.c9 * For each of SEEK_SET, SEEK_CUR and SEEK_END verify that,
48 {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()
69 return "SEEK_END"; in str_whence()
/third_party/ltp/testcases/kernel/syscalls/lseek/
H A Dlseek02.c37 {&bad_fd, SEEK_END, EBADF},
43 {&pfd1, SEEK_END, ESPIPE},
46 {&pfds[0], SEEK_END, ESPIPE},
49 {&pfd2, SEEK_END, ESPIPE},
H A Dlseek01.c33 {-4, SEEK_END, "SEEK_END", 3, 4, "defg"},
34 {0, SEEK_END, "SEEK_END", 7, 0, NULL},
H A 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/
H A 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()
H A Dsubfile.c121 if (whence == AVSEEK_SIZE || whence == SEEK_END) { in subfile_seek()
136 case SEEK_END: in subfile_seek()
/third_party/libsnd/tests/
H A 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()
/third_party/libsnd/programs/
H A 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/porting/linux/user/include/
H A Dfcntl.h78 #undef SEEK_END macro
81 #define SEEK_END 2 macro
H A Dstdio.h42 #undef SEEK_END macro
45 #define SEEK_END 2 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dfcntl.h77 #undef SEEK_END macro
80 #define SEEK_END 2 macro
/third_party/musl/porting/liteos_m/kernel/include/
H A Dfcntl.h77 #undef SEEK_END macro
80 #define SEEK_END 2 macro
H A Dstdio.h39 #undef SEEK_END macro
42 #define SEEK_END 2 macro
/third_party/musl/porting/uniproton/kernel/include/
H A Dfcntl.h77 #undef SEEK_END macro
80 #define SEEK_END 2 macro
H A Dstdio.h39 #undef SEEK_END macro
42 #define SEEK_END 2 macro
/third_party/musl/porting/liteos_a/kernel/include/
H A Dfcntl.h78 #undef SEEK_END macro
81 #define SEEK_END 2 macro
H A Dstdio.h41 #undef SEEK_END macro
44 #define SEEK_END 2 macro
/third_party/musl/porting/liteos_m/user/include/
H A Dfcntl.h77 #undef SEEK_END macro
80 #define SEEK_END 2 macro
/third_party/musl/libc-test/src/functionalext/supplement/stdio/
H A 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/musl/libc-test/src/functionalext/supplement/unistd/
H A 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/include/
H A Dfcntl.h80 #undef SEEK_END macro
83 #define SEEK_END 2 macro
/third_party/skia/third_party/externals/sfntly/cpp/src/test/
H A Dfile_io_test.cc36 fseek(file_handle, 0, SEEK_END); in TestFileInputStream()
97 fseek(file_handle, 0, SEEK_END); in TestFontInputStreamBasic()
/third_party/toybox/toys/posix/
H A 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()
/third_party/libsnd/src/
H A 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/mesa3d/src/util/
H A 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()
474 fseek(foz_db->file[0], 0, SEEK_END); in foz_write_entry()

Completed in 11 milliseconds

12345678910>>...16