Home
last modified time | relevance | path

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

/oneTBB/src/tbb/
H A Dexception.cpp105 const int BUF_SIZE = 255; in handle_perror() local
106 char buf[BUF_SIZE + 1] = { 0 }; in handle_perror()
107 std::strncat(buf, what, BUF_SIZE); in handle_perror()
110 std::strncat(buf, ": ", BUF_SIZE - buf_len); in handle_perror()
112 std::strncat(buf, std::strerror(error_code), BUF_SIZE - buf_len); in handle_perror()
115 __TBB_ASSERT(buf_len <= BUF_SIZE && buf[buf_len] == 0, nullptr); in handle_perror()
/oneTBB/test/tbbmalloc/
H A Dtest_malloc_pools.cpp46 static const size_t BUF_SIZE = 8*1024*1024; member
48 PoolSpace(size_t bufSz = BUF_SIZE) : in PoolSpace()
719 const size_t BUF_SIZE = 1024*1024; variable
727 objs[id] = (AllocatedObject*)pool_malloc(pools[id], BUF_SIZE/2); in operator ()()
732 for (size_t total=0; total<2*BUF_SIZE; total+=256) { in operator ()()
754 FixedPoolHead<BUF_SIZE*POOLS> head[POOLS]; in TestPoolDetection()
H A Dtest_malloc_whitebox.cpp377 const size_t BUF_SIZE = 8*1024*1024; in getMem() local
378 static char space[BUF_SIZE]; in getMem()
381 if (pos + bytes > BUF_SIZE) in getMem()