/build/soong/ui/terminal/ |
D | status_test.go | 30 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/ |
D | fs_test.go | 33 …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 …]
|
D | readdir.go | 174 stat, err := os.Lstat(name) 179 return stat.Mode() & (os.ModeType | os.ModeCharDevice), nil
|
/build/soong/cmd/fileslist/ |
D | fileslist.go | 55 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/ |
D | CopyFile.c | 31 # 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/ |
D | cuj.go | 63 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/ |
D | ninja_test.go | 35 stat := &Status{} 36 nr := NewNinjaReader(logger.New(ioutil.Discard), stat.StartTool(), filepath.Join(tempDir, "fifo"))
|
/build/soong/cmd/soong_ui/ |
D | main.go | 143 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/ |
D | fs.cpp | 24 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()
|
D | files.cpp | 346 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/ |
D | microfactory_test.go | 145 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/ |
D | main.go | 167 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/ |
D | acp.c | 48 struct stat sb; in process() 79 if (stat(stripDest, &sb) < 0) { in process()
|
/build/make/tools/releasetools/ |
D | target_files_diff.py | 181 stat1 = os.stat(name1) 182 stat2 = os.stat(name2)
|
D | sign_target_files_apks.py | 142 import stat 565 if stat.S_ISLNK(info.external_attr >> 16):
|
D | sign_target_files_apks | 142 import stat 565 if stat.S_ISLNK(info.external_attr >> 16):
|
D | common.py | 322 stat = os.fstat(d) 323 if stat is not None: 324 pipebit = stat[0] & 0x1000 2313 saved_stat = os.stat(filename)
|
D | test_common.py | 361 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/ |
D | generate-self-extracting-archive.py | 131 input_archive_size = os.stat(input_archive_filename).st_size
|
D | findleaves.py | 60 st = os.stat(os.path.join(root, dirs[i]))
|
/build/blueprint/tests/ |
D | test_tree_tests.sh | 4 stat -c %Y $1
|
/build/blueprint/pathtools/ |
D | fs.go | 171 stat, err := os.Stat(fs.toAbs(name)) 173 return true, stat.IsDir(), nil
|
/build/soong/docs/ |
D | perf.md | 85 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/ |
D | ZipFile.cpp | 1152 struct stat sb; in getModTime()
|
/build/make/core/ |
D | definitions.mk | 2661 stat -c "%s" "$(1)" | tr -d '\n'
|