/external/dropbear/ |
compat.c | 237 struct stat statb; local 248 if (fstat(fileno(fp), &statb) == -1) { 252 if ((strings = malloc((u_int)statb.st_size + 1)) == NULL) { 256 shells = calloc((unsigned)statb.st_size / 3, sizeof (char *)); 265 flen = statb.st_size;
|
/system/core/sh/ |
cd.c | 84 struct stat statb; local 125 if (stat(p, &statb) >= 0 && S_ISDIR(statb.st_mode)) { 155 struct stat statb; local 187 if ((lstat(stackblock(), &statb) < 0) 188 || (S_ISLNK(statb.st_mode))) {
|
main.c | 342 struct stat statb; local 349 if ((stat(fullname, &statb) == 0) && S_ISREG(statb.st_mode)) {
|
exec.c | 433 struct stat statb; local 440 while (stat(name, &statb) < 0) { 534 while (stat(fullname, &statb) < 0) { 544 if (!S_ISREG(statb.st_mode)) 560 if (statb.st_uid == geteuid()) { 561 if ((statb.st_mode & 0100) == 0) 563 } else if (statb.st_gid == getegid()) { 564 if ((statb.st_mode & 010) == 0) 567 if ((statb.st_mode & 01) == 0)
|
expand.c | 1130 struct stat statb; local 1183 if (metaflag == 0 || lstat(expdir, &statb) >= 0)
|
/external/oprofile/libabi/ |
opimport.cpp | 198 struct stat statb; local 204 assert(fstat(in_fd, &statb) == 0); 205 assert((in = mmap(0, statb.st_size, PROT_READ, 217 import_from_abi(input_abi, in, statb.st_size, &dest); 224 assert(munmap(in, statb.st_size) == 0);
|