Lines Matching refs:Item
68 POINTER Item; member
103 struct _pitem *Item; member
895 PRINT_ITEM *Item; in PITEM() local
899 Item = ps->Item; in PITEM()
900 Item->Item.Index = 0; in PITEM()
901 while (Item->Item.Index < Item->FieldWidth) { in PITEM()
902 c = PGETC(&Item->Item); in PITEM()
904 Item->Item.Index -= 1; in PITEM()
908 Len = Item->Item.Index; in PITEM()
911 if (Item->FieldWidth == (UINTN) -1) { in PITEM()
912 Item->FieldWidth = Len; in PITEM()
916 if (Len > Item->Width) { in PITEM()
917 Item->Width = Len; in PITEM()
922 if (Item->PadBefore) { in PITEM()
923 for (i=Item->Width; i < Item->FieldWidth; i+=1) { in PITEM()
929 for (i=Len; i < Item->Width; i++) { in PITEM()
930 PPUTC (ps, Item->Pad); in PITEM()
934 Item->Item.Index=0; in PITEM()
935 while (Item->Item.Index < Len) { in PITEM()
936 PPUTC (ps, PGETC(&Item->Item)); in PITEM()
940 if (!Item->PadBefore) { in PITEM()
941 for (i=Item->Width; i < Item->FieldWidth; i+=1) { in PITEM()
998 PRINT_ITEM Item; in _Print() local
1005 ps->Item = &Item; in _Print()
1016 Item.FieldWidth = (UINTN) -1; in _Print()
1017 Item.Width = 0; in _Print()
1018 Item.WidthParse = &Item.Width; in _Print()
1019 Item.Pad = ' '; in _Print()
1020 Item.PadBefore = TRUE; in _Print()
1021 Item.Comma = FALSE; in _Print()
1022 Item.Long = FALSE; in _Print()
1023 Item.Item.Ascii = FALSE; in _Print()
1024 Item.Item.pw = NULL; in _Print()
1036 Item.Item.pw = Item.Scratch; in _Print()
1037 Item.Item.pw[0] = '%'; in _Print()
1038 Item.Item.pw[1] = 0; in _Print()
1042 Item.Pad = '0'; in _Print()
1046 Item.PadBefore = FALSE; in _Print()
1050 Item.Comma = TRUE; in _Print()
1054 Item.WidthParse = &Item.FieldWidth; in _Print()
1058 *Item.WidthParse = va_arg(ps->args, UINTN); in _Print()
1070 *Item.WidthParse = 0; in _Print()
1072 *Item.WidthParse = *Item.WidthParse * 10 + c - '0'; in _Print()
1079 Item.Item.pc = va_arg(ps->args, CHAR8 *); in _Print()
1080 Item.Item.Ascii = TRUE; in _Print()
1081 if (!Item.Item.pc) { in _Print()
1082 Item.Item.pc = (CHAR8 *)"(null)"; in _Print()
1087 Item.Item.pw = va_arg(ps->args, CHAR16 *); in _Print()
1088 if (!Item.Item.pw) { in _Print()
1089 Item.Item.pw = L"(null)"; in _Print()
1094 Item.Item.pw = Item.Scratch; in _Print()
1095 Item.Item.pw[0] = (CHAR16) va_arg(ps->args, UINTN); in _Print()
1096 Item.Item.pw[1] = 0; in _Print()
1100 Item.Long = TRUE; in _Print()
1104 Item.Width = Item.Long ? 16 : 8; in _Print()
1105 Item.Pad = '0'; in _Print()
1107 Item.Item.pw = Item.Scratch; in _Print()
1109 Item.Item.pw, in _Print()
1110 Item.Long ? va_arg(ps->args, UINT64) : va_arg(ps->args, UINT32) in _Print()
1117 Item.Item.pw = Item.Scratch; in _Print()
1118 GuidToString (Item.Item.pw, va_arg(ps->args, EFI_GUID *)); in _Print()
1122 Item.Item.pw = Item.Scratch; in _Print()
1124 Item.Item.pw, in _Print()
1125 Item.Comma, in _Print()
1126 Item.Long ? va_arg(ps->args, UINT64) : va_arg(ps->args, UINT32) in _Print()
1131 Item.Item.pw = Item.Scratch; in _Print()
1132 TimeToString (Item.Item.pw, va_arg(ps->args, EFI_TIME *)); in _Print()
1136 Item.Item.pw = Item.Scratch; in _Print()
1137 StatusToString (Item.Item.pw, va_arg(ps->args, EFI_STATUS)); in _Print()
1165 Item.Item.pw = Item.Scratch; in _Print()
1166 Item.Item.pw[0] = '?'; in _Print()
1167 Item.Item.pw[1] = 0; in _Print()
1172 if (Item.Item.pw) { in _Print()