Home | History | Annotate | Download | only in src

Lines Matching refs:start_offset

64 // Returns true if the start_offset in the given spec looks like it begins a
65 // drive spec, for example "c:". This function explicitly handles start_offset
69 // plus a colon starting at |start_offset|.
71 inline bool DoesBeginWindowsDriveSpec(const CHAR* spec, int start_offset,
73 int remaining_len = spec_len - start_offset;
76 if (!IsWindowsDriveLetter(spec[start_offset]))
78 if (!IsWindowsDriveSeparator(spec[start_offset + 1]))
83 // Returns true if the start_offset in the given text looks like it begins a
84 // UNC path, for example "\\". This function explicitly handles start_offset
92 int start_offset,
95 int remaining_len = len - start_offset;
100 return text[start_offset] == '\\' && text[start_offset + 1] == '\\';
101 return IsURLSlash(text[start_offset]) && IsURLSlash(text[start_offset + 1]);