Home
last modified time | relevance | path

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

/build/soong/finder/fs/
Dfs.go294 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/
Dnamespace.go156 parentDir := filepath.Dir(path)
157 if parentDir == path {
160 namespace = r.findNamespace(parentDir)
Dmodule.go2168 func parentDir(dir string) string { func
2215 dir := parentDir(dir)
2221 dir = parentDir(dir)
2227 p := parentDir(dir)
/build/soong/finder/
Dfinder_test.go588 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))