/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/tests/ |
D | bootstrap_test.sh | 18 local bootstrap_mtime1=$(stat -c "%y" out/soong/.bootstrap/build.ninja) 19 local output_mtime1=$(stat -c "%y" out/soong/build.ninja) 21 local bootstrap_mtime2=$(stat -c "%y" out/soong/.bootstrap/build.ninja) 22 local output_mtime2=$(stat -c "%y" out/soong/build.ninja) 37 local mtime1=$(stat -c "%y" out/soong/.bootstrap/build.ninja) 42 local mtime2=$(stat -c "%y" out/soong/.bootstrap/build.ninja) 80 local mtime1=$(stat -c "%y" out/soong/build.ninja) 92 local mtime2=$(stat -c "%y" out/soong/build.ninja) 143 local ninja_mtime1=$(stat -c "%y" out/soong/build.ninja) 152 local ninja_mtime2=$(stat -c "%y" out/soong/build.ninja) [all …]
|
/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/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/soong/cmd/soong_ui/ |
D | main.go | 186 stat := &status.Status{} 187 defer stat.Finish() 189 stat.AddOutput(output) 190 stat.AddOutput(trace.StatusTracer()) 196 stat.Finish() 205 Status: stat, 234 stat.AddOutput(status.NewVerboseLog(log, filepath.Join(logsDir, c.logsPrefix+"verbose.log"))) 235 stat.AddOutput(status.NewErrorLog(log, filepath.Join(logsDir, c.logsPrefix+"error.log"))) 236 stat.AddOutput(status.NewProtoErrorLog(log, buildErrorFile)) 237 stat.AddOutput(status.NewCriticalPath(log)) [all …]
|
/build/make/tools/rbcrun/cmd/ |
D | rbcrun.go | 64 if stat, err := os.Stat(*rootdir); os.IsNotExist(err) || !stat.IsDir() {
|
/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 | 185 stat := &status.Status{} 186 defer stat.Finish() 187 stat.AddOutput(output) 190 stat.AddOutput(&failures) 195 stat.Finish() 203 Status: stat,
|
/build/make/tools/ |
D | compare_builds.py | 124 import stat 454 st = os.stat(filename, follow_symlinks=False) 519 first_stat = os.stat(first_filename, follow_symlinks=False) 520 second_stat = os.stat(first_filename, follow_symlinks=False) 531 if stat.S_ISLNK(first_stat.st_mode): 534 elif stat.S_ISREG(first_stat.st_mode):
|
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/make/tools/acp/ |
D | acp.c | 48 struct stat sb; in process() 79 if (stat(stripDest, &sb) < 0) { in process()
|
/build/blueprint/tests/ |
D | test_tree_tests.sh | 4 stat -c %Y $1
|
/build/make/tools/rbcrun/ |
D | host.go | 121 if stat, err := os.Stat(path); err != nil || stat.IsDir() {
|
/build/make/tools/releasetools/ |
D | add_img_to_target_files.py | 54 import stat 298 os.chmod(img.name, os.stat(img.name).st_mode | stat.S_IWUSR) 334 os.chmod(img.name, os.stat(img.name).st_mode | stat.S_IWUSR)
|
D | add_img_to_target_files | 54 import stat 298 os.chmod(img.name, os.stat(img.name).st_mode | stat.S_IWUSR) 334 os.chmod(img.name, os.stat(img.name).st_mode | stat.S_IWUSR)
|
D | sign_target_files_apks | 158 import stat 597 if stat.S_ISLNK(info.external_attr >> 16):
|
/build/soong/cmd/sbox/ |
D | sbox.go | 395 stat, err := os.Stat(from) 403 perm := stat.Mode()
|
/build/blueprint/pathtools/ |
D | fs.go | 171 stat, err := os.Stat(fs.toAbs(name)) 173 return true, stat.IsDir(), nil
|