Searched refs:pathDelimiter (Results 1 - 1 of 1) sorted by relevance

/macosx-10.9.5/CF-855.17/
H A DCFURL.c335 static CFStringRef _resolvedPath(UniChar *pathStr, UniChar *end, UniChar pathDelimiter, Boolean stripLeadingDotDots, Boolean stripTrailingDelimiter, CFAllocatorRef alloc);
2500 static CFStringRef _resolvedPath(UniChar *pathStr, UniChar *end, UniChar pathDelimiter, Boolean stripLeadingDotDots, Boolean stripTrailingDelimiter, CFAllocatorRef alloc) { argument
2510 } else if (*(idx+1) == pathDelimiter) {
2519 } else if (( end-idx >= 2 ) && *(idx+1) == '.' && (idx+2 == end || (( end-idx > 2 ) && *(idx+2) == pathDelimiter))) {
2521 // Need at least 2 characters between index and pathStr, because we know if index != newPath, then *(index-1) == pathDelimiter, and we need something before that to compact out.
2523 while (lastDelim >= pathStr && *lastDelim != pathDelimiter) lastDelim --;
2559 while (idx < end && *idx != pathDelimiter) idx ++;
2562 if (stripTrailingDelimiter && end > pathStr && end-1 != pathStr && *(end-1) == pathDelimiter) {
4098 UniChar pathDelimiter = '/'; local
4102 if (buf[baseLen-1] != pathDelimiter) {
[all...]

Completed in 88 milliseconds