/external/libcap/progs/ |
D | getcap.c | 34 static int do_getcap(const char *fname, const struct stat *stbuf, in do_getcap() argument 94 struct stat stbuf; in main() local 96 if (lstat(argv[i], &stbuf) != 0) { in main() 101 int tflag = S_ISREG(stbuf.st_mode) ? FTW_F : in main() 102 (S_ISLNK(stbuf.st_mode) ? FTW_SL : FTW_NS); in main() 103 do_getcap(argv[i], &stbuf, tflag, 0); in main()
|
/external/libjpeg-turbo/md5/ |
D | md5hl.c | 87 struct stat stbuf; in MD5FileChunk() local 99 if (fstat(f, &stbuf) < 0) in MD5FileChunk() 101 if (ofs > stbuf.st_size) in MD5FileChunk() 102 ofs = stbuf.st_size; in MD5FileChunk() 103 if ((len == 0) || (len > stbuf.st_size - ofs)) in MD5FileChunk() 104 len = stbuf.st_size - ofs; in MD5FileChunk()
|
/external/ltp/testcases/kernel/syscalls/stat/ |
D | stat06.c | 146 struct stat *stbuf; member 181 struct stat *stbuf; in main() local 205 stbuf = Test_cases[ind].stbuf; in main() 207 if (stbuf == (struct stat *)-1) { in main() 220 TEST(stat(fname, stbuf)); in main() 228 TEST(stat(fname, stbuf)); in main()
|
/external/bsdiff/ |
D | file.cc | 91 struct stat stbuf; in GetSize() local 92 if (fstat(fd_, &stbuf) == -1) in GetSize() 94 if (S_ISREG(stbuf.st_mode)) { in GetSize() 95 *size = stbuf.st_size; in GetSize() 98 if (S_ISBLK(stbuf.st_mode)) { in GetSize()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_image.c | 74 struct st_buffer_object *stbuf = in st_convert_image() local 78 if (!stbuf || !stbuf->buffer) { in st_convert_image() 82 struct pipe_resource *buf = stbuf->buffer; in st_convert_image() 88 img->resource = stbuf->buffer; in st_convert_image()
|
/external/e2fsprogs/util/ |
D | subst.c | 333 struct stat stbuf; in main() local 392 if (fstat(fd, &stbuf) == 0) { in main() 394 tv[0].tv_sec = stbuf.st_atim.tv_sec; in main() 395 tv[0].tv_usec = stbuf.st_atim.tv_nsec / 1000; in main() 397 tv[0].tv_sec = stbuf.st_atime; in main()
|
D | symlinks.c | 170 struct stat stbuf, lstbuf; in fix_symlink() local 194 if (stat(abspath, &stbuf) == -1) { in fix_symlink()
|
/external/mksh/src/ |
D | check.pl | 1282 local(@stbuf); 1296 @stbuf = lstat($name); 1297 if (!@stbuf) { 1301 if ($perm ne '*' && ($stbuf[2] & 07777) != $perm) { 1304 $perm, $stbuf[2] & 07777); 1306 if ($uid ne '*' && $stbuf[4] != $uid) { 1309 $uid, $stbuf[4]); 1311 if ($gid ne '*' && $stbuf[5] != $gid) { 1314 $gid, $stbuf[5]);
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/ |
D | avx512-gather-scatter-intrin.ll | 14 define void @gather_mask_dps(<16 x i32> %ind, <16 x float> %src, i16 %mask, i8* %base, i8* %stbuf) … 26 …call void @llvm.x86.avx512.scatter.dps.512 (i8* %stbuf, i16 %mask, <16 x i32>%ind2, <16 x float> %… 30 define void @gather_mask_dpd(<8 x i32> %ind, <8 x double> %src, i8 %mask, i8* %base, i8* %stbuf) { 42 …call void @llvm.x86.avx512.scatter.dpd.512 (i8* %stbuf, i8 %mask, <8 x i32>%ind2, <8 x double> %x,… 46 define void @gather_mask_qps(<8 x i64> %ind, <8 x float> %src, i8 %mask, i8* %base, i8* %stbuf) { 58 …call void @llvm.x86.avx512.scatter.qps.512 (i8* %stbuf, i8 %mask, <8 x i64>%ind2, <8 x float> %x, … 62 define void @gather_mask_qpd(<8 x i64> %ind, <8 x double> %src, i8 %mask, i8* %base, i8* %stbuf) { 74 …call void @llvm.x86.avx512.scatter.qpd.512 (i8* %stbuf, i8 %mask, <8 x i64>%ind2, <8 x double> %x,… 90 define void @gather_mask_dd(<16 x i32> %ind, <16 x i32> %src, i16 %mask, i8* %base, i8* %stbuf) { 102 …call void @llvm.x86.avx512.scatter.dpi.512 (i8* %stbuf, i16 %mask, <16 x i32>%ind2, <16 x i32> %x,… [all …]
|
/external/llvm/test/CodeGen/X86/ |
D | avx512-gather-scatter-intrin.ll | 14 define void @gather_mask_dps(<16 x i32> %ind, <16 x float> %src, i16 %mask, i8* %base, i8* %stbuf) … 25 …call void @llvm.x86.avx512.scatter.dps.512 (i8* %stbuf, i16 %mask, <16 x i32>%ind2, <16 x float> %… 29 define void @gather_mask_dpd(<8 x i32> %ind, <8 x double> %src, i8 %mask, i8* %base, i8* %stbuf) { 40 …call void @llvm.x86.avx512.scatter.dpd.512 (i8* %stbuf, i8 %mask, <8 x i32>%ind2, <8 x double> %x,… 44 define void @gather_mask_qps(<8 x i64> %ind, <8 x float> %src, i8 %mask, i8* %base, i8* %stbuf) { 55 …call void @llvm.x86.avx512.scatter.qps.512 (i8* %stbuf, i8 %mask, <8 x i64>%ind2, <8 x float> %x, … 59 define void @gather_mask_qpd(<8 x i64> %ind, <8 x double> %src, i8 %mask, i8* %base, i8* %stbuf) { 70 …call void @llvm.x86.avx512.scatter.qpd.512 (i8* %stbuf, i8 %mask, <8 x i64>%ind2, <8 x double> %x,… 86 define void @gather_mask_dd(<16 x i32> %ind, <16 x i32> %src, i16 %mask, i8* %base, i8* %stbuf) { 97 …call void @llvm.x86.avx512.scatter.dpi.512 (i8* %stbuf, i16 %mask, <16 x i32>%ind2, <16 x i32> %x,… [all …]
|
/external/iputils/ |
D | tftpd.c | 284 struct stat stbuf; in validate_access() local 306 if (stat(filename, &stbuf) < 0) { in validate_access() 311 if ((stbuf.st_mode&(S_IREAD >> 6)) == 0) { in validate_access() 316 if ((stbuf.st_mode&(S_IWRITE >> 6)) == 0) { in validate_access()
|
/external/ltp/testcases/kernel/hotplug/memory_hotplug/ |
D | segment.c | 291 struct stat stbuf; in open_file() local 294 if (stat(segp->seg_path, &stbuf) < 0) { in open_file() 305 if (!S_ISREG(stbuf.st_mode)) { in open_file() 349 struct stat stbuf; in file_size() local 351 if (fstat(fd, &stbuf) != 0) { in file_size() 355 return stbuf.st_size; in file_size()
|
/external/fsverity-utils/ |
D | util.c | 149 struct stat stbuf; in get_file_size() local 151 if (fstat(file->fd, &stbuf) != 0) { in get_file_size() 155 *size_ret = stbuf.st_size; in get_file_size()
|
/external/ltp/testcases/kernel/fs/doio/ |
D | growfiles.c | 1958 struct stat stbuf; in growfile() local 1967 if (fstat(fd, &stbuf) != -1) { in growfile() 1968 if (S_ISFIFO(stbuf.st_mode)) { in growfile() 1976 fsize = stbuf.st_size; in growfile() 2085 if (fstat(fd, &stbuf) != -1) { in growfile() 2086 Woffset = stbuf.st_size; in growfile() 2100 (int)stbuf.st_size); in growfile() 2145 (long)Woffset, (int)stbuf.st_size); in growfile() 2604 struct stat stbuf; in check_write() local 2605 fstat(fd, &stbuf); in check_write() [all …]
|
/external/ltp/testcases/kernel/syscalls/symlink/ |
D | symlink01.c | 1532 struct stat stbuf; in do_link() local 1561 &stbuf); in do_link() 1567 stbuf.st_nlink); in do_link()
|