Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/openmp/runtime/src/
H A Dkmp_settings.cpp1476 comma = CCAST(char *, strchr(value, ',')); in __kmp_stg_parse_barrier_branch_bit()
1541 char *comma = CCAST(char *, strchr(value, ',')); in __kmp_stg_parse_barrier_pattern()
2095 CCAST(const char **, &next))) { in __kmp_parse_affinity_env()
2105 CCAST(const char **, &next)) || in __kmp_parse_affinity_env()
2110 CCAST(const char **, &next)) || in __kmp_parse_affinity_env()
2115 CCAST(const char **, &next)) || in __kmp_parse_affinity_env()
4454 char *pos = CCAST(char *, value); in __kmp_stg_parse_hw_subset()
5118 kmp_all_threads->data = CCAST(kmp_setting_t **, rivals); in __kmp_stg_init()
5135 kmp_hw_subset->data = CCAST(kmp_setting_t **, rivals); in __kmp_stg_init()
5136 kmp_place_threads->data = CCAST(kmp_setting_t **, rivals); in __kmp_stg_init()
[all …]
H A Dkmp_wait_release.h57 void *get_void_p() { return RCAST(void *, CCAST(P *, loc)); } in get_void_p()
179 KMP_FSYNC_SPIN_ACQUIRED(CCAST(void *, spin)); in __kmp_wait_template()
343 KMP_FSYNC_SPIN_PREPARE(CCAST(void *, spin)); in __kmp_wait_template()
457 KMP_FSYNC_SPIN_ACQUIRED(CCAST(void *, spin)); in __kmp_wait_template()
795 return (RCAST(unsigned char *, CCAST(kmp_uint64 *, loc)))[offset];
888 switch (RCAST(kmp_flag_64 *, CCAST(void *, flag))->get_type()) {
H A Dkmp_environment.cpp147 KMP_INTERNAL_FREE(CCAST(char *, *value)); in __kmp_env_free()
467 qsort(CCAST(kmp_env_var_t *, block->vars), block->count, in __kmp_env_blk_sort()
477 KMP_INTERNAL_FREE(CCAST(kmp_env_var_t *, block->vars)); in __kmp_env_blk_free()
H A Dkmp_taskq.cpp273 __kmp_dump_thunk(tq, CCAST(kmpc_thunk_t *, queue->tq_taskq_slot), in __kmp_dump_task_queue()
350 for (queue = CCAST(kmpc_task_queue_t *, curr_queue->tq_first_child); in __kmp_aux_dump_task_queue_tree()
543 __kmpc_taskq_free(CCAST(kmpc_shared_vars_t *, p->tq_shareds[0].ai_data), in __kmp_free_taskq()
800 pt = CCAST(kmpc_thunk_t *, queue->tq_taskq_slot); in __kmp_find_task_in_queue()
847 queue = CCAST(kmpc_task_queue_t *, curr_queue->tq_first_child); in __kmp_find_task_in_descendant_queue()
1113 queue = CCAST(kmpc_task_queue_t *, curr_queue->tq_first_child); in __kmp_find_and_remove_finished_child_taskq()
1183 queue = CCAST(kmpc_task_queue_t *, queue->tq_first_child); in __kmp_remove_all_child_taskq()
1224 CCAST(kmpc_shared_vars_t *, queue->tq_shareds[index].ai_data); in __kmp_execute_task_from_queue()
1420 *shareds = CCAST(kmpc_shared_vars_t *, new_queue->tq_shareds[0].ai_data); in __kmpc_taskq()
1461 CCAST(struct kmpc_task_queue_t *, curr_queue->tq_first_child); in __kmpc_taskq()
[all …]
H A Dkmp_dispatch.h302 KMP_FSYNC_SPIN_INIT(obj, CCAST(UT *, spin)); in __kmp_wait_yield()
430 KMP_FSYNC_RELEASING(CCAST(UT *, &sh->u.s.ordered_iteration)); in __kmp_dispatch_dxo()
H A Dkmp_alloc.cpp273 CCAST(void *, old_value), nullptr)) { in __kmp_bget_dequeue()
277 p = CCAST(void *, old_value); in __kmp_bget_dequeue()
336 b->ql.flink = BFH(CCAST(void *, old_value)); in __kmp_bget_enqueue()
339 CCAST(void *, old_value), buf)) { in __kmp_bget_enqueue()
344 b->ql.flink = BFH(CCAST(void *, old_value)); in __kmp_bget_enqueue()
H A Dkmp_os.h197 #define CCAST(type, var) const_cast<type>(var) macro
253 #define CCAST(type, var) (type)(var)
H A Dkmp_runtime.cpp3473 CCAST(kmp_info_t *, __kmp_thread_pool)); in __kmp_print_structure()
3475 CCAST(kmp_team_t *, __kmp_team_pool)); in __kmp_print_structure()
4226 new_thr = CCAST(kmp_info_t *, __kmp_thread_pool); in __kmp_allocate_thread()
5284 for (team = CCAST(kmp_team_t *, __kmp_team_pool); (team);) { in __kmp_allocate_team()
5512 team->t.t_next_pool = CCAST(kmp_team_t *, __kmp_team_pool); in __kmp_free_team()
5620 scan = CCAST(kmp_info_t **, &__kmp_thread_pool); in __kmp_free_thread()
6024 kmp_info_t *thread = CCAST(kmp_info_t *, __kmp_thread_pool); in __kmp_internal_end()
6037 kmp_team_t *team = CCAST(kmp_team_t *, __kmp_team_pool); in __kmp_internal_end()
7462 KMP_INTERNAL_FREE(CCAST(char *, __kmp_cpuinfo_file)); in __kmp_cleanup()
H A Dkmp_i18n.cpp172 KMP_INTERNAL_FREE(CCAST(char *, nlspath)); in __kmp_i18n_do_catopen()
H A Dkmp_tasking.cpp2641 (TCR_PTR(CCAST(void *, other_thread->th.th_sleep_loc)) != in __kmp_execute_tasks_template()
2860 if ((sleep_loc = TCR_PTR(CCAST(void *, thread->th.th_sleep_loc))) != in __kmp_enable_tasking()
3205 for (thread = CCAST(kmp_info_t *, __kmp_thread_pool); thread != NULL; in __kmp_wait_to_unref_task_teams()
3232 if ((sleep_loc = TCR_PTR(CCAST(void *, thread->th.th_sleep_loc))) != in __kmp_wait_to_unref_task_teams()
H A Dkmp_dispatch.cpp868 CCAST(dispatch_shared_info_t *, (volatile dispatch_shared_info_t *)sh); in __kmp_dispatch_init()
2499 KMP_FSYNC_SPIN_INIT(obj, CCAST(kmp_uint32 *, spin)); in __kmp_wait_yield_4()
H A Dkmp_lock.cpp1840 memset(CCAST(kmp_adaptive_lock_statistics_t *, &(lck->stats)), 0, in __kmp_init_speculative_stats()
1879 memset(CCAST(kmp_adaptive_lock_statistics_t *, &lck->stats), 0, in __kmp_zero_speculative_stats()
H A Dz_Linux_util.cpp1579 flag = (C *)CCAST(void *, th->th.th_sleep_loc); in __kmp_resume_template()
H A Dkmp_itt.inl372 s_line = strchr(CCAST(char *, loc->psource), ';');
H A Dkmp_csupport.cpp4150 __kmp_thread_free(th, CCAST(kmp_uint32 *, sh_buf->doacross_flags)); in __kmpc_doacross_fini()
/freebsd-12.1/contrib/file/src/
H A Dbuffer.c61 struct buffer *b = CCAST(struct buffer *, bb); in buffer_fill()
H A Dcompress.c232 CCAST(void *, compr[i].magic)))(buf); in file_zmagic()
387 buf = CAST(char *, CCAST(void *, buf)) + rv; in sread()
515 z.next_in = CCAST(Bytef *, old); in uncompresszlib()
H A Dfile.h379 #define CCAST(T, b) const_cast<T>(b) macro
383 #define CCAST(T, b) ((T)(uintptr_t)(b)) macro
H A Dsoftmagic.c2040 search = CCAST(char *, ""); in magiccheck()