Searched defs:statb (Results 1 - 8 of 8) sorted by relevance

/external/dropbear/
H A Dcompat.c237 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;
/external/oprofile/libabi/
H A Dopimport.cpp198 struct stat statb; local
205 rc = fstat(in_fd, &statb);
207 in = mmap(0, statb.st_size, PROT_READ, MAP_PRIVATE, in_fd, 0);
219 import_from_abi(input_abi, in, statb.st_size, &dest);
226 rc = munmap(in, statb.st_size);
/external/mksh/src/
H A Deval.c1499 (stat_done = stat(Xstring(*xs, xp), &statb) < 0 \
1501 struct stat lstatb, statb; local
1514 stat_check() < 0 || !S_ISDIR(statb.st_mode)))
1525 S_ISDIR(statb.st_mode)))) {
H A Dexec.c1291 struct stat statb; local
1322 (stat(cp, &statb) < 0 || S_ISREG(statb.st_mode)))
H A Dhistrap.c327 struct stat statb; local
338 if (stat(tf->tffn, &statb) < 0)
340 else if ((off_t)statb.st_size > MKSH_MAXHISTFSIZE) {
342 "file", (unsigned long)statb.st_size);
345 n = (size_t)statb.st_size + 1;
H A Dvar.c1205 struct stat statb; local
1210 stat(s, &statb) == 0 && S_ISDIR(statb.st_mode))
H A Dmain.c1343 struct stat statb; local
1345 return (fstat(fd, &statb) == 0 && !S_ISREG(statb.st_mode) ?
H A Dedit.c406 struct stat statb; local
420 stat(words[0], &statb) < 0) ||

Completed in 157 milliseconds