Home
last modified time | relevance | path

Searched refs:AsciiStrnCmp (Results 1 – 25 of 55) sorted by relevance

123

/device/linaro/bootloader/edk2/ShellPkg/Library/UefiDpLib/
DDpUtilities.c114 ((AsciiStrnCmp (Measurement->Token, ALit_SEC, PERF_TOKEN_LENGTH) == 0) || in IsPhase()
115 (AsciiStrnCmp (Measurement->Token, ALit_PEI, PERF_TOKEN_LENGTH) == 0) || in IsPhase()
116 (AsciiStrnCmp (Measurement->Token, ALit_DXE, PERF_TOKEN_LENGTH) == 0) || in IsPhase()
117 (AsciiStrnCmp (Measurement->Token, ALit_BDS, PERF_TOKEN_LENGTH) == 0)) in IsPhase()
387 if (AsciiStrnCmp (Measurement->Token, CumData[Index].Name, PERF_TOKEN_LENGTH) == 0) { in GetCumulativeItem()
DDpTrace.c89 if (AsciiStrnCmp (Measurement.Token, ALit_PEIM, PERF_TOKEN_LENGTH) == 0) { in GatherStatistics()
243 if (AsciiStrnCmp (Measurement.Token, ALit_PEIM, PERF_TOKEN_LENGTH) == 0) { in DumpAllTrace()
429 if (AsciiStrnCmp (Measurement.Token, ALit_SHELL, PERF_TOKEN_LENGTH) == 0) { in ProcessPhases()
437 && (AsciiStrnCmp (Measurement.Token, ALit_BdsTO, PERF_TOKEN_LENGTH) == 0) in ProcessPhases()
441 } else if (AsciiStrnCmp (Measurement.Token, ALit_SEC, PERF_TOKEN_LENGTH) == 0) { in ProcessPhases()
443 } else if (AsciiStrnCmp (Measurement.Token, ALit_PEI, PERF_TOKEN_LENGTH) == 0) { in ProcessPhases()
445 } else if (AsciiStrnCmp (Measurement.Token, ALit_DXE, PERF_TOKEN_LENGTH) == 0) { in ProcessPhases()
447 } else if (AsciiStrnCmp (Measurement.Token, ALit_BDS, PERF_TOKEN_LENGTH) == 0) { in ProcessPhases()
449 } else if (AsciiStrnCmp (Measurement.Token, ALit_SHELL, PERF_TOKEN_LENGTH) == 0) { in ProcessPhases()
684 (AsciiStrnCmp (Measurement.Token, ALit_PEIM, PERF_TOKEN_LENGTH) != 0) in ProcessPeims()
/device/linaro/bootloader/edk2/OvmfPkg/SmbiosPlatformDxe/
DX86Xen.c88 if (!AsciiStrnCmp ((CHAR8 *) XenSmbiosEntryPointStructure->AnchorString, "_SM_", 4) && in GetXenSmbiosTables()
89 … !AsciiStrnCmp ((CHAR8 *) XenSmbiosEntryPointStructure->IntermediateAnchorString, "_DMI_", 5) && in GetXenSmbiosTables()
/device/linaro/bootloader/edk2/PerformancePkg/Dp_App/
DDpUtilities.c128 ((AsciiStrnCmp (Measurement->Token, ALit_SEC, PERF_TOKEN_LENGTH) == 0) || in IsPhase()
129 (AsciiStrnCmp (Measurement->Token, ALit_PEI, PERF_TOKEN_LENGTH) == 0) || in IsPhase()
130 (AsciiStrnCmp (Measurement->Token, ALit_DXE, PERF_TOKEN_LENGTH) == 0) || in IsPhase()
131 (AsciiStrnCmp (Measurement->Token, ALit_BDS, PERF_TOKEN_LENGTH) == 0)) in IsPhase()
472 if (AsciiStrnCmp (Measurement->Token, CumData[Index].Name, PERF_TOKEN_LENGTH) == 0) { in GetCumulativeItem()
DDpTrace.c89 if (AsciiStrnCmp (Measurement.Token, ALit_PEIM, PERF_TOKEN_LENGTH) == 0) { in GatherStatistics()
243 if (AsciiStrnCmp (Measurement.Token, ALit_PEIM, PERF_TOKEN_LENGTH) == 0) { in DumpAllTrace()
429 if (AsciiStrnCmp (Measurement.Token, ALit_SHELL, PERF_TOKEN_LENGTH) == 0) { in ProcessPhases()
437 && (AsciiStrnCmp (Measurement.Token, ALit_BdsTO, PERF_TOKEN_LENGTH) == 0) in ProcessPhases()
441 } else if (AsciiStrnCmp (Measurement.Token, ALit_SEC, PERF_TOKEN_LENGTH) == 0) { in ProcessPhases()
443 } else if (AsciiStrnCmp (Measurement.Token, ALit_PEI, PERF_TOKEN_LENGTH) == 0) { in ProcessPhases()
445 } else if (AsciiStrnCmp (Measurement.Token, ALit_DXE, PERF_TOKEN_LENGTH) == 0) { in ProcessPhases()
447 } else if (AsciiStrnCmp (Measurement.Token, ALit_BDS, PERF_TOKEN_LENGTH) == 0) { in ProcessPhases()
449 } else if (AsciiStrnCmp (Measurement.Token, ALit_SHELL, PERF_TOKEN_LENGTH) == 0) { in ProcessPhases()
686 (AsciiStrnCmp (Measurement.Token, ALit_PEIM, PERF_TOKEN_LENGTH) != 0) in ProcessPeims()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey/HiKeyFastbootDxe/
DHiKeyFastboot.c513 if (AsciiStrnCmp (Buffer, "ENTRYHDR", 8) != 0) { in HiKeyFastbootPlatformFlashPartition()
518 if (AsciiStrnCmp (Buffer, "primary", 7) != 0) { in HiKeyFastbootPlatformFlashPartition()
537 if (AsciiStrnCmp (Buffer, "ENTRYHDR", 8) != 0) in HiKeyFastbootPlatformFlashPartition()
540 if (AsciiStrnCmp (Buffer, "second", 6) != 0) in HiKeyFastbootPlatformFlashPartition()
679 } else if ( !AsciiStrnCmp (Name, "partition-size", 14)) { in HiKeyFastbootPlatformGetVar()
714 } else if ( !AsciiStrnCmp (Name, "partition-type", 14)) { in HiKeyFastbootPlatformGetVar()
716 … if ( !AsciiStrnCmp ( (Name + 15) , "system", 6) || !AsciiStrnCmp ( (Name + 15) , "userdata", 8) in HiKeyFastbootPlatformGetVar()
717 || !AsciiStrnCmp ( (Name + 15) , "cache", 5)) { in HiKeyFastbootPlatformGetVar()
741 } else if (AsciiStrnCmp (Command, "autoboot", AsciiStrLen ("autoboot")) == 0) { in HiKeyFastbootPlatformOemCommand()
/device/linaro/bootloader/edk2/OvmfPkg/AcpiPlatformDxe/
DXen.c80 if (!AsciiStrnCmp ((CHAR8 *) &RsdpStructurePtr->Signature, "RSD PTR ", 8)) { in GetXenAcpiRsdp()
211 if (!AsciiStrnCmp ((CHAR8 *) &CurrentTable->Signature, "FACP", 4)) { in InstallXenTables()
261 if (!AsciiStrnCmp ((CHAR8 *) &CurrentTable->Signature, "FACP", 4)) { in InstallXenTables()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/BdsDxe/
DLanguage.c59 if (AsciiStrnCmp (Lang, SupportedLang + Index, CompareLength) == 0) { in IsLangInSupportedLangCodes()
84 (AsciiStrnCmp (Lang, SupportedLang, CompareLength) == 0)) { in IsLangInSupportedLangCodes()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/BlockIoDxe/
DBiosBlkIo.c693 if ((AsciiStrnCmp ("ATAPI", Drive->Parameters.InterfaceType, 5) == 0) || in BuildEdd30DevicePath()
694 (AsciiStrnCmp ("ATA", Drive->Parameters.InterfaceType, 3) == 0) in BuildEdd30DevicePath()
720 if (AsciiStrnCmp ("SCSI", Drive->Parameters.InterfaceType, 4) == 0) { in BuildEdd30DevicePath()
735 } else if (AsciiStrnCmp ("USB", Drive->Parameters.InterfaceType, 3) == 0) { in BuildEdd30DevicePath()
744 } else if (AsciiStrnCmp ("1394", Drive->Parameters.InterfaceType, 4) == 0) { in BuildEdd30DevicePath()
753 } else if (AsciiStrnCmp ("FIBRE", Drive->Parameters.InterfaceType, 5) == 0) { in BuildEdd30DevicePath()
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformDxe/
DBoardId.c131 if (AsciiStrnCmp(mBoardIdDecodeTable[mBoardIdIndex].AaNumber, BoardAaNumber, 6) == 0) {
144 if (AsciiStrnCmp(mBoardIdDecodeTable[mBoardIdIndex].AaNumber, BoardAaNumber, 6) == 0) {
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/GdbDebugAgent/
DGdbDebugAgent.c769 if (AsciiStrnCmp (gInBuffer, "qSupported", 10) == 0) { in GdbExceptionHandler()
773 } else if (AsciiStrnCmp (gInBuffer, "qXfer:libraries:read::", 22) == 0) { in GdbExceptionHandler()
780 } else if (AsciiStrnCmp (gInBuffer, "qOffsets", 8) == 0) { in GdbExceptionHandler()
783 } else if (AsciiStrnCmp (gInBuffer, "qAttached", 9) == 0) { in GdbExceptionHandler()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/
DLanguage.c355 if (AsciiStrnCmp (Lang, SupportedLang + Index, CompareLength) == 0) { in IsLangInSupportedLangCodes()
380 (AsciiStrnCmp (Lang, SupportedLang, CompareLength) == 0)) { in IsLangInSupportedLangCodes()
/device/linaro/bootloader/edk2/StdLib/LibC/String/
DComparison.c72 return (int)AsciiStrnCmp( s1, s2, n); in strncmp()
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Library/FrameworkUefiLib/
DUefiLib.c735 if ((AsciiStrnCmp(SupportedLanguages, Language, Index) == 0) && (Language[Index] == 0)) { in LookupUnicodeString2()
758 if (AsciiStrnCmp(LanguageString, Language, Index) == 0) { in LookupUnicodeString2()
1034 if (AsciiStrnCmp(SupportedLanguages, Language, Index) == 0) { in AddUnicodeString2()
1062 if (AsciiStrnCmp (Language, LanguageString, Index) == 0) { in AddUnicodeString2()
1384 if (AsciiStrnCmp (Supported, Language, LanguageLength) == 0) { in GetBestLanguage()
/device/linaro/bootloader/edk2/EmbeddedPkg/Application/AndroidFastboot/
DAndroidBootImg.c67 if (AsciiStrnCmp (Header->BootMagic, BOOT_MAGIC, BOOT_MAGIC_LENGTH) != 0) { in ParseAndroidBootImg()
DAndroidFastbootApp.c67 #define MATCH_CMD_LITERAL(Cmd, Buf) !AsciiStrnCmp (Cmd, Buf, sizeof (Cmd) - 1)
84 if (!AsciiStrnCmp ("version", CmdArg, sizeof ("version") - 1 )) { in HandleGetVar()
/device/linaro/bootloader/edk2/MdePkg/Library/UefiLib/
DUefiLib.c757 if ((AsciiStrnCmp(SupportedLanguages, Language, Index) == 0) && (Language[Index] == 0)) { in LookupUnicodeString2()
780 if (AsciiStrnCmp(LanguageString, Language, Index) == 0) { in LookupUnicodeString2()
1056 if (AsciiStrnCmp(SupportedLanguages, Language, Index) == 0) { in AddUnicodeString2()
1084 if (AsciiStrnCmp (Language, LanguageString, Index) == 0) { in AddUnicodeString2()
1514 if (AsciiStrnCmp (Supported, Language, LanguageLength) == 0) { in GetBestLanguage()
/device/linaro/bootloader/edk2/ArmVirtPkg/Library/ArmVirtPlatformLib/
DVirt.c105 if (Type && AsciiStrnCmp (Type, "memory", Len) == 0) { in ArmPlatformInitializeSystemMemory()
/device/linaro/bootloader/edk2/ArmVirtPkg/HighMemDxe/
DHighMemDxe.c66 if (Type && AsciiStrnCmp (Type, "memory", Len) == 0) { in InitializeHighMemDxe()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/PeiPerformanceLib/
DPeiPerformanceLib.c137 AsciiStrnCmp (LogEntryArray[Index2].Token, Token, PEI_PERFORMANCE_STRING_LENGTH) == 0 && in InternalSearchForLogEntry()
138 AsciiStrnCmp (LogEntryArray[Index2].Module, Module, PEI_PERFORMANCE_STRING_LENGTH) == 0 && in InternalSearchForLogEntry()
/device/linaro/bootloader/edk2/Nt32Pkg/WinNtBlockIoDxe/
DDriverDiagnostics.c162 if ((AsciiStrnCmp(SupportedLanguages, Language, Index) == 0) && (Language[Index] == 0)) { in WinNtBlockIoDriverDiagnosticsRunDiagnostics()
DDriverConfiguration.c132 if (AsciiStrnCmp (Language, SupportedLanguage, 3) == 0) { in WinNtBlockIoDriverConfigurationSetOptions()
/device/linaro/bootloader/edk2/EmulatorPkg/EmuBlockIoDxe/
DDriverDiagnostics.c157 if ((AsciiStrnCmp(SupportedLanguages, Language, Index) == 0) && (Language[Index] == 0)) { in EmuBlockIoDriverDiagnosticsRunDiagnostics()
DDriverConfiguration.c127 if (AsciiStrnCmp (Language, SupportedLanguage, 3) == 0) { in EmuBlockIoDriverConfigurationSetOptions()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/
DDriverDiagnostics.c132 if ((AsciiStrnCmp(SupportedLanguages, Language, Index) == 0) && (Language[Index] == 0)) { in IDEBusDriverDiagnosticsRunDiagnostics()

123