Searched defs:st (Results 1 - 11 of 11) sorted by relevance
/build/kati/ |
H A D | file.cc | 36 struct stat st; local 37 if (fstat(fd, &st) < 0) { 41 size_t len = st.st_size; 42 mtime_ = st.st_mtime;
|
H A D | stats.cc | 83 ScopedStatsRecorder::ScopedStatsRecorder(Stats* st, const char* msg) argument 84 : st_(st), msg_(msg) { 102 for (Stats* st : *g_stats) { 103 LOG_STAT("%s", st->String().c_str()); 104 st->DumpTop();
|
H A D | fileutil.cc | 39 struct stat st; local 40 if (stat(filename.as_string().c_str(), &st) < 0) { 46 double GetTimestampFromStat(const struct stat& st) { argument 48 return st.st_mtime + st.st_mtim.tv_nsec * 0.001 * 0.001 * 0.001; 50 return st.st_mtime; 56 struct stat st; local 57 if (stat(filename.as_string().c_str(), &st) < 0) { 60 return GetTimestampFromStat(st);
|
H A D | regen.cc | 326 struct stat st; local 327 if (lstat(dir.c_str(), &st) != 0) { 330 double ts = GetTimestampFromStat(st); 334 if (S_ISLNK(st.st_mode)) {
|
H A D | find.cc | 900 static unsigned char GetDtTypeFromStat(const struct stat& st) { argument 901 if (S_ISREG(st.st_mode)) { 903 } else if (S_ISDIR(st.st_mode)) { 905 } else if (S_ISCHR(st.st_mode)) { 907 } else if (S_ISBLK(st.st_mode)) { 909 } else if (S_ISFIFO(st.st_mode)) { 911 } else if (S_ISLNK(st.st_mode)) { 913 } else if (S_ISSOCK(st.st_mode)) { 921 struct stat st; local 922 if (lstat(path.c_str(), &st)) { 994 struct stat st; local [all...] |
H A D | parser.cc | 136 void set_state(ParserState st) { state_ = st; } argument 320 IfState* st = new IfState(); local 321 st->stmt = stmt; 322 st->is_in_else = false; 323 st->num_nest = num_if_nest_; 324 if_stack_.push(st); 395 IfState* st = if_stack_.top(); 396 if (st->is_in_else) { 400 st 421 IfState st = *if_stack_.top(); local 428 IfState* st = if_stack_.top(); local [all...] |
H A D | func.cc | 325 ScopedTerminator st(tok); 407 ScopedTerminator st(tok); 718 struct stat st; local 719 if (fstat(fd, &st) < 0) { 723 size_t len = st.st_size;
|
/build/make/tools/atree/ |
H A D | fs.cpp | 24 struct stat st; local 25 err = stat(path.c_str(), &st); 26 return err != 0 || S_ISDIR(st.st_mode); 113 struct stat st; local 114 err = stat(p.c_str(), &st); 123 else if (!S_ISDIR(st.st_mode)) {
|
H A D | files.cpp | 346 struct stat st; local 347 err = stat(full.c_str(), &st); 351 rec->sourceMod = st.st_mtime; 352 rec->sourceSize = st.st_size; 353 rec->sourceIsDir = S_ISDIR(st.st_mode); 369 struct stat st; local 370 err = stat(rec->outPath.c_str(), &st); 372 rec->outMod = st.st_mtime; 373 rec->outSize = st.st_size; 374 rec->outIsDir = S_ISDIR(st 401 struct stat st; local [all...] |
/build/tools/atree/ |
H A D | fs.cpp | 24 struct stat st; local 25 err = stat(path.c_str(), &st); 26 return err != 0 || S_ISDIR(st.st_mode); 113 struct stat st; local 114 err = stat(p.c_str(), &st); 123 else if (!S_ISDIR(st.st_mode)) {
|
H A D | files.cpp | 346 struct stat st; local 347 err = stat(full.c_str(), &st); 351 rec->sourceMod = st.st_mtime; 352 rec->sourceSize = st.st_size; 353 rec->sourceIsDir = S_ISDIR(st.st_mode); 369 struct stat st; local 370 err = stat(rec->outPath.c_str(), &st); 372 rec->outMod = st.st_mtime; 373 rec->outSize = st.st_size; 374 rec->outIsDir = S_ISDIR(st 401 struct stat st; local [all...] |
Completed in 272 milliseconds