Home
last modified time | relevance | path

Searched refs:newCapacity (Results 1 – 4 of 4) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/openmp/runtime/src/
Dkmp_threadprivate.cpp679 void __kmp_threadprivate_resize_cache(int newCapacity) { in __kmp_threadprivate_resize_cache() argument
681 newCapacity)); in __kmp_threadprivate_resize_cache()
689 (void **)__kmp_allocate(sizeof(void *) * newCapacity + in __kmp_threadprivate_resize_cache()
702 tp_cache_addr = (kmp_cached_addr_t *)&my_cache[newCapacity]; in __kmp_threadprivate_resize_cache()
733 *(volatile int *)&__kmp_tp_capacity = newCapacity; in __kmp_threadprivate_resize_cache()
Dkmp_runtime.cpp3522 int newCapacity; in __kmp_expand_threads() local
3571 newCapacity = __kmp_threads_capacity; in __kmp_expand_threads()
3573 newCapacity = newCapacity <= (__kmp_sys_max_nth >> 1) ? (newCapacity << 1) in __kmp_expand_threads()
3575 } while (newCapacity < minimumRequiredCapacity); in __kmp_expand_threads()
3577 (sizeof(kmp_info_t *) + sizeof(kmp_root_t *)) * newCapacity + CACHE_LINE); in __kmp_expand_threads()
3579 (kmp_root_t **)((char *)newThreads + sizeof(kmp_info_t *) * newCapacity); in __kmp_expand_threads()
3589 added += newCapacity - __kmp_threads_capacity; in __kmp_expand_threads()
3590 *(volatile int *)&__kmp_threads_capacity = newCapacity; in __kmp_expand_threads()
3592 if (newCapacity > __kmp_tp_capacity) { in __kmp_expand_threads()
3594 if (__kmp_tp_cached && newCapacity > __kmp_tp_capacity) { in __kmp_expand_threads()
[all …]
Dkmp.h3977 void __kmp_threadprivate_resize_cache(int newCapacity);
/freebsd-12-stable/sys/contrib/zstd/contrib/seekable_format/
Dzstdseek_compress.c180 size_t const newCapacity = fl->capacity * 2; in ZSTD_seekable_logFrame() local
182 sizeof(framelogEntry_t) * newCapacity); in ZSTD_seekable_logFrame()
187 fl->capacity = newCapacity; in ZSTD_seekable_logFrame()