| /TwlSDK-5.3.1/build/demos/wxc/unregister-1/src/ |
| D | text.c | 111 tb->start = tb->cur = alloc_line_buf(); in init_text_buf() 179 if (tb->cur->next == NULL) in m_putchar() 181 tmp = tb->cur; /* Recalculate the display start buffer */ in m_putchar() 197 …link_line_buf(tb->cur, tmp); /* Link the obtained buffer as the next buffer to the current … in m_putchar() 199 tb->cur = tmp; /* Update the current buffer */ in m_putchar() 200 tb->cur->cur_count = 0; in m_putchar() 201 tb->cur->last_count = 0; in m_putchar() 205 tb->cur = tb->cur->next; in m_putchar() 206 tb->cur->cur_count = 0; in m_putchar() 207 tb->cur->last_count = 0; in m_putchar() [all …]
|
| /TwlSDK-5.3.1/build/demos/wbt/wbt-1/src/ |
| D | text.c | 114 tb->start = tb->cur = alloc_line_buf(); in init_text_buf() 220 if (tb->cur->next == NULL) in m_putchar() 222 tmp = tb->cur; /* Recalculate the display start buffer */ in m_putchar() 238 …link_line_buf(tb->cur, tmp); /* Link the obtained buffer to the next buffer from the curren… in m_putchar() 240 tb->cur = tmp; /* Update the current buffer */ in m_putchar() 241 tb->cur->cur_count = 0; in m_putchar() 242 tb->cur->last_count = 0; in m_putchar() 246 tb->cur = tb->cur->next; in m_putchar() 247 tb->cur->cur_count = 0; in m_putchar() 248 tb->cur->last_count = 0; in m_putchar() [all …]
|
| /TwlSDK-5.3.1/build/libraries/dsp/common/src/ |
| D | dsp_util.c | 236 u32 cur = 0; 247 if(len < cur+12) 249 tag = MAKE_TAG_DATA(wave_data+cur); 252 cur+=4; 254 wave_len = MAKE_TAG_DATA(wave_data+cur); 255 cur+=4; 257 tag = MAKE_TAG_DATA(wave_data+cur); 260 cur+=4; 264 if(len < cur+8) 266 tag = MAKE_TAG_DATA(wave_data+cur); [all …]
|
| /TwlSDK-5.3.1/build/demos/fs/arc-2/src/ |
| D | main.c | 141 const FixedDirectory *const cur = (const FixedDirectory *)file->prop.dir.pos.pos; in CustomRom_ArchiveProc() local 143 if (!cur->name) in CustomRom_ArchiveProc() 147 p_entry->name_len = (u32)STD_GetStringLength(cur->name); in CustomRom_ArchiveProc() 151 MI_CpuCopy8(cur->name, p_entry->name, p_entry->name_len + 1); in CustomRom_ArchiveProc() 154 if ((cur->obj.dir >= dir_list) && (cur->obj.dir < dir_list + dir_max)) in CustomRom_ArchiveProc() 158 p_entry->dir_id.own_id = (u16)(cur->obj.dir - dir_list); in CustomRom_ArchiveProc() 167 p_entry->file_id.file_id = (u32)(cur->obj.file - file_list); in CustomRom_ArchiveProc() 170 file->prop.dir.pos.pos = (u32)(cur + 1); in CustomRom_ArchiveProc()
|
| /TwlSDK-5.3.1/build/demos/ctrdg/backup-1/src/ |
| D | main.c | 464 int cur = 0; in SelectDevice() local 484 if (++cur >= types_table_max) in SelectDevice() 485 cur -= types_table_max; in SelectDevice() 490 if (--cur < 0) in SelectDevice() 491 cur += types_table_max; in SelectDevice() 502 end = CTRDG_IdentifyAgbBackup(types_table[cur].type); in SelectDevice() 509 if (types_table[cur].type == CTRDG_BACKUP_TYPE_SRAM) in SelectDevice() 511 if (types_table[cur].type == CTRDG_BACKUP_TYPE_FLASH_512K) in SelectDevice() 513 if (types_table[cur].type == CTRDG_BACKUP_TYPE_FLASH_1M) in SelectDevice() 526 DrawText(10, 60 + 10 * cur, ">"); in SelectDevice()
|
| /TwlSDK-5.3.1/build/demos/fs/explorer/src/ |
| D | main.c | 123 char *cur = context->current; in CommandCD() local 124 int i = STD_GetStringLength(cur); in CommandCD() 130 while ((i > 0) && (--i, (cur[i] != '/') && (cur[i] != '\\'))) in CommandCD() 133 cur[i] = '\0'; in CommandCD() 137 (void)STD_TSNPrintf(&cur[i], sizeof(context->current) - i, "%s%s", in CommandCD() 138 (cur[0] != '\0') ? "/" : "", path); in CommandCD()
|
| /TwlSDK-5.3.1/build/libraries/std/common/src/ |
| D | std_sprintf.c | 29 char *cur; member 37 *p->cur = c, --p->len; in string_put_char() 38 ++p->cur; in string_put_char() 49 p->cur[i] = c; in string_fill_char() 51 p->cur += n; in string_fill_char() 63 p->cur[i] = s[i]; in string_put_string() 65 p->cur += n; in string_put_string() 167 str.len = len, str.cur = str.base = dst; in STD_TVSNPrintf() 537 *str.cur = '\0'; in STD_TVSNPrintf() 543 return str.cur - str.base; in STD_TVSNPrintf()
|
| /TwlSDK-5.3.1/build/demos/card/backup/src/ |
| D | main.c | 111 int cur = 0; in SelectDevice() local 123 if (++cur >= types_table_max) in SelectDevice() 125 cur -= types_table_max; in SelectDevice() 131 if (--cur < 0) in SelectDevice() 133 cur += types_table_max; in SelectDevice() 143 end = CARD_IdentifyBackup(types_table[cur].type); in SelectDevice() 159 (cur == i) ? '>' : ' ', types_table[i].comment); in SelectDevice()
|
| /TwlSDK-5.3.1/build/libraries/card/common/src/ |
| D | card_hash.c | 427 u8 *cur = lo; in CARD_InitRomHashContext() local 428 context->master_hash = (u8 *)cur; in CARD_InitRomHashContext() 429 cur += MATH_ROUNDUP(master_hash_size, 32); in CARD_InitRomHashContext() 430 context->images = (u8 *)cur; in CARD_InitRomHashContext() 431 cur += MATH_ROUNDUP(bytes_per_sector * CARD_ROM_HASH_SECTOR_MAX, 32); in CARD_InitRomHashContext() 432 context->hashes = (u8 *)cur; in CARD_InitRomHashContext() 433 …cur += MATH_ROUNDUP(MATH_ROUNDUP(CARD_ROM_HASH_SIZE * sectors_per_block, CARD_ROM_PAGE_SIZE * 3) *… in CARD_InitRomHashContext() 434 context->sectors = (CARDRomHashSector *)cur; in CARD_InitRomHashContext() 435 cur += MATH_ROUNDUP(sizeof(*context->sectors) * CARD_ROM_HASH_SECTOR_MAX, 32); in CARD_InitRomHashContext() 436 context->blocks = (CARDRomHashBlock *)cur; in CARD_InitRomHashContext() [all …]
|
| /TwlSDK-5.3.1/include/twl/ssp/ARM9/ |
| D | exifdec.h | 110 s32 SSP_ExifDecode(u8* src, u32 src_size, int* cur, int option);
|
| /TwlSDK-5.3.1/build/libraries/os/common/src/ |
| D | os_printf.c | 743 char *cur; member 751 *p->cur = c, --p->len; in string_put_char() 752 ++p->cur; in string_put_char() 763 p->cur[i] = c; in string_fill_char() 765 p->cur += n; in string_fill_char() 777 p->cur[i] = s[i]; in string_put_string() 779 p->cur += n; in string_put_string() 916 str.len = len, str.cur = str.base = dst; in OS_VSNPrintfEx() 1267 int pos = str.cur - str.base; in OS_VSNPrintfEx() 1454 *str.cur = '\0'; in OS_VSNPrintfEx() [all …]
|
| /TwlSDK-5.3.1/build/demos/wbt/wbt-1/include/ |
| D | text.h | 45 LINE_BUF *cur; member
|
| /TwlSDK-5.3.1/build/demos/wxc/unregister-1/include/ |
| D | text.h | 45 LINE_BUF *cur; member
|
| /TwlSDK-5.3.1/build/demos.TWL/dsp/snd-mic/src/ |
| D | main.c | 133 int cur = isSigned ? (((s8)cur8) + 128) : cur8; in DrawWaveGraph() local 135 fx16 fsx = (fx16)(((cur - 128) * 0x1000) / 128); in DrawWaveGraph()
|
| /TwlSDK-5.3.1/include/nitro/snd/common/ |
| D | seq.h | 145 const u8 *cur; // Note: MainMemory pointer member
|