Home
last modified time | relevance | path

Searched refs:st (Results 1 – 18 of 18) sorted by relevance

/build/soong/ui/status/
Dkati.go32 st ToolStatus member
53 k.st.FinishAction(ActionResult{
66 k.st.Verbose(line)
80 k.st.SetTotalActions(k.total + k.extra)
84 k.st.SetTotalActions(k.total + k.extra)
92 k.st.SetTotalActions(k.total + k.extra)
99 k.st.StartAction(k.action)
109 k.st.Status(line)
111 k.st.Print(line)
118 func KatiReader(st ToolStatus, pipe io.ReadCloser) {
[all …]
Dkati_test.go51 st: status.StartTool(),
118 st: status.StartTool(),
164 st: status.StartTool(),
/build/kati/
Dfile.cc36 struct stat st; in Makefile() local
37 if (fstat(fd, &st) < 0) { in Makefile()
41 size_t len = st.st_size; in Makefile()
42 mtime_ = st.st_mtime; in Makefile()
Dfileutil.cc39 struct stat st; in Exists() local
40 if (stat(filename.as_string().c_str(), &st) < 0) { in Exists()
46 double GetTimestampFromStat(const struct stat& st) { in GetTimestampFromStat() argument
48 return st.st_mtime + st.st_mtim.tv_nsec * 0.001 * 0.001 * 0.001; in GetTimestampFromStat()
50 return st.st_mtime; in GetTimestampFromStat()
56 struct stat st; in GetTimestamp() local
57 if (stat(filename.as_string().c_str(), &st) < 0) { in GetTimestamp()
60 return GetTimestampFromStat(st); in GetTimestamp()
Dstats.cc83 ScopedStatsRecorder::ScopedStatsRecorder(Stats* st, const char* msg) in ScopedStatsRecorder() argument
84 : st_(st), msg_(msg) { in ScopedStatsRecorder()
102 for (Stats* st : *g_stats) { in ReportAllStats()
103 LOG_STAT("%s", st->String().c_str()); in ReportAllStats()
104 st->DumpTop(); in ReportAllStats()
Dparser.cc136 void set_state(ParserState st) { state_ = st; } in set_state() argument
342 IfState* st = new IfState(); in EnterIf() local
343 st->stmt = stmt; in EnterIf()
344 st->is_in_else = false; in EnterIf()
345 st->num_nest = num_if_nest_; in EnterIf()
346 if_stack_.push(st); in EnterIf()
417 IfState* st = if_stack_.top(); in ParseElse() local
418 if (st->is_in_else) { in ParseElse()
422 st->is_in_else = true; in ParseElse()
423 out_stmts_ = &st->stmt->false_stmts; in ParseElse()
[all …]
Dfind.cc900 static unsigned char GetDtTypeFromStat(const struct stat& st) { in GetDtTypeFromStat() argument
901 if (S_ISREG(st.st_mode)) { in GetDtTypeFromStat()
903 } else if (S_ISDIR(st.st_mode)) { in GetDtTypeFromStat()
905 } else if (S_ISCHR(st.st_mode)) { in GetDtTypeFromStat()
907 } else if (S_ISBLK(st.st_mode)) { in GetDtTypeFromStat()
909 } else if (S_ISFIFO(st.st_mode)) { in GetDtTypeFromStat()
911 } else if (S_ISLNK(st.st_mode)) { in GetDtTypeFromStat()
913 } else if (S_ISSOCK(st.st_mode)) { in GetDtTypeFromStat()
921 struct stat st; in GetDtType() local
922 if (lstat(path.c_str(), &st)) { in GetDtType()
[all …]
Dfileutil.h30 double GetTimestampFromStat(const struct stat& st);
Dstats.h46 explicit ScopedStatsRecorder(Stats* st, const char* msg = 0);
Dregen.cc327 struct stat st; in ShouldRunCommand() local
328 if (lstat(dir.c_str(), &st) != 0) { in ShouldRunCommand()
331 double ts = GetTimestampFromStat(st); in ShouldRunCommand()
335 if (S_ISLNK(st.st_mode)) { in ShouldRunCommand()
Deval.go55 func (ac *accessCache) update(fn string, hash [sha1.Size]byte, st fileState) string {
65 if st != fileExists {
73 if st != fileNotExists {
85 State: st,
Dworker.go125 st, err := os.Stat(filename)
129 return st.ModTime().Unix()
Dfunc.cc328 ScopedTerminator st(tok); in WildcardFunc() local
410 ScopedTerminator st(tok); in RealpathFunc() local
722 struct stat st; in FileReadFunc() local
723 if (fstat(fd, &st) < 0) { in FileReadFunc()
727 size_t len = st.st_size; in FileReadFunc()
Deval.cc429 ScopedTerminator st(pat); in EvalInclude() local
/build/make/tools/atree/
Dfiles.cpp346 struct stat st; in locate() local
347 err = stat(full.c_str(), &st); in locate()
351 rec->sourceMod = st.st_mtime; in locate()
352 rec->sourceSize = st.st_size; in locate()
353 rec->sourceIsDir = S_ISDIR(st.st_mode); in locate()
369 struct stat st; in stat_out() local
370 err = stat(rec->outPath.c_str(), &st); in stat_out()
372 rec->outMod = st.st_mtime; in stat_out()
373 rec->outSize = st.st_size; in stat_out()
374 rec->outIsDir = S_ISDIR(st.st_mode); in stat_out()
[all …]
Dfs.cpp24 struct stat st; in is_dir() local
25 err = stat(path.c_str(), &st); in is_dir()
26 return err != 0 || S_ISDIR(st.st_mode); in is_dir()
113 struct stat st; in mkdir_recursively() local
114 err = stat(p.c_str(), &st); in mkdir_recursively()
123 else if (!S_ISDIR(st.st_mode)) { in mkdir_recursively()
/build/soong/ui/build/
Dexec.go131 st := c.ctx.Status.StartTool()
134 st.Error(string(ret))
136 st.Print(string(ret))
139 st.Finish()
/build/make/tools/
Dfindleaves.py60 st = os.stat(os.path.join(root, dirs[i]))
61 key = (st.st_dev, st.st_ino)