Lines Matching defs:component
42 will happen, if the supplied path consists only of one component.
78 // fullPath contains only one component
98 will happen, if the supplied path consists only of one component.
285 /*! The length of the first component is returned as well as the index at
289 \param length the variable the length of the first component is written
291 \param nextComponent the variable the index of the next component is
292 written into. \c 0 is returned, if there is no next component.
318 /*! A string containing the first component is returned and the index, at
322 \param component the variable the pointer to the newly allocated string
323 containing the first path component is written into. The caller
325 \param nextComponent the variable the index of the next component is
326 written into. \c 0 is returned, if there is no next component.
330 parse_first_path_component(const char *path, char *&component,
336 component = new(nothrow) char[length + 1];
337 if (component) {
338 strncpy(component, path, length);
339 component[length] = '\0';