Home | History | Annotate | Download | only in url

Lines Matching refs:start_offset

39 // Returns true if the start_offset in the given spec looks like it begins a
40 // drive spec, for example "c:". This function explicitly handles start_offset
44 // plus a colon starting at |start_offset|.
46 inline bool DoesBeginWindowsDriveSpec(const CHAR* spec, int start_offset,
48 int remaining_len = spec_len - start_offset;
51 if (!IsWindowsDriveLetter(spec[start_offset]))
53 if (!IsWindowsDriveSeparator(spec[start_offset + 1]))
58 // Returns true if the start_offset in the given text looks like it begins a
59 // UNC path, for example "\\". This function explicitly handles start_offset
67 int start_offset,
70 int remaining_len = len - start_offset;
75 return text[start_offset] == '\\' && text[start_offset + 1] == '\\';
76 return IsURLSlash(text[start_offset]) && IsURLSlash(text[start_offset + 1]);