/external/syslinux/utils/ |
D | isohybrid.in | 139 seek(FILE, 17*2048, SEEK_SET) or die "$0: $file: $!\n"; 145 seek(FILE, $br_cat_offset*2048, SEEK_SET) or die "$0: $file: $!\n"; 166 seek(FILE, $de_lba*2048+0x40, SEEK_SET) or die "$0: $file: $!\n"; 199 seek(FILE, 440, SEEK_SET) or die "$0: $file: $!\n"; 207 seek(FILE, 0, SEEK_SET) or die "$0: $file: $!\n"; 249 seek(FILE, $imgstat[7], SEEK_SET) or die "$0: $file: $!\n";
|
D | pxelinux-options | 207 return undef unless (seek($file, 0, SEEK_SET)); 247 return undef unless (seek($file, $boff, SEEK_SET)); 255 return undef unless (seek($file, $aoff, SEEK_SET)); 283 return undef unless (seek($file, $patch_start, SEEK_SET)); 299 return undef unless (seek($file, $hdr->{'hdroffset'} + 16, SEEK_SET)); 305 return undef unless (seek($file, 8+3*4, SEEK_SET));
|
/external/e2fsprogs/lib/ext2fs/ |
D | qcow2.c | 67 if (ext2fs_llseek(fd, 0, SEEK_SET < 0)) { in qcow2_read_header() 100 if (ext2fs_llseek(fd, img->l1_offset, SEEK_SET) < 0) { in qcow2_read_l1_table() 124 if (ext2fs_llseek(fd, offset, SEEK_SET) < 0) in qcow2_read_l2_table() 141 if (ext2fs_llseek(fdout, off_out, SEEK_SET) < 0) in qcow2_copy_data() 144 if (ext2fs_llseek(fdin, off_in, SEEK_SET) < 0) in qcow2_copy_data() 193 if (ext2fs_llseek(raw_fd, 0, SEEK_SET) < 0) { in qcow2_write_raw_image() 242 if (ext2fs_llseek(raw_fd, img.image_size - 1, SEEK_SET) < 0) { in qcow2_write_raw_image()
|
/external/ltp/testcases/kernel/io/direct_io/ |
D | diotest4.c | 103 if (lseek(fd, offset, SEEK_SET) < 0) { in runtest_f() 118 if (lseek(fd, offset, SEEK_SET) < 0) { in runtest_f() 144 if (lseek(fd, offset, SEEK_SET) < 0) { in runtest_s() 155 if (lseek(fd, offset, SEEK_SET) < 0) { in runtest_s() 250 ret = lseek(fd, offset, SEEK_SET); in main() 266 lseek(fd, 0, SEEK_SET); in main() 287 if (lseek(fd, offset, SEEK_SET) < 0) { in main() 394 if (lseek(fd, offset, SEEK_SET) < 0) { in main() 420 if (lseek(fd, offset, SEEK_SET) < 0) { in main() 469 if (lseek(fd, offset, SEEK_SET) < 0) { in main() [all …]
|
D | diotest1.c | 145 SAFE_LSEEK(cleanup, fd1, offset, SEEK_SET); in main() 148 SAFE_LSEEK(cleanup, fd2, offset, SEEK_SET); in main() 153 SAFE_LSEEK(cleanup, fd1, offset, SEEK_SET); in main()
|
/external/libvpx/libvpx/third_party/libwebm/mkvparser/ |
D | mkvreader.cc | 69 status = _fseeki64(m_file, 0L, SEEK_SET); in GetFileSize() 74 fseek(m_file, 0L, SEEK_SET); in GetFileSize() 117 const int status = _fseeki64(m_file, offset, SEEK_SET); in Read() 122 fseeko(m_file, static_cast<off_t>(offset), SEEK_SET); in Read()
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl36.c | 91 .l_whence = SEEK_SET, in fn_ofd_w() 104 SAFE_LSEEK(fd, pa->offset, SEEK_SET); in fn_ofd_w() 131 .l_whence = SEEK_SET, in fn_posix_w() 143 SAFE_LSEEK(fd, pa->offset, SEEK_SET); in fn_posix_w() 170 .l_whence = SEEK_SET, in fn_ofd_r() 184 SAFE_LSEEK(fd, pa->offset, SEEK_SET); in fn_ofd_r() 231 .l_whence = SEEK_SET, in fn_posix_r() 244 SAFE_LSEEK(fd, pa->offset, SEEK_SET); in fn_posix_r()
|
/external/ltp/testcases/kernel/mem/mmapstress/ |
D | mmapstress07.c | 169 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) {
|
/external/ltp/testcases/kernel/syscalls/lseek/ |
D | lseek02.c | 52 {&bad_fd, SEEK_SET, EBADF}, 58 {&pfd1, SEEK_SET, ESPIPE}, 61 {&pfds[0], SEEK_SET, ESPIPE}, 64 {&pfd2, SEEK_SET, ESPIPE},
|
/external/ltp/testcases/network/nfs/nfslock01/ |
D | nfs_flock.c | 68 if (writeb_lock(fd, offset, SEEK_SET, BYTES) < 0) 71 lseek(fd, offset, SEEK_SET); 76 if (unb_lock(fd, offset, SEEK_SET, BYTES) < 0)
|
/external/sfntly/cpp/src/sfntly/port/ |
D | file_input_stream.cc | 121 fseek(file_, position_, SEEK_SET); in Skip() 144 fseek(file_, position_ - unread_count, SEEK_SET); in Unread() 147 fseek(file_, position_ - unread_count, SEEK_SET); in Unread() 167 fseek(file_, 0, SEEK_SET); in Open()
|
/external/curl/src/ |
D | tool_cb_see.c | 63 if(whence != SEEK_SET) in tool_seek_cb() 67 if(LSEEK_ERROR == lseek(in->fd, 0, SEEK_SET)) in tool_seek_cb() 121 if(_lseeki64(fd, where, SEEK_SET) < 0) in tool_ftruncate64()
|
/external/google-breakpad/src/client/mac/handler/ |
D | breakpad_nlist_64.cc | 207 if (lseek(fd, 0, SEEK_SET) == -1) { in __breakpad_fdnlist() 263 if (lseek(fd, arch_offset, SEEK_SET) == -1) { in __breakpad_fdnlist() 275 if (lseek(fd, arch_offset, SEEK_SET) == -1) { in __breakpad_fdnlist() 335 if (lseek(fd, sa, SEEK_SET) == -1) { in __breakpad_fdnlist() 365 if (lseek(fd, ss+q->n_un.n_strx, SEEK_SET) == -1) { in __breakpad_fdnlist() 397 if (lseek(fd, savpos, SEEK_SET) == -1) { in __breakpad_fdnlist()
|
/external/ltp/testcases/kernel/syscalls/pwrite/ |
D | pwrite01.c | 135 l_seek(fildes, K1 / 2, SEEK_SET, K1 / 2); in main() 153 l_seek(fildes, K3, SEEK_SET, K3); in main() 188 l_seek(fildes, 0, SEEK_SET, 0); in main() 284 offloc = lseek(fildes, count * K1, SEEK_SET); in check_file_contents()
|
/external/f2fs-tools/lib/ |
D | libf2fs_io.c | 73 if (lseek64(c.kd, (off64_t)offset, SEEK_SET) < 0) in dev_read_version() 168 if (lseek64(fd, (off64_t)offset, SEEK_SET) < 0) in dev_read() 207 if (lseek64(fd, (off64_t)offset, SEEK_SET) < 0) in dev_write() 221 if (lseek64(c.dump_fd, (off64_t)offset, SEEK_SET) < 0) in dev_write_dump() 242 if (lseek64(fd, (off64_t)offset, SEEK_SET) < 0) in dev_fill() 323 lseek(c.devices[0].fd, 0, SEEK_SET); in f2fs_finalize_device()
|
/external/clang/test/Analysis/ |
D | stream.c | 5 #define SEEK_SET 0 /* Seek from beginning of file. */ macro 25 fseek(p, 1, SEEK_SET); // expected-warning {{Stream pointer might be NULL}} in f2() 45 fseek(p, 1, SEEK_SET); // no-warning in f5()
|
/external/ltp/testcases/kernel/syscalls/pread/ |
D | pread01.c | 133 l_seek(fildes, 0, SEEK_SET, 0); in main() 176 l_seek(fildes, K4, SEEK_SET, K4); in main() 219 l_seek(fildes, K1 / 2, SEEK_SET, K1 / 2); in setup() 232 l_seek(fildes, K3, SEEK_SET, K3); in setup()
|
/external/ltp/testcases/kernel/syscalls/writev/ |
D | writev07.c | 69 SAFE_LSEEK(fd, initial_file_offset, SEEK_SET); in test_partially_valid_iovec() 84 SAFE_LSEEK(fd, 0, SEEK_SET); in test_partially_valid_iovec() 111 SAFE_LSEEK(fd, initial_file_offset, SEEK_SET); in test_partially_valid_iovec()
|
/external/fsck_msdos/ |
D | boot.c | 128 if (lseek(dosfs, boot->FSInfo * boot->BytesPerSec, SEEK_SET) 155 if (lseek(dosfs, boot->FSInfo * boot->BytesPerSec, SEEK_SET) 175 if (lseek(dosfs, boot->Backup * boot->BytesPerSec, SEEK_SET) 289 if (lseek(dosfs, boot->FSInfo * boot->BytesPerSec, SEEK_SET) 303 if (lseek(dosfs, boot->FSInfo * boot->BytesPerSec, SEEK_SET)
|
/external/strace/tests-mx32/ |
D | lseek.c | 46 long long rc = lseek(-1, offset, SEEK_SET); in main() 50 long rc = syscall(__NR_lseek, -1L, offset, SEEK_SET); in main()
|
/external/strace/tests/ |
D | lseek.c | 46 long long rc = lseek(-1, offset, SEEK_SET); in main() 50 long rc = syscall(__NR_lseek, -1L, offset, SEEK_SET); in main()
|
/external/strace/tests-m32/ |
D | lseek.c | 46 long long rc = lseek(-1, offset, SEEK_SET); in main() 50 long rc = syscall(__NR_lseek, -1L, offset, SEEK_SET); in main()
|
/external/swiftshader/third_party/LLVM/runtime/libprofile/ |
D | PathProfiling.c | 103 lseek(outFile, arrayHeaderLocation, SEEK_SET); in writeArrayTable() 111 lseek(outFile, arrayCurrentLocation, SEEK_SET); in writeArrayTable() 254 lseek(outFile, headerLocation, SEEK_SET); in pathProfAtExitHandler() 262 lseek(outFile, currentLocation, SEEK_SET); in pathProfAtExitHandler()
|
/external/strace/xlat/ |
D | whence_codes.h | 6 #if defined(SEEK_SET) || (defined(HAVE_DECL_SEEK_SET) && HAVE_DECL_SEEK_SET) 7 XLAT(SEEK_SET),
|
/external/syslinux/memdisk/ |
D | postprocess.pl | 44 seek(OUT, 0x1f1, SEEK_SET); # setup_sects 48 seek(OUT, $xsize, SEEK_SET);
|