/hal_espressif-3.4.0/components/mbedtls/test/ |
D | test_aes.c | 80 uint8_t *chipertext = heap_caps_malloc(SZ, MALLOC_CAP_8BIT|MALLOC_CAP_INTERNAL); 81 uint8_t *plaintext = heap_caps_malloc(SZ, MALLOC_CAP_8BIT|MALLOC_CAP_INTERNAL); 82 uint8_t *decryptedtext = heap_caps_malloc(SZ, MALLOC_CAP_8BIT|MALLOC_CAP_INTERNAL); 129 uint8_t *chipertext = heap_caps_malloc(SZ, MALLOC_CAP_8BIT|MALLOC_CAP_INTERNAL); 130 uint8_t *plaintext = heap_caps_malloc(SZ, MALLOC_CAP_8BIT|MALLOC_CAP_INTERNAL); 131 uint8_t *decryptedtext = heap_caps_malloc(SZ, MALLOC_CAP_8BIT|MALLOC_CAP_INTERNAL); 177 uint8_t *chipertext = heap_caps_malloc(SZ, MALLOC_CAP_8BIT|MALLOC_CAP_INTERNAL); 178 uint8_t *plaintext = heap_caps_malloc(SZ, MALLOC_CAP_8BIT|MALLOC_CAP_INTERNAL); 179 uint8_t *decryptedtext = heap_caps_malloc(SZ, MALLOC_CAP_8BIT|MALLOC_CAP_INTERNAL); 224 uint8_t *chipertext = heap_caps_malloc(SZ, MALLOC_CAP_8BIT|MALLOC_CAP_INTERNAL); [all …]
|
D | test_aes_gcm.c | 82 …uint8_t *chipertext = heap_caps_malloc(SZ, MALLOC_CAP_DMA | MALLOC_CAP_8BIT | MALLOC_CAP_INTERNAL); 83 … uint8_t *plaintext = heap_caps_malloc(SZ, MALLOC_CAP_DMA | MALLOC_CAP_8BIT | MALLOC_CAP_INTERNAL); 84 …uint8_t *decryptedtext = heap_caps_malloc(SZ, MALLOC_CAP_DMA | MALLOC_CAP_8BIT | MALLOC_CAP_INTERN… 174 uint8_t *ciphertext = heap_caps_malloc(cfg->plaintext_length, cfg->output_caps); in aes_gcm_test() 175 …uint8_t *output = heap_caps_malloc(cfg->plaintext_length, MALLOC_CAP_DMA | MALLOC_CAP_8BIT | MALLO… in aes_gcm_test() 287 …uint8_t *input = heap_caps_malloc(length[i], MALLOC_CAP_DMA | MALLOC_CAP_8BIT | MALLOC_CAP_INTERNA… 309 …uint8_t *input = heap_caps_malloc(CALL_SZ, MALLOC_CAP_DMA | MALLOC_CAP_8BIT | MALLOC_CAP_INTERNAL); 357 …uint8_t *add = heap_caps_malloc(add_len[i], MALLOC_CAP_DMA | MALLOC_CAP_8BIT | MALLOC_CAP_INTERNAL… 391 … uint8_t *buf = heap_caps_malloc(CALL_SZ, MALLOC_CAP_DMA | MALLOC_CAP_8BIT | MALLOC_CAP_INTERNAL); 452 … uint8_t *buf = heap_caps_malloc(CALL_SZ, MALLOC_CAP_DMA | MALLOC_CAP_8BIT | MALLOC_CAP_INTERNAL);
|
D | test_aes_sha_parallel.c | 74 uint8_t *chipertext = heap_caps_malloc(SZ, MALLOC_CAP_8BIT|MALLOC_CAP_INTERNAL); in tskRunAES256Test() 75 uint8_t *plaintext = heap_caps_malloc(SZ, MALLOC_CAP_8BIT|MALLOC_CAP_INTERNAL); in tskRunAES256Test() 76 uint8_t *decryptedtext = heap_caps_malloc(SZ, MALLOC_CAP_8BIT|MALLOC_CAP_INTERNAL); in tskRunAES256Test()
|
D | test_aes_perf.c | 28 … uint8_t *buf = heap_caps_malloc(CALL_SZ, MALLOC_CAP_DMA | MALLOC_CAP_8BIT | MALLOC_CAP_INTERNAL);
|
D | test_sha_perf.c | 23 … uint8_t *buf = heap_caps_malloc(CALL_SZ, MALLOC_CAP_DMA | MALLOC_CAP_8BIT | MALLOC_CAP_INTERNAL);
|
/hal_espressif-3.4.0/components/heap/test/ |
D | test_malloc_caps.c | 32 m1= heap_caps_malloc(10*1024, MALLOC_CAP_8BIT); 51 m1 = heap_caps_malloc(alloc32, MALLOC_CAP_32BIT); 67 m1= heap_caps_malloc(10*1024, MALLOC_CAP_8BIT|MALLOC_CAP_EXEC); 75 m2[x]= heap_caps_malloc(alloc32, MALLOC_CAP_32BIT); 89 m1= heap_caps_malloc(MIN(free_iram / 2, 10*1024), MALLOC_CAP_EXEC); 97 m1= heap_caps_malloc(MIN(free_iram / 2, 10*1024), MALLOC_CAP_EXEC); 121 ptr = heap_caps_malloc(largest_free_size, MALLOC_CAP_IRAM_8BIT); 141 void *b = heap_caps_malloc(original.largest_free_block, MALLOC_CAP_8BIT); 174 void *x = heap_caps_malloc(64, MALLOC_CAP_EXEC); in iram_malloc_test() 195 void *ptr = heap_caps_malloc(stupid_allocation_size, MALLOC_CAP_DEFAULT); [all …]
|
D | test_malloc.c | 72 dmaMem[i]=heap_caps_malloc(1024, MALLOC_CAP_DMA); 115 TEST_ASSERT_NULL(heap_caps_malloc(SIZE_MAX-1, MALLOC_CAP_32BIT)); 117 TEST_ASSERT_NULL(heap_caps_malloc(SIZE_MAX-1, MALLOC_CAP_EXEC));
|
D | test_runtime_heap_reg.c | 41 TEST_ASSERT_NULL( heap_caps_malloc(ALLOC_SZ, MALLOC_CAP_INVENTED) ); 49 TEST_ASSERT_NOT_NULL( heap_caps_malloc(ALLOC_SZ, MALLOC_CAP_INVENTED) );
|
/hal_espressif-3.4.0/components/spi_flash/test/ |
D | test_flash_encryption.c | 39 …uint8_t *readback = (uint8_t *)heap_caps_malloc(SPI_FLASH_SEC_SIZE, MALLOC_CAP_32BIT | MALLOC_CAP_… in verify_erased_flash() 125 …uint8_t *cmp_buf = heap_caps_malloc(SPI_FLASH_SEC_SIZE, MALLOC_CAP_32BIT | MALLOC_CAP_8BIT | MALLO… 184 …uint8_t *readback = (uint8_t *)heap_caps_malloc(SPI_FLASH_SEC_SIZE, MALLOC_CAP_32BIT | MALLOC_CAP_… in test_encrypted_write_new_impl() 255 …uint8_t *cmp_encrypt_buf = heap_caps_malloc(SPI_FLASH_SEC_SIZE, MALLOC_CAP_32BIT | MALLOC_CAP_8BIT… 261 …uint8_t *cmp_normal_buf = heap_caps_malloc(SPI_FLASH_SEC_SIZE, MALLOC_CAP_32BIT | MALLOC_CAP_8BIT … 287 …uint8_t *cmp_encrypt_buf = heap_caps_malloc(SPI_FLASH_SEC_SIZE, MALLOC_CAP_32BIT | MALLOC_CAP_8BIT… 293 …uint8_t *cmp_normal_buf = heap_caps_malloc(SPI_FLASH_SEC_SIZE, MALLOC_CAP_32BIT | MALLOC_CAP_8BIT … 324 …uint8_t *buf = (uint8_t*)heap_caps_malloc(sizeof(large_const_buffer), MALLOC_CAP_32BIT | MALLOC_CA…
|
D | test_read_write.c | 314 …uint8_t* buf_ext = (uint8_t*) heap_caps_malloc(SPI_FLASH_SEC_SIZE, MALLOC_CAP_SPIRAM | MALLOC_CAP_… 317 …uint8_t* buf_int = (uint8_t*) heap_caps_malloc(SPI_FLASH_SEC_SIZE, MALLOC_CAP_INTERNAL | MALLOC_CA… 330 …uint32_t* buf_ext = (uint32_t*) heap_caps_malloc(SPI_FLASH_SEC_SIZE, MALLOC_CAP_SPIRAM | MALLOC_CA… 340 …uint8_t* buf_int = (uint8_t*) heap_caps_malloc(SPI_FLASH_SEC_SIZE, MALLOC_CAP_INTERNAL | MALLOC_CA… 358 …uint8_t *buf_ext_8 = (uint8_t *) heap_caps_malloc(MIN_BLOCK_SIZE, MALLOC_CAP_SPIRAM | MALLOC_CAP_8… 361 …uint8_t *buf_int_8 = (uint8_t *) heap_caps_malloc(MIN_BLOCK_SIZE, MALLOC_CAP_INTERNAL | MALLOC_CAP…
|
/hal_espressif-3.4.0/components/esp_hw_support/test/ |
D | test_spiram_cache_flush.c | 64 mem[0]=heap_caps_malloc(TSTSZ, MALLOC_CAP_SPIRAM); 65 mem[1]=heap_caps_malloc(TSTSZ, MALLOC_CAP_SPIRAM); 108 mem[0]=heap_caps_malloc(TSTSZ, MALLOC_CAP_SPIRAM); 109 mem[1]=heap_caps_malloc(TSTSZ, MALLOC_CAP_SPIRAM); 152 char *mem2=heap_caps_malloc(0x10000, MALLOC_CAP_SPIRAM);
|
D | test_async_memcpy.c | 51 src_buf = heap_caps_malloc(buffer_size, MALLOC_CAP_SPIRAM); in async_memcpy_setup_testbench() 53 … src_buf = heap_caps_malloc(buffer_size, MALLOC_CAP_8BIT | MALLOC_CAP_DMA | MALLOC_CAP_INTERNAL); in async_memcpy_setup_testbench() 61 src_buf = heap_caps_malloc(buffer_size, MALLOC_CAP_8BIT | MALLOC_CAP_DMA | MALLOC_CAP_INTERNAL); in async_memcpy_setup_testbench()
|
/hal_espressif-3.4.0/docs/zh_CN/api-guides/ |
D | external-ram.rst | 61 在 :ref:`CONFIG_SPIRAM_USE` 中选择 "Make RAM allocatable using heap_caps_malloc(..., MALLOC_CAP_SPIRAM)… 65 程序如果想从片外存储器分配存储空间,则需要调用 ``heap_caps_malloc(size, MALLOC_CAP_SPIRAM)``,之后可以调用 ``free()`` 函数释放这部分存储空间。 77 这允许应用程序使用片外 RAM,无需重写代码就能使用 ``heap_caps_malloc(..., MALLOC_CAP_SPIRAM)``。 115 …能用作 DMA 读写操作的缓冲区 (Buffer)。因此,当片外 RAM 启用时,与 DMA 搭配使用的 Buffer 必须先使用 ``heap_caps_malloc(size, MALLOC_…
|
/hal_espressif-3.4.0/tools/unit-test-app/components/test_utils/test/ |
D | ccomp_timer_test_data.c | 147 uint8_t *mem = heap_caps_malloc(2 * CACHE_SIZE, MALLOC_CAP_INTERNAL | MALLOC_CAP_DEFAULT); in ccomp_test_ref_time() 149 uint8_t *mem = heap_caps_malloc(sizeof(flash_mem), MALLOC_CAP_INTERNAL | MALLOC_CAP_DEFAULT); in ccomp_test_ref_time() 162 flash_mem = heap_caps_malloc(2 * CACHE_SIZE, MALLOC_CAP_8BIT | MALLOC_CAP_SPIRAM);
|
/hal_espressif-3.4.0/components/bt/host/nimble/port/src/ |
D | esp_nimble_mem.c | 30 return heap_caps_malloc(size, MALLOC_CAP_INTERNAL|MALLOC_CAP_8BIT); in nimble_platform_mem_malloc() 32 return heap_caps_malloc(size, MALLOC_CAP_SPIRAM|MALLOC_CAP_8BIT); in nimble_platform_mem_malloc()
|
/hal_espressif-3.4.0/components/driver/test/ |
D | test_spi_slave.c | 293 uint8_t *master_send_buf = heap_caps_malloc(BUF_SIZE, MALLOC_CAP_DMA); in unaligned_test_master() 296 uint8_t *slave_send_buf = heap_caps_malloc(BUF_SIZE, MALLOC_CAP_DMA); in unaligned_test_master() 341 uint8_t *slave_send_buf = heap_caps_malloc(BUF_SIZE, MALLOC_CAP_DMA); in unaligned_test_slave() 344 uint8_t *master_send_buf = heap_caps_malloc(BUF_SIZE, MALLOC_CAP_DMA); in unaligned_test_slave()
|
D | test_spi_master.c | 138 char *sendbuf = heap_caps_malloc((num_bytes + 3) & (~3), MALLOC_CAP_DMA); in spi_test() 139 char *recvbuf = heap_caps_malloc((num_bytes + 3) & (~3), MALLOC_CAP_DMA); in spi_test() 616 uint32_t *data_malloc = (uint32_t *)heap_caps_malloc(324, MALLOC_CAP_SPIRAM); 619 uint32_t *data_malloc = (uint32_t *)heap_caps_malloc(324, MALLOC_CAP_DMA); 629 uint32_t *data_iram = (uint32_t *)heap_caps_malloc(324, MALLOC_CAP_EXEC); 1052 uint8_t *mst_send_buf = heap_caps_malloc(buf_size, MALLOC_CAP_DMA); 1054 uint8_t *slv_send_buf = heap_caps_malloc(buf_size, MALLOC_CAP_DMA); 1172 uint8_t *mst_send_buf = heap_caps_malloc(FD_TEST_BUF_SIZE, MALLOC_CAP_DMA); in fd_master() 1174 uint8_t *slv_send_buf = heap_caps_malloc(FD_TEST_BUF_SIZE, MALLOC_CAP_DMA); in fd_master() 1255 uint8_t *slv_send_buf = heap_caps_malloc(FD_TEST_BUF_SIZE, MALLOC_CAP_DMA); in fd_slave() [all …]
|
/hal_espressif-3.4.0/components/spi_flash/ |
D | spi_flash_os_func_app.c | 166 ret = heap_caps_malloc(read_chunk_size, MALLOC_CAP_INTERNAL | MALLOC_CAP_8BIT); in get_buffer_malloc() 242 chip->os_func_data = heap_caps_malloc(sizeof(spi1_app_func_arg_t), in esp_flash_init_os_functions() 256 chip->os_func_data = heap_caps_malloc(sizeof(app_func_arg_t), in esp_flash_init_os_functions()
|
/hal_espressif-3.4.0/tools/test_apps/system/flash_psram/main/ |
D | test_flash_psram.c | 36 …uint8_t *psram_wr_buf = (uint8_t *)heap_caps_malloc(LENGTH_PER_TIME, MALLOC_CAP_32BIT | MALLOC_CAP… in spi0_psram_test() 42 …uint32_t *psram_rd_buf = (uint32_t *)heap_caps_malloc(SPI0_PSRAM_TEST_LEN, MALLOC_CAP_32BIT | MALL… in spi0_psram_test()
|
/hal_espressif-3.4.0/components/esp_lcd/test/ |
D | test_lvgl_port_v7.c | 81 lv_color_t *buf1 = heap_caps_malloc(h_res * 20 * sizeof(lv_color_t), MALLOC_CAP_DMA); in test_lvgl_task_loop() 83 lv_color_t *buf2 = heap_caps_malloc(h_res * 20 * sizeof(lv_color_t), MALLOC_CAP_DMA); in test_lvgl_task_loop()
|
/hal_espressif-3.4.0/examples/peripherals/lcd/lvgl/main/ |
D | lvgl_example_main.c | 148 … lv_color_t *buf1 = heap_caps_malloc(EXAMPLE_LCD_H_RES * 20 * sizeof(lv_color_t), MALLOC_CAP_DMA); in app_main() 150 … lv_color_t *buf2 = heap_caps_malloc(EXAMPLE_LCD_H_RES * 20 * sizeof(lv_color_t), MALLOC_CAP_DMA); in app_main()
|
/hal_espressif-3.4.0/components/heap/ |
D | heap_caps.c | 165 IRAM_ATTR void *heap_caps_malloc( size_t size, uint32_t caps){ in heap_caps_malloc() function 192 return heap_caps_malloc( size, MALLOC_CAP_DEFAULT | MALLOC_CAP_INTERNAL); in heap_caps_malloc_default() 261 r = heap_caps_malloc( size, caps ); in heap_caps_malloc_prefer() 441 result = heap_caps_malloc(size_bytes, caps); in heap_caps_calloc()
|
D | component.mk | 25 WRAP_FUNCTIONS = calloc malloc free realloc heap_caps_malloc heap_caps_free heap_caps_realloc heap_…
|
/hal_espressif-3.4.0/zephyr/esp_shared/include/ |
D | esp_heap_caps_adapter.h | 54 void *heap_caps_malloc(size_t size, uint32_t caps);
|
/hal_espressif-3.4.0/components/usb/ |
D | usb_private.c | 14 uint8_t *data_buffer = heap_caps_malloc(data_buffer_size + header_size, MALLOC_CAP_DMA); in urb_alloc()
|