Searched refs:parentDir (Results 1 – 4 of 4) sorted by relevance
/build/soong/finder/fs/ |
D | fs.go | 299 func (m *MockFs) getFile(parentDir *mockDir, fileName string) (file *mockFile, err error) { 300 file, isFile := parentDir.files[fileName] 302 _, isDir := parentDir.subdirs[fileName] 303 _, isLink := parentDir.symlinks[fileName] 328 func (m *MockFs) getInode(parentDir *mockDir, name string) (inode *mockInode, err error) { 329 file, isFile := parentDir.files[name] 333 link, isLink := parentDir.symlinks[name] 337 dir, isDir := parentDir.subdirs[name] 360 parentDir, err := m.getDir(parentPath, false) 364 file, err := m.getFile(parentDir, base) [all …]
|
/build/soong/android/ |
D | namespace.go | 156 parentDir := filepath.Dir(path) 157 if parentDir == path { 160 namespace = r.findNamespace(parentDir)
|
D | module.go | 2301 func parentDir(dir string) string { func 2348 dir := parentDir(dir) 2354 dir = parentDir(dir) 2360 p := parentDir(dir)
|
/build/soong/finder/ |
D | finder_test.go | 452 parentDir := fmt.Sprintf("/tmp/%v", i) 454 filePath := filepath.Join(parentDir, fmt.Sprintf("%v/findme.txt", j)) 504 parentDir := fmt.Sprintf("/tmp/%v", i) 505 rootPaths = append(rootPaths, parentDir) 508 filePath := filepath.Join(parentDir, fmt.Sprintf("%v/findme.txt", j))
|