Lines Matching defs:Argument

49                             StringRef Modifier, StringRef Argument,
449 const char *Argument, unsigned ArgumentLen,
451 const char *ArgumentEnd = Argument+ArgumentLen;
455 const char *NextVal = ScanFormat(Argument, ArgumentEnd, '|');
458 Argument = NextVal+1; // Skip this string.
463 const char *EndPtr = ScanFormat(Argument, ArgumentEnd, '|');
466 DInfo.FormatDiagnostic(Argument, EndPtr, OutStr);
591 const char *Argument, unsigned ArgumentLen,
593 const char *ArgumentEnd = Argument + ArgumentLen;
595 assert(Argument < ArgumentEnd && "Plural expression didn't match.");
596 const char *ExprEnd = Argument;
601 if (EvalPluralExpr(ValNo, Argument, ExprEnd)) {
602 Argument = ExprEnd + 1;
603 ExprEnd = ScanFormat(Argument, ArgumentEnd, '|');
607 DInfo.FormatDiagnostic(Argument, ExprEnd, OutStr);
610 Argument = ScanFormat(Argument, ArgumentEnd - 1, '|') + 1;
697 const char *Modifier = nullptr, *Argument = nullptr;
711 Argument = DiagStr;
715 ArgumentLen = DiagStr-Argument;
742 const char *Pipe = ScanFormat(Argument, Argument + ArgumentLen, '|');
743 const char *FirstDollar = ScanFormat(Argument, Pipe, '$');
747 FormatDiagnostic(Argument, FirstDollar, OutStr);
780 HandleSelectModifier(*this, (unsigned)Val, Argument, ArgumentLen,
785 HandlePluralModifier(*this, (unsigned)Val, Argument, ArgumentLen,
799 HandleSelectModifier(*this, Val, Argument, ArgumentLen, OutStr);
803 HandlePluralModifier(*this, (unsigned)Val, Argument, ArgumentLen,
858 StringRef(Argument, ArgumentLen),
872 const char *ArgumentEnd = Argument + ArgumentLen;
873 const char *Pipe = ScanFormat(Argument, ArgumentEnd, '|');
882 StringRef(Argument, ArgumentLen),
894 const char *FirstDollar = ScanFormat(Argument, ArgumentEnd, '$');
898 FormatDiagnostic(Argument, FirstDollar, OutStr);
905 StringRef(Argument, ArgumentLen),
919 StringRef(Argument, ArgumentLen),