Home
last modified time | relevance | path

Searched refs:statb (Results 1 – 16 of 16) sorted by relevance

/external/python/cpython2/Python/
Ddynload_shlib.c89 struct stat statb; in _PyImport_GetDynLoadFunc() local
90 fstat(fileno(fp), &statb); in _PyImport_GetDynLoadFunc()
92 if (statb.st_dev == handles[i].dev && in _PyImport_GetDynLoadFunc()
93 statb.st_ino == handles[i].ino) { in _PyImport_GetDynLoadFunc()
100 handles[nhandles].dev = statb.st_dev; in _PyImport_GetDynLoadFunc()
102 handles[nhandles].ino[0] = statb.st_ino[0]; in _PyImport_GetDynLoadFunc()
103 handles[nhandles].ino[1] = statb.st_ino[1]; in _PyImport_GetDynLoadFunc()
104 handles[nhandles].ino[2] = statb.st_ino[2]; in _PyImport_GetDynLoadFunc()
106 handles[nhandles].ino = statb.st_ino; in _PyImport_GetDynLoadFunc()
/external/python/cpython2/Misc/
Dsetuid-prog.c127 struct stat statb; in main() local
150 if (stat(FULL_PATH, &statb) < 0) { in main()
154 if (statb.st_uid != 0 && statb.st_uid != euid) { in main()
/external/freetype/src/tools/ftrandom/
Dftrandom.c354 struct stat statb; in FindFonts() local
379 if ( stat( buffer, &statb ) == -1 || S_ISDIR( statb.st_mode ) ) in FindFonts()
395 fontlist[fcnt].len = statb.st_size; in FindFonts()
/external/google-breakpad/src/client/solaris/handler/
Dsolaris_lwp.cc198 struct stat statb; in read_lfile() local
210 if (fstat(fd, &statb) != 0) in read_lfile()
213 size = statb.st_size; in read_lfile()
/external/llvm-project/compiler-rt/test/BlocksRuntime/
Dtestfilerunner.m761 struct stat statb;
762 int retval = stat(path, &statb);
764 if (statb.st_mode & S_IFDIR) return true;
769 struct stat statb;
770 int retval = stat(path, &statb);
772 if (!(statb.st_mode & S_IFREG)) return false;
773 if (statb.st_mode & S_IXUSR) return true;
778 struct stat statb;
779 int retval = stat(binary, &statb);
786 if (stata.st_mtimespec.tv_sec > statb.st_mtimespec.tv_sec) return true;
[all …]
/external/compiler-rt/test/BlocksRuntime/
Dtestfilerunner.m762 struct stat statb;
763 int retval = stat(path, &statb);
765 if (statb.st_mode & S_IFDIR) return true;
770 struct stat statb;
771 int retval = stat(path, &statb);
773 if (!(statb.st_mode & S_IFREG)) return false;
774 if (statb.st_mode & S_IXUSR) return true;
779 struct stat statb;
780 int retval = stat(binary, &statb);
787 if (stata.st_mtimespec.tv_sec > statb.st_mtimespec.tv_sec) return true;
[all …]
/external/mksh/src/
Dhistrap.c315 struct stat statb; in c_fc() local
325 if (stat(tf->tffn, &statb) < 0) in c_fc()
327 else if ((off_t)statb.st_size > MKSH_MAXHISTFSIZE) { in c_fc()
329 Tfile, (unsigned long)statb.st_size); in c_fc()
332 n = (size_t)statb.st_size + 1; in c_fc()
Dexec.c1412 struct stat statb; in iosetup() local
1440 if (stat(cp, &statb)) { in iosetup()
1443 } else if (S_ISREG(statb.st_mode)) { in iosetup()
1507 if (fstat(u, &statb) || S_ISREG(statb.st_mode)) { in iosetup()
Deval.c1772 stat(Xstring(*xs, xp), &statb) < 0 ? -1 : 1)) in globit()
1773 struct stat lstatb, statb; in globit() local
1787 stat_check() < 0 || !S_ISDIR(statb.st_mode))) in globit()
1798 S_ISDIR(statb.st_mode)))) { in globit()
Dmain.c1479 struct stat statb; in can_seek() local
1481 return (fstat(fd, &statb) == 0 && !S_ISREG(statb.st_mode) ? in can_seek()
Dvar.c1388 struct stat statb; in setspec() local
1393 stat(s, &statb) == 0 && S_ISDIR(statb.st_mode)) in setspec()
Dedit.c429 struct stat statb; in x_file_glob() local
443 stat(words[0], &statb) < 0) || in x_file_glob()
/external/libpcap/
Dpcap-linux.c1728 struct stat statb; in is_wifi() local
1740 if (stat(pathstr, &statb) == 0) { in is_wifi()
/external/hyphenation-patterns/de/
Dhyph-de-ch-1901.pat.txt18909 2statb
Dhyph-de-1901.pat.txt19088 2statb
Dhyph-de-1996.pat.txt18943 2statb