Home
last modified time | relevance | path

Searched refs:CCAST (Results 1 – 14 of 14) sorted by relevance

/external/llvm-project/openmp/runtime/src/
Dkmp_settings.cpp1537 comma = CCAST(char *, strchr(value, ',')); in __kmp_stg_parse_barrier_branch_bit()
1602 char *comma = CCAST(char *, strchr(value, ',')); in __kmp_stg_parse_barrier_pattern()
2096 if (__kmp_match_str("none", buf, CCAST(const char **, &next))) { in __kmp_parse_affinity_env()
2100 } else if (__kmp_match_str("scatter", buf, CCAST(const char **, &next))) { in __kmp_parse_affinity_env()
2104 } else if (__kmp_match_str("compact", buf, CCAST(const char **, &next))) { in __kmp_parse_affinity_env()
2108 } else if (__kmp_match_str("logical", buf, CCAST(const char **, &next))) { in __kmp_parse_affinity_env()
2112 } else if (__kmp_match_str("physical", buf, CCAST(const char **, &next))) { in __kmp_parse_affinity_env()
2116 } else if (__kmp_match_str("explicit", buf, CCAST(const char **, &next))) { in __kmp_parse_affinity_env()
2120 } else if (__kmp_match_str("balanced", buf, CCAST(const char **, &next))) { in __kmp_parse_affinity_env()
2124 } else if (__kmp_match_str("disabled", buf, CCAST(const char **, &next))) { in __kmp_parse_affinity_env()
[all …]
Dkmp_environment.cpp146 KMP_INTERNAL_FREE(CCAST(char *, *value)); in __kmp_env_free()
466 qsort(CCAST(kmp_env_var_t *, block->vars), block->count, in __kmp_env_blk_sort()
476 KMP_INTERNAL_FREE(CCAST(kmp_env_var_t *, block->vars)); in __kmp_env_blk_free()
Dkmp_wait_release.h62 void *get_void_p() { return RCAST(void *, CCAST(P *, loc)); } in get_void_p()
192 KMP_FSYNC_SPIN_ACQUIRED(CCAST(void *, spin)); in __kmp_wait_template()
365 KMP_FSYNC_SPIN_PREPARE(CCAST(void *, spin)); in __kmp_wait_template()
476 KMP_FSYNC_SPIN_ACQUIRED(CCAST(void *, spin)); in __kmp_wait_template()
928 return (RCAST(unsigned char *, CCAST(kmp_uint64 *, loc)))[offset];
1024 switch (RCAST(kmp_flag_64<> *, CCAST(void *, flag))->get_type()) {
Dkmp_alloc.cpp272 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()
1457 al = RCAST(kmp_allocator_t *, CCAST(omp_allocator_handle_t, allocator)); in __kmpc_alloc()
1596 al = RCAST(kmp_allocator_t *, CCAST(omp_allocator_handle_t, allocator)); in __kmpc_calloc()
1665 al = RCAST(kmp_allocator_t *, CCAST(omp_allocator_handle_t, allocator)); in __kmpc_free()
Dkmp_dispatch.h298 KMP_FSYNC_SPIN_INIT(obj, CCAST(UT *, spin)); in __kmp_wait()
422 KMP_FSYNC_RELEASING(CCAST(UT *, &sh->u.s.ordered_iteration)); in __kmp_dispatch_dxo()
Dkmp_runtime.cpp3421 CCAST(kmp_info_t *, __kmp_thread_pool)); in __kmp_print_structure()
3423 CCAST(kmp_team_t *, __kmp_team_pool)); in __kmp_print_structure()
4209 new_thr = CCAST(kmp_info_t *, __kmp_thread_pool); in __kmp_allocate_thread()
4332 CCAST(kmp_uint64 *, &new_thr->th.th_bar[0].bb.b_go), in __kmp_allocate_thread()
4336 CCAST(kmp_uint64 *, &new_thr->th.th_bar[1].bb.b_go), in __kmp_allocate_thread()
4340 CCAST(kmp_uint64 *, &new_thr->th.th_bar[2].bb.b_go), in __kmp_allocate_thread()
5278 for (team = CCAST(kmp_team_t *, __kmp_team_pool); (team);) { in __kmp_allocate_team()
5502 team->t.t_next_pool = CCAST(kmp_team_t *, __kmp_team_pool); in __kmp_free_team()
5658 scan = CCAST(kmp_info_t **, &__kmp_thread_pool); in __kmp_free_thread()
6045 kmp_info_t *thread = CCAST(kmp_info_t *, __kmp_thread_pool); in __kmp_internal_end()
[all …]
Dkmp_os.h218 #define CCAST(type, var) const_cast<type>(var) macro
274 #define CCAST(type, var) (type)(var)
Dkmp_str.cpp314 Str = strchr(CCAST(char *, Psource), ';'); in __kmp_str_loc_numbers()
Dkmp_i18n.cpp171 KMP_INTERNAL_FREE(CCAST(char *, nlspath)); in __kmp_i18n_do_catopen()
Dkmp_tasking.cpp2882 (TCR_PTR(CCAST(void *, other_thread->th.th_sleep_loc)) != in __kmp_execute_tasks_template()
3110 if ((sleep_loc = TCR_PTR(CCAST(void *, thread->th.th_sleep_loc))) != in __kmp_enable_tasking()
3378 CCAST(kmp_uint32 *, &task_team->tt.tt_active), in __kmp_allocate_task_team()
3459 for (thread = CCAST(kmp_info_t *, __kmp_thread_pool); thread != NULL; in __kmp_wait_to_unref_task_teams()
3486 if ((sleep_loc = TCR_PTR(CCAST(void *, thread->th.th_sleep_loc))) != in __kmp_wait_to_unref_task_teams()
Dkmp_dispatch.cpp913 CCAST(dispatch_shared_info_t *, (volatile dispatch_shared_info_t *)sh); in __kmp_dispatch_init()
2549 KMP_FSYNC_SPIN_INIT(obj, CCAST(kmp_uint32 *, spin)); in __kmp_wait_4()
Dkmp_lock.cpp1825 memset(CCAST(kmp_adaptive_lock_statistics_t *, &(lck->stats)), 0, in __kmp_init_speculative_stats()
1864 memset(CCAST(kmp_adaptive_lock_statistics_t *, &lck->stats), 0, in __kmp_zero_speculative_stats()
Dz_Linux_util.cpp1619 flag = (C *)CCAST(void *, th->th.th_sleep_loc); in __kmp_resume_template()
Dkmp_csupport.cpp4193 __kmp_thread_free(th, CCAST(kmp_uint32 *, sh_buf->doacross_flags)); in __kmpc_doacross_fini()