Lines Matching refs:thread_num
103 size_t thread_num = in TestNonAlignedAlloc() local
105 assert(thread_num < allocated_.size()); in TestNonAlignedAlloc()
106 allocated_[thread_num] = NULL; in TestNonAlignedAlloc()
107 allocated_[thread_num] = embb_alloc(1); in TestNonAlignedAlloc()
108 PT_EXPECT_NE(allocated_[thread_num], static_cast<void*>(NULL)); in TestNonAlignedAlloc()
109 embb_free(allocated_[thread_num]); in TestNonAlignedAlloc()
118 size_t thread_num = in TestAlignedAlloc() local
120 assert(thread_num < allocated_.size()); in TestAlignedAlloc()
121 allocated_[thread_num] = NULL; in TestAlignedAlloc()
122 allocated_[thread_num] = embb_alloc_aligned(2*sizeof(void*), 1); in TestAlignedAlloc()
123 PT_EXPECT_NE(allocated_[thread_num], static_cast<void*>(NULL)); in TestAlignedAlloc()
124 embb_free_aligned(allocated_[thread_num]); in TestAlignedAlloc()
133 size_t thread_num = in TestCacheAlignedAlloc() local
135 assert(thread_num < allocated_.size()); in TestCacheAlignedAlloc()
136 allocated_[thread_num] = NULL; in TestCacheAlignedAlloc()
137 allocated_[thread_num] = embb_alloc_cache_aligned(1); in TestCacheAlignedAlloc()
138 PT_EXPECT_NE(allocated_[thread_num], static_cast<void*>(NULL)); in TestCacheAlignedAlloc()
139 embb_free_aligned(allocated_[thread_num]); in TestCacheAlignedAlloc()