Changeset 13839 in vbox for trunk/src/VBox/Runtime/testcase/tstLog.cpp
- Timestamp:
- Nov 5, 2008 3:27:47 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/tstLog.cpp
r13837 r13839 47 47 RTLogPrintf("%%Rra %d: %Rra\n", VERR_INVALID_PARAMETER, VERR_INVALID_PARAMETER); 48 48 49 RTLogPrintf("%% Vt: %Vt\n");49 RTLogPrintf("%%Rt: %Rt\n"); 50 50 51 51 static uint8_t au8Hex[256]; 52 52 for (unsigned iHex = 0; iHex < sizeof(au8Hex); iHex++) 53 53 au8Hex[iHex] = (uint8_t)iHex; 54 RTLogPrintf("%% Vhxs : %Vhxs\n", &au8Hex[0]);54 RTLogPrintf("%%Rhxs : %Rhxs\n", &au8Hex[0]); 55 55 RTLogPrintf("%%.32Vhxs: %.32Vhxs\n", &au8Hex[0]); 56 56 57 RTLogPrintf("%% Vhxd :\n%Vhxd\n", &au8Hex[0]);57 RTLogPrintf("%%Rhxd :\n%Rhxd\n", &au8Hex[0]); 58 58 RTLogPrintf("%%.64Vhxd:\n%.64Vhxd\n", &au8Hex[0]); 59 59 RTLogPrintf("%%.*Vhxd:\n%.*Vhxd\n", 64, &au8Hex[0]); … … 64 64 RTLogPrintf("%%*.*Vhxd : \n%*.*Vhxd\n", 7, 32, &au8Hex[0]); 65 65 66 RTLogPrintf("%% VGp: %VGp\n", (RTGCPHYS)0x87654321);67 RTLogPrintf("%% VGv: %VGv\n", (RTGCPTR)0x87654321);68 RTLogPrintf("%% VHp: %VHp\n", (RTGCPHYS)0x87654321);69 RTLogPrintf("%% VHv: %VHv\n", (RTGCPTR)0x87654321);66 RTLogPrintf("%%RGp: %RGp\n", (RTGCPHYS)0x87654321); 67 RTLogPrintf("%%RGv: %RGv\n", (RTGCPTR)0x87654321); 68 RTLogPrintf("%%RHp: %RHp\n", (RTGCPHYS)0x87654321); 69 RTLogPrintf("%%RHv: %RHv\n", (RTGCPTR)0x87654321); 70 70 71 RTLogPrintf("%% VI8 : %VI8\n", (uint8_t)808);72 RTLogPrintf("%% VI16: %VI16\n", (uint16_t)16016);73 RTLogPrintf("%% VI32: %VI32\n", _1G);74 RTLogPrintf("%% VI64: %VI64\n", _1E);71 RTLogPrintf("%%RI8 : %RI8\n", (uint8_t)808); 72 RTLogPrintf("%%RI16: %RI16\n", (uint16_t)16016); 73 RTLogPrintf("%%RI32: %RI32\n", _1G); 74 RTLogPrintf("%%RI64: %RI64\n", _1E); 75 75 76 RTLogPrintf("%% VU8 : %VU8\n", (uint8_t)808);77 RTLogPrintf("%% VU16: %VU16\n", (uint16_t)16016);78 RTLogPrintf("%% VU32: %VU32\n", _2G32);79 RTLogPrintf("%% VU64: %VU64\n", _2E);76 RTLogPrintf("%%RU8 : %RU8\n", (uint8_t)808); 77 RTLogPrintf("%%RU16: %RU16\n", (uint16_t)16016); 78 RTLogPrintf("%%RU32: %RU32\n", _2G32); 79 RTLogPrintf("%%RU64: %RU64\n", _2E); 80 80 81 RTLogPrintf("%% VX8 : %VX8 %#VX8\n", (uint8_t)808, (uint8_t)808);82 RTLogPrintf("%% VX16: %VX16 %#VX16\n", (uint16_t)16016, (uint16_t)16016);83 RTLogPrintf("%% VX32: %VX32 %#VX32\n", _2G32, _2G32);84 RTLogPrintf("%% VX64: %VX64 %#VX64\n", _2E, _2E);81 RTLogPrintf("%%RX8 : %RX8 %#VX8\n", (uint8_t)808, (uint8_t)808); 82 RTLogPrintf("%%RX16: %RX16 %#VX16\n", (uint16_t)16016, (uint16_t)16016); 83 RTLogPrintf("%%RX32: %RX32 %#VX32\n", _2G32, _2G32); 84 RTLogPrintf("%%RX64: %RX64 %#VX64\n", _2E, _2E); 85 85 86 86 RTLogFlush(NULL);
Note:
See TracChangeset
for help on using the changeset viewer.