Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_settings.cpp1704 comma = CCAST(char *, strchr(value, ',')); in __kmp_stg_parse_barrier_branch_bit()
1771 char *comma = CCAST(char *, strchr(value, ',')); in __kmp_stg_parse_barrier_pattern()
2306 if (__kmp_match_str("none", buf, CCAST(const char **, &next))) { in __kmp_parse_affinity_env()
2310 } else if (__kmp_match_str("scatter", buf, CCAST(const char **, &next))) { in __kmp_parse_affinity_env()
2314 } else if (__kmp_match_str("compact", buf, CCAST(const char **, &next))) { in __kmp_parse_affinity_env()
2318 } else if (__kmp_match_str("logical", buf, CCAST(const char **, &next))) { in __kmp_parse_affinity_env()
2322 } else if (__kmp_match_str("physical", buf, CCAST(const char **, &next))) { in __kmp_parse_affinity_env()
2326 } else if (__kmp_match_str("explicit", buf, CCAST(const char **, &next))) { in __kmp_parse_affinity_env()
2330 } else if (__kmp_match_str("balanced", buf, CCAST(const char **, &next))) { in __kmp_parse_affinity_env()
2334 } else if (__kmp_match_str("disabled", buf, CCAST(const char **, &next))) { in __kmp_parse_affinity_env()
[all …]
H A Dkmp_environment.cpp146 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_wait_release.h161 void *get_void_p() { return RCAST(void *, CCAST(PtrType *, loc)); }
386 KMP_FSYNC_SPIN_ACQUIRED(CCAST(void *, spin));
563 KMP_FSYNC_SPIN_PREPARE(CCAST(void *, spin));
691 KMP_FSYNC_SPIN_ACQUIRED(CCAST(void *, spin));
943 return (RCAST(unsigned char *, CCAST(kmp_uint64 *, loc)))[offset];
1027 void *flag = CCAST(void *, thr->th.th_sleep_loc);
H A Dkmp_dispatch.h304 KMP_FSYNC_SPIN_INIT(obj, CCAST(UT *, spin)); in __kmp_wait()
429 KMP_FSYNC_RELEASING(CCAST(UT *, &sh->u.s.ordered_iteration)); in __kmp_dispatch_dxo()
H A 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()
1830 al = RCAST(kmp_allocator_t *, CCAST(omp_allocator_handle_t, allocator)); in ___kmpc_free()
H A Dkmp_runtime.cpp3617 CCAST(kmp_info_t *, __kmp_thread_pool)); in __kmp_print_structure()
3619 CCAST(kmp_team_t *, __kmp_team_pool)); in __kmp_print_structure()
4440 new_thr = CCAST(kmp_info_t *, __kmp_thread_pool); in __kmp_allocate_thread()
4584 CCAST(kmp_uint64 *, &new_thr->th.th_bar[0].bb.b_go), in __kmp_allocate_thread()
4588 CCAST(kmp_uint64 *, &new_thr->th.th_bar[1].bb.b_go), in __kmp_allocate_thread()
4592 CCAST(kmp_uint64 *, &new_thr->th.th_bar[2].bb.b_go), in __kmp_allocate_thread()
5524 for (team = CCAST(kmp_team_t *, __kmp_team_pool); (team);) { in __kmp_allocate_team()
5806 team->t.t_next_pool = CCAST(kmp_team_t *, __kmp_team_pool); in __kmp_free_team()
5962 scan = CCAST(kmp_info_t **, &__kmp_thread_pool); in __kmp_free_thread()
6388 kmp_info_t *thread = CCAST(kmp_info_t *, __kmp_thread_pool); in __kmp_internal_end()
[all …]
H A Dkmp_i18n.cpp171 KMP_INTERNAL_FREE(CCAST(char *, nlspath)); in __kmp_i18n_do_catopen()
H A Dkmp_str.cpp316 Str = strchr(CCAST(char *, Psource), ';'); in __kmp_str_loc_numbers()
H A Dkmp_os.h234 #define CCAST(type, var) const_cast<type>(var) macro
290 #define CCAST(type, var) (type)(var)
H A Dkmp_tasking.cpp3449 (TCR_PTR(CCAST(void *, other_thread->th.th_sleep_loc)) !=
3708 if ((sleep_loc = TCR_PTR(CCAST(void *, thread->th.th_sleep_loc))) !=
4006 CCAST(kmp_uint32 *, &task_team->tt.tt_active),
4121 for (thread = CCAST(kmp_info_t *, __kmp_thread_pool); thread != NULL;
4148 if ((sleep_loc = TCR_PTR(CCAST(void *, thread->th.th_sleep_loc))) !=
H A Dkmp_dispatch.cpp1101 CCAST(dispatch_shared_info_t *, (volatile dispatch_shared_info_t *)sh); in __kmp_dispatch_init()
2524 CCAST(dispatch_shared_info_t *, (volatile dispatch_shared_info_t *)sh); in __kmpc_sections_init()
3056 KMP_FSYNC_SPIN_INIT(obj, CCAST(kmp_uint32 *, spin)); in __kmp_wait_4()
H A Dkmp_lock.cpp1815 memset(CCAST(kmp_adaptive_lock_statistics_t *, &(lck->stats)), 0, in __kmp_init_speculative_stats()
1854 memset(CCAST(kmp_adaptive_lock_statistics_t *, &lck->stats), 0, in __kmp_zero_speculative_stats()
H A Dz_Linux_util.cpp1677 flag = (C *)CCAST(void *, th->th.th_sleep_loc); in __kmp_resume_template()
H A Dkmp_csupport.cpp4475 __kmp_thread_free(th, CCAST(kmp_uint32 *, sh_buf->doacross_flags)); in __kmpc_doacross_fini()
/freebsd/contrib/file/src/
H A Dbuffer.c66 struct buffer *b = CCAST(struct buffer *, bb); in buffer_fill()
H A Dcompress.c478 buf = CAST(char *, CCAST(void *, buf)) + rv; in sread()
626 z.next_in = CCAST(Bytef *, old); in uncompresszlib()
673 bz.next_in = CCAST(char *, RCAST(const char *, old)); in uncompressbzlib()
714 xz.next_in = CCAST(const uint8_t *, old); in uncompressxzlib()
758 in.src = CCAST(const void *, old); in uncompresszstd()
H A Dfile.h443 #define CCAST(T, b) const_cast<T>(b) macro
447 #define CCAST(T, b) ((T)(uintptr_t)(b)) macro
H A Dfile.c471 if ((s = CCAST(char *, strchr(p, '='))) == NULL) in setparam()
723 p = CCAST(char *, strchr(opts, '%')); in docprint()
H A Dfsmagic.c330 if ((tmp = CCAST(char *, strrchr(fn, '/'))) == NULL) { in file_fsmagic()
H A Dsoftmagic.c1637 uint8_t *hb = CCAST(uint8_t *, s + offset + off); in mget()
2335 search = CCAST(char *, ""); in magiccheck()
H A Dapprentice.c771 p = CCAST(char *, strchr(fn, PATHSEP)); in file_apprentice()