Lines Matching refs:fPath
107 fPath(path) in Path()
109 if (fPath.IsEmpty()) { in Path()
114 char* buffer = fPath.LockBuffer(fPath.Length()); in Path()
126 fPath.LockBuffer(k); in Path()
132 if (fPath.IsEmpty()) { in AppendComponent()
133 fPath = component; in AppendComponent()
134 if (fPath.IsEmpty() && component[0] != '\0') in AppendComponent()
137 int32 length = fPath.Length(); in AppendComponent()
138 if (fPath[length - 1] != '/') { in AppendComponent()
139 fPath += '/'; in AppendComponent()
140 if (++length != fPath.Length()) in AppendComponent()
144 fPath += component; in AppendComponent()
145 if (fPath.Length() <= length) in AppendComponent()
154 int32 index = fPath.FindLast('/'); in RemoveLastComponent()
155 if (index < 0 || (index == 0 && fPath.Length() == 1)) in RemoveLastComponent()
156 fPath.Truncate(0); in RemoveLastComponent()
158 fPath.Truncate(1); in RemoveLastComponent()
160 fPath.Truncate(index); in RemoveLastComponent()
166 int32 index = fPath.FindLast('/'); in Leaf()
167 if (index < 0 || (index == 0 && fPath.Length() == 1)) in Leaf()
168 return fPath.String(); in Leaf()
169 return fPath.String() + index + 1; in Leaf()
174 return fPath; in ToString()
179 return fPath.String(); in ToCString()
184 return fPath;
189 return fPath;
193 BString fPath;