Home
last modified time | relevance | path

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

/netbsd/src/external/bsd/file/dist/src/
Dcompress.c470 buf = CAST(char *, CCAST(void *, buf)) + rv; in sread()
618 z.next_in = CCAST(Bytef *, old); in uncompresszlib()
665 bz.next_in = CCAST(char *, RCAST(const char *, old)); in uncompressbzlib()
706 xz.next_in = CCAST(const uint8_t *, old); in uncompressxzlib()
750 in.src = CCAST(const void *, old); in uncompresszstd()
Dbuffer.c72 struct buffer *b = CCAST(struct buffer *, bb); in buffer_fill()
Dfile.h434 #define CCAST(T, b) const_cast<T>(b) macro
438 #define CCAST(T, b) ((T)(uintptr_t)(b)) macro
Dfile.c479 if ((s = CCAST(char *, strchr(p, '='))) == NULL) in setparam()
731 p = CCAST(char *, strchr(opts, '%')); in docprint()
Dfsmagic.c336 if ((tmp = CCAST(char *, strrchr(fn, '/'))) == NULL) { in file_fsmagic()
Dsoftmagic.c2337 search = CCAST(char *, ""); in magiccheck()
Dapprentice.c773 p = CCAST(char *, strchr(fn, PATHSEP)); in file_apprentice()