Lines Matching defs:leaf
72 BPath::BPath(const char* dir, const char* leaf, bool normalize)
77 SetTo(dir, leaf, normalize);
83 BPath::BPath(const BDirectory* dir, const char* leaf, bool normalize)
88 SetTo(dir, leaf, normalize);
146 // leaf combination.
148 BPath::SetTo(const char* path, const char* leaf, bool normalize)
151 if (error == B_OK && leaf && BPrivate::Storage::is_absolute_path(leaf))
157 // build a new path from path and leaf
164 // append leaf, if supplied
165 if (error == B_OK && leaf) {
168 + strlen(leaf);
176 strcpy(newPath + pathLen, leaf);
256 // Gets the leaf portion of the path.