/third_party/ltp/testcases/kernel/syscalls/llseek/ |
H A D | llseek03.c | 9 * 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 D | lseek02.c | 37 {&bad_fd, SEEK_END, EBADF}, 43 {&pfd1, SEEK_END, ESPIPE}, 46 {&pfds[0], SEEK_END, ESPIPE}, 49 {&pfd2, SEEK_END, ESPIPE},
|
H A D | lseek01.c | 33 {-4, SEEK_END, "SEEK_END", 3, 4, "defg"}, 34 {0, SEEK_END, "SEEK_END", 7, 0, NULL},
|
H A D | lseek11.c | 178 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 D | cache.c | 109 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 D | subfile.c | 121 if (whence == AVSEEK_SIZE || whence == SEEK_END) { in subfile_seek() 136 case SEEK_END: in subfile_seek()
|
/third_party/libsnd/tests/ |
H A D | win32_test.c | 133 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 D | sndfile-concat.c | 143 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 D | fcntl.h | 78 #undef SEEK_END macro 81 #define SEEK_END 2 macro
|
H A D | stdio.h | 42 #undef SEEK_END macro 45 #define SEEK_END 2 macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | fcntl.h | 77 #undef SEEK_END macro 80 #define SEEK_END 2 macro
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | fcntl.h | 77 #undef SEEK_END macro 80 #define SEEK_END 2 macro
|
H A D | stdio.h | 39 #undef SEEK_END macro 42 #define SEEK_END 2 macro
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | fcntl.h | 77 #undef SEEK_END macro 80 #define SEEK_END 2 macro
|
H A D | stdio.h | 39 #undef SEEK_END macro 42 #define SEEK_END 2 macro
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | fcntl.h | 78 #undef SEEK_END macro 81 #define SEEK_END 2 macro
|
H A D | stdio.h | 41 #undef SEEK_END macro 44 #define SEEK_END 2 macro
|
/third_party/musl/porting/liteos_m/user/include/ |
H A D | fcntl.h | 77 #undef SEEK_END macro 80 #define SEEK_END 2 macro
|
/third_party/musl/libc-test/src/functionalext/supplement/stdio/ |
H A D | fseeko.c | 136 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 D | lseek.c | 121 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 D | fcntl.h | 80 #undef SEEK_END macro 83 #define SEEK_END 2 macro
|
/third_party/skia/third_party/externals/sfntly/cpp/src/test/ |
H A D | file_io_test.cc | 36 fseek(file_handle, 0, SEEK_END); in TestFileInputStream() 97 fseek(file_handle, 0, SEEK_END); in TestFontInputStreamBasic()
|
/third_party/toybox/toys/posix/ |
H A D | tail.c | 72 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 D | test_file_io.c | 192 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 D | fossilize_db.c | 114 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()
|