Home | History | Annotate | Download | only in Option

Lines Matching defs: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.
145 // Build prefix chars.
148 StringRef Prefix = I->getKey();
149 for (StringRef::const_iterator C = Prefix.begin(), CE = Prefix.end();
182 StringRef Prefix(*Pre);
183 if (Str.startswith(Prefix)) {
184 StringRef Rest = Str.substr(Prefix.size());
189 return Prefix.size() + StringRef(I->Name).size();
210 // Search for the first next option which could be a prefix.
215 // prefix it, we iteratively search for the next option which could
216 // be a prefix.
223 // Scan for first option which is a proper prefix.