Searched refs:CharsToCopy (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/Common/
H A DMemoryFile.c160 UINTN CharsToCopy; local
196 CharsToCopy = InputFile->Eof - InputFile->CurrentFilePointer;
201 CharsToCopy = EndOfLine - InputFile->CurrentFilePointer;
204 OutputString = malloc (CharsToCopy);
212 memcpy (OutputString, InputFile->CurrentFilePointer, CharsToCopy);
217 if (OutputString[CharsToCopy - 1] == '\r') {
219 OutputString[CharsToCopy - 1] = '\0';
223 OutputString[CharsToCopy] = '\0';
230 InputFile->CurrentFilePointer += CharsToCopy + 1;
H A DParseInf.c61 UINTN CharsToCopy; local
89 CharsToCopy = InputFile->Eof - InputFile->CurrentFilePointer;
94 CharsToCopy = InputFile->Eof - InputFile->CurrentFilePointer;
99 CharsToCopy = EndOfLine - InputFile->CurrentFilePointer;
105 if (CharsToCopy > MaxLength - 1) {
106 CharsToCopy = MaxLength - 1;
111 memcpy (InputBuffer, InputFile->CurrentFilePointer, CharsToCopy);
116 if (InputBuffer[CharsToCopy - 1] == '\r') {
118 InputBuffer[CharsToCopy - 1] = '\0';
122 InputBuffer[CharsToCopy]
[all...]

Completed in 58 milliseconds