Home
last modified time | relevance | path

Searched refs:CurrentChar (Results 1 – 6 of 6) sorted by relevance

/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
DParseInf.c500 CHAR8 CurrentChar; in AsciiStringToUint64() local
534 CurrentChar = AsciiString[Index]; in AsciiStringToUint64()
535 if (CurrentChar == ' ') { in AsciiStringToUint64()
541 if (isxdigit ((int)CurrentChar) == 0) { in AsciiStringToUint64()
548 if (CurrentChar >= '0' && CurrentChar <= '9') { in AsciiStringToUint64()
549 Value += CurrentChar - '0'; in AsciiStringToUint64()
550 } else if (CurrentChar >= 'a' && CurrentChar <= 'f') { in AsciiStringToUint64()
551 Value += CurrentChar - 'a' + 10; in AsciiStringToUint64()
552 } else if (CurrentChar >= 'A' && CurrentChar <= 'F') { in AsciiStringToUint64()
553 Value += CurrentChar - 'A' + 10; in AsciiStringToUint64()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/
DParseInf.c600 CHAR8 CurrentChar; in AsciiStringToUint64() local
623 CurrentChar = AsciiString[Index]; in AsciiStringToUint64()
625 if (CurrentChar >= '0' && CurrentChar <= '9') { in AsciiStringToUint64()
626 HexNumber += CurrentChar - '0'; in AsciiStringToUint64()
627 } else if (CurrentChar >= 'a' && CurrentChar <= 'f') { in AsciiStringToUint64()
628 HexNumber += CurrentChar - 'a' + 10; in AsciiStringToUint64()
629 } else if (CurrentChar >= 'A' && CurrentChar <= 'F') { in AsciiStringToUint64()
630 HexNumber += CurrentChar - 'A' + 10; in AsciiStringToUint64()
/device/linaro/bootloader/edk2/SourceLevelDebugPkg/Library/DebugAgent/DebugAgentCommon/
DDebugAgent.c1092 UINT8 CurrentChar; in DecompressDataInPlace() local
1097 CurrentChar = Data[Index]; in DecompressDataInPlace()
1100 CopyMem (&Data[Index + CurrentChar], &Data[Index + 1], Length - Index - 1); in DecompressDataInPlace()
1101 SetMem (&Data[Index], CurrentChar, (UINT8) LastChar); in DecompressDataInPlace()
1103 Index += CurrentChar - 1; in DecompressDataInPlace()
1104 Length += CurrentChar - 1; in DecompressDataInPlace()
1106 if (LastChar != CurrentChar) { in DecompressDataInPlace()
1110 LastChar = CurrentChar; in DecompressDataInPlace()
1495 UINT8 CurrentChar; in CompressData() local
1504 CurrentChar = Data[Index]; in CompressData()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/
DCodeFragmentCollector.py193CurrentChar = self.Profile.FileLinesList[self.CurrentLineNumber - 1][self.CurrentOffsetWithinLine]
195 return CurrentChar
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Ecc/
DCodeFragmentCollector.py198CurrentChar = self.Profile.FileLinesList[self.CurrentLineNumber - 1][self.CurrentOffsetWithinLine]
201 return CurrentChar
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
DMisc.py1676 CurrentChar = OptionString[Index]
1677 if CurrentChar in ['"', "'"]:
1678 if QuotationMark == CurrentChar:
1681 QuotationMark = CurrentChar
1686 if CurrentChar in ["/", "-"] and LastChar in [" ", "\t", "\r", "\n"]:
1690 LastChar = CurrentChar