Searched refs:parentDir (Results 1 – 4 of 4) sorted by relevance
/build/soong/finder/fs/ |
D | fs.go | 294 func (m *MockFs) getFile(parentDir *mockDir, fileName string) (file *mockFile, err error) { 295 file, isFile := parentDir.files[fileName] 297 _, isDir := parentDir.subdirs[fileName] 298 _, isLink := parentDir.symlinks[fileName] 323 func (m *MockFs) getInode(parentDir *mockDir, name string) (inode *mockInode, err error) { 324 file, isFile := parentDir.files[name] 328 link, isLink := parentDir.symlinks[name] 332 dir, isDir := parentDir.subdirs[name] 355 parentDir, err := m.getDir(parentPath, false) 359 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 | 2168 func parentDir(dir string) string { func 2215 dir := parentDir(dir) 2221 dir = parentDir(dir) 2227 p := parentDir(dir)
|
/build/soong/finder/ |
D | finder_test.go | 588 parentDir := fmt.Sprintf("/tmp/%v", i) 590 filePath := filepath.Join(parentDir, fmt.Sprintf("%v/findme.txt", j)) 640 parentDir := fmt.Sprintf("/tmp/%v", i) 641 rootPaths = append(rootPaths, parentDir) 644 filePath := filepath.Join(parentDir, fmt.Sprintf("%v/findme.txt", j))
|