Home
last modified time | relevance | path

Searched refs:alloc_size (Results 1 – 3 of 3) sorted by relevance

/hal_espressif-latest/components/heap/
Dmulti_heap_poisoning.c55 size_t alloc_size; member
69 …bute__((noinline)) static uint8_t *poison_allocated_region(poison_head_t *head, size_t alloc_size) in poison_allocated_region() argument
72 poison_tail_t *tail = (poison_tail_t *)(data + alloc_size); in poison_allocated_region()
73 head->alloc_size = alloc_size; in poison_allocated_region()
96 poison_tail_t *tail = (poison_tail_t *)((intptr_t)data + head->alloc_size); in verify_allocated_region()
281 head->alloc_size + POISON_OVERHEAD); in multi_heap_free()
333 size_t orig_alloc_size = head->alloc_size; in multi_heap_realloc()
430 if (head != NULL && head->alloc_size > size - POISON_OVERHEAD) { in multi_heap_internal_check_block_poisoning()
434 …TI_HEAP_STDERR_PRINTF("CORRUPT HEAP: Size at %p expected <=0x%08x got 0x%08x\n", &head->alloc_size, in multi_heap_internal_check_block_poisoning()
435 size - POISON_OVERHEAD, head->alloc_size); in multi_heap_internal_check_block_poisoning()
/hal_espressif-latest/components/bt/host/bluedroid/stack/rfcomm/
Dport_api.c1555 UINT16 alloc_size = (UINT16)(sizeof(BT_HDR) + L2CAP_MIN_OFFSET + RFCOMM_DATA_OVERHEAD in PORT_WriteDataCO() local
1557 p_buf = (BT_HDR *)osi_malloc(alloc_size); in PORT_WriteDataCO()
/hal_espressif-latest/tools/esptool_py/flasher_stub/
Dminiz.c4540 mz_uint64 comp_size, uncomp_size, alloc_size; in mz_zip_reader_extract_to_heap() local
4556 alloc_size = (flags & MZ_ZIP_FLAG_COMPRESSED_DATA) ? comp_size : uncomp_size; in mz_zip_reader_extract_to_heap()
4557 if (((sizeof(size_t) == sizeof(mz_uint32))) && (alloc_size > 0x7FFFFFFF)) in mz_zip_reader_extract_to_heap()
4563 if (NULL == (pBuf = pZip->m_pAlloc(pZip->m_pAlloc_opaque, 1, (size_t)alloc_size))) in mz_zip_reader_extract_to_heap()
4569 if (!mz_zip_reader_extract_to_mem(pZip, file_index, pBuf, (size_t)alloc_size, flags)) in mz_zip_reader_extract_to_heap()
4576 *pSize = (size_t)alloc_size; in mz_zip_reader_extract_to_heap()