Home
last modified time | relevance | path

Searched refs:SEEK_SET (Results 1 - 25 of 853) sorted by relevance

12345678910>>...35

/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()
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(fp, ZERO, SEEK_SET); in fread_0700()
275 fseek(fp, ZERO, SEEK_SET); in fread_0700()
282 fseek(fp, SEEK_OFFSET, SEEK_SET); 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()
H A Dfseeko.c40 int result = fseeko(fp, 0L, SEEK_SET); in fseeko_0100()
70 int result = fseeko(fp, 8L, SEEK_SET); in fseeko_0200()
100 int code = fseeko(fp, 10L, SEEK_SET); in fseeko_0300()
166 int result = fseeko(fp, -10L, SEEK_SET); in fseeko_0500()
/third_party/musl/libc-test/src/functionalext/supplement/linux/
H A Dflock.c30 lseek(fd, 2, SEEK_SET); in flock_0100()
48 lseek(fd, 2, SEEK_SET); in flock_0200()
66 lseek(fd, 2, SEEK_SET); in flock_0300()
84 lseek(fd, 2, SEEK_SET); in flock_0400()
102 lseek(fd, 2, SEEK_SET); in flock_0500()
131 lseek(fd, 2, SEEK_SET); in flock_0700()
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
H A Dlseek.c45 lseek64(fd, 0, SEEK_SET); in lseek64_0100()
46 offset = lseek64(fd, DataArry[i], SEEK_SET); in lseek64_0100()
69 off_t data = lseek(fd, 0L, SEEK_SET); in lseek_0100()
86 off_t data = lseek(fd, 8L, SEEK_SET); in lseek_0200()
103 off_t data = lseek(fd, 10L, SEEK_SET); in lseek_0300()
138 off_t data = lseek(fd, -10L, SEEK_SET); in lseek_0500()
/third_party/ffmpeg/libavformat/
H A Dcache.c180 r = lseek(c->fd, physical_target, SEEK_SET); in cache_read()
201 r = ffurl_seek(c->inner, c->logical_pos, SEEK_SET); in cache_read()
236 if (ffurl_seek(c->inner, c->inner_pos, SEEK_SET) < 0) in cache_seek()
246 whence = SEEK_SET; in cache_seek()
250 whence = SEEK_SET; in cache_seek()
254 if (whence == SEEK_SET && pos >= 0 && pos < c->end) { in cache_seek()
262 if ((whence == SEEK_SET && pos >= c->logical_pos || in cache_seek()
264 if ( (whence == SEEK_SET && c->read_ahead_limit >= pos - c->logical_pos) in cache_seek()
269 if (whence == SEEK_SET) in cache_seek()
H A Daacdec.c121 avio_seek(s->pb, offset, SEEK_SET); in adts_aac_get_frame_length()
132 avio_seek(s->pb, offset + 1, SEEK_SET); in adts_aac_get_frame_length()
140 avio_seek(s->pb, offset + 3, SEEK_SET); in adts_aac_get_frame_length()
153 avio_seek(s->pb, offset + 5, SEEK_SET); in adts_aac_get_frame_length()
168 avio_seek(s->pb, offset + 6, SEEK_SET); in adts_aac_get_raw_data_block_num()
195 avio_seek(s->pb, 0, SEEK_SET); in adts_aac_get_duration()
197 avio_seek(s->pb, 2, SEEK_SET); in adts_aac_get_duration()
249 avio_seek(s->pb, 0, SEEK_SET); in adts_aac_get_duration()
271 avio_seek(s->pb, cur, SEEK_SET); in adts_aac_read_header()
H A Dwavenc.c434 avio_seek(pb, 4, SEEK_SET); in wav_write_trailer()
436 avio_seek(pb, file_size, SEEK_SET); in wav_write_trailer()
448 avio_seek(pb, wav->fact_pos, SEEK_SET); in wav_write_trailer()
454 avio_seek(pb, file_size, SEEK_SET); in wav_write_trailer()
460 avio_seek(pb, 0, SEEK_SET); in wav_write_trailer()
465 avio_seek(pb, wav->ds64 - 8, SEEK_SET); in wav_write_trailer()
474 avio_seek(pb, wav->data - 4, SEEK_SET); in wav_write_trailer()
477 avio_seek(pb, file_size, SEEK_SET); in wav_write_trailer()
544 avio_seek(pb, start + 16, SEEK_SET); in end_guid()
546 avio_seek(pb, end, SEEK_SET); in end_guid()
[all...]
H A Dvag.c55 avio_seek(s->pb, 0x1000, SEEK_SET); in vag_read_header()
58 avio_seek(s->pb, 0, SEEK_SET); in vag_read_header()
62 avio_seek(s->pb, st->codecpar->ch_layout.nb_channels > 1 ? 0x80 : 0x30, SEEK_SET); in vag_read_header()
H A Dmp3dec.c302 avio_seek(s->pb, base + 4 + 32, SEEK_SET); in mp3_parse_vbri_tag()
350 avio_seek(s->pb, base + vbrtag_size, SEEK_SET); in mp3_parse_vbr_tags()
397 avio_seek(s->pb, off, SEEK_SET); in mp3_read_header()
411 ret = avio_seek(s->pb, off, SEEK_SET); in mp3_read_header()
420 ret = avio_seek(s->pb, off + i, SEEK_SET); in mp3_read_header()
432 ret = avio_seek(s->pb, off, SEEK_SET); in mp3_read_header()
476 int64_t ret = avio_seek(pb, pos, SEEK_SET); in check()
506 avio_seek(s->pb, FFMAX(target_pos - SEEK_WINDOW, 0), SEEK_SET); in mp3_sync()
507 ret = avio_seek(s->pb, target_pos, SEEK_SET); in mp3_sync()
546 return avio_seek(s->pb, best_pos, SEEK_SET); in mp3_sync()
[all...]
H A Dflvenc.c466 avio_seek(pb, metadata_count_pos, SEEK_SET); in write_metadata()
469 avio_seek(pb, flv->metadata_size_pos, SEEK_SET); in write_metadata()
596 avio_seek(s->pb, flv->metadata_size_pos, SEEK_SET); in shift_data()
599 avio_seek(s->pb, flv->metadata_totalsize_pos + metadata_size, SEEK_SET); in shift_data()
738 avio_seek(pb, flv->videosize_offset, SEEK_SET); in flv_write_trailer()
741 avio_seek(pb, flv->audiosize_offset, SEEK_SET); in flv_write_trailer()
744 avio_seek(pb, flv->lasttimestamp_offset, SEEK_SET); in flv_write_trailer()
747 avio_seek(pb, flv->lastkeyframetimestamp_offset, SEEK_SET); in flv_write_trailer()
750 avio_seek(pb, flv->lastkeyframelocation_offset, SEEK_SET); in flv_write_trailer()
752 avio_seek(pb, cur_pos, SEEK_SET); in flv_write_trailer()
[all...]
/third_party/ltp/testcases/kernel/syscalls/llseek/
H A Dllseek03.c9 * For each of SEEK_SET, SEEK_CUR and SEEK_END verify that,
46 {SEEK_SET, 1, 1, 3, "bcd"},
51 {SEEK_SET, 8, 8, 0, NULL},
56 {SEEK_SET, 10, 10, 0, NULL},
64 case SEEK_SET: in str_whence()
65 return "SEEK_SET"; in str_whence()
/third_party/ltp/testcases/kernel/syscalls/lseek/
H A Dlseek02.c35 {&bad_fd, SEEK_SET, EBADF},
41 {&pfd1, SEEK_SET, ESPIPE},
44 {&pfds[0], SEEK_SET, ESPIPE},
47 {&pfd2, SEEK_SET, ESPIPE},
/third_party/ltp/testcases/kernel/syscalls/fcntl/
H A Dfcntl36.c76 .l_whence = SEEK_SET, in fn_ofd_w()
89 SAFE_LSEEK(fd, pa->offset, SEEK_SET); in fn_ofd_w()
116 .l_whence = SEEK_SET, in fn_posix_w()
128 SAFE_LSEEK(fd, pa->offset, SEEK_SET); in fn_posix_w()
155 .l_whence = SEEK_SET, in fn_ofd_r()
169 SAFE_LSEEK(fd, pa->offset, SEEK_SET); in fn_ofd_r()
216 .l_whence = SEEK_SET, in fn_posix_r()
229 SAFE_LSEEK(fd, pa->offset, SEEK_SET); in fn_posix_r()
/third_party/ltp/testcases/kernel/io/direct_io/
H A Ddiotest4.c102 if (lseek(fd, offset, SEEK_SET) < 0) { in runtest_f()
117 if (lseek(fd, offset, SEEK_SET) < 0) { in runtest_f()
143 if (lseek(fd, offset, SEEK_SET) < 0) { in runtest_s()
154 if (lseek(fd, offset, SEEK_SET) < 0) { in runtest_s()
249 ret = lseek(fd, offset, SEEK_SET); in main()
265 lseek(fd, 0, SEEK_SET); in main()
287 if (lseek(fd, offset, SEEK_SET) < 0) { in main()
390 if (lseek(fd, offset, SEEK_SET) < 0) { in main()
416 if (lseek(fd, offset, SEEK_SET) < 0) { in main()
466 if (lseek(fd, offset, SEEK_SET) < in main()
[all...]
/third_party/ltp/testcases/kernel/mem/mmapstress/
H A Dmmapstress07.c169 if (lseek64(rwfd, sparseoff, SEEK_SET) < 0) {
171 if (lseek(rwfd, sparseoff, SEEK_SET) < 0) {
229 if (lseek64(rwfd, sparseoff + e_pageskip * pagesize, SEEK_SET) == -1) {
231 if (lseek(rwfd, sparseoff + e_pageskip * pagesize, SEEK_SET) == -1) {
248 if (lseek64(rofd, sparseoff, SEEK_SET) == -1) {
250 if (lseek(rofd, sparseoff, SEEK_SET) == -1) {
/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(fptr, 0L, SEEK_SET); in mmap_1100()
[all...]
/third_party/ltp/testcases/kernel/syscalls/pwrite/
H A Dpwrite01.c49 l_seek(fildes, count * K1, SEEK_SET, count * K1); in check_file_contents()
67 l_seek(fildes, K1 / 2, SEEK_SET, K1 / 2); in verify_pwrite()
71 l_seek(fildes, K3, SEEK_SET, K3); in verify_pwrite()
80 l_seek(fildes, 0, SEEK_SET, 0); in verify_pwrite()
/third_party/musl/libc-test/src/functionalext/supplement/stat/
H A Dfstatat.c38 lseek(fd, 0, SEEK_SET); in fstatat_0100()
62 lseek(fd, 0, SEEK_SET); in fstatat_0200()
94 lseek(fd, 0, SEEK_SET); in fstatat_0300()
117 lseek(fd, 0, SEEK_SET); in fstatat_time64_0100()
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/port/
H A Dfile_input_stream.cc125 fseek(file_, position_, SEEK_SET); in Skip()
148 fseek(file_, position_ - unread_count, SEEK_SET); in Unread()
151 fseek(file_, position_ - unread_count, SEEK_SET); in Unread()
171 fseek(file_, 0, SEEK_SET); in Open()
/third_party/curl/src/
H A Dtool_cb_see.c66 if(whence != SEEK_SET) in tool_seek_cb()
70 if(LSEEK_ERROR == lseek(per->infd, 0, SEEK_SET)) in tool_seek_cb()
112 if(_lseeki64(fd, where, SEEK_SET) < 0) in tool_ftruncate64()
/third_party/ltp/testcases/network/nfs/nfslock01/
H A Dnfs_flock.c92 if (writeb_lock(fd, offset, SEEK_SET, nchars) < 0) { in main()
97 lseek(fd, offset, SEEK_SET); in main()
104 if (unb_lock(fd, offset, SEEK_SET, nchars) < 0) { in main()
/third_party/musl/libc-test/src/functional/
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()
H A Dmemstream.c60 TEST_E(fseek(f, 0, SEEK_SET)>=0); 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()
/third_party/ffmpeg/libavcodec/
H A Dfmvc.c86 bytestream2_seek(&gbc, bytestream2_tell_p(pb) + pos, SEEK_SET); in decode_type2()
131 bytestream2_seek(&gbc, bytestream2_tell_p(pb) + pos, SEEK_SET); in decode_type2()
157 bytestream2_seek(&gbc, bytestream2_tell_p(pb) + pos, SEEK_SET); in decode_type2()
196 bytestream2_seek(&gbc, bytestream2_tell_p(pb) + pos, SEEK_SET); in decode_type2()
226 bytestream2_seek(&gbc, bytestream2_tell_p(pb) + pos, SEEK_SET); in decode_type2()
260 bytestream2_seek(&gbc, pos, SEEK_SET); in decode_type2()
344 bytestream2_seek(&gbc, bytestream2_tell_p(pb) + pos, SEEK_SET); in decode_type1()
356 bytestream2_seek(&gbc, bytestream2_tell_p(pb) + pos, SEEK_SET); in decode_type1()
377 bytestream2_seek(&gbc, bytestream2_tell_p(pb) + pos - (bytestream2_get_byte(gb) << 8), SEEK_SET); in decode_type1()

Completed in 12 milliseconds

12345678910>>...35