Home
last modified time | relevance | path

Searched refs:temp (Results 1 – 25 of 42) sorted by relevance

12

/TwlSDK-5.1.0/build/demos/os/reset-1/src/
Dscreen.c57 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.1.0/build/demos/os/consoleType-1/src/
Dscreen.c54 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.1.0/build/demos/ctrdg/pullout-1/src/
Dscreen.c54 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.1.0/build/demos.TWL/spi/pm-2/src/
Dscreen.c53 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.1.0/build/demos/os/exceptionDisplay-4/src/
Dscreen.c54 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.1.0/build/demos/spi/pm-1/src/
Dscreen.c55 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.1.0/build/demos/mb/multiboot-Model/common/src/
Ddisp.c368 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.1.0/build/demos/wvr/with_mb/common/src/
Ddisp.c368 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.1.0/build/demos/mb/fake_child/common/src/
Ddisp.c371 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.1.0/build/demos/mb/cloneboot/src/
Ddisp.c368 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.1.0/build/demos/mb/multiboot/src/
Ddispfunc.c182 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.1.0/build/demos/wm/dataShare-1/src/
Dmain.c466 u16 temp[SHARED_DATA_SIZE / sizeof(u16)]; in PrintSharedData() local
481 MI_CpuCopy8(p, temp, SHARED_DATA_SIZE); in PrintSharedData()
483 "%04x%04x-%04x%04x", temp[0], temp[1], temp[2], temp[3]); in PrintSharedData()
579 char temp[32 + 2]; in PrintString() local
583 (void)vsnprintf(temp, 33, text, vlist); in PrintString()
586 *(u16 *)(&temp[32]) = 0x0000; in PrintString()
589 if (temp[i] == 0x00) in PrintString()
593 gScreen[((y * 32) + x + i) % (32 * 32)] = (u16)((palette << 12) | temp[i]); in PrintString()
612 u16 temp; in ColorString() local
621 temp = gScreen[index]; in ColorString()
[all …]
/TwlSDK-5.1.0/build/demos.TWL/os/os_jump/src/
Dscreen.c122 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.1.0/build/demos/rtc/swclock-1/src/
Dmain.c326 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.1.0/build/tools/makelst/
Delf.c75 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.1.0/build/tools/stripdebug/
Delf.c74 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.1.0/build/demos/cht/catch-1/src/
Dmain.c372 char temp[32 + 2]; in PrintString() local
376 (void)vsnprintf(temp, 33, text, vlist); in PrintString()
379 *(u16 *)(&temp[32]) = 0x0000; in PrintString()
382 if (temp[i] == 0x00) in PrintString()
386 gScreen[((y * 32) + x + i) % (32 * 32)] = (u16)((palette << 12) | temp[i]); in PrintString()
405 u16 temp; in ColorString() local
414 temp = gScreen[index]; in ColorString()
415 temp &= 0x0fff; in ColorString()
416 temp |= (palette << 12); in ColorString()
417 gScreen[index] = temp; in ColorString()
/TwlSDK-5.1.0/build/demos/cht/catch-2/src/
Dmain.c370 char temp[32 + 2]; in PrintString() local
374 (void)vsnprintf(temp, 33, text, vlist); in PrintString()
377 *(u16 *)(&temp[32]) = 0x0000; in PrintString()
380 if (temp[i] == 0x00) in PrintString()
384 gScreen[((y * 32) + x + i) % (32 * 32)] = (u16)((palette << 12) | temp[i]); in PrintString()
403 u16 temp; in ColorString() local
412 temp = gScreen[index]; in ColorString()
413 temp &= 0x0fff; in ColorString()
414 temp |= (palette << 12); in ColorString()
415 gScreen[index] = temp; in ColorString()
/TwlSDK-5.1.0/build/demos/wm/mp_simple-1/src/
Dmain.c526 char temp[32 + 2]; in PrintString() local
530 (void)vsnprintf(temp, 33, text, vlist); in PrintString()
533 *(u16 *)(&temp[32]) = 0x0000; in PrintString()
536 if (temp[i] == 0x00) in PrintString()
540 gScreen[((y * 32) + x + i) % (32 * 32)] = (u16)((palette << 12) | temp[i]); in PrintString()
559 u16 temp; in ColorString() local
568 temp = gScreen[index]; in ColorString()
569 temp &= 0x0fff; in ColorString()
570 temp |= (palette << 12); in ColorString()
571 gScreen[index] = temp; in ColorString()
/TwlSDK-5.1.0/build/demos/wvr/switchover/src/
Dwireless_main.c568 char temp[32 + 2]; in PrintString() local
572 (void)vsnprintf(temp, 33, text, vlist); in PrintString()
575 *(u16 *)(&temp[32]) = 0x0000; in PrintString()
578 if (temp[i] == 0x00) in PrintString()
582 gScreen[((y * 32) + x + i) % (32 * 32)] = (u16)((palette << 12) | temp[i]); in PrintString()
601 u16 temp; in ColorString() local
610 temp = gScreen[index]; in ColorString()
611 temp &= 0x0fff; in ColorString()
612 temp |= (palette << 12); in ColorString()
613 gScreen[index] = temp; in ColorString()
/TwlSDK-5.1.0/build/demos/wvr/simple/src/
Dmain.c543 char temp[32 + 2]; in PrintString() local
547 (void)vsnprintf(temp, 33, text, vlist); in PrintString()
550 *(u16 *)(&temp[32]) = 0x0000; in PrintString()
553 if (temp[i] == 0x00) in PrintString()
557 gScreen[((y * 32) + x + i) % (32 * 32)] = (u16)((palette << 12) | temp[i]); in PrintString()
576 u16 temp; in ColorString() local
585 temp = gScreen[index]; in ColorString()
586 temp &= 0x0fff; in ColorString()
587 temp |= (palette << 12); in ColorString()
588 gScreen[index] = temp; in ColorString()
/TwlSDK-5.1.0/build/libraries/el/common/src/
Delf.c77 u32 temp; in load_elf32_sword() local
81 temp = ((u32)(*temp_ptr) & 0x000000ff); in load_elf32_sword()
83 temp |= (((u32)(*temp_ptr) << 8 ) & 0x0000ff00); in load_elf32_sword()
85 temp |= (((u32)(*temp_ptr) << 16 ) & 0x00ff0000); in load_elf32_sword()
87 temp |= (((u32)(*temp_ptr) << 24 ) & 0xff000000); in load_elf32_sword()
91 temp = (((u32)(*temp_ptr) << 24 ) & 0xff000000); in load_elf32_sword()
93 temp |= (((u32)(*temp_ptr) << 16 ) & 0x00ff0000); in load_elf32_sword()
95 temp |= (((u32)(*temp_ptr) << 8 ) & 0x0000ff00); in load_elf32_sword()
97 temp |= ((u32)(*temp_ptr) & 0x000000ff); in load_elf32_sword()
100 *dest = *( (Elf32_Sword *)&temp ); in load_elf32_sword()
/TwlSDK-5.1.0/build/demos/mb/multiboot-wfs/common/src/
Dutil.c225 static char temp[64 + 2]; in PrintString() local
230 (void)OS_VSNPrintf(temp, sizeof(temp) - 1, text, vlist); in PrintString()
232 *(u16 *)&temp[32] = 0x0000; in PrintString()
233 for (i = 0; (d = MI_ReadByte(temp + i)) != '\0'; ++i) in PrintString()
/TwlSDK-5.1.0/build/demos/rtc/rtc-1/src/
Dmain.c816 char temp[32 + 2]; in PrintString() local
820 (void)vsnprintf(temp, 33, text, vlist); in PrintString()
823 *(u16 *)(&temp[32]) = 0x0000; in PrintString()
826 if (temp[i] == 0x00) in PrintString()
830 gScreen[((y * 32) + x + i) % (32 * 32)] = (u16)((palette << 12) | temp[i]); in PrintString()
849 u16 temp; in ColorString() local
858 temp = gScreen[index]; in ColorString()
859 temp &= 0x0fff; in ColorString()
860 temp |= (palette << 12); in ColorString()
861 gScreen[index] = temp; in ColorString()
/TwlSDK-5.1.0/build/demos/wbt/wbt-1/src/
Dtext.c346 char temp[32]; in mprintf() local
350 (void)OS_VSNPrintf(temp, 32, text, vlist); in mprintf()
354 m_putchar(tc[0], (int)temp[i]); in mprintf()
355 if (temp[i] == '\n') in mprintf()
368 char temp[32]; in mfprintf() local
372 (void)OS_VSNPrintf(temp, 32, text, vlist); in mfprintf()
376 m_putchar(tc, (int)temp[i]); in mfprintf()
377 if (temp[i] == '\n') in mfprintf()

12