/external/llvm/lib/Target/NVPTX/ |
NVPTXMCExpr.cpp | 43 std::string HexStr(utohexstr(API.getZExtValue())); 44 if (HexStr.length() < NumHex) 45 OS << std::string(NumHex - HexStr.length(), '0');
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/ |
IScsiMisc.c | 392 @param[in, out] HexStr Pointer to the string.
404 IN OUT CHAR8 *HexStr,
410 if ((HexStr == NULL) || (BinBuffer == NULL) || (BinLength == 0)) {
423 HexStr[0] = '0';
424 HexStr[1] = 'x';
427 HexStr[Index * 2 + 2] = IScsiHexString[BinBuffer[Index] >> 4];
428 HexStr[Index * 2 + 3] = IScsiHexString[BinBuffer[Index] & 0x0F];
431 HexStr[Index * 2 + 2] = '\0';
441 @param[in] HexStr The hexadecimal string.
451 IN CHAR8 *HexStr
[all...] |
IScsiMisc.h | 158 @param[in, out] HexStr Pointer to the string.
170 IN OUT CHAR8 *HexStr,
179 @param[in] HexStr The hexadecimal string.
189 IN CHAR8 *HexStr
|
/device/linaro/bootloader/edk2/NetworkPkg/IScsiDxe/ |
IScsiMisc.h | 143 @param[in, out] HexStr Pointer to the string.
156 IN OUT CHAR8 *HexStr,
165 @param[in] HexStr The hexadecimal string.
176 IN CHAR8 *HexStr
|
IScsiMisc.c | 319 @param[in, out] HexStr Pointer to the string.
332 IN OUT CHAR8 *HexStr,
338 if ((HexStr == NULL) || (BinBuffer == NULL) || (BinLength == 0)) {
351 HexStr[0] = '0';
352 HexStr[1] = 'x';
355 HexStr[Index * 2 + 2] = IScsiHexString[BinBuffer[Index] >> 4];
356 HexStr[Index * 2 + 3] = IScsiHexString[BinBuffer[Index] & 0xf];
359 HexStr[Index * 2 + 2] = '\0';
370 @param[in] HexStr The hexadecimal string.
381 IN CHAR8 *HexStr
[all...] |
/external/llvm/lib/Support/ |
YAMLParser.cpp | 724 std::string HexStr = utohexstr(*i); 725 EscapedInput += "\\x" + std::string(2 - HexStr.size(), '0') + HexStr; 746 std::string HexStr = utohexstr(UnicodeScalarValue.first); 747 if (HexStr.size() <= 2) 748 EscapedInput += "\\x" + std::string(2 - HexStr.size(), '0') + HexStr; 749 else if (HexStr.size() <= 4) 750 EscapedInput += "\\u" + std::string(4 - HexStr.size(), '0') + HexStr; [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/ |
ParserValidate.py | 52 def IsValidHex(HexStr):
53 if not HexStr.upper().startswith("0X"):
55 CharList = [c for c in HexStr[2:] if not __HexDigit(c)]
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Parser/ |
DecParserMisc.py | 284 HexStr = hex(Value)
286 # First two chars of HexStr are 0x and tail char is L
288 if TypeLenMap[Type] < len(HexStr) - 3:
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeHttpLib/ |
DxeHttpLib.c | 106 CHAR8 HexStr[3];
114 HexStr[2] = '\0';
120 HexStr[0] = Buffer[Index+1];
121 HexStr[1] = Buffer[Index+2];
122 ResultBuffer[Offset] = (CHAR8) AsciiStrHexToUintn (HexStr);
[all...] |
/external/llvm/lib/AsmParser/ |
LLLexer.cpp | 819 StringRef HexStr(TokStart + 3, len); 820 if (!std::all_of(HexStr.begin(), HexStr.end(), isxdigit)) { 825 APInt Tmp(bits, HexStr, 16);
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/ |
FdfParserLite.py | [all...] |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/ |
FdfParser.py | [all...] |