Searched refs:RCAST (Results 1 - 22 of 22) sorted by last modified time

/freebsd-11-stable/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_runtime.cpp6354 KMP_SSCANF(flag_addr_str, "%p", RCAST(void**, &flag_addr));
H A Dkmp_os.h219 #define RCAST(type, var) reinterpret_cast<type>(var) macro
275 #define RCAST(type, var) (type)(var) macro
H A Dkmp_gsupport.cpp1764 __kmpc_doacross_post(&loc, gtid, RCAST(kmp_int64 *, count));
1821 __kmpc_doacross_post(&loc, gtid, RCAST(kmp_int64 *, count));
H A Dkmp_wait_release.h56 void *get_void_p() { return RCAST(void *, CCAST(P *, loc)); }
81 void *get_void_p() { return RCAST(void *, loc); }
522 return KMP_TEST_THEN_ADD4_32(RCAST(volatile kmp_int32 *, f));
537 return KMP_TEST_THEN_ADD4_64(RCAST(volatile kmp_int64 *, f));
825 return (RCAST(unsigned char *, CCAST(kmp_uint64 *, loc)))[offset];
918 switch (RCAST(kmp_flag_64 *, CCAST(void *, flag))->get_type()) {
H A Dkmp_tasking.cpp773 RCAST(kmp_int32 *, &taskdata->td_flags),
774 *RCAST(kmp_int32 *, &flags_old),
775 *RCAST(kmp_int32 *, &flags_new))) {
1106 if (KMP_COMPARE_AND_STORE_ACQ32(RCAST(kmp_int32 *, &task->td_flags),
1107 *RCAST(kmp_int32 *, &flags_old),
1108 *RCAST(kmp_int32 *, &flags_new))) {
1852 kmp_flag_32 flag(RCAST(std::atomic<kmp_uint32> *,
2481 kmp_flag_32 flag(RCAST(std::atomic<kmp_uint32> *, &(taskgroup->count)),
3555 kmp_flag_32 flag(RCAST(std::atomic<kmp_uint32> *,
3584 std::atomic<kmp_uint32> *spin = RCAST(
[all...]
H A Dkmp_stats.cpp365 const kmp_stats_event *ev1 = RCAST(const kmp_stats_event *, event1);
366 const kmp_stats_event *ev2 = RCAST(const kmp_stats_event *, event2);
H A Dkmp_settings.cpp4962 const kmp_setting_t *a = RCAST(const kmp_setting_t *, _a);
4963 const kmp_setting_t *b = RCAST(const kmp_setting_t *, _b);
H A Dkmp_lock.cpp1428 RCAST(volatile kmp_int64 *, tail_id_p), KMP_PACK_64(head, head),
H A Dkmp_dispatch_hier.h277 (RCAST(volatile char *, &(bdata->val[current_index])))[id] = v;
323 val = RCAST(volatile kmp_int64 *, &(bdata->val[current_index]));
H A Dkmp_dispatch.cpp1537 init = test_then_add<ST>(RCAST(volatile ST *, &sh->u.s.iteration),
1556 if (compare_and_swap<ST>(RCAST(volatile ST *, &sh->u.s.iteration),
1606 init = test_then_add<ST>(RCAST(volatile ST *, &sh->u.s.iteration),
1629 if (compare_and_swap<ST>(RCAST(volatile ST *, &sh->u.s.iteration),
H A Dkmp_barrier.cpp1088 (RCAST(volatile char *,
H A Dkmp_alloc.cpp1369 al->fb_data = RCAST(kmp_allocator_t *, traits[i].value);
1372 al->memkind = RCAST(void **, traits[i].value);
1452 al = RCAST(kmp_allocator_t *, CCAST(omp_allocator_handle_t, allocator));
1585 al = RCAST(kmp_allocator_t *, CCAST(omp_allocator_handle_t, allocator));
/freebsd-11-stable/contrib/file/src/
H A Dsoftmagic.c812 cp = strndup(RCAST(const char *, ms->search.s),
1351 ms->search.s = RCAST(const char *, s) + offset;
1383 buf = RCAST(const char *, s) + offset;
1384 end = last = RCAST(const char *, s) + bytecnt + offset;
1465 (void)memset(RCAST(char *, RCAST(void *, p)) + nbytes, '\0',
1599 mdebug(offset, RCAST(char *, RCAST(void *, p)),
1611 RCAST(const void *, s + offset + off));
1761 mdebug(offset, RCAST(cha
[all...]
H A Dreadelf.c546 if (namesz == 4 && strcmp(RCAST(char *, &nbuf[noff]), "GNU") == 0 &&
574 if (namesz == 4 && strcmp(RCAST(char *, &nbuf[noff]), "Go") == 0 &&
579 RCAST(const char *, &nbuf[doff]))) == -1)
591 const char *name = RCAST(const char *, &nbuf[noff]);
690 const char *name = RCAST(const char *, &nbuf[noff]);
732 const char *name = RCAST(const char *, &nbuf[noff]);
782 RCAST(char *, pi.cpi_name), sizeof(pi.cpi_name)),
811 elf_getu32(swap, *RCAST(uint32_t *, (nbuf +
1235 if (namesz == 7 && strcmp(RCAST(char *, &nbuf[noff]), "NetBSD") == 0) {
1266 str = RCAST(cons
[all...]
H A Dmagic.c315 return buffer_apprentice(ms, RCAST(struct magic **, bufs),
480 while ((r = sread(fd, RCAST(void *, &buf[nbytes]),
502 if ((nbytes = read(fd, RCAST(void *, buf), howmany)) == -1) {
H A Dfuncs.c738 const unsigned char *s = RCAST(const unsigned char *, str);
H A Dfile.h396 #define RCAST(T, b) reinterpret_cast<T>(b) macro
400 #define RCAST(T, b) ((T)(uintptr_t)(b)) macro
H A Dder.c243 return snprintf(buf, blen, "%.*s", len, RCAST(const char *, q));
266 const uint8_t *b = RCAST(const uint8_t *, ms->search.s);
304 const uint8_t *b = RCAST(const uint8_t *, ms->search.s);
H A Dcompress.c594 strlcpy(RCAST(char *, *newch), z.msg ? z.msg : zError(rc), bytes_max);
595 *n = strlen(RCAST(char *, *newch));
616 bz.next_in = CCAST(char *, RCAST(const char *, old));
618 bz.next_out = RCAST(char *, *newch);
637 snprintf(RCAST(char *, *newch), bytes_max, "bunzip error %d", rc);
638 *n = strlen(RCAST(char *, *newch));
661 xz.next_out = RCAST(uint8_t *, *newch);
677 snprintf(RCAST(char *, *newch), bytes_max, "unxz error %d", rc);
678 *n = strlen(RCAST(char *, *newch));
699 *buf = RCAST(unsigne
[all...]
H A Dapprentice.c1269 return strcmp(*RCAST(char *const *, p1), *RCAST(char *const *, p2));
3339 uint8_t *s = RCAST(uint8_t *, RCAST(void *, &sv));
3340 uint8_t *d = RCAST(uint8_t *, RCAST(void *, &rv));
3353 uint8_t *s = RCAST(uint8_t *, RCAST(void *, &sv));
3354 uint8_t *d = RCAST(uint8_t *, RCAST(voi
[all...]
H A Dis_tar.c101 const union record *header = RCAST(const union record *,
102 RCAST(const void *, buf));
H A Dcdf.c130 uint8_t *s = RCAST(uint8_t *, RCAST(void *, &sv));
131 uint8_t *d = RCAST(uint8_t *, RCAST(void *, &rv));
144 uint8_t *s = RCAST(uint8_t *, RCAST(void *, &sv));
145 uint8_t *d = RCAST(uint8_t *, RCAST(void *, &rv));
160 uint8_t *s = RCAST(uint8_t *, RCAST(voi
[all...]

Completed in 547 milliseconds