Home
last modified time | relevance | path

Searched refs:stat (Results 1 – 25 of 25) sorted by relevance

/build/soong/ui/terminal/
Dstatus_test.go30 calls func(stat status.StatusOutput)
97 stat := NewStatusOutput(smart, "", false, false)
98 tt.calls(stat)
99 stat.Flush()
108 stat := NewStatusOutput(simple, "", false, false)
109 tt.calls(stat)
110 stat.Flush()
119 stat := NewStatusOutput(smart, "", true, false)
120 tt.calls(stat)
121 stat.Flush()
[all …]
/build/soong/finder/fs/
Dfs_test.go33 …assertStat := func(t *testing.T, stat os.FileInfo, err error, wantName string, wantMode os.FileMod…
39 if g, w := stat.Name(), wantName; g != w {
42 if g, w := stat.Mode(), wantMode; g != w {
53 stat, err := filesystem.Lstat("/tmp/links/dir")
54 assertStat(t, stat, err, "dir", os.ModeSymlink)
56 stat, err = filesystem.Stat("/tmp/links/dir")
57 assertStat(t, stat, err, "realdir", os.ModeDir)
59 stat, err = filesystem.Lstat("/tmp/links/file")
60 assertStat(t, stat, err, "file", os.ModeSymlink)
62 stat, err = filesystem.Stat("/tmp/links/file")
[all …]
Dreaddir.go174 stat, err := os.Lstat(name)
179 return stat.Mode() & (os.ModeType | os.ModeCharDevice), nil
/build/soong/cmd/fileslist/
Dfileslist.go55 stat os.FileInfo member
58 func newNode(hostPath string, devicePath string, stat os.FileInfo) Node {
59 return Node{Name: devicePath, path: hostPath, stat: stat}
64 n.Size = n.stat.Size()
68 if n.stat.Mode()&os.ModeSymlink == 0 {
128 err = filepath.Walk(dir, func(path string, stat os.FileInfo, err error) error {
132 if stat.IsDir() {
144 ch <- newNode(absPath, devicePath, stat)
/build/make/tools/libhost/
DCopyFile.c31 # define lstat stat
58 static bool isSourceNewer(const struct stat* pSrcStat, const struct stat* pDstStat) in isSourceNewer()
68 static bool isHiresMtime(const struct stat* pSrcStat) in isHiresMtime()
84 static bool isSameFile(const struct stat* pSrcStat, const struct stat* pDstStat) in isSameFile()
160 static int setPermissions(const char* dst, const struct stat* pSrcStat, unsigned int options) in setPermissions()
209 static int copyRegular(const char* src, const char* dst, const struct stat* pSrcStat, unsigned int … in copyRegular()
211 struct stat dstStat; in copyRegular()
216 statResult = stat(dst, &dstStat); in copyRegular()
303 struct stat rsrcStat; in copyRegular()
313 if (stat(srcRsrcName, &rsrcStat) == 0 && rsrcStat.st_size > 0) { in copyRegular()
[all …]
/build/soong/cuj/
Dcuj.go63 stat := &status.Status{}
64 defer stat.Finish()
65 stat.AddOutput(output)
66 stat.AddOutput(trace.StatusTracer())
71 stat.Finish()
80 Status: stat,
93 stat.AddOutput(status.NewVerboseLog(log, filepath.Join(logsDir, "verbose.log")))
94 stat.AddOutput(status.NewErrorLog(log, filepath.Join(logsDir, "error.log")))
95 stat.AddOutput(status.NewProtoErrorLog(log, filepath.Join(logsDir, "build_error")))
96 stat.AddOutput(status.NewCriticalPath(log))
/build/soong/ui/status/
Dninja_test.go35 stat := &Status{}
36 nr := NewNinjaReader(logger.New(ioutil.Discard), stat.StartTool(), filepath.Join(tempDir, "fifo"))
/build/soong/cmd/soong_ui/
Dmain.go143 stat := &status.Status{}
144 defer stat.Finish()
145 stat.AddOutput(output)
146 stat.AddOutput(trace.StatusTracer())
151 stat.Finish()
160 Status: stat,
180 stat.AddOutput(status.NewVerboseLog(log, filepath.Join(logsDir, c.logsPrefix+"verbose.log")))
181 stat.AddOutput(status.NewErrorLog(log, filepath.Join(logsDir, c.logsPrefix+"error.log")))
182 stat.AddOutput(status.NewProtoErrorLog(log, buildErrorFile))
183 stat.AddOutput(status.NewCriticalPath(log))
[all …]
/build/make/tools/atree/
Dfs.cpp24 struct stat st; in is_dir()
25 err = stat(path.c_str(), &st); in is_dir()
113 struct stat st; in mkdir_recursively()
114 err = stat(p.c_str(), &st); in mkdir_recursively()
Dfiles.cpp346 struct stat st; in locate()
347 err = stat(full.c_str(), &st); in locate()
369 struct stat st; in stat_out()
370 err = stat(rec->outPath.c_str(), &st); in stat_out()
401 struct stat st; in add_more()
402 int err = stat(r.sourcePath.c_str(), &st); in add_more()
/build/blueprint/microfactory/
Dmicrofactory_test.go145 if stat, err := os.Stat(out); err == nil {
146 firstTime = stat.ModTime()
188 if stat, err := os.Stat(out); err == nil {
190 if stat.ModTime() == firstTime {
194 if stat.ModTime() != firstTime {
197 t.Error("second:", stat.ModTime())
/build/soong/cmd/multiproduct_kati/
Dmain.go167 stat := &status.Status{}
168 defer stat.Finish()
169 stat.AddOutput(output)
172 stat.AddOutput(&failures)
177 stat.Finish()
185 Status: stat,
/build/make/tools/acp/
Dacp.c48 struct stat sb; in process()
79 if (stat(stripDest, &sb) < 0) { in process()
/build/make/tools/releasetools/
Dtarget_files_diff.py181 stat1 = os.stat(name1)
182 stat2 = os.stat(name2)
Dsign_target_files_apks.py142 import stat
565 if stat.S_ISLNK(info.external_attr >> 16):
Dsign_target_files_apks142 import stat
565 if stat.S_ISLNK(info.external_attr >> 16):
Dcommon.py322 stat = os.fstat(d)
323 if stat is not None:
324 pipebit = stat[0] & 0x1000
2313 saved_stat = os.stat(filename)
Dtest_common.py361 new_stat = os.stat(test_file_name)
411 expected_stat = os.stat(test_file_name)
487 expected_stat = os.stat(test_file_name)
/build/make/tools/
Dgenerate-self-extracting-archive.py131 input_archive_size = os.stat(input_archive_filename).st_size
Dfindleaves.py60 st = os.stat(os.path.join(root, dirs[i]))
/build/blueprint/tests/
Dtest_tree_tests.sh4 stat -c %Y $1
/build/blueprint/pathtools/
Dfs.go171 stat, err := os.Stat(fs.toAbs(name))
173 return true, stat.IsDir(), nil
/build/soong/docs/
Dperf.md85 verbose: *kati*: stat time (regen): 0.361907 / 1241
102 into glob or stat checks (falling back to calling `find` if one of those imply
/build/make/tools/zipalign/
DZipFile.cpp1152 struct stat sb; in getModTime()
/build/make/core/
Ddefinitions.mk2661 stat -c "%s" "$(1)" | tr -d '\n'