Searched refs:heap (Results 1 – 17 of 17) sorted by relevance
/openthread-2.7.6/third_party/mbedtls/repo/library/ |
D | memory_buffer_alloc.c | 82 static buffer_alloc_ctx heap; variable 108 memory_header *cur = heap.first; in debug_chain() 118 cur = heap.first_free; in debug_chain() 175 memory_header *prv = heap.first, *cur; in verify_chain() 186 if( heap.first->prev != NULL ) in verify_chain() 195 cur = heap.first->next; in verify_chain() 226 memory_header *new, *cur = heap.first_free; in buffer_alloc_calloc() 235 if( heap.buf == NULL || heap.first == NULL ) in buffer_alloc_calloc() 274 heap.alloc_count++; in buffer_alloc_calloc() 289 heap.first_free = cur->next_free; in buffer_alloc_calloc() [all …]
|
/openthread-2.7.6/tests/unit/ |
D | test_heap.cpp | 49 ot::Utils::Heap heap; in TestAllocateSingle() local 51 const size_t totalSize = heap.GetFreeSize(); in TestAllocateSingle() 54 void *p = heap.CAlloc(1, 0); in TestAllocateSingle() 55 …VerifyOrQuit(p == nullptr && totalSize == heap.GetFreeSize(), "TestAllocateSingle allocate 1 x 0 b… in TestAllocateSingle() 56 heap.Free(p); in TestAllocateSingle() 58 p = heap.CAlloc(0, 1); in TestAllocateSingle() 59 …VerifyOrQuit(p == nullptr && totalSize == heap.GetFreeSize(), "TestAllocateSingle allocate 0 x 1 b… in TestAllocateSingle() 60 heap.Free(p); in TestAllocateSingle() 63 for (size_t size = 1; size <= heap.GetCapacity(); ++size) in TestAllocateSingle() 66 void *p = heap.CAlloc(1, size); in TestAllocateSingle() [all …]
|
D | CMakeLists.txt | 259 add_executable(ot-test-heap 263 target_include_directories(ot-test-heap 268 target_compile_options(ot-test-heap 273 target_link_libraries(ot-test-heap 278 add_test(NAME ot-test-heap COMMAND ot-test-heap) 280 add_executable(ot-test-heap-string 284 target_include_directories(ot-test-heap-string 289 target_compile_options(ot-test-heap-string 294 target_link_libraries(ot-test-heap-string 299 add_test(NAME ot-test-heap-string COMMAND ot-test-heap-string)
|
D | Makefile.am | 119 ot-test-heap \ 120 ot-test-heap-string \
|
/openthread-2.7.6/third_party/mbedtls/repo/scripts/ |
D | massif_max.pl | 36 my ($heap, $heap_extra, $stack) = m{ 41 next unless defined $heap; 42 my $total = $heap + $heap_extra + $stack; 44 ($max, $max_heap, $max_he, $max_stack) = ($total, $heap, $heap_extra, $stack);
|
/openthread-2.7.6/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_memory_buffer_alloc.data | 19 Memory buffer: heap too small (header verification should fail)
|
D | target_test.function | 244 * \return Array of parsed parameters allocated on heap.
|
/openthread-2.7.6/etc/gn/ |
D | openthread.gni | 141 # Enable external heap support 171 # Enable use built-in heap for message buffers
|
/openthread-2.7.6/include/ |
D | Makefile.am | 60 openthread/heap.h \
|
/openthread-2.7.6/examples/ |
D | README.md | 38 …ables support for external heap. Enable this switch if the platform uses its own heap. Make sure t…
|
/openthread-2.7.6/zephyr/ |
D | CMakeLists.txt | 7 set(OT_BUILTIN_MBEDTLS_MANAGEMENT OFF CACHE BOOL "Use Zephyr's mbedTLS heap") 167 set(OT_EXTERNAL_HEAP ON CACHE BOOL "Enable external heap support" FORCE) 169 set(OT_EXTERNAL_HEAP OFF CACHE BOOL "Enable external heap support" FORCE)
|
/openthread-2.7.6/include/openthread/ |
D | BUILD.gn | 81 "heap.h",
|
/openthread-2.7.6/etc/cmake/ |
D | options.cmake | 199 option(OT_MESSAGE_USE_HEAP "enable heap allocator for message buffers") 209 option(OT_EXTERNAL_HEAP "enable external heap support")
|
/openthread-2.7.6/src/core/ |
D | Makefile.am | 295 utils/heap.cpp \ 567 utils/heap.hpp \
|
D | BUILD.gn | 640 "utils/heap.cpp", 641 "utils/heap.hpp",
|
D | CMakeLists.txt | 218 utils/heap.cpp
|
/openthread-2.7.6/third_party/mbedtls/repo/ |
D | ChangeLog | 1552 * Fix a 1-byte heap buffer overflow (read-only) during private key parsing. 1569 * Fix a heap corruption issue in the implementation of the truncated HMAC 1572 6 bytes on the peer's heap, which could potentially lead to crash or remote 1583 * Fix a potential heap buffer overflow in mbedtls_ssl_write(). When the (by 1606 * Fix a potential heap buffer over-read in ALPN extension parsing 1848 * Fixed unlimited overread of heap-based buffer in mbedtls_ssl_read(). 1984 * Fixed heap overreads in mbedtls_x509_get_time(). Found by Peng 2169 * Fix potential heap corruption on Windows when 2214 * Added fix for CVE-2015-5291 to prevent heap corruption due to buffer 2233 * Fix possible heap buffer overflow in base64_encoded() when the input [all …]
|