Home | History | Annotate | Download | only in Option

Lines Matching refs:Prefix

24 // the beginning (thus options precede any other options which prefix
39 if (a == '\0') // A is a prefix of B.
41 if (b == '\0') // B is a prefix of A.
140 // Build prefix chars.
143 StringRef Prefix = I->getKey();
144 for (StringRef::const_iterator C = Prefix.begin(), CE = Prefix.end();
176 StringRef Prefix(*Pre);
177 if (Str.startswith(Prefix) && Str.substr(Prefix.size()).startswith(I->Name))
178 return Prefix.size() + StringRef(I->Name).size();
198 // Search for the first next option which could be a prefix.
203 // prefix it, we iteratively search for the next option which could
204 // be a prefix.
211 // Scan for first option which is a proper prefix.