Home
last modified time | relevance | path

Searched refs:cnt (Results 1 – 25 of 52) sorted by relevance

123

/hal_espressif-2.7.6/components/driver/test/
Dtest_rtcio.c94 for (int cnt = 0; cnt < TEST_COUNT; cnt++) { variable
95 uint32_t level = cnt % 2;
137 for (int cnt = 0; cnt < TEST_COUNT; cnt++) { variable
138 uint32_t level = cnt % 2;
186 for (int cnt = 0; cnt < TEST_COUNT; cnt++) { variable
187 uint32_t level = cnt % 2;
250 for (int cnt = 0; cnt < 4; cnt++) { variable
251 uint32_t level = cnt % 2;
/hal_espressif-2.7.6/examples/bluetooth/bluedroid/classic_bt/bt_spp_initiator/main/
Dapp_spp_msg_prs.c26 prs->cnt = 0; in spp_msg_parser_reset_state()
45 prs->cnt = 1; in spp_msg_parse()
56 prs->buf[prs->cnt++] = c; in spp_msg_parse()
70 prs->buf[prs->cnt++] = c; in spp_msg_parse()
73 prs->buf[prs->cnt] = '\0'; in spp_msg_parse()
74 prs->callback(prs->buf, prs->cnt); in spp_msg_parse()
83 if (prs->cnt >= SPP_MSG_LEN_MAX-1) { in spp_msg_parse()
Dapp_spp_msg_prs.h33 int cnt; member
/hal_espressif-2.7.6/examples/bluetooth/bluedroid/classic_bt/hfp_ag/main/
Dapp_hf_msg_prs.c29 prs->cnt = 0; in hf_msg_parser_reset_state()
49 prs->cnt = 1; in hf_msg_parse()
60 prs->buf[prs->cnt++] = c; in hf_msg_parse()
74 prs->buf[prs->cnt++] = c; in hf_msg_parse()
77 prs->buf[prs->cnt] = '\0'; in hf_msg_parse()
78 prs->callback(prs->buf, prs->cnt); in hf_msg_parse()
87 if (prs->cnt >= HF_MSG_LEN_MAX) { in hf_msg_parse()
Dapp_hf_msg_prs.h33 int cnt; member
/hal_espressif-2.7.6/examples/bluetooth/bluedroid/classic_bt/hfp_hf/main/
Dapp_hf_msg_prs.c29 prs->cnt = 0; in hf_msg_parser_reset_state()
48 prs->cnt = 1; in hf_msg_parse()
59 prs->buf[prs->cnt++] = c; in hf_msg_parse()
73 prs->buf[prs->cnt++] = c; in hf_msg_parse()
76 prs->buf[prs->cnt] = '\0'; in hf_msg_parse()
77 prs->callback(prs->buf, prs->cnt); in hf_msg_parse()
86 if (prs->cnt >= HF_MSG_LEN_MAX) { in hf_msg_parse()
Dapp_hf_msg_prs.h33 int cnt; member
/hal_espressif-2.7.6/components/espcoredump/test/
Dtest_core_dump.c26 volatile int cnt = 0; in bad_ptr_func() local
30 cnt++; in bad_ptr_func()
54 volatile int cnt = 0; in recur_func() local
61 cnt++; in recur_func()
/hal_espressif-2.7.6/examples/peripherals/gpio/generic_gpio/main/
Dgpio_example_main.c108 int cnt = 0; in app_main() local
110 printf("cnt: %d\n", cnt++); in app_main()
112 gpio_set_level(GPIO_OUTPUT_IO_0, cnt % 2); in app_main()
113 gpio_set_level(GPIO_OUTPUT_IO_1, cnt % 2); in app_main()
/hal_espressif-2.7.6/components/driver/test/adc_dma_test/
Dtest_esp32s2.c183 for (int cnt = 0; cnt < 2; cnt++) { in adc_dma_data_check() local
184 esp_rom_printf("\n[%s] link_buf[%d]: \n", __func__, cnt % 2); in adc_dma_data_check()
186 uint8_t h = link_buf[cnt % 2][i + 1], l = link_buf[cnt % 2][i]; in adc_dma_data_check()
241 link_buf[cnt % 2][i] = 0; in adc_dma_data_check()
242 link_buf[cnt % 2][i + 1] = 0; in adc_dma_data_check()
617 for (int cnt = 0; cnt < 2; cnt++) { variable
618 esp_rom_printf("cnt%d\n", cnt);
620 uint8_t h = link_buf[cnt % 2][i + 1], l = link_buf[cnt % 2][i];
632 link_buf[cnt % 2][i] = 0;
633 link_buf[cnt % 2][i + 1] = 0;
/hal_espressif-2.7.6/tools/kconfig/
Dconf.c268 int cnt, def; in conf_choice() local
272 cnt = def = 0; in conf_choice()
281 cnt++; in conf_choice()
283 def = cnt; in conf_choice()
287 printf(" %d. %s", cnt, _(menu_get_prompt(child))); in conf_choice()
295 if (cnt == 1) { in conf_choice()
299 printf("[1-%d", cnt); in conf_choice()
307 cnt = def; in conf_choice()
308 printf("%d\n", cnt); in conf_choice()
322 cnt = def; in conf_choice()
[all …]
Dconfdata.c938 int cnt, def; in randomize_choice_values() local
951 cnt = 0; in randomize_choice_values()
953 cnt++; in randomize_choice_values()
959 def = (rand() % cnt); in randomize_choice_values()
961 cnt = 0; in randomize_choice_values()
963 if (def == cnt++) { in randomize_choice_values()
1004 int i, cnt, pby, pty, ptm; /* pby: probability of boolean = y in conf_set_all_new_symbols() local
1073 cnt = rand() % 100; in conf_set_all_new_symbols()
1075 if (cnt < pty) in conf_set_all_new_symbols()
1077 else if (cnt < (pty+ptm)) in conf_set_all_new_symbols()
[all …]
Dsymbol.c996 int i, cnt, size; in sym_re_search() local
1000 cnt = size = 0; in sym_re_search()
1012 if (cnt >= size) { in sym_re_search()
1024 sym_match_arr[cnt].so = match[0].rm_so; in sym_re_search()
1025 sym_match_arr[cnt].eo = match[0].rm_eo; in sym_re_search()
1026 sym_match_arr[cnt++].sym = sym; in sym_re_search()
1029 qsort(sym_match_arr, cnt, sizeof(struct sym_match), sym_rel_comp); in sym_re_search()
1030 sym_arr = malloc((cnt+1) * sizeof(struct symbol)); in sym_re_search()
1033 for (i = 0; i < cnt; i++) in sym_re_search()
1035 sym_arr[cnt] = NULL; in sym_re_search()
/hal_espressif-2.7.6/components/esp32/test/
Dtest_stack_check.c7 static int cnt; in recur_and_smash() local
11 if (cnt++ < 1) { in recur_and_smash()
Dtest_stack_check_cxx.cpp7 static int cnt; in recur_and_smash_cxx() local
11 if (cnt++ < 1) { in recur_and_smash_cxx()
/hal_espressif-2.7.6/components/esp32s2/test/
Dtest_stack_check.c7 static int cnt; in recur_and_smash() local
11 if (cnt++ < 1) { in recur_and_smash()
Dtest_stack_check_cxx.cpp7 static int cnt; in recur_and_smash_cxx() local
11 if (cnt++ < 1) { in recur_and_smash_cxx()
/hal_espressif-2.7.6/components/esp32c3/test/
Dtest_stack_check.c7 static int cnt; in recur_and_smash() local
11 if (cnt++ < 1) { in recur_and_smash()
Dtest_stack_check_cxx.cpp7 static int cnt; in recur_and_smash_cxx() local
11 if (cnt++ < 1) { in recur_and_smash_cxx()
/hal_espressif-2.7.6/components/nvs_flash/src/
Dnvs_api.cpp573 for(uint8_t cnt = 0; cnt < NVS_KEY_SIZE; cnt++) { in nvs_flash_generate_keys() local
575 if (((cnt / 16) & 1) == 0) { in nvs_flash_generate_keys()
576 cfg->eky[cnt] = 0xff; in nvs_flash_generate_keys()
577 cfg->tky[cnt] = 0xee; in nvs_flash_generate_keys()
579 cfg->eky[cnt] = 0x99; in nvs_flash_generate_keys()
580 cfg->tky[cnt] = 0x88; in nvs_flash_generate_keys()
632 uint8_t cnt = 0; in nvs_flash_read_security_cfg() local
633 while(cnt < NVS_KEY_SIZE && eky[cnt] == 0xff && tky[cnt] == 0xff) cnt++; in nvs_flash_read_security_cfg()
635 if(cnt == NVS_KEY_SIZE && crc == 0xffffffff) { in nvs_flash_read_security_cfg()
/hal_espressif-2.7.6/tools/windows/tool_setup/
Dtools_WD_clean.ps182 $cnt = $Preferences.ExclusionProcess.Count variable
91 Log-Msg -msg " Found total $cnt of ExclusionProcess items" -logF $logFile variable
118 $cnt = $Preferences.ExclusionPath.Count variable
124 Log-Msg -msg " Found total $cnt of ExclusionPath items" -logF $logFile variable
/hal_espressif-2.7.6/components/efuse/src/
Desp_efuse_utility.c42 … set_cnt_in_reg(int bit_start_in_reg, int bit_count_used_in_reg, uint32_t reg_masked, size_t* cnt);
126 …num_reg, esp_efuse_block_t efuse_block, int bit_start, int bit_count, void* cnt, int* bits_counter) in esp_efuse_utility_write_cnt() argument
130 size_t* set_bits = (size_t*)cnt; in esp_efuse_utility_write_cnt()
331 …t set_cnt_in_reg(int bit_start_in_reg, int bit_count_used_in_reg, uint32_t reg_masked, size_t* cnt) in set_cnt_in_reg() argument
338 if (--(*cnt) == 0) { in set_cnt_in_reg()
Desp_efuse_api.c104 esp_err_t esp_efuse_write_field_cnt(const esp_efuse_desc_t* field[], size_t cnt) in esp_efuse_write_field_cnt() argument
108 if (field == NULL || cnt == 0) { in esp_efuse_write_field_cnt()
114 err = esp_efuse_utility_process(field, &cnt, 0, esp_efuse_utility_write_cnt); in esp_efuse_write_field_cnt()
116 if (cnt != 0) { in esp_efuse_write_field_cnt()
117 ESP_LOGE(TAG, "The required number of bits can not be set. [Not set %d]", cnt); in esp_efuse_write_field_cnt()
/hal_espressif-2.7.6/components/hal/esp32s2/include/hal/
Dtouch_sensor_hal.h493 …fine touch_hal_proximity_read_meas_cnt(touch_num, cnt) touch_ll_proximity_read_meas_cnt(touch_num,… argument
/hal_espressif-2.7.6/components/hal/esp32s3/include/hal/
Dtouch_sensor_hal.h493 …fine touch_hal_proximity_read_meas_cnt(touch_num, cnt) touch_ll_proximity_read_meas_cnt(touch_num,… argument

123