/AliOS-Things-master/components/littlevgl/src/lv_misc/ |
A D | lv_color.h | 112 } ch; member 130 } ch; member 142 } ch; member 194 if((color.ch.red & 0x4) || (color.ch.green & 0x4) || (color.ch.blue & 0x2)) { in lv_color_to1() 201 if((color.ch.red & 0x10) || (color.ch.green & 0x20) || (color.ch.blue & 0x10)) { in lv_color_to1() 204 if((color.ch.red & 0x10) || (color.ch.green_h & 0x20) || (color.ch.blue & 0x10)) { in lv_color_to1() 211 if((color.ch.red & 0x80) || (color.ch.green & 0x80) || (color.ch.blue & 0x80)) { in lv_color_to1() 270 ret.ch.blue = color.ch.blue * 10; in lv_color_to1() 282 ret.ch.red = color.ch.red >> 3; in lv_color_to1() 285 ret.ch.blue = color.ch.blue >> 3; in lv_color_to1() [all …]
|
/AliOS-Things-master/components/SDL2/src/stdlib/ |
A D | SDL_iconv.c | 256 Uint32 ch = 0; in SDL_iconv() local 457 ch <<= 6; in SDL_iconv() 468 if ((ch >= 0xD800 && ch <= 0xDFFF) || in SDL_iconv() 469 (ch == 0xFFFE || ch == 0xFFFF) || ch > 0x10FFFF) { in SDL_iconv() 615 if (ch > 0x7F) { in SDL_iconv() 630 if (ch > 0xFF) { in SDL_iconv() 645 if (ch <= 0x7F) { in SDL_iconv() 724 ch = ch - 0x10000; in SDL_iconv() 755 ch = ch - 0x10000; in SDL_iconv() 798 if (ch > 0x10FFFF) { in SDL_iconv() [all …]
|
/AliOS-Things-master/components/csi/csi2/include/drv/ |
A D | codec.h | 146 void csi_codec_output_detach_callback(csi_codec_output_t *ch); 153 void csi_codec_output_close(csi_codec_output_t *ch); 189 csi_error_t csi_codec_output_start(csi_codec_output_t *ch); 196 void csi_codec_output_stop(csi_codec_output_t *ch); 203 csi_error_t csi_codec_output_pause(csi_codec_output_t *ch); 210 csi_error_t csi_codec_output_resume(csi_codec_output_t *ch); 304 void csi_codec_input_detach_callback(csi_codec_input_t *ch); 311 void csi_codec_input_close(csi_codec_input_t *ch); 347 csi_error_t csi_codec_input_start(csi_codec_input_t *ch); 354 void csi_codec_input_stop(csi_codec_input_t *ch); [all …]
|
/AliOS-Things-master/components/cjson/src/ |
A D | cJPath.c | 66 return ch == ' '; in is_space() 78 switch (ch) { in is_opt_char() 92 switch (ch) { in is_key_char() 112 return isalnum(ch) || ch == '"' || is_space(ch) || is_key_char(ch) || is_opt_char(ch); in is_json_char() 121 } else if (isalnum(ch) || ch == '"') { in get_char_type() 177 ch++; in get_next_word() 181 if(*ch == '"') { in get_next_word() 183 ch++; in get_next_word() 199 *wordbegin = ch; in get_next_word() 201 for (;; ch++) { in get_next_word() [all …]
|
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/arm-neon/ |
A D | linux.c | 45 int ch = fgetc(f); in png_have_neon() local 47 if (ch == EOF) in png_have_neon() 69 if ((ch & ~0x20) == ch_feature[counter]) in png_have_neon() 83 if (ch != 10 && ch != 13) in png_have_neon() 91 if (ch == 32 || ch == 9) in png_have_neon() 94 if (ch == 58) /* i.e. ':' */ in png_have_neon() 108 if (ch == 32 || ch == 9) in png_have_neon() 117 if ((ch & ~0x20) == ch_neon[counter]) in png_have_neon() 129 if (ch == 10 || ch == 13) in png_have_neon() 132 else if (ch == 32 || ch == 9) in png_have_neon() [all …]
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/ |
A D | captouch_api.c | 44 u8 ch; in captouch_irq_handler() local 52 for(ch = 0; ch < CT_CHANNEL_NUM; ch++) { in captouch_irq_handler() 58 handler_press(ch); in captouch_irq_handler() 67 handler_release(ch); in captouch_irq_handler() 88 u32 ch = 0; in captouch_init() local 100 for(ch = 0; ch < CT_CHANNEL_NUM; ch++) { in captouch_init() 102 Touch_InitStruct.CT_Channel[ch].CT_CHEnable = obj->CT_Channel[ch].CT_CHEnable; in captouch_init() 103 Touch_InitStruct.CT_Channel[ch].CT_DiffThrehold = obj->CT_Channel[ch].CT_DiffThrehold; in captouch_init() 104 Touch_InitStruct.CT_Channel[ch].CT_MbiasCurrent = obj->CT_Channel[ch].CT_MbiasCurrent; in captouch_init() 105 Touch_InitStruct.CT_Channel[ch].CT_ETCNNoiseThr = obj->CT_Channel[ch].CT_ETCNNoiseThr; in captouch_init() [all …]
|
/AliOS-Things-master/components/ble_host/bt_host/port/core/settings/src/ |
A D | settings.c | 57 struct settings_handler *ch; in settings_register() local 160 bestmatch = ch; in settings_parse_and_lookup() 167 bestmatch = ch; in settings_parse_and_lookup() 176 struct settings_handler *ch; in settings_parse_and_lookup() local 218 struct settings_handler_static *ch; in settings_call_set_handler() local 221 if (!ch) { in settings_call_set_handler() 257 if (ch->h_commit) { in settings_commit_subtree() 258 rc2 = ch->h_commit(); in settings_commit_subtree() 267 struct settings_handler *ch; in settings_commit_subtree() local 272 if (ch->h_commit) { in settings_commit_subtree() [all …]
|
A D | settings_runtime.c | 28 struct settings_handler_static *ch; in settings_runtime_set() local 32 ch = settings_parse_and_lookup(name, &name_key); in settings_runtime_set() 33 if (!ch) { in settings_runtime_set() 44 struct settings_handler_static *ch; in settings_runtime_get() local 47 ch = settings_parse_and_lookup(name, &name_key); in settings_runtime_get() 48 if (!ch) { in settings_runtime_get() 52 return ch->h_get(name_key, data, len); in settings_runtime_get() 57 struct settings_handler_static *ch; in settings_runtime_commit() local 61 if (!ch) { in settings_runtime_commit() 65 if (ch->h_commit) { in settings_runtime_commit() [all …]
|
/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/ |
A D | rdswitch.c | 27 register int ch; in text_getc() local 29 ch = getc(file); in text_getc() 30 if (ch == '#') { in text_getc() 33 } while (ch != '\n' && ch != EOF); in text_getc() 35 return ch; in text_getc() 141 while (ch != EOF && isspace(ch)) in read_scan_integer() 146 ch = ' '; in read_scan_integer() 151 if (ch != EOF && ch != ';' && ch != ':') in read_scan_integer() 152 ch = ' '; in read_scan_integer() 276 char ch; in set_quality_ratings() local [all …]
|
A D | rdcolmap.c | 125 register int ch; in pbm_getc() local 127 ch = getc(infile); in pbm_getc() 128 if (ch == '#') { in pbm_getc() 131 } while (ch != '\n' && ch != EOF); in pbm_getc() 133 return ch; in pbm_getc() 144 register int ch; in read_pbm_integer() local 150 if (ch == EOF) in read_pbm_integer() 152 } while (ch == ' ' || ch == '\t' || ch == '\n' || ch == '\r'); in read_pbm_integer() 154 if (ch < '0' || ch > '9') in read_pbm_integer() 157 val = ch - '0'; in read_pbm_integer() [all …]
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/ |
A D | jscompress.c | 84 int ch; variable 207 if (ch >= 'a' && ch <= 'f') in hex_to_num() 209 else if (ch >= 'A' && ch <= 'F') in hex_to_num() 211 else if (ch >= '0' && ch <= '9') in hex_to_num() 235 while ((ch >= 'a' && ch <= 'z') || in next() 236 (ch >= 'A' && ch <= 'Z') || in next() 247 if (ch >= '0' && ch <= '9') { in next() 256 if (ch == 'x' || ch == 'X') { in next() 277 while (ch >= '0' && ch <= '9') { in next() 290 if (ch == 'e' || ch == 'E') { in next() [all …]
|
/AliOS-Things-master/components/py_engine/tests/wipy/ |
A D | timer.py | 20 ch = tim.channel(Timer.A, freq=5) variable 21 print(ch) 22 ch = tim.channel(Timer.B, freq=5) variable 23 print(ch) 27 print(ch) 29 print(ch) 33 print(ch) 35 print(ch) 55 print(ch.freq() == 5) 60 ch.freq(100) [all …]
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/swlib/string/ |
A D | char2num.c | 6 u8 _char2num(u8 ch) in _char2num() argument 8 if((ch>='0')&&(ch<='9')) in _char2num() 9 return ch - '0'; in _char2num() 10 else if ((ch>='a')&&(ch<='f')) in _char2num() 11 return ch - 'a' + 10; in _char2num() 12 else if ((ch>='A')&&(ch<='F')) in _char2num() 13 return ch - 'A' + 10; in _char2num()
|
/AliOS-Things-master/components/ble_host/bt_host/host/ |
A D | l2cap.c | 129 return ch; in l2cap_chan_alloc_cid() 135 return ch; in l2cap_chan_alloc_cid() 338 if (!ch) { in l2cap_chan_add() 887 BT_DBG("chan %p cid 0x%04x", ch, ch->rx.cid); in l2cap_chan_destroy() 980 l2cap_chan_rx_give_credits(ch, ch->rx.init_credits); in l2cap_chan_accept() 1627 (k_fifo_is_empty(&ch->tx_queue) && !ch->tx_buf)) { in l2cap_chan_tx_resume() 1712 err = bt_l2cap_send_cb(ch->chan.conn, ch->tx.cid, seg, in l2cap_chan_le_send() 1715 err = bt_l2cap_send_cb(ch->chan.conn, ch->tx.cid, seg, in l2cap_chan_le_send() 1738 ch->chan.ops->status(&ch->chan, ch->chan.status); in l2cap_chan_le_send() 2389 ch->rx.mtu, ch->rx.mps, ch->rx.init_credits); in l2cap_ecred_init() [all …]
|
/AliOS-Things-master/hardware/chip/smarth_rv64/include/ |
A D | drv_dmac.h | 110 int32_t csi_dma_alloc_channel_ex(int32_t ch); 124 int32_t csi_dma_power_control(int32_t ch, csi_power_stat_e state); 131 dma_capabilities_t csi_dma_get_capabilities(int32_t ch); 138 void csi_dma_release_channel(int32_t ch); 147 int32_t csi_dma_config_channel(int32_t ch, dma_config_t *config, dma_event_cb_t cb_event, void *cb_… 156 void csi_dma_start(int32_t ch, void *psrcaddr, void *pdstaddr, uint32_t length); 162 void csi_dma_stop(int32_t ch); 173 int32_t csi_dma_cyclic_prep(int32_t ch, void *psrcaddr, void *pdstaddr, uint32_t cycle_len, uint32_… 179 void csi_dma_cyclic_start(int32_t ch); 185 void csi_dma_cyclic_stop(int32_t ch); [all …]
|
/AliOS-Things-master/components/csi/csi1/include/drv/ |
A D | dmac.h | 110 int32_t csi_dma_alloc_channel_ex(int32_t ch); 124 int32_t csi_dma_power_control(int32_t ch, csi_power_stat_e state); 131 dma_capabilities_t csi_dma_get_capabilities(int32_t ch); 138 void csi_dma_release_channel(int32_t ch); 147 int32_t csi_dma_config_channel(int32_t ch, dma_config_t *config, dma_event_cb_t cb_event, void *cb_… 156 void csi_dma_start(int32_t ch, void *psrcaddr, void *pdstaddr, uint32_t length); 162 void csi_dma_stop(int32_t ch); 173 int32_t csi_dma_cyclic_prep(int32_t ch, void *psrcaddr, void *pdstaddr, uint32_t cycle_len, uint32_… 179 void csi_dma_cyclic_start(int32_t ch); 185 void csi_dma_cyclic_stop(int32_t ch); [all …]
|
/AliOS-Things-master/components/freetype/include/internal/ |
A D | psaux.h | 832 (ch) == '\n' ) 839 (ch) == '\0' ) 843 (ch) == '(' || (ch) == ')' || \ 844 (ch) == '<' || (ch) == '>' || \ 845 (ch) == '[' || (ch) == ']' || \ 846 (ch) == '{' || (ch) == '}' || \ 851 IS_PS_SPECIAL( ch ) ) 854 ( (ch) >= '0' && (ch) <= '9' ) 858 ( (ch) >= 'A' && (ch) <= 'F' ) || \ 859 ( (ch) >= 'a' && (ch) <= 'f' ) ) [all …]
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/platform/hal/ |
A D | hal_dma.h | 176 bool hal_dma_chan_busy(uint8_t ch); 180 void hal_dma_free_chan(uint8_t ch); 182 uint32_t hal_dma_cancel(uint8_t ch); 184 uint32_t hal_dma_stop(uint8_t ch); 201 uint32_t hal_dma_get_cur_src_addr(uint8_t ch); 203 uint32_t hal_dma_get_cur_dst_addr(uint8_t ch); 205 uint32_t hal_dma_get_sg_remain_size(uint8_t ch); 207 enum HAL_DMA_RET_T hal_dma_irq_run_chan(uint8_t ch); 215 void hal_dma_tc_irq_enable(uint8_t ch); 217 void hal_dma_tc_irq_disable(uint8_t ch); [all …]
|
A D | hal_xdma.h | 112 uint8_t ch; /* DMA channel number */ member 145 bool hal_xdma_chan_busy(uint8_t ch); 147 void hal_xdma_free_chan(uint8_t ch); 148 uint32_t hal_xdma_cancel(uint8_t ch); 149 uint32_t hal_xdma_stop(uint8_t ch); 161 uint32_t hal_xdma_get_cur_src_addr(uint8_t ch); 162 uint32_t hal_xdma_get_cur_dst_addr(uint8_t ch); 163 uint32_t hal_xdma_get_sg_remain_size(uint8_t ch); 164 enum HAL_XDMA_RET_T hal_xdma_irq_run_chan(uint8_t ch); 168 void hal_xdma_tc_irq_enable(uint8_t ch); [all …]
|
/AliOS-Things-master/components/SDL2/src/image/ |
A D | IMG_pnm.c | 68 unsigned char ch; in ReadNumber() local 84 } while ( (ch != '\r') && (ch != '\n') ); in ReadNumber() 86 } while ( SDL_isspace(ch) ); in ReadNumber() 89 if (!SDL_isdigit(ch)) { in ReadNumber() 98 number += ch-'0'; in ReadNumber() 100 if ( !SDL_RWread(src, &ch, 1, 1) ) { in ReadNumber() 103 } while ( SDL_isdigit(ch) ); in ReadNumber() 194 Uint8 ch; in IMG_LoadPNM_RW() local 199 ch -= '0'; in IMG_LoadPNM_RW() 200 } while(ch > 1); in IMG_LoadPNM_RW() [all …]
|
/AliOS-Things-master/components/freetype/src/autofit/ |
A D | afblue.h | 31 #define GET_UTF8_CHAR( ch, p ) \ argument 32 ch = (unsigned char)*p++; \ 33 if ( ch >= 0x80 ) \ 38 if ( ch < 0xE0 ) \ 41 ch &= 0x1F; \ 43 else if ( ch < 0xF0 ) \ 46 ch &= 0x0F; \ 51 ch &= 0x07; \ 55 ch = ( ch << 6 ) | ( *p++ & 0x3F ); \
|
/AliOS-Things-master/components/linkkit/infra/ |
A D | infra_prt_nwk_payload.c | 65 char ch = str[i]; in iotx_facility_json_print() local 66 switch (ch) { in iotx_facility_json_print() 69 newstr[0] = ch; in iotx_facility_json_print() 96 } else if ((i > 0) && ((str[i - 1] == '[' && ch == ']') || in iotx_facility_json_print() 97 (str[i - 1] == '{' && ch == '}'))) { in iotx_facility_json_print() 104 newstr[0] = ch; in iotx_facility_json_print() 110 newstr[0] = ch; in iotx_facility_json_print() 125 newstr[0] = ch; in iotx_facility_json_print() 138 newstr[0] = ch; in iotx_facility_json_print() 147 newstr[0] = ch; in iotx_facility_json_print()
|
/AliOS-Things-master/hardware/chip/haas1000/aos/ |
A D | aos.c | 38 static uint8_t char2data(const char ch) in char2data() argument 40 if ((ch >= '0') && (ch <= '9')) { in char2data() 41 return (uint8_t)(ch - '0'); in char2data() 43 if ((ch >= 'a') && (ch <= 'f')) { in char2data() 44 return (uint8_t)(ch - 'a' + 10); in char2data() 46 if ((ch >= 'A') && (ch <= 'F')) { in char2data() 47 return (uint8_t)(ch - 'A' + 10); in char2data() 313 if ((ch >= '0') && (ch <= '9')) { in char2data() 314 return (uint8_t)(ch - '0'); in char2data() 316 if ((ch >= 'a') && (ch <= 'f')) { in char2data() [all …]
|
/AliOS-Things-master/components/minilibc/libc/ |
A D | minilibc_port.c | 28 int fputc(int ch, FILE *stream) in fputc() argument 36 if (ch == '\n') { in fputc() 40 csi_usart_putchar(console_handle, ch); in fputc() 47 uint8_t ch; in fgetc() local 54 csi_usart_getchar(console_handle, &ch); in fgetc() 56 return ch; in fgetc()
|
/AliOS-Things-master/components/amp/services/amp_utils/ |
A D | amp_utils.c | 15 unsigned char hex2num(unsigned char ch) in hex2num() argument 17 if (ch >= 'a') { in hex2num() 18 return ch - 'a' + 10; in hex2num() 19 } else if (ch >= 'A') { in hex2num() 20 return ch - 'A' + 10; in hex2num() 23 return ch - '0'; in hex2num() 35 void num2hex(unsigned char ch, unsigned char *hex) in num2hex() argument 37 hex[0] = itoch(ch / 16); in num2hex() 38 hex[1] = itoch(ch % 16); in num2hex()
|