| /oneTBB/test/tbbmalloc/ |
| H A D | test_scalable_allocator.cpp | 98 bool allocated = pool.malloc(16) || pool.malloc(9*1024); in TestZeroSpaceMemoryPool() 129 buf = (char*)malloc(sz); in TestSmallFixedSizePool() 137 allocated = pool.malloc( 16 ) || pool.malloc( 9*1024 ); in TestSmallFixedSizePool() 200 char *p1 = (char*)pool.malloc( 16 ); 213 REQUIRE( pool.malloc( sz ) );
|
| H A D | test_malloc_overload_disable.cpp | 43 void* ptr = malloc(ObjectSize); in CheckWindowsProxyDisablingViaMemSize()
|
| H A D | test_malloc_atexit.cpp | 43 void *o = malloc(reqSz); in dll_isMallocOverloaded()
|
| /oneTBB/src/tbb/tools_api/ |
| H A D | ittnotify_config.h | 530 h = (__itt_thread_info*)malloc(sizeof(__itt_thread_info)); \ 547 h = (__itt_thread_info*)malloc(sizeof(__itt_thread_info)); \ 566 h = (__itt_domain*)malloc(sizeof(__itt_domain)); \ 582 h = (__itt_domain*)malloc(sizeof(__itt_domain)); \ 600 h = (__itt_string_handle*)malloc(sizeof(__itt_string_handle)); \ 615 h = (__itt_string_handle*)malloc(sizeof(__itt_string_handle)); \ 632 h = (__itt_counter_info_t*)malloc(sizeof(__itt_counter_info_t)); \ 649 h = (__itt_counter_info_t*)malloc(sizeof(__itt_counter_info_t)); \ 670 h = (__itt_histogram*)malloc(sizeof(__itt_histogram)); \ 688 h = (__itt_histogram*)malloc(sizeof(__itt_histogram)); \ [all …]
|
| /oneTBB/doc/main/tbb_userguide/ |
| H A D | automatically-replacing-malloc.rst | 1 .. _automatically-replacing-malloc: 3 Automatically Replacing ``malloc`` and Other C/C++ Functions for Dynamic Memory Allocation 9 (such as ``malloc``) with the |full_name| scalable equivalents.
|
| H A D | Which_Dynamic_Libraries_to_Use.rst | 16 to using ``malloc`` and ``free``. Thus, you can use these templates even 39 …e allocator library if it is present, otherwise it reverts to using ``malloc`` and ``free``.
|
| H A D | Scalable_Memory_Allocator.rst | 10 latter is distinguished by ``malloc`` in its name. For example, the
|
| H A D | Linux_C_Dynamic_Memory_Interface_Replacement.rst | 14 - Standard C library functions: ``malloc``, ``calloc``, ``realloc``,
|
| /oneTBB/src/tbbmalloc/ |
| H A D | MapMemory.h | 181 void *ret = malloc( bytes ); in ErrnoPreservingMalloc() 202 #error Impossible to protect against malloc recursion when memory mapping uses malloc.
|
| /oneTBB/src/tbb/ |
| H A D | allocator.cpp | 142 allocate_handler_unsafe = &std::malloc; in initialize_handler_pointers() 219 std::uintptr_t base = reinterpret_cast<std::uintptr_t>(std::malloc(space)); in std_cache_aligned_allocate() 273 …__TBB_ASSERT((reinterpret_cast<void*>(handler_snapshot) == reinterpret_cast<void*>(&std::malloc)) … in is_tbbmalloc_used() 275 return reinterpret_cast<void*>(handler_snapshot) == reinterpret_cast<void*>(&std::malloc); in is_tbbmalloc_used()
|
| /oneTBB/doc/main/reference/scalable_memory_pools/ |
| H A D | fixed_pool_cls.rst | 47 void* malloc(size_t size); 74 void* my_ptr = my_pool.malloc(10);
|
| H A D | memory_pool_cls.rst | 53 void *malloc(size_t size); 79 void* my_ptr = my_pool.malloc(10);
|
| /oneTBB/src/tbbmalloc_proxy/ |
| H A D | proxy_overload_osx.h | 143 zone.malloc = &impl_malloc; in DoMallocReplacement() 158 void* ptr = malloc(1); in DoMallocReplacement()
|
| H A D | proxy.cpp | 136 extern "C" void *__TBB_malloc_proxy(size_t) __TBB_ALIAS_ATTR_COPY(malloc); 187 void *PREFIX(malloc)(ZONE_ARG size_t size) __THROW in PREFIX() argument 287 void *__libc_malloc(size_t size) __TBB_ALIAS_ATTR_COPY(malloc);
|
| /oneTBB/examples/parallel_for/tachyon/src/ |
| H A D | jpeg.cpp | 110 *imgdata = (unsigned char *)malloc(row_stride * cinfo.output_height); in readjpeg()
|
| H A D | apigeom.cpp | 133 vertices = (vector *)malloc(m * n * sizeof(vector)); in rt_sheightfield() 134 normals = (vector *)malloc(m * n * sizeof(vector)); in rt_sheightfield() 260 field = (apiflt *)malloc(totalsize * sizeof(apiflt)); in rt_landscape()
|
| H A D | pthread.cpp | 68 th = (pthread_t)malloc(sizeof(pthread_s)); in pthread_create()
|
| H A D | util.cpp | 138 mem = malloc(bytes); in rt_getmem()
|
| /oneTBB/examples/parallel_for/polygon_overlay/ |
| H A D | polymain.cpp | 388 tempMap = (int *)malloc(xSize * ySize * sizeof(int)); in GenerateMap() 413 validPolys = (int *)malloc(4 * gNPolygons * sizeof(int)); in GenerateMap() 414 validSide = (int *)malloc(4 * gNPolygons * sizeof(int)); in GenerateMap() 582 cArray = (int *)malloc(sizeof(int) * (gMapXSize * gMapYSize)); in CheckPolygonMap()
|
| /oneTBB/src/tbbmalloc_proxy/def/ |
| H A D | lin32-proxy.def | 21 malloc;
|
| H A D | lin64-proxy.def | 21 malloc;
|
| /oneTBB/doc/main/reference/ |
| H A D | scalable_memory_pools.rst | 24 * - \ ``void* P::malloc(size_t n);``
|
| /oneTBB/include/oneapi/tbb/ |
| H A D | memory_pool.h | 51 void *malloc(size_t size) { return rml::pool_malloc(my_pool, size); } in malloc() function 110 pointer p = static_cast<pointer>( my_pool->malloc( n*sizeof(value_type) ) );
|
| /oneTBB/examples/common/gui/ |
| H A D | macvideo.cpp | 67 window_title = (char *)malloc(WINDOW_TITLE_SIZE); in init_window()
|
| /oneTBB/cmake/compilers/ |
| H A D | AppleClang.cmake | 45 # TBB malloc settings
|