| /src/external/bsd/file/dist/src/ |
| swap.c | 54 uint8_t *s = RCAST(uint8_t *, RCAST(void *, &sv)); 55 uint8_t *d = RCAST(uint8_t *, RCAST(void *, &rv)); 68 uint8_t *s = RCAST(uint8_t *, RCAST(void *, &sv)); 69 uint8_t *d = RCAST(uint8_t *, RCAST(void *, &rv)); 84 uint8_t *s = RCAST(uint8_t *, RCAST(void *, &sv)) [all...] |
| is_tar.c | 109 const union record *header = RCAST(const union record *, 110 RCAST(const void *, buf));
|
| compress.c | 678 bz.next_in = CCAST(char *, RCAST(const char *, old)); 680 bz.next_out = RCAST(char *, *newch); 721 xz.next_out = RCAST(uint8_t *, *newch); 766 out.dst = RCAST(void *, *newch); 867 in = fmemopen(RCAST(void *, old), *n, "r"); 924 *buf = RCAST(unsigned char *, msg); 952 posix_spawn_file_actions_t *fa = RCAST(posix_spawn_file_actions_t *, v); 968 posix_spawn_file_actions_t *fa = RCAST(posix_spawn_file_actions_t *, v); 1036 buf = RCAST(char *, ubuf); 1187 args = RCAST(char *const *, RCAST(intptr_t, compr[method].argv)) [all...] |
| cdf.c | 154 uint8_t *s = RCAST(uint8_t *, RCAST(void *, &sv)); 155 uint8_t *d = RCAST(uint8_t *, RCAST(void *, &rv)); 168 uint8_t *s = RCAST(uint8_t *, RCAST(void *, &sv)); 169 uint8_t *d = RCAST(uint8_t *, RCAST(void *, &rv)); 184 uint8_t *s = RCAST(uint8_t *, RCAST(void *, &sv)) [all...] |
| readelf.c | 577 if (NAMEEQUALS(RCAST(char *, &nbuf[noff]), "GNU") && 605 if (namesz == 4 && memcmp(RCAST(char *, &nbuf[noff]), "Go", 3) == 0 && 610 RCAST(const char *, &nbuf[doff]))) == -1) 622 const char *name = RCAST(const char *, &nbuf[noff]); 739 const char *name = RCAST(const char *, &nbuf[noff]); 778 const char *name = RCAST(const char *, &nbuf[noff]); 819 const char *name = RCAST(const char *, &nbuf[noff]); 868 RCAST(char *, pi.cpi_name), sizeof(pi.cpi_name)), 899 elf_getu32(swap, *RCAST(uint32_t *, (nbuf + 1010 RCAST(char *, cname))) == -1 [all...] |
| der.c | 250 return snprintf(buf, blen, "%.*s", len, RCAST(const char *, q)); 272 const uint8_t *b = RCAST(const uint8_t *, ms->search.s); 311 const uint8_t *b = RCAST(const uint8_t *, ms->search.s);
|
| softmagic.c | 798 cp = strndup(RCAST(const char *, ms->search.s), 1398 ms->search.s = RCAST(const char *, s) + offset; 1430 buf = RCAST(const char *, s) + offset; 1431 end = last = RCAST(const char *, s) + bytecnt + offset; 1516 (void)memset(RCAST(char *, RCAST(void *, p)) + nbytes, '\0', 1696 mdebug(offset, RCAST(char *, RCAST(void *, p)), 1887 mdebug(offset, RCAST(char *, RCAST(void *, p)) [all...] |
| magic.c | 341 return buffer_apprentice(ms, RCAST(struct magic **, bufs), 508 while ((r = sread(fd, RCAST(void *, &buf[nbytes]), 530 if ((nbytes = read(fd, RCAST(void *, buf), howmany)) == -1) {
|
| file.h | 451 #define RCAST(T, b) reinterpret_cast<T>(b) 455 #define RCAST(T, b) ((T)(uintptr_t)(b))
|
| apprentice.c | 607 char *b = RCAST(char *, map->magic[i]); 1424 return strcmp(*RCAST(char *const *, p1), *RCAST(char *const *, p2)); 3659 const unsigned char *s = RCAST(const unsigned char *, ss);
|
| funcs.c | 868 const unsigned char *s = RCAST(const unsigned char *, str);
|