Lines Matching defs:component

115                        const char *component,
119 apr_size_t clen = strlen(component);
123 assert(svn_path_is_canonical_internal(component, pool));
125 /* If the component is absolute, then return it. */
126 if (*component == '/')
127 return apr_pmemdup(pool, component, clen + 1);
131 return apr_pmemdup(pool, component, clen + 1);
132 if (SVN_PATH_IS_EMPTY(component))
136 blen = 0; /* Ignore base, just return separator + component */
142 memcpy(path + blen + 1, component, clen + 1);
148 const char *component,
151 return svn_path_join_internal(base, component, pool);
213 this component; do not add a separator. If the base is empty
236 /* if we aren't supposed to skip forward to an absolute component, and if
263 /* insert a separator if we aren't copying in the first component
265 if the prior character is a slash (occurs when prior component
270 /* copy the new component and advance the pointer */
338 const char *component)
340 apr_size_t len = strlen(component);
343 assert(is_canonical(component, strlen(component)));
354 svn_stringbuf_appendbytes(path, component, len);
605 - path2 starts a new path component after the common prefix,
627 return components; /* ### Should we return a "" component? */
629 /* If PATH is absolute, store the '/' as the first component. */
676 /* Get the length of each component so a total length can be
691 path where a '/' appears in the first component. Only append
692 a '/' if the component is the second component that does not
693 follow a "/" first component; or it is the third or later
694 component. */
827 character in a path component.
1084 const char *component,
1088 component = uri_escape(component, svn_uri__char_validity, pool);
1090 return svn_path_join_internal(url, component, pool);
1268 final path component -- that there's no path separator
1271 isn't the first character of the last component. */