/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/core/ |
D | btc_config.c | 41 assert(key_value != NULL); in btc_compare_address_key_value() 58 assert(key_value != NULL); in btc_key_value_to_string() 59 assert(value_str != NULL); in btc_key_value_to_string() 115 assert(config != NULL); in btc_config_has_section() 116 assert(section != NULL); in btc_config_has_section() 123 assert(config != NULL); in btc_config_exist() 124 assert(section != NULL); in btc_config_exist() 125 assert(key != NULL); in btc_config_exist() 132 assert(config != NULL); in btc_config_get_int() 133 assert(section != NULL); in btc_config_get_int() [all …]
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/device/ |
D | controller.c | 168 assert(page_number == 0); in start_up() 327 assert(controller_param.readable); in get_address() 333 assert(controller_param.readable); in get_bt_version() 340 assert(controller_param.readable); in get_features_classic() 341 assert(index < MAX_FEATURES_CLASSIC_PAGE_COUNT); in get_features_classic() 347 assert(controller_param.readable); in get_last_features_classic_index() 353 assert(controller_param.readable); in get_features_ble() 354 assert(controller_param.ble_supported); in get_features_ble() 360 assert(controller_param.readable); in get_ble_supported_states() 361 assert(controller_param.ble_supported); in get_ble_supported_states() [all …]
|
D | bdaddr.c | 37 assert(addr != NULL); in bdaddr_is_empty() 45 assert(first != NULL); in bdaddr_equals() 46 assert(second != NULL); in bdaddr_equals() 53 assert(dest != NULL); in bdaddr_copy() 54 assert(src != NULL); in bdaddr_copy() 61 assert(addr != NULL); in bdaddr_to_string() 62 assert(string != NULL); in bdaddr_to_string() 77 assert(string != NULL); in string_is_bdaddr() 100 assert(string != NULL); in string_to_bdaddr() 101 assert(addr != NULL); in string_to_bdaddr()
|
/hal_espressif-3.6.0/components/bt/common/osi/ |
D | list.c | 53 assert(list != NULL); in list_is_empty() 59 assert(list != NULL); in list_contains() 60 assert(data != NULL); in list_contains() 73 assert(list != NULL); in list_get_node() 74 assert(data != NULL); in list_get_node() 88 assert(list != NULL); in list_length() 94 assert(list != NULL); in list_front() 95 assert(!list_is_empty(list)); in list_front() 101 assert(list != NULL); in list_back() 102 assert(!list_is_empty(list)); in list_back() [all …]
|
D | config.c | 84 assert(filename != NULL); in config_new() 122 assert(config != NULL); in config_has_section() 123 assert(section != NULL); in config_has_section() 130 assert(config != NULL); in config_has_key() 131 assert(section != NULL); in config_has_key() 132 assert(key != NULL); in config_has_key() 158 assert(config != NULL); in config_get_int() 159 assert(section != NULL); in config_get_int() 160 assert(key != NULL); in config_get_int() 174 assert(config != NULL); in config_get_bool() [all …]
|
D | hash_map.c | 57 assert(hash_fn != NULL); in hash_map_new_internal() 58 assert(num_bucket > 0); in hash_map_new_internal() 117 assert(hash_map != NULL); in hash_map_has_key() 128 assert(hash_map != NULL); in hash_map_set() 129 assert(data != NULL); in hash_map_set() 146 assert(rc == true); in hash_map_set() 165 assert(hash_map != NULL); in hash_map_erase() 187 assert(hash_map != NULL); in hash_map_get() 202 assert(hash_map != NULL); in hash_map_clear() 215 assert(hash_map != NULL); in hash_map_foreach() [all …]
|
D | buffer.c | 32 assert(size > 0); in buffer_new() 49 assert(buf != NULL); in buffer_new_ref() 55 assert(buf != NULL); in buffer_new_slice() 56 assert(slice_size > 0); in buffer_new_slice() 57 assert(slice_size <= buf->length); in buffer_new_slice() 94 assert(buf != NULL); in buffer_ptr() 100 assert(buf != NULL); in buffer_length()
|
D | fixed_queue.c | 125 assert(queue != NULL); in fixed_queue_capacity() 134 assert(queue != NULL); in fixed_queue_enqueue() 135 assert(data != NULL); in fixed_queue_enqueue() 155 assert(queue != NULL); in fixed_queue_dequeue() 213 assert(removed); in fixed_queue_try_remove_from_queue() 227 assert(queue != NULL); in fixed_queue_get_list() 236 assert(queue != NULL); in fixed_queue_register_dequeue() 237 assert(ready_cb != NULL); in fixed_queue_register_dequeue() 244 assert(queue != NULL); in fixed_queue_unregister_dequeue() 251 assert(queue != NULL); in fixed_queue_process()
|
/hal_espressif-3.6.0/components/esp_local_ctrl/proto-c/ |
D | esp_local_ctrl.pb-c.c | 19 assert(message->base.descriptor == &cmd_get_property_count__descriptor); in cmd_get_property_count__get_packed_size() 26 assert(message->base.descriptor == &cmd_get_property_count__descriptor); in cmd_get_property_count__pack() 33 assert(message->base.descriptor == &cmd_get_property_count__descriptor); in cmd_get_property_count__pack_to_buffer() 52 assert(message->base.descriptor == &cmd_get_property_count__descriptor); in cmd_get_property_count__free_unpacked() 64 assert(message->base.descriptor == &resp_get_property_count__descriptor); in resp_get_property_count__get_packed_size() 71 assert(message->base.descriptor == &resp_get_property_count__descriptor); in resp_get_property_count__pack() 78 assert(message->base.descriptor == &resp_get_property_count__descriptor); in resp_get_property_count__pack_to_buffer() 97 assert(message->base.descriptor == &resp_get_property_count__descriptor); in resp_get_property_count__free_unpacked() 109 assert(message->base.descriptor == &property_info__descriptor); in property_info__get_packed_size() 116 assert(message->base.descriptor == &property_info__descriptor); in property_info__pack() [all …]
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/l2cap/ |
D | l2cap_client.c | 85 assert(callbacks != NULL); in l2cap_client_new() 86 assert(callbacks->connected != NULL); in l2cap_client_new() 87 assert(callbacks->disconnected != NULL); in l2cap_client_new() 88 assert(callbacks->read_ready != NULL); in l2cap_client_new() 89 assert(callbacks->write_ready != NULL); in l2cap_client_new() 138 assert(client != NULL); in l2cap_client_connect() 139 assert(remote_bdaddr != NULL); in l2cap_client_connect() 140 assert(psm != 0); in l2cap_client_connect() 141 assert(!bdaddr_is_empty(remote_bdaddr)); in l2cap_client_connect() 142 assert(client->local_channel_id == 0); in l2cap_client_connect() [all …]
|
/hal_espressif-3.6.0/components/wifi_provisioning/proto-c/ |
D | wifi_scan.pb-c.c | 19 assert(message->base.descriptor == &cmd_scan_start__descriptor); in cmd_scan_start__get_packed_size() 26 assert(message->base.descriptor == &cmd_scan_start__descriptor); in cmd_scan_start__pack() 33 assert(message->base.descriptor == &cmd_scan_start__descriptor); in cmd_scan_start__pack_to_buffer() 52 assert(message->base.descriptor == &cmd_scan_start__descriptor); in cmd_scan_start__free_unpacked() 64 assert(message->base.descriptor == &resp_scan_start__descriptor); in resp_scan_start__get_packed_size() 71 assert(message->base.descriptor == &resp_scan_start__descriptor); in resp_scan_start__pack() 78 assert(message->base.descriptor == &resp_scan_start__descriptor); in resp_scan_start__pack_to_buffer() 97 assert(message->base.descriptor == &resp_scan_start__descriptor); in resp_scan_start__free_unpacked() 109 assert(message->base.descriptor == &cmd_scan_status__descriptor); in cmd_scan_status__get_packed_size() 116 assert(message->base.descriptor == &cmd_scan_status__descriptor); in cmd_scan_status__pack() [all …]
|
D | wifi_config.pb-c.c | 19 assert(message->base.descriptor == &cmd_get_status__descriptor); in cmd_get_status__get_packed_size() 26 assert(message->base.descriptor == &cmd_get_status__descriptor); in cmd_get_status__pack() 33 assert(message->base.descriptor == &cmd_get_status__descriptor); in cmd_get_status__pack_to_buffer() 52 assert(message->base.descriptor == &cmd_get_status__descriptor); in cmd_get_status__free_unpacked() 64 assert(message->base.descriptor == &resp_get_status__descriptor); in resp_get_status__get_packed_size() 71 assert(message->base.descriptor == &resp_get_status__descriptor); in resp_get_status__pack() 78 assert(message->base.descriptor == &resp_get_status__descriptor); in resp_get_status__pack_to_buffer() 97 assert(message->base.descriptor == &resp_get_status__descriptor); in resp_get_status__free_unpacked() 109 assert(message->base.descriptor == &cmd_set_config__descriptor); in cmd_set_config__get_packed_size() 116 assert(message->base.descriptor == &cmd_set_config__descriptor); in cmd_set_config__pack() [all …]
|
/hal_espressif-3.6.0/components/cxx/ |
D | cxx_guards.cpp | 76 assert(result); in wait_for_guard_obj() 84 assert(result); in wait_for_guard_obj() 90 assert(result); in wait_for_guard_obj() 135 assert(result); in __cxa_guard_acquire() 164 assert(result); in __cxa_guard_acquire() 176 assert(result); in __cxa_guard_release() 179 assert(g->pending && "tried to release a guard which wasn't acquired"); in __cxa_guard_release() 187 assert(result); in __cxa_guard_release() 198 assert(result); in __cxa_guard_abort() 201 assert(!g->ready && "tried to abort a guard which is ready"); in __cxa_guard_abort() [all …]
|
/hal_espressif-3.6.0/examples/common_components/qrcode/ |
D | qrcodegen.c | 186 assert(0 <= numBits && numBits <= 16 && (unsigned long)val >> numBits == 0); in appendBitsToBuffer() 206 assert(segs != NULL || len == 0); in qrcodegen_encodeSegmentsAdvanced() 207 …assert(qrcodegen_VERSION_MIN <= minVersion && minVersion <= maxVersion && maxVersion <= qrcodegen_… in qrcodegen_encodeSegmentsAdvanced() 208 assert(0 <= (int)ecl && (int)ecl <= 3 && -1 <= (int)mask && (int)mask <= 7); in qrcodegen_encodeSegmentsAdvanced() 222 assert(dataUsedBits != -1); in qrcodegen_encodeSegmentsAdvanced() 242 assert(bitLen == dataUsedBits); in qrcodegen_encodeSegmentsAdvanced() 246 assert(bitLen <= dataCapacityBits); in qrcodegen_encodeSegmentsAdvanced() 252 assert(bitLen % 8 == 0); in qrcodegen_encodeSegmentsAdvanced() 280 assert(0 <= (int)mask && (int)mask <= 7); in qrcodegen_encodeSegmentsAdvanced() 296 …assert(0 <= (int)ecl && (int)ecl < 4 && qrcodegen_VERSION_MIN <= version && version <= qrcodegen_V… in addEccAndInterleave() [all …]
|
/hal_espressif-3.6.0/components/protocomm/proto-c/ |
D | sec1.pb-c.c | 19 assert(message->base.descriptor == &session_cmd1__descriptor); in session_cmd1__get_packed_size() 26 assert(message->base.descriptor == &session_cmd1__descriptor); in session_cmd1__pack() 33 assert(message->base.descriptor == &session_cmd1__descriptor); in session_cmd1__pack_to_buffer() 52 assert(message->base.descriptor == &session_cmd1__descriptor); in session_cmd1__free_unpacked() 64 assert(message->base.descriptor == &session_resp1__descriptor); in session_resp1__get_packed_size() 71 assert(message->base.descriptor == &session_resp1__descriptor); in session_resp1__pack() 78 assert(message->base.descriptor == &session_resp1__descriptor); in session_resp1__pack_to_buffer() 97 assert(message->base.descriptor == &session_resp1__descriptor); in session_resp1__free_unpacked() 109 assert(message->base.descriptor == &session_cmd0__descriptor); in session_cmd0__get_packed_size() 116 assert(message->base.descriptor == &session_cmd0__descriptor); in session_cmd0__pack() [all …]
|
D | sec0.pb-c.c | 19 assert(message->base.descriptor == &s0_session_cmd__descriptor); in s0_session_cmd__get_packed_size() 26 assert(message->base.descriptor == &s0_session_cmd__descriptor); in s0_session_cmd__pack() 33 assert(message->base.descriptor == &s0_session_cmd__descriptor); in s0_session_cmd__pack_to_buffer() 52 assert(message->base.descriptor == &s0_session_cmd__descriptor); in s0_session_cmd__free_unpacked() 64 assert(message->base.descriptor == &s0_session_resp__descriptor); in s0_session_resp__get_packed_size() 71 assert(message->base.descriptor == &s0_session_resp__descriptor); in s0_session_resp__pack() 78 assert(message->base.descriptor == &s0_session_resp__descriptor); in s0_session_resp__pack_to_buffer() 97 assert(message->base.descriptor == &s0_session_resp__descriptor); in s0_session_resp__free_unpacked() 109 assert(message->base.descriptor == &sec0_payload__descriptor); in sec0_payload__get_packed_size() 116 assert(message->base.descriptor == &sec0_payload__descriptor); in sec0_payload__pack() [all …]
|
/hal_espressif-3.6.0/components/mbedtls/port/sha/ |
D | esp_sha.c | 41 assert(input != NULL && output != NULL); in esp_sha() 48 assert(ret == 0); in esp_sha() 50 assert(ret == 0); in esp_sha() 61 assert(ret == 0); in esp_sha() 63 assert(ret == 0); in esp_sha() 74 assert(ret == 0); in esp_sha() 76 assert(ret == 0); in esp_sha() 87 assert(ret == 0); in esp_sha() 89 assert(ret == 0); in esp_sha()
|
/hal_espressif-3.6.0/examples/system/pthread/main/ |
D | pthread_example.c | 27 assert(res == 0); in app_main() 32 assert(res == 0); in app_main() 35 assert(res == 0); in app_main() 39 assert(res == 0); in app_main() 41 assert(res == 0); in app_main() 51 assert(res == 0); in app_main() 54 assert(res == 0); in app_main()
|
/hal_espressif-3.6.0/components/esp_hw_support/include/soc/ |
D | spinlock.h | 46 assert(lock); in spinlock_initialize() 75 assert(lock); in spinlock_acquire() 122 assert(result == core_id || result == SPINLOCK_FREE); in spinlock_acquire() 123 …assert((result == SPINLOCK_FREE) == (lock->count == 0)); /* we're first to lock iff count is zero … in spinlock_acquire() 124 assert(lock->count < 0xFF); /* Bad count value implies memory corruption */ in spinlock_acquire() 154 assert(lock); in spinlock_release() 158 assert(core_id == lock->owner); // This is a mutex we didn't lock, or it's corrupt in spinlock_release() 164 assert(lock->count < 0x100); // Indicates memory corruption in spinlock_release()
|
/hal_espressif-3.6.0/components/efuse/esp32s3/ |
D | esp_efuse_rtc_calib.c | 35 assert(version == 1); in esp_efuse_rtc_calib_get_init_code() 36 assert(atten < 4); in esp_efuse_rtc_calib_get_init_code() 37 assert(adc_unit < ADC_NUM_MAX); in esp_efuse_rtc_calib_get_init_code() 70 assert(version == 1); in esp_efuse_rtc_calib_get_cal_voltage() 71 assert(atten < 4); in esp_efuse_rtc_calib_get_cal_voltage() 72 assert(adc_unit < ADC_NUM_MAX); in esp_efuse_rtc_calib_get_cal_voltage() 102 assert(version == 1); in esp_efuse_rtc_calib_get_cal_temp() 106 assert(cal_temp_size == 9); in esp_efuse_rtc_calib_get_cal_temp() 110 assert(err == ESP_OK); in esp_efuse_rtc_calib_get_cal_temp()
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/hci/ |
D | hci_packet_parser.c | 49 assert(stream != NULL); in parse_read_buffer_size_response() 63 assert(stream != NULL); in parse_read_local_version_info_response() 79 assert(stream != NULL); in parse_read_bd_addr_response() 92 assert(stream != NULL); in parse_read_local_supported_commands_response() 122 assert(*page_number_ptr < feature_pages_count); in parse_read_local_extended_features_response() 138 assert(stream != NULL); in parse_ble_read_white_list_size_response() 151 assert(stream != NULL); in parse_ble_read_buffer_size_response() 165 assert(stream != NULL); in parse_ble_read_supported_states_response() 177 assert(stream != NULL); in parse_ble_read_local_supported_features_response() 239 assert(event_code == HCI_COMMAND_COMPLETE_EVT); in read_command_complete_header() [all …]
|
/hal_espressif-3.6.0/examples/system/eventfd/main/ |
D | eventfd_example.c | 58 assert(val == sizeof(signal)); in eventfd_timer_isr_callback() 92 assert(val == sizeof(signal)); in worker_task() 104 assert(s_timer_fd > 0); in collector_task() 105 assert(s_progress_fd > 0); in collector_task() 113 assert( xTaskNotifyGive(s_worker_handle) == pdPASS ); in collector_task() 130 assert(num_triggered >= 0); in collector_task() 136 assert(ret == sizeof(signal)); in collector_task() 137 assert(signal == PROGRESS_SIGNAL); in collector_task() 143 assert(ret == sizeof(signal)); in collector_task() 144 assert(signal == TIMER_SIGNAL); in collector_task()
|
/hal_espressif-3.6.0/components/efuse/esp32c3/ |
D | esp_efuse_rtc_calib.c | 24 assert(version == 1); in esp_efuse_rtc_calib_get_init_code() 27 assert(atten < 4); in esp_efuse_rtc_calib_get_init_code() 39 assert(init_code_size == 10); in esp_efuse_rtc_calib_get_init_code() 70 assert(cal_vol_efuse[0]->bit_count == 10); in esp_efuse_rtc_calib_get_cal_voltage() 82 assert(version == 1); in esp_efuse_rtc_calib_get_cal_temp() 86 assert(cal_temp_size == 9); in esp_efuse_rtc_calib_get_cal_temp() 90 assert(err == ESP_OK); in esp_efuse_rtc_calib_get_cal_temp()
|
/hal_espressif-3.6.0/components/efuse/esp32h2/ |
D | esp_efuse_rtc_calib.c | 20 assert(version == 1); in esp_efuse_rtc_calib_get_init_code() 22 assert(atten < 4); in esp_efuse_rtc_calib_get_init_code() 34 assert(init_code_size == 10); in esp_efuse_rtc_calib_get_init_code() 65 assert(cal_vol_efuse[0]->bit_count == 10); in esp_efuse_rtc_calib_get_cal_voltage() 77 assert(version == 1); in esp_efuse_rtc_calib_get_cal_temp() 81 assert(cal_temp_size == 9); in esp_efuse_rtc_calib_get_cal_temp() 85 assert(err == ESP_OK); in esp_efuse_rtc_calib_get_cal_temp()
|
/hal_espressif-3.6.0/components/esp_system/ |
D | eh_frame_parser.c | 319 assert(psize != NULL); in esp_eh_frame_get_encoded() 345 assert(false); in esp_eh_frame_get_encoded() 530 assert(state->offset_idx == 0); in esp_eh_frame_execute_opcode_0() 536 assert(state->offset_idx == 1); in esp_eh_frame_execute_opcode_0() 555 assert(ESP_EH_FRAME_CFA_REG_VALID(operand1)); in esp_eh_frame_execute_opcode_0() 556 assert(ESP_EH_FRAME_CFA_OFF_VALID(operand2)); in esp_eh_frame_execute_opcode_0() 564 assert(ESP_EH_FRAME_CFA_OFF_VALID(operand1)); in esp_eh_frame_execute_opcode_0() 571 assert(ESP_EH_FRAME_CFA_OFF_VALID(operand1)); in esp_eh_frame_execute_opcode_0() 628 assert(ESP_EH_FRAME_CFA_OFFSET_VALID(operand1)); in esp_eh_frame_execute() 638 assert(false); in esp_eh_frame_execute() [all …]
|