/device/linaro/bootloader/edk2/EmbeddedPkg/EblExternCmd/ |
D | EntryPointGlue.c | 61 CHAR8 *Char; in ParseArguments() local 75 …for (Char = CmdLine, Arg = 0, Index = 0; *Char != '\0' && *Char != CMD_SEPARATOR; Char++, Index++)… in ParseArguments() 77 if (*Char == '\t') { in ParseArguments() 79 *Char = ' '; in ParseArguments() 84 if (*Char == '"') { in ParseArguments() 85 Argv[Arg++] = ++Char; in ParseArguments() 88 } else if (*Char != ' ') { in ParseArguments() 89 Argv[Arg++] = Char; in ParseArguments() 94 if ((InQuote && (*Char == '"')) || (!InQuote && (*Char == ' '))) { in ParseArguments() 95 *Char = '\0'; in ParseArguments() [all …]
|
/device/linaro/bootloader/edk2/StdLib/PosixLib/Glob/ |
D | glob.c | 137 typedef u_short Char; typedef 141 #define M_QUOTE (Char)0x80 142 #define M_PROTECT (Char)0x40 143 #define M_MASK (Char)0xff 144 #define M_ASCII (Char)0x7f 146 typedef char Char; typedef 151 #define CHAR(c) ((Char)((c)&M_ASCII)) 152 #define META(c) ((Char)((c)|M_QUOTE)) 162 static int g_Ctoc(const Char *, char *, size_t); 163 static int g_lstat(Char *, __gl_stat_t *, glob_t *); [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeHttpLib/ |
D | DxeHttpLib.c | 149 IN CHAR8 Char, in NetHttpParseAuthorityChar() argument 161 if (Char == ' ' || Char == '\r' || Char == '\n') { in NetHttpParseAuthorityChar() 170 if (Char == '@') { in NetHttpParseAuthorityChar() 177 if (Char == '[') { in NetHttpParseAuthorityChar() 181 if (Char == ':') { in NetHttpParseAuthorityChar() 188 if (Char == ']') { in NetHttpParseAuthorityChar() 192 if (Char == ':' && *IsRightBracket) { in NetHttpParseAuthorityChar() 226 CHAR8 *Char; in NetHttpParseAuthority() local 250 for (Char = Authority; Char < Authority + Length; Char++) { in NetHttpParseAuthority() 251 State = NetHttpParseAuthorityChar (*Char, State, &IsrightBracket); in NetHttpParseAuthority() [all …]
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/GdbDebugAgent/ |
D | GdbDebugAgent.c | 47 CHAR8 Char; in gXferObjectReadResponse() local 58 Char = *Str++; in gXferObjectReadResponse() 59 if ((Char == 0x7d) || (Char == 0x23) || (Char == 0x24) || (Char == 0x2a)) { in gXferObjectReadResponse() 63 Char ^= 0x20; in gXferObjectReadResponse() 65 *OutBufPtr++ = Char; in gXferObjectReadResponse() 170 CHAR8 Char; in TransferFromMemToOutBufAndSend() local 175 Char = mHexToStr[*Address >> 4]; in TransferFromMemToOutBufAndSend() 176 if ((Char >= 'A') && (Char <= 'F')) { in TransferFromMemToOutBufAndSend() 177 Char = Char - 'A' + 'a'; in TransferFromMemToOutBufAndSend() 179 *OutBufPtr++ = Char; in TransferFromMemToOutBufAndSend() [all …]
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/ |
D | Main.c | 174 CHAR8 *Char; in ParseArguments() local 186 for (Char = CmdLine, Arg = 0; *Char != '\0'; Char++) { in ParseArguments() 187 if (!InQuote && *Char == CMD_SEPARATOR) { in ParseArguments() 192 if (*Char == '\t') { in ParseArguments() 194 *Char = ' '; in ParseArguments() 199 if (*Char == '"') { in ParseArguments() 200 Argv[Arg++] = ++Char; in ParseArguments() 203 } else if (*Char != ' ') { in ParseArguments() 204 Argv[Arg++] = Char; in ParseArguments() 209 if (!InQuote && (*Char == ' ')) { in ParseArguments() [all …]
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/GdbSerialDebugPortLib/ |
D | GdbSerialDebugPortLib.c | 128 CHAR8 Char; in GdbGetChar() local 132 BufferSize = sizeof (Char); in GdbGetChar() 133 Status = gDebugPort->Read (gDebugPort, gTimeOut, &BufferSize, &Char); in GdbGetChar() 134 } while (EFI_ERROR (Status) || BufferSize != sizeof (Char)); in GdbGetChar() 136 return Char; in GdbGetChar() 151 IN CHAR8 Char in GdbPutChar() argument 158 BufferSize = sizeof (Char); in GdbPutChar() 159 Status = gDebugPort->Write (gDebugPort, gTimeOut, &BufferSize, &Char); in GdbPutChar() 160 } while (EFI_ERROR (Status) || BufferSize != sizeof (Char)); in GdbPutChar()
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/ |
D | ParserValidate.py | 324 for Char in Guid: 325 if Char not in '{},\t ': 326 Value += Char 360 if Char in '{},': 361 SepValue += Char 399 for Char in Word[1:]: 400 if (not Char.isalpha()) and \ 401 (not Char.isdigit()) and \ 402 Char != '-' and \ 403 Char != '_' and \ [all …]
|
/device/linaro/bootloader/edk2/EmbeddedPkg/GdbStub/ |
D | GdbStub.c | 233 CHAR8 Char; in TransferFromMemToOutBufAndSend() local 243 Char = mHexToStr[*Address >> 4]; in TransferFromMemToOutBufAndSend() 244 if ((Char >= 'A') && (Char <= 'F')) { in TransferFromMemToOutBufAndSend() 245 Char = Char - 'A' + 'a'; in TransferFromMemToOutBufAndSend() 247 *OutBufPtr++ = Char; in TransferFromMemToOutBufAndSend() 249 Char = mHexToStr[*Address & 0x0f]; in TransferFromMemToOutBufAndSend() 250 if ((Char >= 'A') && (Char <= 'F')) { in TransferFromMemToOutBufAndSend() 251 Char = Char - 'A' + 'a'; in TransferFromMemToOutBufAndSend() 253 *OutBufPtr++ = Char; in TransferFromMemToOutBufAndSend() 346 CHAR8 Char; in ReceivePacket() local [all …]
|
/device/linaro/bootloader/edk2/EmbeddedPkg/SimpleTextInOutSerial/ |
D | SimpleTextInOut.c | 248 IN CHAR16 Char in TextOutIsValidEfiCntlChar() argument 254 if (Char == CHAR_NULL || in TextOutIsValidEfiCntlChar() 255 Char == CHAR_BACKSPACE || in TextOutIsValidEfiCntlChar() 256 Char == CHAR_LINEFEED || in TextOutIsValidEfiCntlChar() 257 Char == CHAR_CARRIAGE_RETURN || in TextOutIsValidEfiCntlChar() 258 Char == CHAR_TAB ) { in TextOutIsValidEfiCntlChar() 297 CHAR8 Char; in ReadKeyStroke() local 303 SerialPortRead ((UINT8 *)&Char, 1); in ReadKeyStroke() 314 if (Char == 0x1b) { in ReadKeyStroke() 315 SerialPortRead ((UINT8 *)&Char, 1); in ReadKeyStroke() [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/ |
D | String.c | 531 IN CHAR16 Char in InternalIsDecimalDigitCharacter() argument 534 return (BOOLEAN) (Char >= L'0' && Char <= L'9'); in InternalIsDecimalDigitCharacter() 555 IN CHAR16 Char in InternalCharToUpper() argument 558 if (Char >= L'a' && Char <= L'z') { in InternalCharToUpper() 559 return (CHAR16) (Char - (L'a' - L'A')); in InternalCharToUpper() 562 return Char; in InternalCharToUpper() 581 IN CHAR16 Char in InternalHexCharToUintn() argument 584 if (InternalIsDecimalDigitCharacter (Char)) { in InternalHexCharToUintn() 585 return Char - L'0'; in InternalHexCharToUintn() 588 return (UINTN) (10 + InternalCharToUpper (Char) - L'A'); in InternalHexCharToUintn() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/ |
D | String.c | 528 IN CHAR16 Char in InternalIsDecimalDigitCharacter() argument 531 return (BOOLEAN) (Char >= L'0' && Char <= L'9'); in InternalIsDecimalDigitCharacter() 553 IN CHAR16 Char in InternalCharToUpper() argument 556 if (Char >= L'a' && Char <= L'z') { in InternalCharToUpper() 557 return (CHAR16) (Char - (L'a' - L'A')); in InternalCharToUpper() 560 return Char; in InternalCharToUpper() 579 IN CHAR16 Char in InternalHexCharToUintn() argument 582 if (InternalIsDecimalDigitCharacter (Char)) { in InternalHexCharToUintn() 583 return Char - L'0'; in InternalHexCharToUintn() 586 return (UINTN) (10 + InternalCharToUpper (Char) - L'A'); in InternalHexCharToUintn() [all …]
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformDxe/ |
D | Rtc.c | 37 IN CHAR16 Char in CharToUint() argument 40 if ((Char >= L'0') && (Char <= L'9')) { in CharToUint() 41 return (UINTN) (Char - L'0'); in CharToUint() 44 if ((Char >= L'A') && (Char <= L'F')) { in CharToUint() 45 return (UINTN) (Char - L'A' + 0xA); in CharToUint()
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/GdbDebugAgent/Arm/ |
D | Processor.c | 185 CHAR8 Char; in BasicReadRegister() local 195 …Char = mHexToStr[(UINT8)((*FindPointerToRegister(SystemContext, RegNumber) >> (RegSize+4)) & 0xf)]; in BasicReadRegister() 196 if ((Char >= 'A') && (Char <= 'F')) { in BasicReadRegister() 197 Char = Char - 'A' + 'a'; in BasicReadRegister() 199 *OutBufPtr++ = Char; in BasicReadRegister() 201 Char = mHexToStr[(UINT8)((*FindPointerToRegister(SystemContext, RegNumber) >> RegSize) & 0xf)]; in BasicReadRegister() 202 if ((Char >= 'A') && (Char <= 'F')) { in BasicReadRegister() 203 Char = Char - 'A' + 'a'; in BasicReadRegister() 205 *OutBufPtr++ = Char; in BasicReadRegister() 515 CHAR8 Char; in ProcessorControlC() local [all …]
|
/device/linaro/bootloader/edk2/NetworkPkg/Application/IpsecConfig/ |
D | Helper.c | 271 CHAR16 Char; in StrToUInteger() local 320 Char = *Str; in StrToUInteger() 352 if ((Base == 16) && (Char >= 'a') && (Char <= 'f')) { in StrToUInteger() 353 Char = (CHAR16) (Char - 'a' + 'A'); in StrToUInteger() 356 if ((Base == 16) && (Char >= 'A') && (Char <= 'F')) { in StrToUInteger() 357 Value += (Char - 'A') + 10; in StrToUInteger() 358 } else if ((Char >= '0') && (Char <= '9')) { in StrToUInteger() 359 Value += (Char - '0'); in StrToUInteger()
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/GdbSerialLib/ |
D | GdbSerialLib.c | 199 CHAR8 Char; in GdbGetChar() local 206 Char = IoRead8 (gPort); in GdbGetChar() 209 DEBUG ((EFI_D_ERROR, "<%c<", Char)); in GdbGetChar() 210 return Char; in GdbGetChar() 225 IN CHAR8 Char in GdbPutChar() argument 231 DEBUG ((EFI_D_ERROR, ">%c>", Char)); in GdbPutChar() 238 IoWrite8 (gPort, Char); in GdbPutChar()
|
/device/linaro/bootloader/edk2/BeagleBoardPkg/Library/GdbSerialLib/ |
D | GdbSerialLib.c | 69 CHAR8 Char; in GdbGetChar() local 72 Char = MmioRead8(RBR); in GdbGetChar() 74 return Char; in GdbGetChar() 80 IN CHAR8 Char in GdbPutChar() argument 87 MmioWrite8(THR, Char); in GdbPutChar()
|
/device/linaro/bootloader/OpenPlatformPkg/Platforms/TexasInstruments/BeagleBoard/Library/GdbSerialLib/ |
D | GdbSerialLib.c | 69 CHAR8 Char; in GdbGetChar() local 72 Char = MmioRead8(RBR); in GdbGetChar() 74 return Char; in GdbGetChar() 80 IN CHAR8 Char in GdbPutChar() argument 87 MmioWrite8(THR, Char); in GdbPutChar()
|
/device/linaro/bootloader/edk2/Omap35xxPkg/Library/GdbSerialLib/ |
D | GdbSerialLib.c | 68 CHAR8 Char; in GdbGetChar() local 71 Char = MmioRead8(RBR); in GdbGetChar() 73 return Char; in GdbGetChar() 79 IN CHAR8 Char in GdbPutChar() argument 86 MmioWrite8(THR, Char); in GdbPutChar()
|
/device/linaro/bootloader/OpenPlatformPkg/Chips/TexasInstruments/Omap35xx/Library/GdbSerialLib/ |
D | GdbSerialLib.c | 68 CHAR8 Char; in GdbGetChar() local 71 Char = MmioRead8(RBR); in GdbGetChar() 73 return Char; in GdbGetChar() 79 IN CHAR8 Char in GdbPutChar() argument 86 MmioWrite8(THR, Char); in GdbPutChar()
|
/device/linaro/bootloader/edk2/EmbeddedPkg/GdbStub/Arm/ |
D | Processor.c | 170 CHAR8 Char; in BasicReadRegister() local 180 …Char = mHexToStr[(UINT8)((*FindPointerToRegister (SystemContext, RegNumber) >> (RegSize+4)) & 0xf)… in BasicReadRegister() 181 if ((Char >= 'A') && (Char <= 'F')) { in BasicReadRegister() 182 Char = Char - 'A' + 'a'; in BasicReadRegister() 184 *OutBufPtr++ = Char; in BasicReadRegister() 186 Char = mHexToStr[(UINT8)((*FindPointerToRegister (SystemContext, RegNumber) >> RegSize) & 0xf)]; in BasicReadRegister() 187 if ((Char >= 'A') && (Char <= 'F')) { in BasicReadRegister() 188 Char = Char - 'A' + 'a'; in BasicReadRegister() 190 *OutBufPtr++ = Char; in BasicReadRegister()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/ |
D | String.c | 462 IN CHAR16 Char in IsHexDigit() argument 480 if ((Char >= L'0') && (Char <= L'9')) { in IsHexDigit() 481 *Digit = (UINT8) (Char - L'0'); in IsHexDigit() 485 if ((Char >= L'A') && (Char <= L'F')) { in IsHexDigit() 486 *Digit = (UINT8) (Char - L'A' + 0x0A); in IsHexDigit() 490 if ((Char >= L'a') && (Char <= L'f')) { in IsHexDigit() 491 *Digit = (UINT8) (Char - L'a' + 0x0A); in IsHexDigit()
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Parser/ |
D | DecParserMisc.py | 319 for Char in self._String[self._Index:]: 320 if Char not in ' \t': 332 for Char in self._String[self._Index:]: 333 if Char != ExpectChar: 355 for Char in self._String[self._Index:]: 356 if Char == SkipPair and LastChar != '\\': 358 if Char in StopChar and not InQuote: 361 if Char == '\\' and LastChar == '\\': 364 LastChar = Char
|
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/ |
D | lldbefi.py | 165 Char = valobj.GetPointeeData(i,1).GetUnsignedInt16(SBError, 0) 166 if SBError.fail or Char == 0: 168 Str += unichr (Char) 180 Char = valobj.GetChildAtIndex(i).data.GetUnsignedInt16(SBError, 0) 181 if Char == 0: 183 Str += unichr (Char) 203 Char = valobj.GetPointeeData(i,1).GetUnsignedInt8(SBError, 0) 204 if SBError.fail or Char == 0: 206 Str += unichr (Char) 218 Char = valobj.GetChildAtIndex(i).data.GetUnsignedInt8(SBError, 0) [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiBootManagerLib/ |
D | BmMisc.c | 403 IN CHAR16 Char in BmCharToUint() argument 406 if ((Char >= L'0') && (Char <= L'9')) { in BmCharToUint() 407 return (UINTN) (Char - L'0'); in BmCharToUint() 410 if ((Char >= L'A') && (Char <= L'F')) { in BmCharToUint() 411 return (UINTN) (Char - L'A' + 0xA); in BmCharToUint()
|
/device/linaro/bootloader/edk2/ArmPlatformPkg/Bds/ |
D | BdsHelper.c | 26 CHAR8 Char; in EditHIInputStr() local 49 Char = (CHAR8)Key.UnicodeChar; in EditHIInputStr() 51 Char = CHAR_NULL; in EditHIInputStr() 54 if ((Char == CHAR_LINEFEED) || (Char == CHAR_CARRIAGE_RETURN) || (Char == 0x7f)) { in EditHIInputStr() 64 } else if ((Key.ScanCode == SCAN_ESC) || (Char == 0x1B) || (Char == 0x0)) { in EditHIInputStr()
|