Lines Matching refs:Component
69 const Component& user,
70 Component* username,
71 Component* password) {
80 *username = Component(user.begin, colon_offset);
86 *password = Component();
92 const Component& serverinfo,
93 Component* hostname,
94 Component* port_num) {
142 const Component& auth,
143 Component* username,
144 Component* password,
145 Component* hostname,
146 Component* port_num) {
164 ParseUserInfo(spec, Component(auth.begin, i - auth.begin),
178 const Component& path,
179 Component* filepath,
180 Component* query,
181 Component* ref) {
247 Component* scheme) {
293 Component authority;
294 Component full_path;
300 authority = Component(after_slashes, end_auth - after_slashes);
303 full_path = Component();
305 full_path = Component(end_auth, spec_len - end_auth);
447 int DoParsePort(const CHAR* spec, const Component& component) {
450 if (!component.is_nonempty())
454 Component digits_comp(component.end(), 0);
455 for (int i = 0; i < component.len; i++) {
456 if (spec[component.begin + i] != '0') {
457 digits_comp = MakeRange(component.begin + i, component.end());
491 const Component& path,
492 Component* file_name) {
530 Component* query,
531 Component* key,
532 Component* value) {
632 // When there is a ref and we get here, the component we wanted was before
640 bool ExtractScheme(const char* url, int url_len, Component* scheme) {
644 bool ExtractScheme(const char16* url, int url_len, Component* scheme) {
655 const Component& path,
656 Component* file_name) {
661 const Component& path,
662 Component* file_name) {
667 Component* query,
668 Component* key,
669 Component* value) {
674 Component* query,
675 Component* key,
676 Component* value) {
681 const Component& auth,
682 Component* username,
683 Component* password,
684 Component* hostname,
685 Component* port_num) {
690 const Component& auth,
691 Component* username,
692 Component* password,
693 Component* hostname,
694 Component* port_num) {
698 int ParsePort(const char* url, const Component& port) {
702 int ParsePort(const char16* url, const Component& port) {
731 const Component& path,
732 Component* filepath,
733 Component* query,
734 Component* ref) {
739 const Component& path,
740 Component* filepath,
741 Component* query,
742 Component* ref) {