| /TwlSDK-5.4/build/demos/os/consoleType-1/src/ |
| D | screen.c | 54 char temp[32 + 2], *tempPtr; in PrintString() local 59 (void)vsnprintf(temp, 33, text, vlist); in PrintString() 62 *(u16 *)(&temp[32]) = 0; in PrintString() 65 tempPtr = &temp[0]; in PrintString() 102 u16 temp = *p; in ColorString() local 103 temp &= 0x0fff; in ColorString() 104 temp |= (palette << 12); in ColorString() 105 *p = temp; in ColorString()
|
| /TwlSDK-5.4/build/demos/ctrdg/pullout-1/src/ |
| D | screen.c | 54 char temp[32 + 2], *tempPtr; in PrintString() local 59 (void)vsnprintf(temp, 33, text, vlist); in PrintString() 62 *(u16 *)(&temp[32]) = 0; in PrintString() 65 tempPtr = &temp[0]; in PrintString() 102 u16 temp = *p; in ColorString() local 103 temp &= 0x0fff; in ColorString() 104 temp |= (palette << 12); in ColorString() 105 *p = temp; in ColorString()
|
| /TwlSDK-5.4/build/demos.TWL/spi/pm-2/src/ |
| D | screen.c | 53 char temp[32 + 2], *tempPtr; in PrintString() local 58 (void)vsnprintf(temp, 33, text, vlist); in PrintString() 61 *(u16 *)(&temp[32]) = 0; in PrintString() 64 tempPtr = &temp[0]; in PrintString() 101 u16 temp = *p; in ColorString() local 102 temp &= 0x0fff; in ColorString() 103 temp |= (palette << 12); in ColorString() 104 *p = temp; in ColorString()
|
| /TwlSDK-5.4/build/demos/os/exceptionDisplay-4/src/ |
| D | screen.c | 54 char temp[32 + 2], *tempPtr; in PrintString() local 59 (void)vsnprintf(temp, 33, text, vlist); in PrintString() 62 *(u16 *)(&temp[32]) = 0; in PrintString() 65 tempPtr = &temp[0]; in PrintString() 102 u16 temp = *p; in ColorString() local 103 temp &= 0x0fff; in ColorString() 104 temp |= (palette << 12); in ColorString() 105 *p = temp; in ColorString()
|
| /TwlSDK-5.4/build/demos/spi/pm-1/src/ |
| D | screen.c | 55 char temp[32 + 2], *tempPtr; in PrintString() local 60 (void)vsnprintf(temp, 33, text, vlist); in PrintString() 63 *(u16 *)(&temp[32]) = 0; in PrintString() 66 tempPtr = &temp[0]; in PrintString() 103 u16 temp = *p; in ColorString() local 104 temp &= 0x0fff; in ColorString() 105 temp |= (palette << 12); in ColorString() 106 *p = temp; in ColorString()
|
| /TwlSDK-5.4/build/demos/os/reset-1/src/ |
| D | screen.c | 57 char temp[32 + 2], *tempPtr; in PrintString() local 62 (void)vsnprintf(temp, 33, text, vlist); in PrintString() 65 *(u16 *)(&temp[32]) = 0; in PrintString() 68 tempPtr = &temp[0]; in PrintString() 105 u16 temp = *p; in ColorString() local 106 temp &= 0x0fff; in ColorString() 107 temp |= (palette << 12); in ColorString() 108 *p = temp; in ColorString()
|
| /TwlSDK-5.4/build/demos/mb/cloneboot/src/ |
| D | disp.c | 368 char temp[(BGSTR_MAX_LENGTH + 1) * 2]; in BgPrintStr() local 371 MI_CpuClear8(temp, sizeof(temp)); in BgPrintStr() 373 (void)vsnprintf(temp, sizeof(temp) - 1, text, vlist); in BgPrintStr() 375 BgPutString(x, y, palette, temp); in BgPrintStr() 389 char temp[(BGSTR_MAX_LENGTH + 1) * 2]; in BgSetMessage() local 392 MI_CpuClear8(temp, sizeof(temp)); in BgSetMessage() 394 (void)vsnprintf(temp, sizeof(temp) - 1, text, vlist); in BgSetMessage() 396 BgPutString(4, 22, palette, temp); in BgSetMessage() 429 u16 temp; in BgColorString() local 440 temp = vscr[index]; in BgColorString() [all …]
|
| /TwlSDK-5.4/build/demos/wvr/with_mb/common/src/ |
| D | disp.c | 368 char temp[(BGSTR_MAX_LENGTH + 1) * 2]; in BgPrintStr() local 371 MI_CpuClear8(temp, sizeof(temp)); in BgPrintStr() 373 (void)vsnprintf(temp, sizeof(temp) - 1, text, vlist); in BgPrintStr() 375 BgPutString(x, y, palette, temp); in BgPrintStr() 389 char temp[(BGSTR_MAX_LENGTH + 1) * 2]; in BgSetMessage() local 392 MI_CpuClear8(temp, sizeof(temp)); in BgSetMessage() 394 (void)vsnprintf(temp, sizeof(temp) - 1, text, vlist); in BgSetMessage() 396 BgPutString(4, 22, palette, temp); in BgSetMessage() 429 u16 temp; in BgColorString() local 440 temp = vscr[index]; in BgColorString() [all …]
|
| /TwlSDK-5.4/build/demos/mb/multiboot-Model/common/src/ |
| D | disp.c | 368 char temp[(BGSTR_MAX_LENGTH + 1) * 2]; in BgPrintStr() local 371 MI_CpuClear8(temp, sizeof(temp)); in BgPrintStr() 373 (void)vsnprintf(temp, sizeof(temp) - 1, text, vlist); in BgPrintStr() 375 BgPutString(x, y, palette, temp); in BgPrintStr() 389 char temp[(BGSTR_MAX_LENGTH + 1) * 2]; in BgSetMessage() local 392 MI_CpuClear8(temp, sizeof(temp)); in BgSetMessage() 394 (void)vsnprintf(temp, sizeof(temp) - 1, text, vlist); in BgSetMessage() 396 BgPutString(4, 22, palette, temp); in BgSetMessage() 429 u16 temp; in BgColorString() local 440 temp = vscr[index]; in BgColorString() [all …]
|
| /TwlSDK-5.4/build/demos/mb/fake_child/common/src/ |
| D | disp.c | 371 char temp[(BGSTR_MAX_LENGTH + 1) * 2]; in BgPrintStr() local 374 MI_CpuClear8(temp, sizeof(temp)); in BgPrintStr() 376 (void)vsnprintf(temp, sizeof(temp) - 1, text, vlist); in BgPrintStr() 378 BgPutString(x, y, palette, temp); in BgPrintStr() 392 char temp[(BGSTR_MAX_LENGTH + 1) * 2]; in BgSetMessage() local 395 MI_CpuClear8(temp, sizeof(temp)); in BgSetMessage() 397 (void)vsnprintf(temp, sizeof(temp) - 1, text, vlist); in BgSetMessage() 399 BgPutString(4, 22, palette, temp); in BgSetMessage() 432 u16 temp; in BgColorString() local 443 temp = vscr[index]; in BgColorString() [all …]
|
| /TwlSDK-5.4/build/demos/mb/multiboot/src/ |
| D | dispfunc.c | 182 char temp[32 * 2 + 2]; in BgPrintf() local 184 MI_CpuClear8(&temp[0], sizeof(temp)); in BgPrintf() 187 (void)OS_VSNPrintf(temp, 32 * 2 + 2, text, vlist); in BgPrintf() 190 BgPutString(x, y, palette, temp); in BgPrintf() 227 char temp[32 + 2]; in BgPrintfSub() local 229 MI_CpuClear8(&temp[0], sizeof(temp)); in BgPrintfSub() 232 (void)OS_VSNPrintf(temp, 33, text, vlist); in BgPrintfSub() 235 BgPutStringSub(x, y, palette, temp); in BgPrintfSub() 288 char temp[32 * 2 + 2]; in BgSetMessage() local 289 MI_CpuClear8(&temp[0], sizeof(temp)); in BgSetMessage() [all …]
|
| /TwlSDK-5.4/build/demos/wxc/simple-1/src/ |
| D | print.c | 68 char temp[32 + 2]; in PrintString() local 72 (void)OS_VSNPrintf(temp, 33, text, vlist); in PrintString() 75 *(u16 *)(&temp[32]) = 0x0000; in PrintString() 78 if (temp[i] == 0x00) in PrintString() 82 gScreen[((y * 32) + x + i) % (32 * 32)] = (u16)((palette << 12) | temp[i]); in PrintString()
|
| /TwlSDK-5.4/build/demos/wxc/unregister-1/src/ |
| D | print.c | 68 char temp[32 + 2]; in PrintString() local 72 (void)OS_VSNPrintf(temp, 33, text, vlist); in PrintString() 75 *(u16 *)(&temp[32]) = 0x0000; in PrintString() 78 if (temp[i] == 0x00) in PrintString() 82 gScreen[((y * 32) + x + i) % (32 * 32)] = (u16)((palette << 12) | temp[i]); in PrintString()
|
| /TwlSDK-5.4/build/demos/wxc/wxc-pm/src/ |
| D | print.c | 68 char temp[32 + 2]; in PrintString() local 72 (void)OS_VSNPrintf(temp, 33, text, vlist); in PrintString() 75 *(u16 *)(&temp[32]) = 0x0000; in PrintString() 78 if (temp[i] == 0x00) in PrintString() 82 gScreen[((y * 32) + x + i) % (32 * 32)] = (u16)((palette << 12) | temp[i]); in PrintString()
|
| /TwlSDK-5.4/build/demos.TWL/tcl/tcl-1/src/ |
| D | screen.c | 86 char temp[33]; in PutScreen() local 89 MI_CpuClear(temp, sizeof(temp)); in PutScreen() 91 (void)vsnprintf(temp, 33, text, vlist); in PutScreen() 96 if (temp[i] == 0x00) in PutScreen() 101 gScreen[0][((y * 32) + x + i) % (32 * 32)] = (u16) (palette << 12 | temp[i]); in PutScreen()
|
| /TwlSDK-5.4/build/demos.TWL/tcl/tcl-2/src/ |
| D | screen.c | 86 char temp[33]; in PutScreen() local 89 MI_CpuClear(temp, sizeof(temp)); in PutScreen() 91 (void)vsnprintf(temp, 33, text, vlist); in PutScreen() 96 if (temp[i] == 0x00) in PutScreen() 101 gScreen[0][((y * 32) + x + i) % (32 * 32)] = (u16) (palette << 12 | temp[i]); in PutScreen()
|
| /TwlSDK-5.4/build/demos.TWL/os/os_jump/src/ |
| D | screen.c | 122 char temp[33]; in PutMainScreen() local 126 (void)vsnprintf(temp, 33, text, vlist); in PutMainScreen() 131 if (temp[i] == 0x00) in PutMainScreen() 136 gScreen[0][0][((y * 32) + x + i) % (32 * 32)] = (u16) (palette << 12 | temp[i]); in PutMainScreen() 153 char temp[33]; in PutSubScreen() local 157 (void)vsnprintf(temp, 33, text, vlist); in PutSubScreen() 162 if (temp[i] == 0x00) in PutSubScreen() 167 gScreen[1][0][((y * 32) + x + i) % (32 * 32)] = (u16) (palette << 12 | temp[i]); in PutSubScreen()
|
| /TwlSDK-5.4/build/demos/wm/dataShare-1/src/ |
| D | main.c | 499 u16 temp[SHARED_DATA_SIZE / sizeof(u16)]; in PrintSharedData() local 514 MI_CpuCopy8(p, temp, SHARED_DATA_SIZE); in PrintSharedData() 516 "%04x%04x-%04x%04x", temp[0], temp[1], temp[2], temp[3]); in PrintSharedData() 612 char temp[32 + 2]; in PrintString() local 616 (void)vsnprintf(temp, 33, text, vlist); in PrintString() 619 *(u16 *)(&temp[32]) = 0x0000; in PrintString() 622 if (temp[i] == 0x00) in PrintString() 626 gScreen[((y * 32) + x + i) % (32 * 32)] = (u16)((palette << 12) | temp[i]); in PrintString() 645 u16 temp; in ColorString() local 654 temp = gScreen[index]; in ColorString() [all …]
|
| /TwlSDK-5.4/build/demos/rtc/swclock-1/src/ |
| D | main.c | 326 char temp[32 + 2]; in PrintString() local 330 (void)vsnprintf(temp, 33, text, vlist); in PrintString() 333 *(u16 *)(&temp[32]) = 0x0000; in PrintString() 336 if (temp[i] == 0x00) in PrintString() 340 gScreen[((y * 32) + x + i) % (32 * 32)] = (u16)((palette << 12) | temp[i]); in PrintString() 359 u16 temp; in ColorString() local 368 temp = gScreen[index]; in ColorString() 369 temp &= 0x0fff; in ColorString() 370 temp |= (palette << 12); in ColorString() 371 gScreen[index] = temp; in ColorString()
|
| /TwlSDK-5.4/build/demos/wxc/wxc-dataShare/common/src/ |
| D | disp.c | 280 char temp[(BGSTR_MAX_LENGTH + 1) * 2]; in BgPrintStr() local 283 MI_CpuClear8(temp, sizeof(temp)); in BgPrintStr() 285 (void)vsnprintf(temp, sizeof(temp) - 1, text, vlist); in BgPrintStr() 287 BgPutString(x, y, palette, temp); in BgPrintStr()
|
| /TwlSDK-5.4/build/tools/makelst/ |
| D | elf.c | 75 u32 temp; 79 temp = ((u32)(*temp_ptr) & 0x000000ff); 81 temp |= (((u32)(*temp_ptr) << 8 ) & 0x0000ff00); 83 temp |= (((u32)(*temp_ptr) << 16 ) & 0x00ff0000); 85 temp |= (((u32)(*temp_ptr) << 24 ) & 0xff000000); 89 temp = (((u32)(*temp_ptr) << 24 ) & 0xff000000); 91 temp |= (((u32)(*temp_ptr) << 16 ) & 0x00ff0000); 93 temp |= (((u32)(*temp_ptr) << 8 ) & 0x0000ff00); 95 temp |= ((u32)(*temp_ptr) & 0x000000ff); 98 *dest = *( (Elf32_Sword *)&temp );
|
| /TwlSDK-5.4/build/tools/stripdebug/ |
| D | elf.c | 74 u32 temp; 78 temp = ((u32)(*temp_ptr) & 0x000000ff); 80 temp |= (((u32)(*temp_ptr) << 8 ) & 0x0000ff00); 82 temp |= (((u32)(*temp_ptr) << 16 ) & 0x00ff0000); 84 temp |= (((u32)(*temp_ptr) << 24 ) & 0xff000000); 88 temp = (((u32)(*temp_ptr) << 24 ) & 0xff000000); 90 temp |= (((u32)(*temp_ptr) << 16 ) & 0x00ff0000); 92 temp |= (((u32)(*temp_ptr) << 8 ) & 0x0000ff00); 94 temp |= ((u32)(*temp_ptr) & 0x000000ff); 97 *dest = *( (Elf32_Sword *)&temp );
|
| /TwlSDK-5.4/build/demos/cht/catch-1/src/ |
| D | main.c | 380 char temp[32 + 2]; in PrintString() local 384 (void)vsnprintf(temp, 33, text, vlist); in PrintString() 387 *(u16 *)(&temp[32]) = 0x0000; in PrintString() 390 if (temp[i] == 0x00) in PrintString() 394 gScreen[((y * 32) + x + i) % (32 * 32)] = (u16)((palette << 12) | temp[i]); in PrintString() 413 u16 temp; in ColorString() local 422 temp = gScreen[index]; in ColorString() 423 temp &= 0x0fff; in ColorString() 424 temp |= (palette << 12); in ColorString() 425 gScreen[index] = temp; in ColorString()
|
| /TwlSDK-5.4/build/demos/wvr/switchover/src/ |
| D | wireless_main.c | 608 char temp[32 + 2]; in PrintString() local 612 (void)vsnprintf(temp, 33, text, vlist); in PrintString() 615 *(u16 *)(&temp[32]) = 0x0000; in PrintString() 618 if (temp[i] == 0x00) in PrintString() 622 gScreen[((y * 32) + x + i) % (32 * 32)] = (u16)((palette << 12) | temp[i]); in PrintString() 641 u16 temp; in ColorString() local 650 temp = gScreen[index]; in ColorString() 651 temp &= 0x0fff; in ColorString() 652 temp |= (palette << 12); in ColorString() 653 gScreen[index] = temp; in ColorString()
|
| /TwlSDK-5.4/build/demos/wvr/simple/src/ |
| D | main.c | 580 char temp[32 + 2]; in PrintString() local 584 (void)vsnprintf(temp, 33, text, vlist); in PrintString() 587 *(u16 *)(&temp[32]) = 0x0000; in PrintString() 590 if (temp[i] == 0x00) in PrintString() 594 gScreen[((y * 32) + x + i) % (32 * 32)] = (u16)((palette << 12) | temp[i]); in PrintString() 613 u16 temp; in ColorString() local 622 temp = gScreen[index]; in ColorString() 623 temp &= 0x0fff; in ColorString() 624 temp |= (palette << 12); in ColorString() 625 gScreen[index] = temp; in ColorString()
|