Home
last modified time | relevance | path

Searched refs:parentDir (Results 1 – 4 of 4) sorted by relevance

/build/soong/finder/fs/
Dfs.go299 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/
Dnamespace.go156 parentDir := filepath.Dir(path)
157 if parentDir == path {
160 namespace = r.findNamespace(parentDir)
Dmodule.go2301 func parentDir(dir string) string { func
2348 dir := parentDir(dir)
2354 dir = parentDir(dir)
2360 p := parentDir(dir)
/build/soong/finder/
Dfinder_test.go452 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))