/AliOS-Things-master/components/py_engine/tests/unicode/ |
A D | unicode_chr.py | 3 print(chr(945)) 4 print(chr(0x800)) 5 print(chr(0x10000))
|
/AliOS-Things-master/components/cli/src/iobox/ |
A D | hexdump.c | 31 static bool is_same_char(const unsigned char *buf, int len, unsigned char chr) in is_same_char() argument 34 if (buf[len] != chr) in is_same_char() 101 static int hexdump_do(const char *file, int len, int skip, int chr) in hexdump_do() argument 128 if (chr) in hexdump_do() 163 int opts = 0, len = 0, skip = 0, chr = 0; in hexdump_main() local 175 chr = true; in hexdump_main() 194 hexdump_do(argv[opts], len, skip, chr); in hexdump_main()
|
/AliOS-Things-master/components/py_engine/engine/extmod/nimble/hal/ |
A D | hal_uart.c | 92 int chr; in mp_bluetooth_nimble_hci_uart_process() local 93 while ((chr = mp_bluetooth_hci_uart_readchar()) >= 0) { in mp_bluetooth_nimble_hci_uart_process() 95 printf("> %02x\n", chr); in mp_bluetooth_nimble_hci_uart_process() 97 hal_uart_rx_cb(hal_uart_rx_arg, chr); in mp_bluetooth_nimble_hci_uart_process()
|
/AliOS-Things-master/components/py_engine/engine/shared/libc/ |
A D | printf.c | 74 char chr = c; in putchar() local 75 mp_hal_stdout_tx_strn_cooked(&chr, 1); in putchar() 76 return chr; in putchar() 82 char chr = '\n'; in puts() local 83 mp_hal_stdout_tx_strn_cooked(&chr, 1); in puts()
|
/AliOS-Things-master/components/py_engine/tests/basics/ |
A D | builtin_chr.py | 3 print(chr(65)) 6 chr(0x110000)
|
A D | string_repr.py | 4 print("0x{:02x}: {}".format(c, repr(chr(c))))
|
A D | int1.py | 67 test(' 1' + chr(2) + ' ', 0)
|
/AliOS-Things-master/components/py_engine/engine/extmod/btstack/ |
A D | btstack_hci_uart.c | 177 int chr; in mp_bluetooth_btstack_hci_uart_process() local 178 while (recv_idx < recv_len && (chr = mp_bluetooth_hci_uart_readchar()) >= 0) { in mp_bluetooth_btstack_hci_uart_process() 179 recv_buf[recv_idx++] = chr; in mp_bluetooth_btstack_hci_uart_process()
|
/AliOS-Things-master/components/py_engine/tests/multi_bluetooth/ |
A D | ble_mtu.py | 77 print("_IRQ_GATTC_NOTIFY", len(data[-1]), chr(data[-1][0])) 134 print("characteristic len:", len(data), chr(data[0])) 182 ble.gattc_write(conn_handle, value_handle, chr(ord("a") + i) * (mtu + 20), 1)
|
/AliOS-Things-master/components/py_engine/engine/lib/oofatfs/ |
A D | ff.c | 798 wc = (WCHAR)chr; in put_utf() 835 chr = (hc | chr) + 0x10000; in put_utf() 850 chr = (hc | chr) + 0x10000; in put_utf() 2057 WCHAR chr; local 2725 DWORD chr; local 2731 chr = ff_wtoupper(chr); 2735 if (IsLower(chr)) chr -= 0x20; /* To upper ASCII char */ 2737 if (ExCvt && chr >= 0x80) chr = ExCvt[chr - 0x80]; /* To upper SBCS extended char */ 2739 if (chr >= 0x80) chr = ExCvt[chr - 0x80]; /* To upper SBCS extended char */ 2743 chr = dbc_2nd((BYTE)**ptr) ? chr << 8 | (BYTE)*(*ptr)++ : 0; [all …]
|
/AliOS-Things-master/components/drivers/external_device/sh1106/src/ |
A D | sh1106.c | 449 uint8_t chr, in OLED_Show_Char() argument 461 chr = chr - ' '; in OLED_Show_Char() 467 temp = sh1106_asc2_1206[chr][t]; in OLED_Show_Char() 470 temp = sh1106_asc2_1608[chr][t]; in OLED_Show_Char() 473 temp = sh1106_asc2_2412[chr][t]; in OLED_Show_Char()
|
/AliOS-Things-master/components/csi/csi2/include/core/ |
A D | core_801.h | 1054 CHR_Type chr; in csi_system_reset() local 1056 chr.w = __get_CHR(); in csi_system_reset() 1058 chr.b.SRST_VAL = __RESET_CONST; in csi_system_reset() 1060 chr.b.SRST_VAL = 0xABCD; in csi_system_reset() 1065 __set_CHR(chr.w); in csi_system_reset()
|
A D | core_802.h | 1509 CHR_Type chr; in csi_system_reset() local 1511 chr.w = __get_CHR(); in csi_system_reset() 1513 chr.b.SRST_VAL = __RESET_CONST; in csi_system_reset() 1515 chr.b.SRST_VAL = 0xABCD; in csi_system_reset() 1520 __set_CHR(chr.w); in csi_system_reset()
|
A D | core_803.h | 1522 CHR_Type chr; in csi_system_reset() local 1524 chr.w = __get_CHR(); in csi_system_reset() 1526 chr.b.SRST_VAL = __RESET_CONST; in csi_system_reset() 1528 chr.b.SRST_VAL = 0xABCD; in csi_system_reset() 1533 __set_CHR(chr.w); in csi_system_reset()
|
/AliOS-Things-master/components/csi/csi1/include/core/ |
A D | core_801.h | 1049 CHR_Type chr; in csi_system_reset() local 1051 chr.w = __get_CHR(); in csi_system_reset() 1053 chr.b.SRST_VAL = __RESET_CONST; in csi_system_reset() 1055 chr.b.SRST_VAL = 0xABCD; in csi_system_reset() 1060 __set_CHR(chr.w); in csi_system_reset()
|
A D | core_802.h | 1499 CHR_Type chr; in csi_system_reset() local 1501 chr.w = __get_CHR(); in csi_system_reset() 1503 chr.b.SRST_VAL = __RESET_CONST; in csi_system_reset() 1505 chr.b.SRST_VAL = 0xABCD; in csi_system_reset() 1510 __set_CHR(chr.w); in csi_system_reset()
|
A D | core_805.h | 1505 CHR_Type chr; in csi_system_reset() local 1507 chr.w = __get_CHR(); in csi_system_reset() 1509 chr.b.SRST_VAL = __RESET_CONST; in csi_system_reset() 1511 chr.b.SRST_VAL = 0xABCD; in csi_system_reset() 1516 __set_CHR(chr.w); in csi_system_reset()
|
A D | core_803.h | 1509 CHR_Type chr; in csi_system_reset() local 1511 chr.w = __get_CHR(); in csi_system_reset() 1513 chr.b.SRST_VAL = __RESET_CONST; in csi_system_reset() 1515 chr.b.SRST_VAL = 0xABCD; in csi_system_reset() 1520 __set_CHR(chr.w); in csi_system_reset()
|
A D | core_804.h | 1510 CHR_Type chr; in csi_system_reset() local 1512 chr.w = __get_CHR(); in csi_system_reset() 1514 chr.b.SRST_VAL = __RESET_CONST; in csi_system_reset() 1516 chr.b.SRST_VAL = 0xABCD; in csi_system_reset() 1521 __set_CHR(chr.w); in csi_system_reset()
|
/AliOS-Things-master/components/py_engine/engine/extmod/ |
A D | modframebuf.c | 608 STATIC unsigned char hz_get_mat(font_t* font, char * chr, unsigned char * mat) { in hz_get_mat() argument 621 int t1 = (int) (*(chr) & 0xff); in hz_get_mat() 622 int t2 = (int) (*(chr + 1) & 0xff); in hz_get_mat() 699 STATIC unsigned char asc_get_mat(font_t* font, char * chr, unsigned char * mat){ in asc_get_mat() argument 700 int ascii = (int) (*chr); in asc_get_mat() 877 int chr = *(uint8_t *)(str+i); in framebuf_text_helper() local 878 if(chr > 127){ in framebuf_text_helper() 899 if (chr >= 32 && chr <= 127) { in framebuf_text_helper() 903 const uint8_t *chr_data = &font_petme128_8x8[(chr - 32) * 8]; in framebuf_text_helper()
|
/AliOS-Things-master/components/py_engine/engine/tools/ |
A D | make-frozen.py | 78 chrs.append(chr(c))
|
/AliOS-Things-master/components/py_engine/tests/stress/ |
A D | qstr_limit.py | 6 return "".join(chr(ord(base) + i % 26) for i in range(n))
|
/AliOS-Things-master/components/drivers/external_device/sh1106/include/ |
A D | sh1106.h | 22 void OLED_Show_Char(uint8_t x, uint8_t y, uint8_t chr, uint8_t size, uint8_t mode);
|
/AliOS-Things-master/components/py_engine/engine/py/ |
A D | vstr.c | 207 void vstr_ins_char(vstr_t *vstr, size_t char_pos, unichar chr) { in vstr_ins_char() argument 210 *s = chr; in vstr_ins_char()
|
/AliOS-Things-master/components/py_engine/tests/extmod/ |
A D | framebuf1.py | 98 fbuf.text(str(chr(31)), 0, 0)
|