Home
last modified time | relevance | path

Searched refs:calloc (Results 1 – 25 of 47) sorted by relevance

12

/hal_espressif-latest/zephyr/port/include/
Desp_heap_adapter.h26 #define esp_wifi_calloc_func(_nmemb, _size) calloc(_nmemb, _size)
31 #define os_wpa_calloc_func(_nmemb, _size) calloc(_nmemb, _size)
/hal_espressif-latest/components/bootloader_support/src/secure_boot_v2/
Dsecure_boot_rsa_signature.c30 unsigned char *sig_be = calloc(1, rsa_key_size); in verify_rsa_signature_block()
34 unsigned char *buf = calloc(1, rsa_key_size); in verify_rsa_signature_block()
/hal_espressif-latest/components/bt/common/osi/include/osi/
Dallocator.h38 #define osi_calloc_base(size) calloc(1, (size))
92 p = calloc(1, (size)); \
/hal_espressif-latest/components/esp_psram/esp32/
Desp_himem.c152 s_ram_descriptor = calloc(sizeof(ramblock_t), s_ramblockcnt); in esp_himem_init()
153 s_range_descriptor = calloc(sizeof(rangeblock_t), SPIRAM_BANKSWITCH_RESERVE); in esp_himem_init()
196 esp_himem_ramdata_t *r = calloc(sizeof(esp_himem_ramdata_t), 1); in esp_himem_alloc()
200 r->block = calloc(sizeof(uint16_t), blocks); in esp_himem_alloc()
247 esp_himem_rangedata_t *r = calloc(sizeof(esp_himem_rangedata_t), 1); in esp_himem_alloc_map_range()
/hal_espressif-latest/components/mbedtls/port/
Desp_mem.c32 return calloc(n, size);
/hal_espressif-latest/components/spi_flash/sim/
DSpiFlash.cpp57 this->erase_cycles = (uint32_t*) calloc(this->sectors, sizeof(uint32_t)); in init()
58 this->erase_states = (bool*) calloc(this->sectors, sizeof(bool)); in init()
/hal_espressif-latest/components/esp_event/
Desp_event.c167 esp_event_handler_node_t *handler_instance = calloc(1, sizeof(*handler_instance)); in handler_instances_add()
171 esp_event_handler_instance_context_t *context = calloc(1, sizeof(*context)); in handler_instances_add()
235 id_node = (esp_event_id_node_t*) calloc(1, sizeof(*id_node)); in base_node_add_handler()
293 base_node = (esp_event_base_node_t*) calloc(1, sizeof(*base_node)); in loop_node_add_handler()
466 loop = calloc(1, sizeof(*loop)); in esp_event_loop_create()
727 loop_node = (esp_event_loop_node_t*) calloc(1, sizeof(*loop_node)); in esp_event_handler_register_with_internal()
843 void* event_data_copy = calloc(1, event_data_size); in esp_event_post_to()
965 char* buf = calloc(sz, sizeof(char)); in esp_event_dump()
/hal_espressif-latest/components/bt/porting/mem/
Dbt_osi_mem.c46 return calloc(n, size); in bt_osi_mem_calloc()
/hal_espressif-latest/components/esp_netif/loopback/
Desp_netif_loopback.c168 esp_netif_t *esp_netif = calloc(1, sizeof(struct esp_netif_obj)); in esp_netif_new()
174 esp_netif_ip_info_t *ip_info = calloc(1, sizeof(esp_netif_ip_info_t)); in esp_netif_new()
182 ip_info = calloc(1, sizeof(esp_netif_ip_info_t)); in esp_netif_new()
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_common/
Dmesh_common.c38 return calloc(1, size); in bt_mesh_calloc()
/hal_espressif-latest/components/newlib/
Dheap.c27 void* calloc(size_t n, size_t size) in calloc() function
/hal_espressif-latest/components/heap/
DCMakeLists.txt53 calloc
Dheap_caps_linux.c120 return calloc(n, size); in heap_caps_calloc_base()
/hal_espressif-latest/components/bt/common/osi/
Dpkt_queue.c22 struct pkt_queue *queue = calloc(1, sizeof(struct pkt_queue)); in pkt_queue_create()
/hal_espressif-latest/components/esp_rom/esp32/ld/
Desp32.rom.syscalls.ld16 PROVIDE ( calloc = 0x4000bee4 );
/hal_espressif-latest/components/esp_netif/
Desp_netif_objects.c63 struct slist_netifs_s *item = calloc(1, sizeof(struct slist_netifs_s)); in esp_netif_add_to_list()
/hal_espressif-latest/components/esp_wifi/src/
Dwifi_netif.c105 wifi_netif_driver_t driver = calloc(1, sizeof(struct wifi_netif_driver)); in esp_wifi_create_if_driver()
/hal_espressif-latest/components/esp_netif/lwip/
Desp_netif_sntp.c94 …s_storage = calloc(1, sizeof(sntp_storage_t) + // allocate space for servers only if we are suppos… in esp_netif_sntp_init()
Desp_netif_br_glue.c207 esp_netif_br_glue_t *netif_glue = calloc(1, sizeof(esp_netif_br_glue_t)); in esp_netif_br_glue_new()
/hal_espressif-latest/components/esp_pm/
Dpm_locks.c59 esp_pm_lock_t* new_lock = (esp_pm_lock_t*) calloc(1, sizeof(*new_lock)); in esp_pm_lock_create()
/hal_espressif-latest/components/driver/gpio/
Ddedic_gpio.c77 s_platform[core_id] = calloc(1, sizeof(dedic_gpio_platform_t)); in dedic_gpio_build_platform()
208 bundle = calloc(1, bundle_size); in dedic_gpio_new_bundle()
/hal_espressif-latest/components/mbedtls/esp_crt_bundle/
Desp_crt_bundle.c163 const uint8_t **crts = calloc(num_certs, sizeof(x509_bundle)); in esp_crt_bundle_init()
/hal_espressif-latest/components/driver/deprecated/
Dadc_dma_legacy.c189 s_adc_digi_ctx = calloc(1, sizeof(adc_digi_context_t)); in adc_digi_initialize()
219 …s_adc_digi_ctx->hal_digi_ctrlr_cfg.adc_pattern = calloc(1, SOC_ADC_PATT_LEN_MAX * sizeof(adc_digi_… in adc_digi_initialize()
Drmt_legacy.c1003 p_rmt_obj[channel] = calloc(1, sizeof(rmt_obj_t)); in rmt_driver_install()
1006 p_rmt_obj[channel] = calloc(1, sizeof(rmt_obj_t)); in rmt_driver_install()
1046 p_rmt_obj[channel]->rx_item_buf = calloc(1, rx_buf_size); in rmt_driver_install()
1049 p_rmt_obj[channel]->rx_item_buf = calloc(1, rx_buf_size); in rmt_driver_install()
1187 p_rmt_obj[channel]->tx_buf = (rmt_item32_t *)calloc(1, block_size); in rmt_translator_init()
1192 p_rmt_obj[channel]->tx_buf = (rmt_item32_t *)calloc(1, block_size); in rmt_translator_init()
/hal_espressif-latest/components/esp_system/task_wdt/
Dtask_wdt.c172 twdt_entry_t *entry = calloc(1, sizeof(twdt_entry_t)); in add_entry()
578 obj = calloc(1, sizeof(twdt_obj_t)); in esp_task_wdt_init()

12