Home
last modified time | relevance | path

Searched refs:chr (Results 1 – 25 of 33) sorted by relevance

12

/AliOS-Things-master/components/py_engine/tests/unicode/
A Dunicode_chr.py3 print(chr(945))
4 print(chr(0x800))
5 print(chr(0x10000))
/AliOS-Things-master/components/cli/src/iobox/
A Dhexdump.c31 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 Dhal_uart.c92 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 Dprintf.c74 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 Dbuiltin_chr.py3 print(chr(65))
6 chr(0x110000)
A Dstring_repr.py4 print("0x{:02x}: {}".format(c, repr(chr(c))))
A Dint1.py67 test(' 1' + chr(2) + ' ', 0)
/AliOS-Things-master/components/py_engine/engine/extmod/btstack/
A Dbtstack_hci_uart.c177 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 Dble_mtu.py77 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 Dff.c798 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 Dsh1106.c449 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 Dcore_801.h1054 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 Dcore_802.h1509 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 Dcore_803.h1522 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 Dcore_801.h1049 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 Dcore_802.h1499 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 Dcore_805.h1505 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 Dcore_803.h1509 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 Dcore_804.h1510 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 Dmodframebuf.c608 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 Dmake-frozen.py78 chrs.append(chr(c))
/AliOS-Things-master/components/py_engine/tests/stress/
A Dqstr_limit.py6 return "".join(chr(ord(base) + i % 26) for i in range(n))
/AliOS-Things-master/components/drivers/external_device/sh1106/include/
A Dsh1106.h22 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 Dvstr.c207 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 Dframebuf1.py98 fbuf.text(str(chr(31)), 0, 0)

Completed in 65 milliseconds

12