| /bsp/nxp/imx/imxrt/libraries/drivers/vglite/font/mcufont/decoder/ |
| A D | mf_encoding.c | 5 mf_char mf_getchar(mf_str *str) in mf_getchar() argument 11 c = **str; in mf_getchar() 15 (*str)++; in mf_getchar() 50 (*str)++; in mf_getchar() 54 (*str)++; in mf_getchar() 63 (*str)--; in mf_rewind() 65 while ((**str & 0x80) != 0x00 && (**str & 0xC0) != 0xC0) in mf_rewind() 66 (*str)--; in mf_rewind() 73 if (!(**str)) in mf_getchar() 76 return *(*str)++; in mf_getchar() [all …]
|
| /bsp/ft2004/libraries/bsp/standlone/ |
| A D | ft_printf.c | 52 char *Ft_itoa(int num, char *str, int radix) in Ft_itoa() argument 64 str[i++] = '-'; in Ft_itoa() 73 str[i++] = index[unum % (unsigned)radix]; in Ft_itoa() 77 str[i] = '\0'; in Ft_itoa() 79 if (str[0] == '-') in Ft_itoa() 90 temp = str[j]; in Ft_itoa() 91 str[j] = str[i - 1 + k - j]; in Ft_itoa() 92 str[i - 1 + k - j] = temp; in Ft_itoa() 95 return str; in Ft_itoa()
|
| /bsp/samd21/sam_d2x_asflib/common2/services/gfx_mono/ |
| A D | gfx_mono_text.c | 265 Assert(str != NULL); in gfx_mono_draw_string() 271 if (*str == '\n') { in gfx_mono_draw_string() 274 } else if (*str == '\r') { in gfx_mono_draw_string() 280 } while (*(++str)); in gfx_mono_draw_string() 304 Assert(str != NULL); in gfx_mono_draw_progmem_string() 351 Assert(str != NULL); in gfx_mono_get_string_bounding_box() 357 if (*str == '\n') { in gfx_mono_get_string_bounding_box() 360 } else if (*str == '\r') { in gfx_mono_get_string_bounding_box() 368 } while (*(++str)); in gfx_mono_get_string_bounding_box() 399 Assert(str != NULL); in gfx_mono_get_progmem_string_bounding_box() [all …]
|
| A D | gfx_mono_text.h | 107 void gfx_mono_draw_string(const char *str, const gfx_coord_t x, 110 void gfx_mono_get_string_bounding_box(char const *str, const struct font *font, 117 void gfx_mono_draw_progmem_string(char PROGMEM_PTR_T str, gfx_coord_t x, 120 void gfx_mono_get_progmem_string_bounding_box(char PROGMEM_PTR_T str,
|
| /bsp/samd21/sam_d2x_asflib/common2/services/gfx_mono/tools/ |
| A D | bitmap.py | 49 sys.stdout.write(str(new_im[x, y])) 55 …str(new_im[x, y + 7]) + str(new_im[x, y+6]) + str(new_im[x, y+5]) + str(new_im[x, y+4]) + str(new_…
|
| /bsp/nuvoton/numaker-hmi-ma35d1/preload/ |
| A D | preload.ASM | 91 str w1, [x0] 101 str w1, [x0] 114 str w1, [x0] 140 str w9, [x0, GICD_CTLR] 146 str w9, [x11], #0x04 147 0: str w9, [x11], #0x04 154 str w0, [x1] 157 str w0, [x1, #4] 165 str w9, [x0, GICD_IGROUPRn] 170 str w9, [x1, GICC_CTLR] [all …]
|
| /bsp/loongson/ls1bdev/libraries/ |
| A D | ls1b_uart.c | 185 void uart_print(ls1b_uart_t uartx, const char *str) in uart_print() argument 187 while ('\0' != *str) // 判断是否为字符串结束符 in uart_print() 189 uart_putc(uartx, *str); // 发送一个字符 in uart_print() 190 str++; in uart_print() 223 void uart2_print(const char *str) in uart2_print() argument 225 uart_print(LS1B_UART2, str); in uart2_print() 234 void uart_debug_print(const char *str) in uart_debug_print() argument 236 uart_print(debug_uart_info.UARTx, str); in uart_debug_print()
|
| /bsp/nxp/lpc/lpc2148/drivers/ |
| A D | board.c | 43 void rt_hw_console_output(const char* str) in rt_hw_console_output() argument 45 while (*str) in rt_hw_console_output() 47 if (*str=='\n') in rt_hw_console_output() 54 U0THR = *str; in rt_hw_console_output() 56 str ++; in rt_hw_console_output()
|
| /bsp/synwit/swm320-mini/applications/ |
| A D | main.c | 343 char str[] = "elmfat mount to W25Q flash.\r\n", buf[80]; in spi_flash_elmfat_sample() local 358 rt_kprintf("Write string '%s' to /user/test.txt.\n", str); in spi_flash_elmfat_sample() 363 if (write(fd, str, sizeof(str)) == sizeof(str)) in spi_flash_elmfat_sample() 376 if (size == sizeof(str)) in spi_flash_elmfat_sample() 406 char str[] = "elmfat mount to sdcard.", buf[80]; in elmfat_sample() local 421 rt_kprintf("Write string '%s' to /user/test.txt.\n", str); in elmfat_sample() 426 if (write(fd, str, sizeof(str)) == sizeof(str)) in elmfat_sample() 439 if (size == sizeof(str)) in elmfat_sample() 457 char str[] = "elmfat mount to sdcard.\n", buf[80]; in sdio_elmfat_sample() local 477 if (write(fd, str, sizeof(str)) == sizeof(str)) in sdio_elmfat_sample() [all …]
|
| /bsp/loongson/ls1cdev/libraries/ |
| A D | ls1c_uart.c | 185 void uart_print(ls1c_uart_t uartx, const char *str) in uart_print() argument 187 while ('\0' != *str) // 判断是否为字符串结束符 in uart_print() 189 uart_putc(uartx, *str); // 发送一个字符 in uart_print() 190 str++; in uart_print() 223 void uart2_print(const char *str) in uart2_print() argument 225 uart_print(LS1C_UART2, str); in uart2_print() 234 void uart_debug_print(const char *str) in uart_debug_print() argument 236 uart_print(debug_uart_info.UARTx, str); in uart_debug_print()
|
| /bsp/essemi/es32f369x/libraries/CMSIS/Device/EastSoft/ES32F36xx/Startup/gcc/ |
| A D | startup_es32f36xx.S | 67 str r0, [r1] 71 str r0, [r1] 73 str r0, [r1] 81 str r1, [r0] 82 str r1, [r0] 83 str r1, [r0] 84 str r1, [r0] 85 str r1, [r0] 86 str r1, [r0] 87 str r1, [r0] [all …]
|
| /bsp/sparkfun-redv/applications/ |
| A D | SConscript | 5 cwd = os.path.join(str(Dir('#')), 'applications') 10 str(Dir('#')), 11 os.path.join(str(Dir('#')), 'freedom-e-sdk/bsp/env'), 12 os.path.join(str(Dir('#')), 'freedom-e-sdk/bsp/env/freedom-e300-hifive1'), 13 os.path.join(str(Dir('#')), 'freedom-e-sdk/include/sifive/devices'),
|
| /bsp/airm2m/air32f103/libraries/Startup/gcc/ |
| A D | startup_air32f10x.s | 62 str r3, [r2] 71 str r1,[r0] 74 str r3,[r2] 76 str r3,[r2] 78 str r3,[r2] 83 str r5,[r4] 87 str r3,[r2] 90 str r3,[r2] 92 str r3,[r2] 94 str r3,[r2] [all …]
|
| /bsp/yichip/yc3122-pos/applications/ |
| A D | main.c | 70 char str[] = "elmfat mount"; in elmfs_sample() local 74 if (write(fd, str, sizeof(str)) == sizeof(str)) in elmfs_sample() 86 if (size == sizeof(str)) in elmfs_sample()
|
| /bsp/sam7x/drivers/ |
| A D | board.c | 109 void rt_hw_console_output(const char* str) in rt_hw_console_output() argument 111 while (*str) in rt_hw_console_output() 113 if (*str == '\n') in rt_hw_console_output() 122 AT91C_BASE_US0->US_THR = *str; in rt_hw_console_output() 124 str ++; in rt_hw_console_output()
|
| /bsp/synwit/swm341-mini/applications/ |
| A D | main.c | 506 char str[] = "elmfat mount to W25Q flash.\r\n", buf[80]; in elmfat_sample() local 521 rt_kprintf("Write string '%s' to /user/test.txt.\n", str); in elmfat_sample() 526 if (write(fd, str, sizeof(str)) == sizeof(str)) in elmfat_sample() 539 if (size == sizeof(str)) in elmfat_sample() 568 char str[] = "elmfat mount to sdcard.\r\n", buf[80]; in elmfat_sample() local 583 rt_kprintf("Write string '%s' to /user/test.txt.\n", str); in elmfat_sample() 588 if (write(fd, str, sizeof(str)) == sizeof(str)) in elmfat_sample() 601 if (size == sizeof(str)) in elmfat_sample() 619 char str[] = "elmfat mount to sdcard.\n", buf[80]; in elmfat_sample() local 639 if (write(fd, str, sizeof(str)) == sizeof(str)) in elmfat_sample() [all …]
|
| /bsp/microblaze/ |
| A D | board.c | 127 void rt_hw_console_output(const char* str) in rt_hw_console_output() argument 129 while (*str) in rt_hw_console_output() 134 XUartLite_SendByte(STDOUT_BASEADDRESS, *str); in rt_hw_console_output() 135 if (*str == '\n') in rt_hw_console_output() 137 str++; in rt_hw_console_output()
|
| /bsp/simulator/SDL2/include/ |
| A D | SDL_stdinc.h | 595 extern DECLSPEC size_t SDLCALL SDL_strlen(const char *str); 599 extern DECLSPEC char *SDLCALL SDL_strdup(const char *str); 600 extern DECLSPEC char *SDLCALL SDL_strrev(char *str); 601 extern DECLSPEC char *SDLCALL SDL_strupr(char *str); 602 extern DECLSPEC char *SDLCALL SDL_strlwr(char *str); 603 extern DECLSPEC char *SDLCALL SDL_strchr(const char *str, int c); 604 extern DECLSPEC char *SDLCALL SDL_strrchr(const char *str, int c); 608 extern DECLSPEC size_t SDLCALL SDL_utf8strlen(const char *str); 618 extern DECLSPEC int SDLCALL SDL_atoi(const char *str); 619 extern DECLSPEC double SDLCALL SDL_atof(const char *str); [all …]
|
| /bsp/stm32/libraries/HAL_Drivers/nano/ |
| A D | drv_console.c | 83 void rt_hw_console_output(const char *str) in rt_hw_console_output() argument 90 size = rt_strlen(str); in rt_hw_console_output() 93 if (*(str + i) == '\n') in rt_hw_console_output() 97 HAL_UART_Transmit(&console_uart, (uint8_t *)(str + i), 1, 1); in rt_hw_console_output()
|
| /bsp/nuvoton/numaker-hmi-ma35d1/nuwriter_scripts/ |
| A D | nuwriter.py | 1005 print("ID: " + str(info_struct.spi_id)) 1010 print("Sts value: " + str(info_struct.sts_val)) 1014 print("Block: " + str(info_struct.blk)) 1015 print("Reserved: " + str(info_struct.rsv)) 1019 print("ID: " + str(info_struct.snand_id)) 1658 media = str.upper(media) 1673 option = str.upper(option) 1691 img_type = str.upper(img_type) 1701 num = str.upper(num) 1803 if str.upper(args.read[1]) == 'ALL': [all …]
|
| /bsp/nuvoton/numaker-iot-ma35d1/nuwriter_scripts/ |
| A D | nuwriter.py | 1005 print("ID: " + str(info_struct.spi_id)) 1010 print("Sts value: " + str(info_struct.sts_val)) 1014 print("Block: " + str(info_struct.blk)) 1015 print("Reserved: " + str(info_struct.rsv)) 1019 print("ID: " + str(info_struct.snand_id)) 1658 media = str.upper(media) 1673 option = str.upper(option) 1691 img_type = str.upper(img_type) 1701 num = str.upper(num) 1803 if str.upper(args.read[1]) == 'ALL': [all …]
|
| /bsp/zynqmp-r5-axu4ev/drivers/ |
| A D | board.c | 48 void rt_hw_console_output(const char *str) in rt_hw_console_output() argument 50 while (*str) in rt_hw_console_output() 52 rt_hw_serial_putc(*str++); in rt_hw_console_output()
|
| /bsp/stm32/stm32f407-rt-spark/board/ports/rs485/ |
| A D | drv_rs485.c | 123 char *str; in rs485_test() local 132 str = argv[2]; in rs485_test() 133 rs485_send_data(str, rt_strnlen(str, 32)); in rs485_test()
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/usb/include/ |
| A D | usb_os_platform.c | 113 void Usb_uint2str_dec(unsigned int input, char *str) in Usb_uint2str_dec() argument 121 str[0] = '0'; in Usb_uint2str_dec() 122 str[1] = '\0'; // 'str' must end with '\0' in Usb_uint2str_dec() 134 str[j] = stack[i]; in Usb_uint2str_dec() 137 str[j] = '\0'; // 'str' must end with '\0' in Usb_uint2str_dec()
|
| /bsp/nxp/lpc/lpc55sxx/lpc55s69_nxp_evk/board/ports/fal/ |
| A D | fal_sample.c | 182 char str[] = "elmfat mount to W25Q flash.", buf[80]; in fal_elmfat_sample() local 210 rt_kprintf("Write string '%s' to /user/test.txt.\n", str); in fal_elmfat_sample() 216 if(write(fd, str, sizeof(str)) == sizeof(str)) in fal_elmfat_sample() 230 if(size == sizeof(str)) in fal_elmfat_sample()
|