| /freebsd-13.1/contrib/llvm-project/openmp/runtime/src/ |
| H A D | kmp_settings.cpp | 1627 comma = CCAST(char *, strchr(value, ',')); in __kmp_stg_parse_barrier_branch_bit() 1692 char *comma = CCAST(char *, strchr(value, ',')); in __kmp_stg_parse_barrier_pattern() 2230 CCAST(const char **, &next))) { in __kmp_parse_affinity_env() 2240 CCAST(const char **, &next)) || in __kmp_parse_affinity_env() 2245 CCAST(const char **, &next)) || in __kmp_parse_affinity_env() 2250 CCAST(const char **, &next)) || in __kmp_parse_affinity_env() 4841 char *pos = CCAST(char *, value); in __kmp_stg_parse_hw_subset() 5496 kmp_all_threads->data = CCAST(kmp_setting_t **, rivals); in __kmp_stg_init() 5513 kmp_hw_subset->data = CCAST(kmp_setting_t **, rivals); in __kmp_stg_init() 5514 kmp_place_threads->data = CCAST(kmp_setting_t **, rivals); in __kmp_stg_init() [all …]
|
| H A D | kmp_environment.cpp | 146 KMP_INTERNAL_FREE(CCAST(char *, *value)); in __kmp_env_free() 465 qsort(CCAST(kmp_env_var_t *, block->vars), block->count, in __kmp_env_blk_sort() 475 KMP_INTERNAL_FREE(CCAST(kmp_env_var_t *, block->vars)); in __kmp_env_blk_free()
|
| H A D | kmp_wait_release.h | 62 void *get_void_p() { return RCAST(void *, CCAST(P *, loc)); } in get_void_p() 191 KMP_FSYNC_SPIN_ACQUIRED(CCAST(void *, spin)); in __kmp_wait_template() 364 KMP_FSYNC_SPIN_PREPARE(CCAST(void *, spin)); in __kmp_wait_template() 495 KMP_FSYNC_SPIN_ACQUIRED(CCAST(void *, spin)); in __kmp_wait_template() 947 return (RCAST(unsigned char *, CCAST(kmp_uint64 *, loc)))[offset]; 1052 switch (RCAST(kmp_flag_64<> *, CCAST(void *, flag))->get_type()) {
|
| H A D | kmp_alloc.cpp | 272 CCAST(void *, old_value), nullptr)) { in __kmp_bget_dequeue() 276 p = CCAST(void *, old_value); in __kmp_bget_dequeue() 335 b->ql.flink = BFH(CCAST(void *, old_value)); in __kmp_bget_enqueue() 338 CCAST(void *, old_value), buf)) { in __kmp_bget_enqueue() 343 b->ql.flink = BFH(CCAST(void *, old_value)); in __kmp_bget_enqueue() 1501 al = RCAST(kmp_allocator_t *, CCAST(omp_allocator_handle_t, allocator)); in __kmpc_alloc() 1672 al = RCAST(kmp_allocator_t *, CCAST(omp_allocator_handle_t, allocator)); in __kmpc_calloc() 1741 al = RCAST(kmp_allocator_t *, CCAST(omp_allocator_handle_t, allocator)); in __kmpc_free()
|
| H A D | kmp_dispatch.h | 297 KMP_FSYNC_SPIN_INIT(obj, CCAST(UT *, spin)); in __kmp_wait() 421 KMP_FSYNC_RELEASING(CCAST(UT *, &sh->u.s.ordered_iteration)); in __kmp_dispatch_dxo()
|
| H A D | kmp_runtime.cpp | 3427 CCAST(kmp_info_t *, __kmp_thread_pool)); in __kmp_print_structure() 3429 CCAST(kmp_team_t *, __kmp_team_pool)); in __kmp_print_structure() 4253 new_thr = CCAST(kmp_info_t *, __kmp_thread_pool); in __kmp_allocate_thread() 4388 CCAST(kmp_uint64 *, &new_thr->th.th_bar[0].bb.b_go), in __kmp_allocate_thread() 4392 CCAST(kmp_uint64 *, &new_thr->th.th_bar[1].bb.b_go), in __kmp_allocate_thread() 5338 for (team = CCAST(kmp_team_t *, __kmp_team_pool); (team);) { in __kmp_allocate_team() 5562 team->t.t_next_pool = CCAST(kmp_team_t *, __kmp_team_pool); in __kmp_free_team() 5718 scan = CCAST(kmp_info_t **, &__kmp_thread_pool); in __kmp_free_thread() 6118 kmp_info_t *thread = CCAST(kmp_info_t *, __kmp_thread_pool); in __kmp_internal_end() 6131 kmp_team_t *team = CCAST(kmp_team_t *, __kmp_team_pool); in __kmp_internal_end() [all …]
|
| H A D | kmp_str.cpp | 316 Str = strchr(CCAST(char *, Psource), ';'); in __kmp_str_loc_numbers()
|
| H A D | kmp_os.h | 218 #define CCAST(type, var) const_cast<type>(var) macro 274 #define CCAST(type, var) (type)(var)
|
| H A D | kmp_i18n.cpp | 171 KMP_INTERNAL_FREE(CCAST(char *, nlspath)); in __kmp_i18n_do_catopen()
|
| H A D | kmp_tasking.cpp | 2948 (TCR_PTR(CCAST(void *, other_thread->th.th_sleep_loc)) != in __kmp_execute_tasks_template() 3177 if ((sleep_loc = TCR_PTR(CCAST(void *, thread->th.th_sleep_loc))) != in __kmp_enable_tasking() 3443 CCAST(kmp_uint32 *, &task_team->tt.tt_active), in __kmp_allocate_task_team() 3525 for (thread = CCAST(kmp_info_t *, __kmp_thread_pool); thread != NULL; in __kmp_wait_to_unref_task_teams() 3552 if ((sleep_loc = TCR_PTR(CCAST(void *, thread->th.th_sleep_loc))) != in __kmp_wait_to_unref_task_teams()
|
| H A D | kmp_dispatch.cpp | 937 CCAST(dispatch_shared_info_t *, (volatile dispatch_shared_info_t *)sh); in __kmp_dispatch_init() 2656 KMP_FSYNC_SPIN_INIT(obj, CCAST(kmp_uint32 *, spin)); in __kmp_wait_4()
|
| H A D | kmp_lock.cpp | 1807 memset(CCAST(kmp_adaptive_lock_statistics_t *, &(lck->stats)), 0, in __kmp_init_speculative_stats() 1846 memset(CCAST(kmp_adaptive_lock_statistics_t *, &lck->stats), 0, in __kmp_zero_speculative_stats()
|
| H A D | z_Linux_util.cpp | 1558 flag = (C *)CCAST(void *, th->th.th_sleep_loc); in __kmp_resume_template()
|
| H A D | kmp_csupport.cpp | 4320 __kmp_thread_free(th, CCAST(kmp_uint32 *, sh_buf->doacross_flags)); in __kmpc_doacross_fini()
|
| /freebsd-13.1/contrib/file/src/ |
| H A D | buffer.c | 64 struct buffer *b = CCAST(struct buffer *, bb); in buffer_fill()
|
| H A D | compress.c | 437 buf = CAST(char *, CCAST(void *, buf)) + rv; in sread() 567 z.next_in = CCAST(Bytef *, old); in uncompresszlib() 616 bz.next_in = CCAST(char *, RCAST(const char *, old)); in uncompressbzlib() 659 xz.next_in = CCAST(const uint8_t *, old); in uncompressxzlib()
|
| H A D | file.h | 409 #define CCAST(T, b) const_cast<T>(b) macro 413 #define CCAST(T, b) ((T)(uintptr_t)(b)) macro
|
| H A D | softmagic.c | 2215 search = CCAST(char *, ""); in magiccheck()
|