Home
last modified time | relevance | path

Searched refs:Char (Results 1 – 25 of 119) sorted by relevance

12345

/device/linaro/bootloader/edk2/EmbeddedPkg/EblExternCmd/
DEntryPointGlue.c61 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/
Dglob.c137 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/OpenPlatformPkg/Platforms/Marvell/Library/ParsePcdLib/
DParsePcdLib.c44 IN CHAR16 Char in CharToUpper() argument
48 if (Char >= L'a' && Char <= L'z') { in CharToUpper()
49 return (CHAR16) (Char - (L'a' - L'A')); in CharToUpper()
52 return Char; in CharToUpper()
58 IN CHAR16 Char in IsDecimalDigitChar() argument
62 return (BOOLEAN) (Char >= L'0' && Char <= L'9'); in IsDecimalDigitChar()
69 IN CHAR16 Char in HexCharToUintn() argument
72 if (IsDecimalDigitChar (Char)) { in HexCharToUintn()
73 return Char - L'0'; in HexCharToUintn()
76 return (UINTN) (10 + CharToUpper (Char) - L'A'); in HexCharToUintn()
[all …]
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/GdbDebugAgent/
DGdbDebugAgent.c47 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/MdeModulePkg/Library/DxeHttpLib/
DDxeHttpLib.c91 IN CHAR8 Char, in NetHttpParseAuthorityChar() argument
103 if (Char == ' ' || Char == '\r' || Char == '\n') { in NetHttpParseAuthorityChar()
112 if (Char == '@') { in NetHttpParseAuthorityChar()
119 if (Char == '[') { in NetHttpParseAuthorityChar()
123 if (Char == ':') { in NetHttpParseAuthorityChar()
130 if (Char == ']') { in NetHttpParseAuthorityChar()
134 if (Char == ':' && *IsRightBracket) { in NetHttpParseAuthorityChar()
168 CHAR8 *Char; in NetHttpParseAuthority() local
192 for (Char = Authority; Char < Authority + Length; Char++) { in NetHttpParseAuthority()
193 State = NetHttpParseAuthorityChar (*Char, State, &IsrightBracket); in NetHttpParseAuthority()
[all …]
/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/
DMain.c174 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/
DGdbSerialDebugPortLib.c128 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/
DParserValidate.py324 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/
DGdbStub.c233 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/
DSimpleTextInOut.c248 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/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/
DString.c528 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/MdePkg/Library/BaseLib/
DString.c532 IN CHAR16 Char in InternalIsDecimalDigitCharacter() argument
535 return (BOOLEAN) (Char >= L'0' && Char <= L'9'); in InternalIsDecimalDigitCharacter()
556 IN CHAR16 Char in InternalCharToUpper() argument
559 if (Char >= L'a' && Char <= L'z') { in InternalCharToUpper()
560 return (CHAR16) (Char - (L'a' - L'A')); in InternalCharToUpper()
563 return Char; in InternalCharToUpper()
582 IN CHAR16 Char in InternalHexCharToUintn() argument
585 if (InternalIsDecimalDigitCharacter (Char)) { in InternalHexCharToUintn()
586 return Char - L'0'; in InternalHexCharToUintn()
589 return (UINTN) (10 + InternalCharToUpper (Char) - L'A'); in InternalHexCharToUintn()
[all …]
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformDxe/
DRtc.c37 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/
DProcessor.c185 CHAR8 Char; in BasicReadRegister() local
195Char = 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/
DHelper.c271 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/
DGdbSerialLib.c199 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/Omap35xxPkg/Library/GdbSerialLib/
DGdbSerialLib.c68 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/
DProcessor.c170 CHAR8 Char; in BasicReadRegister() local
180Char = 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/
DString.c462 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/
DDecParserMisc.py319 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/
Dlldbefi.py165 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/EdkCompatibilityPkg/Foundation/Library/CompilerStub/
Dmemset.c33 IN int Char, in memset() argument
40 *Ptr = (UINT8) Char; in memset()
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
DOsPath.c61 CHAR8 Char;
84 Char = FilePath[Length - 1];
85 if (Char == '/' || Char == '\\') {
/device/linaro/bootloader/edk2/BaseTools/Source/Python/GenFds/
DAprioriSection.py102 Char = GuidPart[3][Num*2:Num*2+2]
103 Buffer.write(pack('B', int(Char, 16)))
106 Char = GuidPart[4][Num*2:Num*2+2]
107 Buffer.write(pack('B', int(Char, 16)))
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/
DUefiShellDebug1CommandsLib.c135 IN CHAR16 Char in CharToUpper() argument
138 if (Char >= L'a' && Char <= L'z') { in CharToUpper()
139 return (CHAR16) (Char - (L'a' - L'A')); in CharToUpper()
142 return Char; in CharToUpper()
189 IN CHAR16 Char in HexCharToUintn() argument
192 if (Char >= L'0' && Char <= L'9') { in HexCharToUintn()
193 return Char - L'0'; in HexCharToUintn()
196 return (UINTN) (10 + CharToUpper (Char) - L'A'); in HexCharToUintn()

12345