Lines Matching defs:user
3142 // For the next four methods, it is important to realize that, if a URL supplies any part of the net location (host, user, port, or password), it must supply all of the net location (i.e. none of it comes from its base URL). Also, it is impossible for a URL to be relative, supply none of the net location, and still have its (empty) net location take precedence over its base URL (because there's nothing that precedes the net location except the scheme, and if the URL supplied the scheme, it would be absolute, and there would be no base).
3197 CFStringRef user;
3199 user = (CFStringRef) CF_OBJC_CALLV((NSURL *)anURL, user);
3200 if (user) CFRetain(user);
3201 return user;
3204 user = _retainedComponentString(anURL, HAS_USER, true, true);
3205 if (user) {
3206 return user;
3588 components->user = _retainedComponentString(url, HAS_USER, false, false);
3613 if (comp->user || comp->password) {
3614 if (comp->user) {
3615 CFStringAppend(urlString, comp->user);
3666 if (oldComp.user) {
3668 comp->userinfo = CFStringCreateWithFormat(alloc, NULL, CFSTR("%@:%@"), oldComp.user, oldComp.password);
3670 CFRelease(oldComp.user);
3672 comp->userinfo = oldComp.user;