Lines Matching defs:ModifierLen
439 static bool ModifierIs(const char *Modifier, unsigned ModifierLen,
441 return StrLen-1 == ModifierLen && !memcmp(Modifier, Str, StrLen-1);
700 unsigned ModifierLen = 0, ArgumentLen = 0;
708 ModifierLen = DiagStr-Modifier;
729 if (ModifierIs(Modifier, ModifierLen, "diff")) {
762 assert(ModifierLen == 0 && "No modifiers for strings yet");
768 assert(ModifierLen == 0 && "No modifiers for strings yet");
781 if (ModifierIs(Modifier, ModifierLen, "select")) {
784 } else if (ModifierIs(Modifier, ModifierLen, "s")) {
786 } else if (ModifierIs(Modifier, ModifierLen, "plural")) {
789 } else if (ModifierIs(Modifier, ModifierLen, "ordinal")) {
792 assert(ModifierLen == 0 && "Unknown integer modifier");
800 if (ModifierIs(Modifier, ModifierLen, "select")) {
802 } else if (ModifierIs(Modifier, ModifierLen, "s")) {
804 } else if (ModifierIs(Modifier, ModifierLen, "plural")) {
807 } else if (ModifierIs(Modifier, ModifierLen, "ordinal")) {
810 assert(ModifierLen == 0 && "Unknown integer modifier");
818 assert(ModifierLen == 0 && "No modifiers for strings yet");
836 Modifier, ModifierLen,
860 Modifier, ModifierLen,
884 Modifier, ModifierLen,
898 Modifier, ModifierLen,