Home
last modified time | relevance | path

Searched refs:malloc (Results 1 – 25 of 44) sorted by relevance

12

/oneTBB/test/tbbmalloc/
H A Dtest_scalable_allocator.cpp98 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 Dtest_malloc_overload_disable.cpp43 void* ptr = malloc(ObjectSize); in CheckWindowsProxyDisablingViaMemSize()
H A Dtest_malloc_atexit.cpp43 void *o = malloc(reqSz); in dll_isMallocOverloaded()
/oneTBB/src/tbb/tools_api/
H A Dittnotify_config.h530 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 Dautomatically-replacing-malloc.rst1 .. _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 DWhich_Dynamic_Libraries_to_Use.rst16 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 DScalable_Memory_Allocator.rst10 latter is distinguished by ``malloc`` in its name. For example, the
H A DLinux_C_Dynamic_Memory_Interface_Replacement.rst14 - Standard C library functions: ``malloc``, ``calloc``, ``realloc``,
/oneTBB/src/tbbmalloc/
H A DMapMemory.h181 void *ret = malloc( bytes ); in ErrnoPreservingMalloc()
202 #error Impossible to protect against malloc recursion when memory mapping uses malloc.
/oneTBB/src/tbb/
H A Dallocator.cpp142 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 Dfixed_pool_cls.rst47 void* malloc(size_t size);
74 void* my_ptr = my_pool.malloc(10);
H A Dmemory_pool_cls.rst53 void *malloc(size_t size);
79 void* my_ptr = my_pool.malloc(10);
/oneTBB/src/tbbmalloc_proxy/
H A Dproxy_overload_osx.h143 zone.malloc = &impl_malloc; in DoMallocReplacement()
158 void* ptr = malloc(1); in DoMallocReplacement()
H A Dproxy.cpp136 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 Djpeg.cpp110 *imgdata = (unsigned char *)malloc(row_stride * cinfo.output_height); in readjpeg()
H A Dapigeom.cpp133 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 Dpthread.cpp68 th = (pthread_t)malloc(sizeof(pthread_s)); in pthread_create()
H A Dutil.cpp138 mem = malloc(bytes); in rt_getmem()
/oneTBB/examples/parallel_for/polygon_overlay/
H A Dpolymain.cpp388 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 Dlin32-proxy.def21 malloc;
H A Dlin64-proxy.def21 malloc;
/oneTBB/doc/main/reference/
H A Dscalable_memory_pools.rst24 * - \ ``void* P::malloc(size_t n);``
/oneTBB/include/oneapi/tbb/
H A Dmemory_pool.h51 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 Dmacvideo.cpp67 window_title = (char *)malloc(WINDOW_TITLE_SIZE); in init_window()
/oneTBB/cmake/compilers/
H A DAppleClang.cmake45 # TBB malloc settings

12