Home
last modified time | relevance | path

Searched refs:leaf (Results 1 – 3 of 3) sorted by relevance

/build/soong/finder/fs/
Dfs.go168 func pathSplit(path string) (dir string, leaf string) {
169 dir, leaf = filepath.Split(path)
173 return dir, leaf
247 parentPath, leaf := pathSplit(path)
270 link, isLink := parentNode.symlinks[leaf]
770 parentPath, leaf := pathSplit(cleanedPath)
785 childDir, dirExists := parent.subdirs[leaf]
789 _, fileExists := parent.files[leaf]
799 parent.subdirs[leaf] = childDir
815 parentPath, leaf := pathSplit(path)
[all …]
/build/make/tools/atree/
Dfiles.cpp23 path_append(const string& base, const string& leaf) in path_append() argument
26 if (base.length() > 0 && leaf.length() > 0) { in path_append()
29 full += leaf; in path_append()
/build/soong/finder/
Dfinder.go355 func joinCleanPaths(base string, leaf string) string {
357 return leaf
360 return base + leaf
362 if leaf == "" {
365 return base + "/" + leaf