/third_party/musl/libc-test/src/functional/ |
D | memstream.c | 43 TEST_E(fseek(f,1,SEEK_CUR)>=0); in main() 47 TEST(i, fseek(f,-3,SEEK_CUR), -1, "invalid seek allowed"); in main() 50 TEST_E(fseek(f,-2,SEEK_CUR)>=0); in main() 60 TEST_E(fseek(f, 0, SEEK_SET)>=0); in main() 66 TEST(i, fseek(f, 6, SEEK_CUR)<0, 1, ""); in main() 74 TEST_E(fseek(f, 0, SEEK_SET)>=0); in main() 81 TEST_E(fseek(f, 6, SEEK_SET)>=0); in main() 85 TEST_E(fseek(f, 0, SEEK_SET)>=0); in main() 87 TEST_E(fseek(f, 0, SEEK_CUR)>=0); in main()
|
D | ungetc.c | 27 TEST(i, fseek(f, 0, SEEK_SET), 0, "%d != %d (%m)"); in main() 39 TEST(i, fseek(f, 0, SEEK_SET), 0, "%d != %d"); in main() 45 TEST(i, fseek(f, 0, SEEK_SET), 0, "%d != %d"); in main()
|
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/port/ |
D | file_input_stream.cc | 125 fseek(file_, position_, SEEK_SET); in Skip() 129 fseek(file_, (size_t)skip_count, SEEK_CUR); in Skip() 148 fseek(file_, position_ - unread_count, SEEK_SET); in Unread() 151 fseek(file_, position_ - unread_count, SEEK_SET); in Unread() 169 fseek(file_, 0, SEEK_END); in Open() 171 fseek(file_, 0, SEEK_SET); in Open()
|
/third_party/musl/libc-test/src/functionalext/supplement/stdio/ |
D | fgets.c | 33 fseek(fptr, 0L, SEEK_SET); in fgets_0100() 60 fseek(fptr, 0L, SEEK_SET); in fgets_0200() 86 fseek(fptr, 0L, SEEK_SET); in fgets_0300() 112 fseek(fptr, 0L, SEEK_SET); in fgets_0400() 138 fseek(fptr, 0L, SEEK_SET); in fgets_0500() 164 fseek(fptr, 0L, SEEK_END); in fgets_0600()
|
D | fread.c | 40 fseek(fptr, 0, SEEK_SET); in fread_0100() 65 fseek(fptr, 0, SEEK_SET); in fread_0200() 90 fseek(fptr, 0, SEEK_END); in fread_0300() 112 fseek(fptr, 0, SEEK_END); in fread_0400()
|
D | ftell.c | 41 int fret = fseek(fptr, 0L, SEEK_SET); in ftell_0100() 72 int fret = fseek(fptr, 8L, SEEK_SET); in ftell_0200() 103 int fret = fseek(fptr, 0L, SEEK_END); in ftell_0300()
|
D | _flushlbf.c | 40 fseek(fp, 0, SEEK_SET); in flushlbf_0100() 46 fseek(fp, 0, SEEK_SET); in flushlbf_0100()
|
D | fgetpos.c | 39 fseek(fp, 0, SEEK_END); in fgetpos_0100() 63 fseek(fptr, 0, SEEK_SET); in fgetpos_0200()
|
D | funlockfile.c | 35 if (fseek(filep, 0L, SEEK_SET) == -1) { in child_func() 44 if (fseek(filep, 0L, SEEK_SET) == -1) { in child_func()
|
/third_party/gstreamer/gstplugins_good/gst/isomp4/ |
D | atomsrecovery.c | 281 if (fseek (moovrf->file, 2, SEEK_SET) != 0) in moov_recov_file_parse_prefix() 289 if (fseek (moovrf->file, size - 8, SEEK_CUR) != 0) in moov_recov_file_parse_prefix() 304 return fseek (moovrf->file, size - 8, SEEK_CUR) == 0; in moov_recov_file_parse_prefix() 323 return fseek (moovrf->file, size - 8, SEEK_CUR) == 0; in moov_recov_file_parse_mvhd() 360 if (fseek (file, size - 8, SEEK_CUR) != 0) { in mdat_recov_file_find_mdat() 376 if (fseek (file, -8, SEEK_CUR) != 0) in mdat_recov_file_find_mdat() 405 if (fseek (file, 0, SEEK_END) != 0) in mdat_recov_file_create() 412 if (fseek (file, 0, SEEK_SET) != 0) in mdat_recov_file_create() 490 return (fseek (moovrf->file, size - 8, SEEK_CUR) == 0); in skip_atom() 509 if (fseek (moovrf->file, 12, SEEK_CUR) != 0) in moov_recov_parse_tkhd() [all …]
|
/third_party/musl/libc-test/src/functionalext/supplement/mman/ |
D | mmap.c | 45 fseek(fptr, 0L, SEEK_SET); in mmap_0100() 83 fseek(fptr, 0L, SEEK_SET); in mmap_0200() 137 fseek(fptr, 0L, SEEK_SET); in mmap_0400() 174 fseek(fptr, 0L, SEEK_SET); in mmap_0500() 212 fseek(fptr, 0L, SEEK_SET); in mmap_0600() 247 fseek(fptr, 0L, SEEK_SET); in mmap_0700() 281 fseek(fptr, 0L, SEEK_SET); in mmap_0800() 312 fseek(fptr, 0L, SEEK_SET); in mmap_0900() 346 fseek(fptr, 0L, SEEK_SET); in mmap_1000() 382 fseek(fptr, 0L, SEEK_SET); in mmap_1100()
|
/third_party/ffmpeg/tests/ |
D | tiny_psnr.c | 146 noseek = fseek(f[0], 0, SEEK_SET) || in run_psnr() 147 fseek(f[1], 0, SEEK_SET); in run_psnr() 160 fseek(f[i], s, SEEK_CUR); in run_psnr() 165 fseek(f[i], -12, SEEK_CUR); in run_psnr() 169 fseek(f[shift < 0], abs(shift), SEEK_CUR); in run_psnr() 171 fseek(f[0], skip_bytes, SEEK_CUR); in run_psnr() 172 fseek(f[1], skip_bytes, SEEK_CUR); in run_psnr()
|
D | audiomatch.c | 31 fseek(f, 0, SEEK_END); in fsize() 33 fseek(f, pos, SEEK_SET); in fsize() 70 fseek(f[i], s, SEEK_CUR); in main() 75 fseek(f[i], -12, SEEK_CUR); in main()
|
/third_party/mesa3d/src/amd/common/ |
D | ac_rgp_elf_object_pack.c | 252 fseek(output, gap_between_code, SEEK_CUR); in ac_rgp_file_write_elf_text() 264 fseek(output, align, SEEK_CUR); in ac_rgp_file_write_elf_text() 390 fseek(output, sizeof(Elf64_Ehdr), SEEK_CUR); in ac_rgp_file_write_elf_object() 422 fseek(output, sizeof(struct ac_rgp_elf_note_msgpack_hdr), SEEK_CUR); in ac_rgp_file_write_elf_object() 429 fseek(output, note_sec_start, SEEK_SET); in ac_rgp_file_write_elf_object() 431 fseek(output, 0, SEEK_END); in ac_rgp_file_write_elf_object() 475 fseek(output, file_elf_start, SEEK_SET); in ac_rgp_file_write_elf_object() 477 fseek(output, 0, SEEK_END); in ac_rgp_file_write_elf_object()
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
D | dng_file_stream.cpp | 74 if (fseek (fFile, 0, SEEK_END) != 0) in DoGetLength() 92 if (fseek (fFile, (long) offset, SEEK_SET) != 0) in DoRead() 117 if (fseek (fFile, (uint32) offset, SEEK_SET) != 0) in DoWrite()
|
/third_party/vk-gl-cts/framework/common/ |
D | tcuResource.cpp | 70 fseek(m_file, 0, SEEK_END); in getSize() 72 fseek(m_file, curPos, SEEK_SET); in getSize() 83 fseek(m_file, (size_t)position, SEEK_SET); in setPosition()
|
/third_party/skia/third_party/externals/sfntly/cpp/src/test/ |
D | file_io_test.cc | 36 fseek(file_handle, 0, SEEK_END); in TestFileInputStream() 38 fseek(file_handle, 0, SEEK_SET); in TestFileInputStream() 97 fseek(file_handle, 0, SEEK_END); in TestFontInputStreamBasic() 99 fseek(file_handle, 0, SEEK_SET); in TestFontInputStreamBasic()
|
/third_party/skia/third_party/externals/icu/source/samples/layout/ |
D | UnicodeReader.cpp | 50 fseek(f, 0, SEEK_END); in readFile() 53 fseek(f, 0, SEEK_SET); in readFile() 86 fseek(f, signatureLength, SEEK_SET); in readFile()
|
/third_party/icu/icu4c/source/samples/layout/ |
D | UnicodeReader.cpp | 50 fseek(f, 0, SEEK_END); in readFile() 53 fseek(f, 0, SEEK_SET); in readFile() 86 fseek(f, signatureLength, SEEK_SET); in readFile()
|
/third_party/mesa3d/src/util/ |
D | fossilize_db.c | 114 fseek(db_idx, 0, SEEK_END); in update_foz_index() 121 fseek(db_idx, offset, SEEK_SET); in update_foz_index() 177 fseek(db_idx, parsed_offset, SEEK_SET); 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() 389 if (fseek(foz_db->file[file_idx], entry->offset, SEEK_SET) < 0) in foz_read_entry() 474 fseek(foz_db->file[0], 0, SEEK_END); in foz_write_entry()
|
/third_party/cups-filters/cupsfilters/ |
D | image-sgilib.c | 67 fseek(sgip->file, 512, SEEK_SET); in sgiClose() 134 fseek(sgip->file, offset, SEEK_SET); in sgiGetRow() 151 fseek(sgip->file, offset, SEEK_SET); in sgiGetRow() 246 fseek(sgip->file, 512, SEEK_SET); in sgiOpenFile() 421 fseek(sgip->file, offset, SEEK_SET); in sgiPutRow() 461 fseek(sgip->file, sgip->firstrow, SEEK_SET); in sgiPutRow() 507 fseek(sgip->file, 0, SEEK_END); /* Clear EOF */ in sgiPutRow() 516 fseek(sgip->file, offset, SEEK_SET); in sgiPutRow()
|
/third_party/mbedtls/programs/fuzz/ |
D | onefile.c | 26 if (fseek(fp, 0L, SEEK_END) != 0) { in main() 35 if (fseek(fp, 0L, SEEK_SET) != 0) { in main()
|
/third_party/json/tests/thirdparty/Fuzzer/standalone/ |
D | StandaloneFuzzTargetMain.c | 31 fseek(f, 0, SEEK_END); in main() 33 fseek(f, 0, SEEK_SET); in main()
|
/third_party/lz4/ossfuzz/ |
D | standaloneengine.c | 31 fseek(infile, 0L, SEEK_END); in main() 35 fseek(infile, 0L, SEEK_SET); in main()
|
/third_party/libsnd/ossfuzz/ |
D | standaloneengine.cc | 31 fseek(infile, 0L, SEEK_END); in main() 35 fseek(infile, 0L, SEEK_SET); in main()
|