Lines Matching defs:end
78 * this ./ as "end of component" */
83 /* Error code at the end of a pathname. */
127 char *start, *end;
194 end = strrchr_m(name, '/');
195 if (end) {
196 pstrcpy(saved_last_component, end + 1);
236 /* Error code at the end of a pathname. */
278 for (; start ; start = (end?end+1:(char *)NULL)) {
280 * Pinpoint the end of this section of the filename.
282 end = strchr(start, '/'); /* mb safe. '/' can't be in any encoded char. */
287 if (end) {
288 *end = 0;
292 pstrcpy(saved_last_component, end ? end + 1 : start);
298 if (!end) {
299 /* Error code at the end of a pathname. */
302 return determine_path_error(end+1, allow_wcard_last_component);
316 if (name_has_wildcard && end) {
329 if (end && !(st.st_mode & S_IFDIR)) {
334 *end = '/';
345 if (!end) {
347 * We just scanned for, and found the end of the path.
367 if (end) {
368 pstrcpy(rest,end+1);
380 if (end) {
385 *end = '/';
443 if (end) {
444 end = start + strlen(start);
449 *end = '\0';
452 * We just scanned for, and found the end of the path.
463 } /* end else */
492 if (end) {
493 *end = '/';