Searched refs:st (Results 1 – 6 of 6) sorted by relevance
52 struct stat st; in FileExists() local53 if (stat(name, &st) == 0) { in FileExists()54 return S_ISREG(st.st_mode); // TODO: Deal with symlinks? in FileExists()61 struct stat st; in DirectoryExists() local62 if (stat(name, &st) == 0) { in DirectoryExists()63 return S_ISDIR(st.st_mode); // TODO: Deal with symlinks? in DirectoryExists()
797 struct stat st; in LoadFile() local798 int err = stat(fileName.c_str(), &st); in LoadFile()803 if (st.st_size == 0) { in LoadFile()809 LOG(VERBOSE) << "file owner: " << st.st_uid << ":" << st.st_gid; in LoadFile()811 LOG(VERBOSE) << "file permissions: " << std::oct << st.st_mode; in LoadFile()
58 StackWalk2 st = new StackWalk2(); in main() local59 st.f(); in main()
1 1st call
90 Main st = new Main(); in main() local91 st.f(); in main()
260 struct stat st; in native_bridge_initialize() local262 && (stat(app_code_cache_dir, &st) == 0) in native_bridge_initialize()263 && S_ISDIR(st.st_mode)) { in native_bridge_initialize()