Searched refs:fileStat (Results 1 – 5 of 5) sorted by relevance
25 struct stat fileStat; in isDirectory() local26 if (stat(filename, &fileStat) == -1) { in isDirectory()29 return(S_ISDIR(fileStat.st_mode)); in isDirectory()35 struct stat fileStat; in isFile() local36 if (stat(filename, &fileStat) == -1) { in isFile()39 return(S_ISREG(fileStat.st_mode)); in isFile()
183 struct stat fileStat; in fromFile() local184 if (fstat(fd.get(), &fileStat) != 0) { in fromFile()195 if (fileStat.st_size < (fdCurrentPosition + (off_t)sizeof(ChunkDescriptor))) { in fromFile()222 if (chunkPayloadSize > (size_t)(fileStat.st_size - fdCurrentPosition)) { in fromFile()
138 struct stat fileStat; in loadAudioPolicyEngineConfig() local139 return stat(path, &fileStat) == 0 && S_ISREG(fileStat.st_mode); in loadAudioPolicyEngineConfig()
754 struct stat fileStat; in BlockingCall() local755 if (stat(link_name, &fileStat) != OK) { in BlockingCall()
48 struct stat fileStat; in fileExists() local49 return stat(path.c_str(), &fileStat) == 0 && S_ISREG(fileStat.st_mode); in fileExists()