Searched refs:st (Results 1 – 8 of 8) 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()
800 struct stat st; in LoadFile() local801 int err = stat(fileName.c_str(), &st); in LoadFile()806 if (st.st_size == 0) { in LoadFile()812 LOG(VERBOSE) << "file owner: " << st.st_uid << ":" << st.st_gid; in LoadFile()814 LOG(VERBOSE) << "file permissions: " << std::oct << st.st_mode; in LoadFile()
58 StackWalk2 st = new StackWalk2(); in main() local59 st.f(); in main()
42 struct stat st; in MapReadOnly() local43 int result = TEMP_FAILURE_RETRY(fstat(Fd(), &st)); in MapReadOnly()48 file_size_ = st.st_size; in MapReadOnly()
1 1st call
90 Main st = new Main(); in main() local91 st.f(); in main()
966 LIR* st = nullptr; in GenDalvikArgsRange() local969 st = OpVstm(TargetReg(kArg3, kRef), regs_left_to_pass_via_stack); in GenDalvikArgsRange()971 st->u.m.def_mask = &kEncodeAll; in GenDalvikArgsRange()
83 struct stat st; in GetAndroidToolsDir() local86 if (stat(prebuilts.c_str(), &st) == 0) { in GetAndroidToolsDir()99 bool statok = stat(toolsdir.c_str(), &st) == 0; in GetAndroidToolsDir()