Home
last modified time | relevance | path

Searched refs:CAST (Results 1 – 25 of 32) sorted by relevance

12

/freebsd-12.1/contrib/file/src/
H A Dreadelf.c145 ? CAST(void *, &sh32) \
146 : CAST(void *, &sh64))
164 ? CAST(void *, &ph32) \
165 : CAST(void *, &ph64))
192 ? CAST(void *, &nh32) \
193 : CAST(void *, &nh64))
208 ? CAST(void *, &dh32) \
209 : CAST(void *, &dh64))
222 : CAST(void *, &cap64))
235 : CAST(void *, &auxv64))
[all …]
H A Dcdf.c77 CDF_TOLE2(CAST(uint16_t, x)) : \
80 CDF_TOLE8(CAST(uint64_t, x))))
845 return CAST(int, i); in cdf_find_stream()
858 return CAST(const void *, CAST(const uint8_t *, p) + l); in cdf_offset()
877 q = CAST(const uint8_t *, cdf_offset(CAST(const void *, p), in cdf_get_property_info_pos()
903 inp = CAST(cdf_property_info_t *, in cdf_grow_info()
925 if ((size_t)(CAST(const char *, e) - CAST(const char *, p)) < len) in cdf_copy_info()
992 left = CAST(size_t, e - q); in cdf_read_property_info()
1165 *cat = CAST(cdf_catalog_t *, in cdf_unpack_catalog()
1191 np = CAST(const uint16_t *, CAST(const void *, (b + 16))); in cdf_unpack_catalog()
[all …]
H A Dcompress.c97 unsigned char *s = CAST(unsigned char *, CAST(void *, &x)); in zlibcmp()
318 buf = CAST(const char *, buf) + rv; in swrite()
387 buf = CAST(char *, CCAST(void *, buf)) + rv; in sread()
512 if ((*newch = CAST(unsigned char *, malloc(bytes_max + 1))) == NULL) in uncompresszlib()
516 z.avail_in = CAST(uint32_t, *n); in uncompresszlib()
518 z.avail_out = CAST(unsigned int, bytes_max); in uncompresszlib()
653 memmove(ubuf, p, CAST(size_t, n + 1)); in filter_error()
709 copydesc(CAST(int, i), fdp[i]); in uncompressbuf()
729 *newch = CAST(unsigned char *, malloc(bytes_max + 1)); in uncompressbuf()
H A Dsoftmagic.c800 o = CAST(int32_t, (ms->offset + sizeof(char))); in moffset()
806 o = CAST(int32_t, (ms->offset + sizeof(short))); in moffset()
879 o = CAST(int32_t, ms->search.offset); in moffset()
881 o = CAST(int32_t, in moffset()
887 o = CAST(int32_t, ms->search.offset); in moffset()
1262 offset = CAST(uint32_t, nbytes); in mcopy()
1299 ((b = CAST(const char *, in mcopy()
1301 || (b = CAST(const char *, in mcopy()
1302 memchr(c, '\r', CAST(size_t, (end - c)))))); in mcopy()
1691 offset += CAST(uint32_t, o); in mget()
[all …]
H A Dapprentice.c554 if (CAST(char *, b) >= CAST(char *, p) && in apprentice_unmap()
555 CAST(char *, b) <= CAST(char *, p) + map->len) in apprentice_unmap()
1122 if ((mp = CAST(struct magic_entry *, in addentry()
1378 if ((filearr = CAST(char **, in apprentice_load()
1868 me->max_count = CAST(uint32_t, cnt); in parse()
1888 m->lineno = CAST(uint32_t, lineno); in parse()
2293 char *buf = CAST(char *, CAST(void *, m)) + off; in parse_extra()
2343 CAST(off_t, offsetof(struct magic, apple)), in parse_apple()
2356 CAST(off_t, offsetof(struct magic, ext)), in parse_ext()
2893 m->vallen = CAST(unsigned char, (p - origp)); in getstr()
[all …]
H A Dfuncs.c394 if ((pbuf = CAST(char *, realloc(ms->o.pbuf, psize))) == NULL) { in file_getbuffer()
457 ms->c.li = CAST(struct level_info *, (ms->c.li == NULL) ? in file_check_mem()
562 if ((pb = (CAST(file_pushbuf_t *, malloc(sizeof(*pb))))) == NULL) in file_push_buffer()
611 *ptr++ = ((CAST(unsigned int, *s) >> 6) & 7) + '0'; in file_printable()
612 *ptr++ = ((CAST(unsigned int, *s) >> 3) & 7) + '0'; in file_printable()
613 *ptr++ = ((CAST(unsigned int, *s) >> 0) & 7) + '0'; in file_printable()
H A Dder.c204 return CAST(uint32_t, len); in getlength()
221 const uint8_t *d = CAST(const uint8_t *, q); in der_data()
264 ms->c.li[m->cont_level - 1].off = CAST(int, offs + tlen); in der_offs()
268 return CAST(int32_t, offs); in der_offs()
H A Dencoding.c91 if ((*ubuf = CAST(unichar *, calloc((size_t)1, mlen))) == NULL) { in file_encoding()
96 if ((nbuf = CAST(unsigned char *, calloc((size_t)1, mlen))) == NULL) { in file_encoding()
H A Dfile.h377 #define CAST(T, b) static_cast<T>(b) macro
381 #define CAST(T, b) ((T)(b)) macro
H A Dprint.c241 cdf_timestamp_to_timespec(&ts, CAST(cdf_timestamp_t, v)); in file_fmttime()
H A Dascmagic.c140 if ((utf8_buf = CAST(unsigned char *, malloc(mlen))) == NULL) { in file_ascmagic_with_encoding()
H A Dmagic.c420 if ((buf = CAST(unsigned char *, malloc(ms->bytes_max + SLOP))) == NULL) in file_or_fd()
/freebsd-12.1/sys/netgraph/atm/sscfu/
H A Dng_sscfu_cust.h55 #define MEMZALLOC(PTR, CAST, SIZE) \ argument
56 ((PTR) = (CAST)malloc((SIZE), M_NG_SSCFU, M_NOWAIT | M_ZERO))
72 #define MEMZALLOC(PTR, CAST, SIZE) \ argument
73 ((PTR) = (CAST)malloc((SIZE), M_NG_SSCFU_INS, M_NOWAIT | M_ZERO))
/freebsd-12.1/crypto/openssl/doc/man3/
H A DEVP_cast5_cbc.pod10 - EVP CAST cipher
24 The CAST encryption algorithm for EVP.
36 CAST encryption algorithm in CBC, ECB, CFB and OFB modes respectively.
/freebsd-12.1/contrib/ngatm/libngatm/
H A Dsscfucust.h50 #define MEMZALLOC(PTR,CAST,SIZE) do { \ argument
54 (PTR) = (CAST)_m; \
H A Dsscopcust.h53 #define MEMZALLOC(PTR,CAST,SIZE) do { \ argument
57 (PTR) = (CAST)_m; \
/freebsd-12.1/sys/netgraph/atm/sscop/
H A Dng_sscop_cust.h63 #define MEMZALLOC(PTR, CAST, SIZE) \ argument
64 ((PTR) = (CAST)malloc((SIZE), M_NG_SSCOP, M_NOWAIT | M_ZERO))
88 #define MEMZALLOC(PTR, CAST, SIZE) \ argument
89 ((PTR) = (CAST)malloc((SIZE), M_NG_SSCOP_INS, M_NOWAIT | M_ZERO))
/freebsd-12.1/contrib/file/magic/Magdir/
H A Dgringotts16 >>8 byte&0x70 0x30 CAST-256 crypt,
34 >>8 byte&0x70 0x30 CAST-256 crypt,
H A Dmcrypt19 >3 byte 8 algorithm: CAST-128,
/freebsd-12.1/crypto/openssl/crypto/evp/
H A De_cast.c28 IMPLEMENT_BLOCK_CIPHER(cast5, ks, CAST, EVP_CAST_KEY,
/freebsd-12.1/contrib/llvm/lib/TableGen/
H A DTGParser.cpp872 return UnOpInit::get(UnOpInit::CAST, Name, CurRec->getType()); in ParseIDValue()
899 Code = UnOpInit::CAST; in ParseOperation()
2039 UnOpInit::get(UnOpInit::CAST, LHS, StringRecTy::get()) in ParseValue()
2073 UnOpInit::get(UnOpInit::CAST, RHS, StringRecTy::get()) in ParseValue()
H A DRecord.cpp700 case CAST: in Fold()
784 if (LHS != lhs || (R.isFinal() && getOpcode() == CAST)) in resolveReferences()
793 case CAST: Result = "!cast<" + getType()->getAsString() + ">"; break; in getAsString()
1397 return UnOpInit::get(UnOpInit::CAST, const_cast<TypedInit *>(this), Ty) in getCastTo()
/freebsd-12.1/contrib/sendmail/src/
H A Dconf.c5567 # define CAST (const char *) macro
5570 # define CAST macro
5591 for (i = MAXSYSLOGTRIES; --i >= 0 && syslog(pri, CAST "%s", buf) < 0; )
5595 # undef CAST
/freebsd-12.1/crypto/openssl/doc/man1/
H A Dopenssl.pod429 CAST Cipher
H A Denc.pod285 cast-cbc CAST in CBC mode

12