Lines Matching defs:_string

194     CFStringRef _string; // Never NULL
339 _parseComponents(CFGetAllocator(url), url->_string, url->_base, &(((struct __CFURL *)url)->_flags), &(((struct __CFURL *)url)->_ranges));
1528 result = CFStringCreateCopy(alloc, url->_string);
1532 result = CFStringCreateWithFormat(alloc, NULL, CFSTR("%@ -- %@"), url->_string, url->_base);
1537 result = CreateTruncatedURLString(alloc, url->_string, 128, 8);
1540 CFStringRef urlString = CreateTruncatedURLString(alloc, url->_string, 128, 8);
1571 result = CFStringCreateWithFormat(alloc, NULL, CFSTR("<CFURL %p [%p]>{string = %@, encoding = %u\n\tbase = %@}"), cf, alloc, url->_string, (unsigned int)(url->_encoding), baseString);
1574 result = CFStringCreateWithFormat(alloc, NULL, CFSTR("<CFURL %p [%p]>{string = %@, encoding = %u, base = (null)}"), cf, alloc, url->_string, (unsigned int)(url->_encoding));
1578 CFStringRef urlString = CreateTruncatedURLString(alloc, url->_string, 128, 8);
1605 if (url->_string) CFRelease(url->_string); // GC: 3879914
1655 CFShow(url->_string);
1775 CFIndex string_length = CFStringGetLength(url->_string);
1786 constructBuffers(alloc, url->_string, stackBuffer, stackBufferSize, &cstring, &ustring, &useCString, &freeCharacters);
1876 url->_string = NULL;
1889 url->_string = CFStringCreateCopy(CFGetAllocator(url), URLString);
2186 *(url->_ranges) = CFRangeMake(0, CFStringGetLength(url->_string));
2264 *(url->_ranges) = CFRangeMake(0, CFStringGetLength(url->_string));
2407 baseString = baseURL->_string;
2438 absString = resolveAbsoluteURLString(alloc, relString, relFlags, relRanges, baseURL->_string, baseURL->_flags, baseURL->_ranges);
2446 baseString = baseURL->_string;
2755 baseString = base->_string;
2765 newString = resolveAbsoluteURLString(alloc, relativeURL->_string, relativeURL->_flags, relativeURL->_ranges, baseString, baseFlags, baseRanges);
2799 return url->_string;
2813 string = url->_string;
2879 comp = CFStringCreateWithSubstring(alloc, url->_string, rg);
2884 comp = CFStringCreateWithSubstring(alloc, url->_string, rg);
2998 netLoc = CFStringCreateWithSubstring(CFGetAllocator(anURL), anURL->_string, netRg);
3075 return CFStringCreateWithSubstring(CFGetAllocator(anURL), anURL->_string, CFRangeMake(base, CFStringGetLength(anURL->_string)-base));
3112 rg.length = CFStringGetLength(anURL->_string) - rg.location;
3113 return CFStringCreateWithSubstring(alloc, anURL->_string, rg);
3454 CFIndex stringLength = CFStringGetLength(url->_string);
3492 CFStringGetBytes(url->_string, CFRangeMake(0, charRangeWithSeparators.location), url->_encoding, 0, false, NULL, 0, &(rangeIncludingSeparators->location));
3496 CFStringGetBytes(url->_string, charRangeWithSeparators, url->_encoding, 0, false, NULL, 0, &(rangeIncludingSeparators->length));
3505 CFStringGetBytes(url->_string, CFRangeMake(charRangeWithSeparators.location, charRange.location - charRangeWithSeparators.location), url->_encoding, 0, false, NULL, 0, &numBytes);
3508 CFStringGetBytes(url->_string, charRange, url->_encoding, 0, false, NULL, 0, &(byteRange.length));
3516 CFStringGetBytes(url->_string, rg, url->_encoding, 0, false, NULL, 0, &numBytes);
3523 CFStringGetBytes(url->_string, CFRangeMake(0, charRange.location), url->_encoding, 0, false, NULL, 0, &(byteRange.location));
3524 CFStringGetBytes(url->_string, charRange, url->_encoding, 0, false, NULL, 0, &(byteRange.length));
4198 if ( CanonicalFileURLStringToFileSystemRepresentation(anURL->_string, buffer, PATH_MAX + 1) ) {
4303 return CanonicalFileURLStringToFileSystemRepresentation(url->_string, buffer, bufLen);
4396 if (CFStringGetCharacterAtIndex(url->_string, pathRg.location + pathRg.length - 1) == '/') {
4403 if (CFStringFindWithOptions(url->_string, CFSTR("/"), pathRg, kCFCompareBackwards, &componentRg)) {
4466 if (rg.length == 1 && CFStringGetCharacterAtIndex(url->_string, rg.location) == '/') {
4472 result = CFStringCreateWithSubstring(CFGetAllocator(url), url->_string, rg);
4535 newString = CFStringCreateMutableCopy(allocator, 0, url->_string);
4538 if ( (!pathRg.length || CFStringGetCharacterAtIndex(url->_string, pathRg.location + pathRg.length - 1) != '/') && (CFStringGetCharacterAtIndex(newComp, 0) != '/') ) {
4592 UniChar ch = CFStringGetCharacterAtIndex(url->_string, lastCompRg.location);
4596 } else if (lastCompRg.length == 2 && CFStringGetCharacterAtIndex(url->_string, lastCompRg.location) == '.' && CFStringGetCharacterAtIndex(url->_string, lastCompRg.location+1) == '.') {
4600 newString = CFStringCreateMutableCopy(allocator, 0, url->_string);
4603 if (pathRg.length > 0 && CFStringGetCharacterAtIndex(url->_string, pathRg.location + pathRg.length - 1) != '/') {
4666 newString = CFStringCreateMutableCopy(allocator, 0, url->_string);
4705 } else if (rg.length && CFStringFindWithOptions(url->_string, CFSTR("."), rg, kCFCompareBackwards, &dotRg)) {
4706 CFMutableStringRef newString = CFStringCreateMutableCopy(allocator, 0, url->_string);
4863 if (CFStringGetCharacterAtIndex(url->_string, CFStringGetLength(url->_string) - 1) == '/') {
4864 vals[1] = CFRetain(url->_string);
4866 vals[1] = CFStringCreateWithFormat(alloc, NULL, CFSTR("%@%c"), url->_string, '/');
4869 if (CFStringGetCharacterAtIndex(url->_string, CFStringGetLength(url->_string) - 1) != '/') {
4870 vals[1] = CFRetain(url->_string);
4872 vals[1] = CFStringCreateWithSubstring(alloc, url->_string, CFRangeMake(0, CFStringGetLength(url->_string) - 1));
4885 if (CFStringGetCharacterAtIndex(base->_string, CFStringGetLength(base->_string) - 1) == '/') {
4886 vals[3] = CFRetain(base->_string);
4888 vals[3] = CFStringCreateWithFormat(alloc, NULL, CFSTR("%@%c"), base->_string, '/');
4891 if (CFStringGetCharacterAtIndex(base->_string, CFStringGetLength(base->_string) - 1) != '/') {
4892 vals[3] = CFRetain(base->_string);
4894 vals[3] = CFStringCreateWithSubstring(alloc, base->_string, CFRangeMake(0, CFStringGetLength(base->_string) - 1));