Lines Matching defs:CompareLength
444 UINTN CompareLength;
448 CompareLength = ISO_639_2_ENTRY_SIZE;
449 for (Index = 0; Index < AsciiStrLen (SupportedLang); Index += CompareLength) {
450 if (AsciiStrnCmp (Lang, SupportedLang + Index, CompareLength) == 0) {
454 Index = Index / CompareLength;
467 for (Index = 0; *SupportedLang != '\0'; Index++, SupportedLang += CompareLength) {
475 for (CompareLength = 0; SupportedLang[CompareLength] != '\0' && SupportedLang[CompareLength] != ';'; CompareLength++);
477 if ((CompareLength == LanguageLength) &&
478 (AsciiStrnCmp (Lang, SupportedLang, CompareLength) == 0)) {
524 UINTN CompareLength;
535 CompareLength = ISO_639_2_ENTRY_SIZE;
536 mVariableModuleGlobal->Lang[CompareLength] = '\0';
537 return CopyMem (mVariableModuleGlobal->Lang, SupportedLang + Index * CompareLength, CompareLength);
544 for (CompareLength = 0; *Supported != ';' && *Supported != '\0'; CompareLength++) {
561 mVariableModuleGlobal->PlatformLang[CompareLength] = '\0';
562 return CopyMem (mVariableModuleGlobal->PlatformLang, Supported - CompareLength, CompareLength);
623 UINTN CompareLength;
635 CompareLength = 3;
652 for (Supported = SupportedLanguages; *Supported != '\0'; Supported += CompareLength) {
664 for (CompareLength = 0; Supported[CompareLength] != 0 && Supported[CompareLength] != ';'; CompareLength++);
668 if (LanguageLength > CompareLength) {
679 Buffer[CompareLength] = '\0';
680 return CopyMem (Buffer, Supported, CompareLength);