/external/clearsilver/util/ |
neo_files.c | 23 #include <sys/stat.h> 68 struct stat s; 76 if (stat(path, &s) == -1) 80 return nerr_raise_errno (NERR_SYSTEM, "Unable to stat file %s", path); 143 struct stat s; 147 if (stat(path, &s) == -1) 150 return nerr_raise_errno (NERR_SYSTEM, "Unable to stat file %s", path); 164 if (stat(npath, &s) == -1) 168 return nerr_raise_errno (NERR_SYSTEM, "Unable to stat file %s", npath);
|
/external/dropbear/libtomcrypt/src/encauth/ocb/ |
ocb_decrypt_verify_memory.c | 31 @param stat [out] The result of the tag comparison (1==valid, 0==invalid) 40 int *stat) 50 LTC_ARGCHK(stat != NULL); 71 err = ocb_done_decrypt(ocb, ct, ctlen, pt, tag, taglen, stat);
|
/external/e2fsprogs/include/nonunix/ |
unistd.h | 18 #define stat _stat macro
|
/external/e2fsprogs/lib/ext2fs/ |
inline.c | 23 #include <sys/stat.h>
|
ismounted.c | 32 #include <sys/stat.h> 47 struct stat st_buf; 57 if (stat(file, &st_buf) == 0) { 59 #ifndef __GNU__ /* The GNU hurd is broken with respect to stat devices */ 70 if (stat(mnt->mnt_fsname, &st_buf) == 0) { 85 #ifndef __GNU__ /* The GNU hurd is broken with respect to stat devices */ 93 if (file_rdev && stat("/", &st_buf) == 0) { 111 if (stat(mnt->mnt_dir, &st_buf) < 0) { 241 struct stat st_buf; 245 #ifndef __GNU__ /* The GNU hurd is broken with respect to stat devices * [all...] |
/external/qemu/distrib/sdl-1.2.12/src/audio/ |
SDL_audiodev.c | 30 #include <sys/stat.h> 62 struct stat sb; 65 if ( ((stat("/dev/sound", &sb) == 0) && S_ISDIR(sb.st_mode)) && 66 ((stat(_PATH_DEV_DSP24, &sb) == 0) && S_ISCHR(sb.st_mode)) ) { 78 struct stat sb; 85 if ( stat(audiopath, &sb) == 0 ) { 104 #include <sys/stat.h> 148 struct stat sb; 166 if ( stat(audiopath, &sb) == 0 ) {
|
/external/strace/ |
configure.ac | 163 AC_CHECK_MEMBERS([struct stat.st_blksize, 164 struct stat.st_blocks, 165 struct stat.st_aclcnt, 166 struct stat.st_flags, 167 struct stat.st_fstype, 168 struct stat.st_gen, 169 struct stat.st_level, 170 struct stat.st_rdev]) 212 AC_CHECK_TYPES([struct __old_kernel_stat],,, [#include <asm/stat.h>])
|
/external/webkit/WebCore/platform/posix/ |
FileSystemPOSIX.cpp | 35 #include <sys/stat.h> 56 struct stat fileInfo; 58 // stat(...) returns 0 on successful stat'ing of the file, and non-zero in any case where the file doesn't exist or cannot be accessed 59 return !stat(fsRep.data(), &fileInfo); 91 struct stat fileInfo; 93 if (stat(fsRep.data(), &fileInfo)) 107 struct stat fileInfo; 109 if (stat(fsRep.data(), &fileInfo))
|
/external/webkit/WebKitTools/wx/build/ |
waf_extensions.py | 68 import stat namespace 70 st = os.stat(filename) 71 if stat.S_ISDIR(st[stat.ST_MODE]): raise IOError('not a file')
|
/hardware/qcom/gps/loc_api/libloc_api-rpc/src/ |
loc_api_rpc_glue.c | 49 #include <sys/stat.h> 89 #define LOC_GLUE_CHECK_RESULT(stat, ret_type) \ 90 if (stat != RPC_SUCCESS) { return (ret_type) RPC_LOC_API_RPC_FAILURE; } 200 enum clnt_stat stat = RPC_SUCCESS; local 202 stat = RPC_FUNC_VERSION(rpc_loc_open_, LOC_APIVERS)(&args, &rets, loc_api_clnt); 203 LOC_GLUE_CHECK_RESULT(stat, int32); 216 enum clnt_stat stat = RPC_SUCCESS; local 218 stat = RPC_FUNC_VERSION(rpc_loc_close_, LOC_APIVERS)(&args, &rets, loc_api_clnt); 219 LOC_GLUE_CHECK_RESULT(stat, int32); 232 enum clnt_stat stat = RPC_SUCCESS local 248 enum clnt_stat stat = RPC_SUCCESS; local 319 enum clnt_stat stat = RPC_SUCCESS; local 333 enum clnt_stat stat = RPC_SUCCESS; local [all...] |
/bionic/libc/unistd/ |
ftok.c | 30 #include <sys/stat.h> 34 struct stat st;
|
statfs.c | 32 int statfs(const char* path, struct statfs* stat) 34 return __statfs64(path, sizeof(struct statfs), stat);
|
/external/e2fsprogs/lib/e2p/ |
getflags.c | 21 #include <sys/stat.h> 30 struct stat buf;
|
setflags.c | 21 #include <sys/stat.h> 39 struct stat buf;
|
/external/e2fsprogs/misc/ |
ismounted.c | 30 #include <sys/stat.h> 77 struct stat st_buf; 91 if (stat(file, &st_buf) == 0) { 93 #ifndef __GNU__ /* The GNU hurd is broken with respect to stat devices */ 119 if (stat(device, &st_buf) == 0) { 134 #ifndef __GNU__ /* The GNU hurd is broken with respect to stat devices */ 142 if (file_rdev && (stat("/", &st_buf) == 0) && 155 if (stat(mnt_dir, &st_buf) < 0) {
|
/external/expat/xmlwf/ |
unixfilemap.c | 7 #include <sys/stat.h> 27 struct stat sb;
|
/external/dropbear/libtomcrypt/src/pk/dsa/ |
dsa_verify_key.c | 23 @param stat [out] Result of test, 1==valid, 0==invalid 26 int dsa_verify_key(dsa_key *key, int *stat) 32 LTC_ARGCHK(stat != NULL); 35 *stat = 0; 91 *stat = 1;
|
/frameworks/base/libs/utils/ |
misc.cpp | 22 #include <sys/stat.h> 121 struct stat sb; 123 if (stat(fileName, &sb) < 0) { 158 struct stat sb; 160 if (stat(fileName, &sb) < 0)
|
/external/openssl/crypto/rand/ |
randfile.c | 79 # include <stat.h> 81 # include <sys/stat.h> 85 #define stat _stat macro 114 struct stat sb; 121 /* struct stat can have padding and unused fields that may not be 122 * initialized in the call to stat(). We need to clear the entire 129 if (stat(file,&sb) < 0) return(0); 182 struct stat sb; 184 i=stat(file,&sb); 270 struct stat sb [all...] |
/frameworks/base/media/libdrm/mobile1/src/objmng/ |
drm_file.c | 21 #include <sys/stat.h> 82 * Perform a stat() call on the given filename. 86 * @param sbuf stat buffer 90 getFileStat(const uint16_t *name, int32_t nameLen, struct stat *sbuf) 98 else if (stat(tmpPathBuf1, sbuf) != 0) 100 Trace("getFileStat %s: stat() errno=%d", tmpPathBuf1, errno); 134 struct stat stat_buf; 177 exists = stat(path, &stat_buf); 309 struct stat sinfo; 339 Trace("DRM_file_listNextEntry: stat FAILURE on %.*S" [all...] |
/bootable/diskinstaller/editdisklbl/ |
editdisklbl.c | 26 #include <sys/stat.h> 60 struct stat filestat; 98 if (stat(img_file, &filestat)) { 99 perror("Cannot stat image file"); 130 struct stat tmp_stat; 151 if (stat(pair, &tmp_stat) < 0) { 152 fprintf(stderr, "Could not stat file: %s\n", pair);
|
/dalvik/vm/native/ |
SystemThread.c | 27 #include <sys/stat.h> 33 * /proc/PID/task/TID/stat. -1 if not opened yet. -2 indicates an error 38 /* Offset of state char in stat file, last we checked. */ 82 LOGE("Unexpected EOF while trying to read stat file."); 103 LOGE("Unexpected EOF while trying to read stat file."); 140 // Note: see "man proc" for the format of stat. 147 sprintf(fileName, "/proc/self/task/%d/stat", thread->systemTid);
|
/external/icu4c/tools/toolutil/ |
toolutil.c | 22 #include <sys/stat.h> 40 # include <sys/stat.h> 121 struct stat st; 123 if(stat(pathname,&st) != 0) 139 // TODO: handle case where stat is not available 140 struct stat st; 142 if(stat(pathname,&st) != 0)
|
/frameworks/base/media/libmedia/ |
MediaScanner.cpp | 19 #include <sys/stat.h> 134 // If the type is unknown, stat() the file instead. 137 struct stat statbuf; 138 if (stat(path, &statbuf) == 0) { 145 LOGD("stat() failed for %s: %s", path, strerror(errno) ); 172 struct stat statbuf; 173 stat(path, &statbuf);
|
/external/stlport/src/details/ |
fstream_unistd.cpp | 21 // For sunpro, it chokes if time.h is included through stat.h 32 #include <sys/stat.h> // For stat 60 # define STAT stat 66 # define STAT stat64 105 struct STAT buf; 113 struct STAT buf; 148 // Return the size of the file. This is a wrapper for stat.
|