| /freebsd-14.2/contrib/llvm-project/openmp/runtime/src/ |
| H A D | kmp_settings.cpp | 1704 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() 2348 CCAST(const char **, &next))) { in __kmp_parse_affinity_env() 2364 CCAST(const char **, &next)) || in __kmp_parse_affinity_env() 2369 CCAST(const char **, &next)) || in __kmp_parse_affinity_env() 2374 CCAST(const char **, &next)) || in __kmp_parse_affinity_env() 2394 CCAST(const char **, &next)) || in __kmp_parse_affinity_env() 5160 char *pos = CCAST(char *, value); in __kmp_stg_parse_hw_subset() 5916 kmp_all_threads->data = CCAST(kmp_setting_t **, rivals); in __kmp_stg_init() 5933 kmp_hw_subset->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() 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 D | kmp_wait_release.h | 161 void *get_void_p() { return RCAST(void *, CCAST(PtrType *, loc)); } 384 KMP_FSYNC_SPIN_ACQUIRED(CCAST(void *, spin)); 559 KMP_FSYNC_SPIN_PREPARE(CCAST(void *, spin)); 687 KMP_FSYNC_SPIN_ACQUIRED(CCAST(void *, spin)); 939 return (RCAST(unsigned char *, CCAST(kmp_uint64 *, loc)))[offset]; 1023 void *flag = CCAST(void *, thr->th.th_sleep_loc);
|
| H A D | kmp_dispatch.h | 304 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 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() 1830 al = RCAST(kmp_allocator_t *, CCAST(omp_allocator_handle_t, allocator)); in ___kmpc_free()
|
| H A D | kmp_runtime.cpp | 3611 CCAST(kmp_info_t *, __kmp_thread_pool)); in __kmp_print_structure() 3613 CCAST(kmp_team_t *, __kmp_team_pool)); in __kmp_print_structure() 4442 new_thr = CCAST(kmp_info_t *, __kmp_thread_pool); in __kmp_allocate_thread() 4583 CCAST(kmp_uint64 *, &new_thr->th.th_bar[0].bb.b_go), in __kmp_allocate_thread() 5515 for (team = CCAST(kmp_team_t *, __kmp_team_pool); (team);) { in __kmp_allocate_team() 5786 team->t.t_next_pool = CCAST(kmp_team_t *, __kmp_team_pool); in __kmp_free_team() 5942 scan = CCAST(kmp_info_t **, &__kmp_thread_pool); in __kmp_free_thread() 6373 kmp_info_t *thread = CCAST(kmp_info_t *, __kmp_thread_pool); in __kmp_internal_end() 6386 kmp_team_t *team = CCAST(kmp_team_t *, __kmp_team_pool); in __kmp_internal_end() 8292 KMP_INTERNAL_FREE(CCAST(char *, __kmp_cpuinfo_file)); in __kmp_cleanup() [all …]
|
| H A D | kmp_i18n.cpp | 171 KMP_INTERNAL_FREE(CCAST(char *, nlspath)); in __kmp_i18n_do_catopen()
|
| H A D | kmp_str.cpp | 316 Str = strchr(CCAST(char *, Psource), ';'); in __kmp_str_loc_numbers()
|
| H A D | kmp_os.h | 233 #define CCAST(type, var) const_cast<type>(var) macro 289 #define CCAST(type, var) (type)(var)
|
| H A D | kmp_tasking.cpp | 3439 (TCR_PTR(CCAST(void *, other_thread->th.th_sleep_loc)) != 3698 if ((sleep_loc = TCR_PTR(CCAST(void *, thread->th.th_sleep_loc))) != 3983 CCAST(kmp_uint32 *, &task_team->tt.tt_active), 4071 for (thread = CCAST(kmp_info_t *, __kmp_thread_pool); thread != NULL; 4098 if ((sleep_loc = TCR_PTR(CCAST(void *, thread->th.th_sleep_loc))) !=
|
| H A D | kmp_dispatch.cpp | 1101 CCAST(dispatch_shared_info_t *, (volatile dispatch_shared_info_t *)sh); in __kmp_dispatch_init() 2521 CCAST(dispatch_shared_info_t *, (volatile dispatch_shared_info_t *)sh); in __kmpc_sections_init() 3048 KMP_FSYNC_SPIN_INIT(obj, CCAST(kmp_uint32 *, spin)); in __kmp_wait_4()
|
| H A D | kmp_lock.cpp | 1815 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 D | z_Linux_util.cpp | 1649 flag = (C *)CCAST(void *, th->th.th_sleep_loc); in __kmp_resume_template()
|
| H A D | kmp_csupport.cpp | 4419 __kmp_thread_free(th, CCAST(kmp_uint32 *, sh_buf->doacross_flags)); in __kmpc_doacross_fini()
|
| /freebsd-14.2/contrib/file/src/ |
| H A D | buffer.c | 66 struct buffer *b = CCAST(struct buffer *, bb); in buffer_fill()
|
| H A D | compress.c | 464 buf = CAST(char *, CCAST(void *, buf)) + rv; in sread() 612 z.next_in = CCAST(Bytef *, old); in uncompresszlib() 659 bz.next_in = CCAST(char *, RCAST(const char *, old)); in uncompressbzlib() 700 xz.next_in = CCAST(const uint8_t *, old); in uncompressxzlib() 744 in.src = CCAST(const void *, old); in uncompresszstd()
|
| H A D | file.h | 432 #define CCAST(T, b) const_cast<T>(b) macro 436 #define CCAST(T, b) ((T)(uintptr_t)(b)) macro
|
| H A D | file.c | 473 if ((s = CCAST(char *, strchr(p, '='))) == NULL) in setparam() 725 p = CCAST(char *, strchr(opts, '%')); in docprint()
|
| H A D | fsmagic.c | 330 if ((tmp = CCAST(char *, strrchr(fn, '/'))) == NULL) { in file_fsmagic()
|
| H A D | softmagic.c | 2331 search = CCAST(char *, ""); in magiccheck()
|
| H A D | apprentice.c | 767 p = CCAST(char *, strchr(fn, PATHSEP)); in file_apprentice()
|