Home | History | Annotate | Download | only in Option

Lines Matching refs:Prefix

28 // beginning (thus options precede any other options which prefix them).
40 if (a == '\0') // A is a prefix of B.
42 if (b == '\0') // B is a prefix of A.
139 // Build prefix chars.
142 StringRef Prefix = I->getKey();
143 for (StringRef::const_iterator C = Prefix.begin(), CE = Prefix.end();
176 StringRef Prefix(*Pre);
177 if (Str.startswith(Prefix)) {
178 StringRef Rest = Str.substr(Prefix.size());
183 return Prefix.size() + StringRef(I->Name).size();
204 // Search for the first next option which could be a prefix.
209 // prefix it, we iteratively search for the next option which could
210 // be a prefix.
217 // Scan for first option which is a proper prefix.