| /oneTBB/src/tbbmalloc/ |
| H A D | MapMemory.h | 86 uintptr_t offset = 0; in mmapTHP() local 90 offset = HUGE_PAGE_SIZE - ((uintptr_t)result & (HUGE_PAGE_SIZE - 1)); in mmapTHP() 91 munmap(result, offset); in mmapTHP() 94 result = (void*)((uintptr_t)result + offset); in mmapTHP() 98 munmap((void*)((uintptr_t)result + bytes), HUGE_PAGE_SIZE - offset); in mmapTHP()
|
| H A D | tbbmalloc_internal.h | 310 uint16_t offset :15; // offset from beginning of BackRefBlock 312 BackRefIdx() : main(invalid), largeObj(0), offset(0) {} 316 uint16_t getOffset() const { return offset; } 325 idx.offset = ptr->offset;
|
| H A D | backref.cpp | 310 uintptr_t offset = in newBackRef() local 313 MALLOC_ASSERT(!(offset >> 15), ASSERT_TEXT); in newBackRef() 314 res.offset = offset; in newBackRef()
|
| H A D | frontend.cpp | 2317 unsigned offset = myCacheIdx % numOfPossibleOffsets; in getFromLLOCache() local 2322 alignedArea = (void*)((uintptr_t)alignedArea + offset*alignment); in getFromLLOCache() 2466 uint16_t offset = (uintptr_t)this + slabSize - (uintptr_t)address; in findAllocatedObject() local 2467 MALLOC_ASSERT( offset<=slabSize-sizeof(Block), ASSERT_TEXT ); in findAllocatedObject() 2469 offset %= objectSize; in findAllocatedObject() 2471 return (FreeObject*)((uintptr_t)address - (offset? objectSize-offset: 0)); in findAllocatedObject() 3237 … __TBB_malloc_safer_aligned_msize(void *object, size_t alignment, size_t offset, size_t (*orig_ali… in __TBB_malloc_safer_aligned_msize() argument 3244 return orig_aligned_msize(object,alignment,offset); in __TBB_malloc_safer_aligned_msize()
|
| /oneTBB/include/oneapi/tbb/ |
| H A D | parallel_sort.h | 66 std::size_t offset = range.size / 8u; in pseudo_median_of_nine() local 68 median_of_three(array, 0 , offset, offset * 2), in pseudo_median_of_nine() 69 median_of_three(array, offset * 3, offset * 4, offset * 5), in pseudo_median_of_nine() 70 median_of_three(array, offset * 6, offset * 7, range.size - 1)); in pseudo_median_of_nine()
|
| H A D | concurrent_vector.h | 90 vector_iterator operator+( difference_type offset ) const { 91 return vector_iterator(*my_vector, my_index + offset); 94 vector_iterator& operator+=( difference_type offset ) { 95 my_index += offset; 100 vector_iterator operator-( difference_type offset ) const { 101 return vector_iterator(*my_vector, my_index - offset); 104 vector_iterator& operator-=( difference_type offset ) { 105 my_index -= offset; 183 return vector_iterator<Vector, T>(*v.my_vector, v.my_index + offset); 612 size_type offset = this->segment_base(seg_index); in create_segment() local [all …]
|
| H A D | enumerable_thread_specific.h | 385 enumerable_thread_specific_iterator operator+( std::ptrdiff_t offset ) const { 386 return enumerable_thread_specific_iterator(*my_container, my_index + offset); 389 …friend enumerable_thread_specific_iterator operator+( std::ptrdiff_t offset, enumerable_thread_spe… 390 return enumerable_thread_specific_iterator(*v.my_container, v.my_index + offset); 393 enumerable_thread_specific_iterator &operator+=( std::ptrdiff_t offset ) { 394 my_index += offset; 399 enumerable_thread_specific_iterator operator-( std::ptrdiff_t offset ) const { 400 return enumerable_thread_specific_iterator( *my_container, my_index-offset ); 403 enumerable_thread_specific_iterator &operator-=( std::ptrdiff_t offset ) { 404 my_index -= offset;
|
| /oneTBB/src/tbbmalloc_proxy/ |
| H A D | function_replacement.cpp | 327 UINT_PTR offset; in InsertTrampoline32() local 343 offset = srcAddr - trampAddr; in InsertTrampoline32() 344 offset32 = (UINT)(offset & 0xFFFFFFFF); in InsertTrampoline32() 354 offset = tgtAddr - srcAddr - SIZE_OF_RELJUMP; in InsertTrampoline32() 355 offset32 = (UINT)(offset & 0xFFFFFFFF); in InsertTrampoline32() 385 UINT_PTR offset; in InsertTrampoline64() local 405 offset = srcAddr - trampAddr; in InsertTrampoline64() 406 offset32 = (UINT)(offset & 0xFFFFFFFF); in InsertTrampoline64() 415 offset = location - srcAddr - SIZE_OF_INDJUMP; in InsertTrampoline64() 416 offset32 = (UINT)(offset & 0xFFFFFFFF); in InsertTrampoline64()
|
| H A D | proxy.cpp | 394 size_t __TBB_malloc_safer__aligned_msize_##CRTLIB( void *ptr, size_t alignment, size_t offset) … 396 … return __TBB_malloc_safer_aligned_msize( ptr, alignment, offset, orig__aligned_msize_##CRTLIB ); \
|
| /oneTBB/test/common/ |
| H A D | utils_report.h | 170 DWORD64 offset; in print_call_stack() local 172 if(!SymFromAddr( GetCurrentProcess(), DWORD64(buff[i]), &offset, &sym )) { in print_call_stack() 173 sym.Address = ULONG64(buff[i]); offset = 0; sym.Name[0] = 0; in print_call_stack() 175 REPORT("[%d] %016I64X+%04I64X: %s\n", i, sym.Address, offset, sym.Name); in print_call_stack()
|
| /oneTBB/examples/parallel_for/tachyon/src/ |
| H A D | apigeom.cpp | 129 vector offset; in rt_sheightfield() local 136 offset.x = ctr.x - (wx / 2.0); in rt_sheightfield() 137 offset.y = ctr.z - (wy / 2.0); in rt_sheightfield() 138 offset.z = ctr.y; in rt_sheightfield() 148 rt_vector(x * xinc + offset.x, field[addr] + offset.z, y * yinc + offset.y); in rt_sheightfield()
|
| H A D | grid.cpp | 471 flt tnear, tfar, offset; in grid_intersect() local 488 offset = tnear; in grid_intersect() 498 tmax.x = offset + ((voxel2x(g, curvox.x) - curpos.x) / ry->d.x); in grid_intersect() 503 tmax.x = offset + ((voxel2x(g, curvox.x + 1) - curpos.x) / ry->d.x); in grid_intersect() 517 tmax.y = offset + ((voxel2y(g, curvox.y) - curpos.y) / ry->d.y); in grid_intersect() 522 tmax.y = offset + ((voxel2y(g, curvox.y + 1) - curpos.y) / ry->d.y); in grid_intersect() 536 tmax.z = offset + ((voxel2z(g, curvox.z) - curpos.z) / ry->d.z); in grid_intersect() 541 tmax.z = offset + ((voxel2z(g, curvox.z + 1) - curpos.z) / ry->d.z); in grid_intersect()
|
| /oneTBB/test/tbb/ |
| H A D | test_composite_node.cpp | 405 for( double offset = 1; offset < 10000; offset *= 10 ) { in test_prefix() local 406 tbb::flow::input_port<0>(p).try_put( offset ); in test_prefix() 407 tbb::flow::input_port<1>(p).try_put( offset + 1 ); in test_prefix() 408 tbb::flow::input_port<2>(p).try_put( offset + 2 ); in test_prefix() 409 tbb::flow::input_port<3>(p).try_put( offset + 3 ); in test_prefix() 410 tbb::flow::input_port<4>(p).try_put( offset + 4 ); in test_prefix()
|
| H A D | test_priority_queue_node.cpp | 49 int offset = value % N; in check_item() local 50 CHECK_MESSAGE( next_value[tid] == T(offset), "" ); in check_item()
|
| H A D | test_queue_node.cpp | 60 int offset = value % N; in check_item() local 61 CHECK_MESSAGE( next_value[tid] == T(offset), "" ); in check_item()
|
| /oneTBB/examples/graph/som/ |
| H A D | som_graph.cpp | 170 int offset = (i / xsize) * yranges + (j / ysize); in build_BMU_graph() local 174 BMU_search_body bb(map1, sst, function_node_execs[offset]); in build_BMU_graph() 309 int offset = x * yranges + y; // linearized subscript in graph_BMU() local 311 if (std::get<RADIUS>(all_srs[offset]) != in graph_BMU() 315 else if (std::get<XV>(all_srs[offset]) != -1) { in graph_BMU() 320 all_srs[offset] = sr; in graph_BMU()
|
| /oneTBB/src/tbb/ |
| H A D | rml_thread_monitor.h | 55 std::size_t offset = (idx+1) * 40503U % (1U<<16); \ 56 void* volatile sink_for_alloca = _alloca(offset); \
|
| /oneTBB/test/conformance/ |
| H A D | conformance_blocked_range.cpp | 53 AbstractValueType operator+( const AbstractValueType& u, std::size_t offset ) { in operator +() argument 54 return MakeAbstractValueType(GetValueOf(u) + int(offset)); in operator +()
|
| H A D | conformance_blocked_range2d.cpp | 62 AbstractValueType<Tag> operator+( const AbstractValueType<Tag>& u, std::size_t offset ) { in operator +() argument 63 return MakeAbstractValueType<Tag>(GetValueOf(u)+int(offset)); in operator +()
|
| H A D | conformance_blocked_range3d.cpp | 64 AbstractValueType<Tag> operator+( const AbstractValueType<Tag>& u, std::size_t offset ) { in operator +() argument 65 return MakeAbstractValueType<Tag>(GetValueOf(u)+int(offset)); in operator +()
|
| H A D | conformance_blocked_rangeNd.cpp | 59 AbstractValueType operator+(const AbstractValueType& u, std::size_t offset) { in operator +() argument 60 return MakeAbstractValue(GetValueOf(u) + int(offset)); in operator +()
|
| /oneTBB/test/tbbmalloc/ |
| H A D | test_malloc_overload.cpp | 140 uint16_t offset :15; // offset from beginning of BackRefBlock member in BackRefIdx 146 uint16_t getOffset() const { return offset; } in getOffset()
|
| H A D | test_malloc_whitebox.cpp | 317 hdr->backRefIdx.offset = 2000; in operator ()() 599 falseBlock->backRefIdx.offset = (uint16_t)bl; in TestObjectRecognition() 600 headerLO->backRefIdx.offset = (uint16_t)bl; in TestObjectRecognition()
|
| /oneTBB/doc/main/tbb_userguide/ |
| H A D | Predefined_Node_Types.rst | 31 …ts input. N is equal to the number of predecessors plus any additional offset assigned at cons…
|