Home
last modified time | relevance | path

Searched refs:cnt (Results 1 – 6 of 6) sorted by relevance

/oneTBB/test/tbbmalloc/
H A Dtest_malloc_whitebox.cpp239 size_t cnt; in operator ()() local
244 for (cnt=0; !ITERS || cnt<ITERS; cnt++) { in operator ()()
251 for (size_t i=0; i<cnt; i++) in operator ()()
253 for (size_t i=cnt; i>0; i--) in operator ()()
281 size_t cnt = 0; in allocatedBackRefCount() local
283 cnt += backRefMain.load(std::memory_order_relaxed)->backRefBl[i]->allocatedCount; in allocatedBackRefCount()
284 return cnt; in allocatedBackRefCount()
593 for (int cnt=0; cnt<2; cnt++) { in TestObjectRecognition() local
613 if (cnt == 1) { in TestObjectRecognition()
/oneTBB/test/tbb/
H A Dtest_parallel_pipeline.cpp476 int cnt = filter_node_count; in run_filter_set() local
482 CHECK_MESSAGE(filter_node_count==cnt+5, "filter node accounting error?"); in run_filter_set()
485 CHECK_MESSAGE(filter_node_count==cnt+5, "filter nodes deleted prematurely?"); in run_filter_set()
499 CHECK_MESSAGE(filter_node_count==cnt, "scope ended but filter nodes not deleted?"); in run_filter_set()
H A Dtest_eh_flow_graph.cpp92 void WaitAndThrow(int cnt, const char * /*name*/) { in WaitAndThrow() argument
93 if(cnt > g_NumThreads + 10) { in WaitAndThrow()
103 void WaitAndThrow(int cnt, const char * /*name*/) { in WaitAndThrow() argument
104 if(cnt > g_NumThreads + 10) { in WaitAndThrow()
121 void WaitAndThrow(int cnt, const char * /*name*/) { in WaitAndThrow() argument
122 if(cnt <= (g_NumThreads - (int)limited_type + 1)/2) { in WaitAndThrow()
133 void WaitAndThrow(int cnt, const char * /*name*/) { in WaitAndThrow() argument
135 if(cnt <= (g_NumThreads - (int)limited_type + 1)/2) { in WaitAndThrow()
H A Dtest_join_node.h276 for(int cnt = 0; cnt < 2; ++cnt) {
/oneTBB/src/tbbmalloc/
H A Dbackend.cpp1463 size_t cnt = 0; in countFreeBlocks() local
1467 cnt++; in countFreeBlocks()
1469 return cnt; in countFreeBlocks()
1491 if (size_t cnt = freeBins[i].countFreeBlocks()) { in reportStat() local
1493 fprintf(f, " %d:%lu, ", i, cnt); in reportStat()
/oneTBB/test/common/
H A Ddoctest.h702 String substr(size_type pos, size_type cnt = npos) &&;
703 String substr(size_type pos, size_type cnt = npos) const &;
3806 String String::substr(size_type pos, size_type cnt) && {
3807 cnt = std::min(cnt, size() - 1 - pos);
3809 memmove(cptr, cptr + pos, cnt);
3810 setSize(cnt);
3814 String String::substr(size_type pos, size_type cnt) const & {
3815 cnt = std::min(cnt, size() - 1 - pos);
3816 return String{ c_str() + pos, cnt };