Home
last modified time | relevance | path

Searched refs:CharBuffer (Results 1 – 7 of 7) sorted by relevance

/device/linaro/bootloader/edk2/MdePkg/Library/UefiFileHandleLib/
DUefiFileHandleLib.c960 CHAR16 CharBuffer; in FileHandleReadLine() local
989 Status = FileHandleRead(Handle, &CharSize, &CharBuffer); in FileHandleReadLine()
991 if (CharBuffer == gUnicodeFileTag) { in FileHandleReadLine()
1001 CharBuffer = 0; in FileHandleReadLine()
1007 Status = FileHandleRead(Handle, &CharSize, &CharBuffer); in FileHandleReadLine()
1010 || (CharBuffer == L'\n' && !(*Ascii)) in FileHandleReadLine()
1011 || (CharBuffer == '\n' && *Ascii) in FileHandleReadLine()
1015 (CharBuffer == L'\r' && !(*Ascii)) || in FileHandleReadLine()
1016 (CharBuffer == '\r' && *Ascii) in FileHandleReadLine()
1026 ((CHAR16*)Buffer)[CountSoFar-CrCount] = CharBuffer; in FileHandleReadLine()
[all …]
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/
DParse.c33 CHAR16 CharBuffer; in IsStdInDataAvailable() local
44 Status = gEfiShellProtocol->ReadFile (FileHandle, &CharSize, &CharBuffer); in IsStdInDataAvailable()
89 CHAR16 CharBuffer; in ShellFileHandleReadStdInLine() local
108 CharBuffer = 0; in ShellFileHandleReadStdInLine()
110 Status = gEfiShellProtocol->ReadFile (Handle, &CharSize, &CharBuffer); in ShellFileHandleReadStdInLine()
113 || (CharBuffer == L'\n') in ShellFileHandleReadStdInLine()
122 ((CHAR16*)Buffer)[CountSoFar] = CharBuffer; in ShellFileHandleReadStdInLine()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenFfsFile/
DGenFfsFile.c246 CHAR8 CharBuffer; in TestComment() local
248 CharBuffer = 0; in TestComment()
250 while (CharBuffer != '\n') { in TestComment()
251 fscanf (In, "%c", &CharBuffer); in TestComment()
830 CHAR8 *CharBuffer; in SplitAttributesField() local
832 CharBuffer = NULL; in SplitAttributesField()
833 CharBuffer = (CHAR8 *) malloc (_MAX_PATH); in SplitAttributesField()
834 ZeroMem (CharBuffer, _MAX_PATH); in SplitAttributesField()
839 CharBuffer[z] = Buffer[Index]; in SplitAttributesField()
843 CharBuffer[z] = 0; in SplitAttributesField()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciSioSerialDxe/
DSerialIo.c1009 UINT8 *CharBuffer; in SerialWrite() local
1037 CharBuffer = (UINT8 *) Buffer; in SerialWrite()
1070 SerialFifoAdd (&SerialDevice->Transmit, CharBuffer[Index]); in SerialWrite()
1123 UINT8 *CharBuffer; in SerialRead() local
1157 CharBuffer = (UINT8 *) Buffer; in SerialRead()
1159 while (SerialFifoRemove (&SerialDevice->Receive, &(CharBuffer[Index])) != EFI_SUCCESS) { in SerialRead()
/device/linaro/bootloader/edk2/ShellPkg/Application/Shell/
DShellParametersProtocol.c491 CHAR16 CharBuffer; in IsUnicodeFile() local
500 Status = gEfiShellProtocol->ReadFile(Handle, &CharSize, &CharBuffer); in IsUnicodeFile()
501 if (EFI_ERROR(Status) || CharBuffer != gUnicodeFileTag) { in IsUnicodeFile()
643 CHAR16 CharBuffer; in RemoveFileTag() local
646 CharBuffer = 0; in RemoveFileTag()
647 gEfiShellProtocol->ReadFile(*Handle, &CharSize, &CharBuffer); in RemoveFileTag()
648 if (CharBuffer != gUnicodeFileTag) { in RemoveFileTag()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/
DSerial.c1753 UINT8 *CharBuffer; in IsaSerialWrite() local
1781 CharBuffer = (UINT8 *) Buffer; in IsaSerialWrite()
1814 IsaSerialFifoAdd (&SerialDevice->Transmit, CharBuffer[Index]); in IsaSerialWrite()
1867 UINT8 *CharBuffer; in IsaSerialRead() local
1901 CharBuffer = (UINT8 *) Buffer; in IsaSerialRead()
1903 while (IsaSerialFifoRemove (&SerialDevice->Receive, &(CharBuffer[Index])) != EFI_SUCCESS) { in IsaSerialRead()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLib/
DUefiShellLib.c4152 CHAR16 CharBuffer; in ShellFileHandleReadLine() local
4171 Status = gEfiShellProtocol->ReadFile(Handle, &CharSize, &CharBuffer); in ShellFileHandleReadLine()
4173 if (CharBuffer == gUnicodeFileTag) { in ShellFileHandleReadLine()
4187 CharBuffer = 0; in ShellFileHandleReadLine()
4188 Status = gEfiShellProtocol->ReadFile(Handle, &CharSize, &CharBuffer); in ShellFileHandleReadLine()
4191 || (CharBuffer == L'\n' && !(*Ascii)) in ShellFileHandleReadLine()
4192 || (CharBuffer == '\n' && *Ascii) in ShellFileHandleReadLine()
4204 ((CHAR16*)Buffer)[CountSoFar] = CharBuffer; in ShellFileHandleReadLine()