Home | History | Annotate | Download | only in Option

Lines Matching refs:Index

103                     unsigned &Index,
109 Spelling = StringRef(Args.getArgString(Index), ArgSize);
117 if (ArgSize != strlen(Args.getArgString(Index)))
120 Arg *A = new Arg(UnaliasedOption, Spelling, Index++);
133 const char *Value = Args.getArgString(Index) + ArgSize;
134 return new Arg(UnaliasedOption, Spelling, Index++, Value);
138 const char *Str = Args.getArgString(Index) + ArgSize;
139 Arg *A = new Arg(UnaliasedOption, Spelling, Index++);
167 if (ArgSize != strlen(Args.getArgString(Index)))
170 Index += 2;
171 if (Index > Args.getNumInputArgStrings())
175 Index - 2, Args.getArgString(Index - 1));
179 if (ArgSize != strlen(Args.getArgString(Index)))
182 Index += 1 + getNumArgs();
183 if (Index > Args.getNumInputArgStrings())
186 Arg *A = new Arg(UnaliasedOption, Spelling, Index - 1 - getNumArgs(),
187 Args.getArgString(Index - getNumArgs()));
189 A->getValues().push_back(Args.getArgString(Index - getNumArgs() + i));
195 if (ArgSize != strlen(Args.getArgString(Index))) {
196 const char *Value = Args.getArgString(Index) + ArgSize;
197 return new Arg(*this, Spelling, Index++, Value);
201 Index += 2;
202 if (Index > Args.getNumInputArgStrings())
206 Index - 2, Args.getArgString(Index - 1));
210 Index += 2;
211 if (Index > Args.getNumInputArgStrings())
214 return new Arg(UnaliasedOption, Spelling, Index - 2,
215 Args.getArgString(Index - 2) + ArgSize,
216 Args.getArgString(Index - 1));