Lines Matching refs:newPath
2466 CFStringRef newPath;
2469 newPath = _resolvedPath(buf, buf + pathRg.length, '/', true, false, alloc);
2470 if (CFStringGetLength(newPath) != pathRg.length) {
2476 CFStringReplace((CFMutableStringRef)absString, pathRg, newPath);
2478 CFRelease(newPath);
2479 // Do not deallocate buf; newPath took ownership of it.
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.
2599 CFStringRef newPath;
2612 newPath = CFStringCreateWithSubstring(alloc, relString, relPathRg);
2614 newPath = CFStringCreateWithSubstring(alloc, baseString, basePathRg);
2626 newPath = _resolvedPath(newPathBuf, end, '/', false, false, alloc);
2639 if ((basePathRg.location == kCFNotFound || basePathRg.length == 0) && CFStringGetCharacterAtIndex(newPath, 0) != '/') {
2644 CFStringAppendStringToAppendBuffer(&appendBuffer, newPath);
2645 CFRelease(newPath);
4030 CFStringRef newPath;
4085 newPath = CFStringCreateByCombiningStrings(allocator, components, CFSTR("\\"));
4087 result = CFURLCreateStringByReplacingPercentEscapesUsingEncoding(allocator, newPath, CFSTR(""), encoding);
4088 CFRelease(newPath);