Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/DisplayEngineDxe/
DFormDisplay.c444 UINT16 StrOffset; in GetLineByWidth() local
478 for (StrOffset = 0, GlyphOffset = 0; GlyphOffset <= LineWidth; StrOffset++) { in GetLineByWidth()
479 switch (InputString[*Index + StrOffset]) { in GetLineByWidth()
500 if ((InputString[*Index + StrOffset] == CHAR_SPACE) && (GlyphOffset <= LineWidth)) { in GetLineByWidth()
501 LastSpaceOffset = StrOffset; in GetLineByWidth()
520 StrOffset = LastSpaceOffset; in GetLineByWidth()
526 StrOffset--; in GetLineByWidth()
533 if (StrOffset == 0 && (InputString[*Index + StrOffset] == CHAR_NULL)) { in GetLineByWidth()
540 *OutputString = AllocateZeroPool (((UINTN) (StrOffset + 2) * sizeof(CHAR16))); in GetLineByWidth()
554 CopyMem ((*OutputString) + 1, &InputString[*Index], StrOffset * sizeof(CHAR16)); in GetLineByWidth()
[all …]