Home
last modified time | relevance | path

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

12345678910>>...12

/third_party/musl/libc-test/src/functionalext/supplement/stdio/
H A Dfread.c40 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()
195 fseek(fp, ZERO, SEEK_SET); in fread_0600()
201 fseek(fp, ZERO, SEEK_SET); in fread_0600()
208 fseek(fp, SEEK_OFFSET, SEEK_SET); in fread_0600()
215 fseek(fp, ZERO, SEEK_SET); in fread_0600()
222 fseek(fp, ZERO, SEEK_SET); in fread_0600()
269 fseek(f in fread_0700()
[all...]
H A Dfgets.c33 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()
H A Dftell.c41 int fret = fseek(fptr, 0L, SEEK_SET); in ftell_0100()
43 t_error("%s fseek failed\n", __func__); in ftell_0100()
72 int fret = fseek(fptr, 8L, SEEK_SET); in ftell_0200()
74 t_error("%s fseek failed\n", __func__); in ftell_0200()
103 int fret = fseek(fptr, 0L, SEEK_END); in ftell_0300()
105 t_error("%s fseek failed\n", __func__); in ftell_0300()
H A D_flushlbf.c40 fseek(fp, 0, SEEK_SET); in flushlbf_0100()
46 fseek(fp, 0, SEEK_SET); in flushlbf_0100()
H A Dfgetpos.c39 fseek(fp, 0, SEEK_END); in fgetpos_0100()
63 fseek(fptr, 0, SEEK_SET); in fgetpos_0200()
H A Dfunlockfile.c35 if (fseek(filep, 0L, SEEK_SET) == -1) { in child_func()
36 t_error("%s fseek failed\n", __func__); in child_func()
44 if (fseek(filep, 0L, SEEK_SET) == -1) { in child_func()
45 t_error("%s fseek failed\n", __func__); in child_func()
/third_party/musl/libc-test/src/functional/
H A Dmemstream.c43 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()
H A Dungetc.c27 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/
H A Dfile_input_stream.cc125 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/mman/
H A Dmmap.c45 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(fpt in mmap_1100()
[all...]
/third_party/ffmpeg/tests/
H A Dtiny_psnr.c146 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()
H A Daudiomatch.c31 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/skia/third_party/externals/dng_sdk/source/
H A Ddng_file_stream.cpp74 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/
H A DtcuResource.cpp70 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/
H A Dfile_io_test.cc36 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/mesa3d/src/amd/common/
H A Dac_rgp_elf_object_pack.c252 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/icu/icu4c/source/samples/layout/
H A DUnicodeReader.cpp50 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/skia/third_party/externals/icu/source/samples/layout/
H A DUnicodeReader.cpp50 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/
H A Dfossilize_db.c114 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/json/tests/thirdparty/Fuzzer/standalone/
H A DStandaloneFuzzTargetMain.c31 fseek(f, 0, SEEK_END); in main()
33 fseek(f, 0, SEEK_SET); in main()
/third_party/lz4/ossfuzz/
H A Dstandaloneengine.c31 fseek(infile, 0L, SEEK_END); in main()
35 fseek(infile, 0L, SEEK_SET); in main()
/third_party/cups-filters/cupsfilters/
H A Dimage-sgilib.c67 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/libsnd/ossfuzz/
H A Dstandaloneengine.cc31 fseek(infile, 0L, SEEK_END); in main()
35 fseek(infile, 0L, SEEK_SET); in main()
/third_party/mbedtls/programs/fuzz/
H A Donefile.c30 if (fseek(fp, 0L, SEEK_END) != 0) { in main()
31 fprintf(stderr, "%s: Error in fseek(SEEK_END)\n", argv0); in main()
43 if (fseek(fp, 0L, SEEK_SET) != 0) { in main()
44 fprintf(stderr, "%s: Error in fseek(0)\n", argv0); in main()
/third_party/skia/third_party/externals/dawn/src/fuzzers/
H A DStandaloneFuzzerMain.cpp48 fseek(file, 0, SEEK_END); in main()
54 fseek(file, 0, SEEK_SET); in main()

Completed in 10 milliseconds

12345678910>>...12