Home
last modified time | relevance | path

Searched refs:size_t (Results 1 – 25 of 7054) sorted by relevance

12345678910>>...283

/freebsd-11-stable/crypto/heimdal/lib/asn1/
HDder-protos.h24 size_t /*len*/,
26 size_t */*size*/);
31 size_t /*len*/,
33 size_t */*size*/);
158 size_t /*len*/,
160 size_t */*size*/);
165 size_t /*len*/,
167 size_t */*size*/);
172 size_t /*len*/,
174 size_t */*size*/);
[all …]
/freebsd-11-stable/contrib/unbound/sldns/
HDwire2str.h50 char* sldns_wire2str_pkt(uint8_t* data, size_t len);
59 char* sldns_wire2str_rr(uint8_t* rr, size_t len);
67 char* sldns_wire2str_dname(uint8_t* dname, size_t dname_len);
98 int sldns_str_vprint(char** str, size_t* slen, const char* format, va_list args);
107 int sldns_str_print(char** str, size_t* slen, const char* format, ...)
125 int sldns_wire2str_pkt_buf(uint8_t* data, size_t data_len, char* str,
126 size_t str_len);
147 int sldns_wire2str_pkt_scan(uint8_t** data, size_t* data_len, char** str,
148 size_t* str_len);
162 int sldns_wire2str_rr_scan(uint8_t** data, size_t* data_len, char** str,
[all …]
HDstr2wire.h44 int sldns_str2wire_dname_buf(const char* str, uint8_t* buf, size_t* len);
56 int sldns_str2wire_dname_buf_origin(const char* str, uint8_t* buf, size_t* len,
57 uint8_t* origin, size_t origin_len);
65 uint8_t* sldns_str2wire_dname(const char* str, size_t* len);
86 int sldns_str2wire_rr_buf(const char* str, uint8_t* rr, size_t* len,
87 size_t* dname_len, uint32_t default_ttl, uint8_t* origin,
88 size_t origin_len, uint8_t* prev, size_t prev_len);
106 int sldns_str2wire_rr_question_buf(const char* str, uint8_t* rr, size_t* len,
107 size_t* dname_len, uint8_t* origin, size_t origin_len, uint8_t* prev,
108 size_t prev_len);
[all …]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/
HDFuzzerMutate.h32 size_t Mutate_Custom(uint8_t *Data, size_t Size, size_t MaxSize);
34 size_t Mutate_CustomCrossOver(uint8_t *Data, size_t Size, size_t MaxSize);
36 size_t Mutate_ShuffleBytes(uint8_t *Data, size_t Size, size_t MaxSize);
38 size_t Mutate_EraseBytes(uint8_t *Data, size_t Size, size_t MaxSize);
40 size_t Mutate_InsertByte(uint8_t *Data, size_t Size, size_t MaxSize);
42 size_t Mutate_InsertRepeatedBytes(uint8_t *Data, size_t Size, size_t MaxSize);
44 size_t Mutate_ChangeByte(uint8_t *Data, size_t Size, size_t MaxSize);
46 size_t Mutate_ChangeBit(uint8_t *Data, size_t Size, size_t MaxSize);
48 size_t Mutate_CopyPart(uint8_t *Data, size_t Size, size_t MaxSize);
51 size_t Mutate_AddWordFromManualDictionary(uint8_t *Data, size_t Size,
[all …]
HDFuzzerMutate.cpp20 const size_t Dictionary::kMaxDictSize;
68 size_t MutationDispatcher::Mutate_Custom(uint8_t *Data, size_t Size, in Mutate_Custom()
69 size_t MaxSize) { in Mutate_Custom()
73 size_t MutationDispatcher::Mutate_CustomCrossOver(uint8_t *Data, size_t Size, in Mutate_CustomCrossOver()
74 size_t MaxSize) { in Mutate_CustomCrossOver()
83 size_t NewSize = EF->LLVMFuzzerCustomCrossOver( in Mutate_CustomCrossOver()
92 size_t MutationDispatcher::Mutate_ShuffleBytes(uint8_t *Data, size_t Size, in Mutate_ShuffleBytes()
93 size_t MaxSize) { in Mutate_ShuffleBytes()
95 size_t ShuffleAmount = in Mutate_ShuffleBytes()
96 Rand(std::min(Size, (size_t)8)) + 1; // [1,8] and <= Size. in Mutate_ShuffleBytes()
[all …]
/freebsd-11-stable/include/
HDmalloc_np.h40 typedef void *(chunk_alloc_t)(void *, size_t, size_t, bool *, bool *, unsigned);
41 typedef bool (chunk_dalloc_t)(void *, size_t, bool, unsigned);
42 typedef bool (chunk_commit_t)(void *, size_t, size_t, size_t, unsigned);
43 typedef bool (chunk_decommit_t)(void *, size_t, size_t, size_t, unsigned);
44 typedef bool (chunk_purge_t)(void *, size_t, size_t, size_t, unsigned);
45 typedef bool (chunk_split_t)(void *, size_t, size_t, size_t, bool, unsigned);
46 typedef bool (chunk_merge_t)(void *, size_t, void *, size_t, bool, unsigned);
57 size_t malloc_usable_size(const void *ptr);
61 int mallctl(const char *name, void *oldp, size_t *oldlenp, void *newp,
62 size_t newlen);
[all …]
HDstring.h49 typedef __size_t size_t; typedef
55 void *memccpy(void * __restrict, const void * __restrict, int, size_t);
57 void *memchr(const void *, int, size_t) __pure;
59 void *memrchr(const void *, int, size_t) __pure;
61 int memcmp(const void *, const void *, size_t) __pure;
62 void *memcpy(void * __restrict, const void * __restrict, size_t);
64 void *memmem(const void *, size_t, const void *, size_t) __pure;
66 void *memmove(void *, const void *, size_t);
67 void *memset(void *, int, size_t);
70 char *stpncpy(char * __restrict, const char * __restrict, size_t);
[all …]
HDstdlib.h50 typedef __size_t size_t; typedef
90 void *bsearch(const void *, const void *, size_t,
91 size_t, int (*)(const void * _Nonnull, const void *));
92 void *calloc(size_t, size_t) __malloc_like __result_use_check
100 void *malloc(size_t) __malloc_like __result_use_check __alloc_size(1);
101 int mblen(const char *, size_t);
102 size_t mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
103 int mbtowc(wchar_t * __restrict, const char * __restrict, size_t);
104 void qsort(void *, size_t, size_t,
107 void *realloc(void *, size_t) __result_use_check __alloc_size(2);
[all …]
/freebsd-11-stable/contrib/libstdc++/src/
Dvalarray-inst.cc40 __valarray_fill(size_t* __restrict__, size_t, const size_t&);
43 __valarray_copy(const size_t* __restrict__, size_t, size_t* __restrict__);
45 template valarray<size_t>::valarray(size_t);
46 template valarray<size_t>::valarray(const valarray<size_t>&);
47 template valarray<size_t>::~valarray();
48 template size_t valarray<size_t>::size() const;
49 template size_t& valarray<size_t>::operator[](size_t);
51 inline size_t
52 __valarray_product(const valarray<size_t>& __a) in __valarray_product()
54 typedef const size_t* __restrict__ _Tp; in __valarray_product()
[all …]
/freebsd-11-stable/contrib/libarchive/libarchive/
HDarchive_blake2.h58 size_t buflen;
59 size_t outlen;
69 size_t buflen;
70 size_t outlen;
79 size_t buflen;
80 size_t outlen;
88 size_t buflen;
89 size_t outlen;
147 int blake2s_init( blake2s_state *S, size_t outlen );
148 int blake2s_init_key( blake2s_state *S, size_t outlen, const void *key, size_t keylen );
[all …]
/freebsd-11-stable/lib/libc/locale/
HDeuc.c57 static size_t _EUC_mbrtowc_impl(wchar_t * __restrict, const char * __restrict,
58 size_t, mbstate_t * __restrict, uint8_t, uint8_t, uint8_t, uint8_t);
59 static size_t _EUC_wcrtomb_impl(char * __restrict, wchar_t,
62 static size_t _EUC_CN_mbrtowc(wchar_t * __restrict, const char * __restrict,
63 size_t, mbstate_t * __restrict);
64 static size_t _EUC_JP_mbrtowc(wchar_t * __restrict, const char * __restrict,
65 size_t, mbstate_t * __restrict);
66 static size_t _EUC_KR_mbrtowc(wchar_t * __restrict, const char * __restrict,
67 size_t, mbstate_t * __restrict);
68 static size_t _EUC_TW_mbrtowc(wchar_t * __restrict, const char * __restrict,
[all …]
HDutf8.c47 static size_t _UTF8_mbrtowc(wchar_t * __restrict, const char * __restrict,
48 size_t, mbstate_t * __restrict);
50 static size_t _UTF8_mbsnrtowcs(wchar_t * __restrict,
51 const char ** __restrict, size_t, size_t,
53 static size_t _UTF8_wcrtomb(char * __restrict, wchar_t,
55 static size_t _UTF8_wcsnrtombs(char * __restrict, const wchar_t ** __restrict,
56 size_t, size_t, mbstate_t * __restrict);
92 static size_t
93 _UTF8_mbrtowc(wchar_t * __restrict pwc, const char * __restrict s, size_t n, in _UTF8_mbrtowc()
104 return ((size_t)-1); in _UTF8_mbrtowc()
[all …]
/freebsd-11-stable/contrib/libstdc++/libsupc++/
Dvec.cc70 __cxa_vec_new(std::size_t element_count, in __cxa_vec_new()
71 std::size_t element_size, in __cxa_vec_new()
72 std::size_t padding_size, in __cxa_vec_new()
82 __cxa_vec_new2(std::size_t element_count, in __cxa_vec_new2() argument
83 std::size_t element_size, in __cxa_vec_new2()
84 std::size_t padding_size, in __cxa_vec_new2()
87 void *(*alloc) (std::size_t), in __cxa_vec_new2()
90 std::size_t size = element_count * element_size + padding_size; in __cxa_vec_new2()
98 reinterpret_cast <std::size_t *> (base)[-1] = element_count; in __cxa_vec_new2()
100 reinterpret_cast <std::size_t *> (base)[-2] = element_size; in __cxa_vec_new2()
[all …]
/freebsd-11-stable/contrib/jemalloc/include/jemalloc/internal/
HDarena.h125 size_t bits;
126 #define CHUNK_MAP_ALLOCATED ((size_t)0x01U)
127 #define CHUNK_MAP_LARGE ((size_t)0x02U)
128 #define CHUNK_MAP_STATE_MASK ((size_t)0x3U)
130 #define CHUNK_MAP_DECOMMITTED ((size_t)0x04U)
131 #define CHUNK_MAP_UNZEROED ((size_t)0x08U)
132 #define CHUNK_MAP_DIRTY ((size_t)0x10U)
133 #define CHUNK_MAP_FLAGS_MASK ((size_t)0x1cU)
136 #define BININD_INVALID ((size_t)0xffU)
236 size_t reg_size;
[all …]
HDjemalloc_internal.h279 #define QUANTUM ((size_t)(1U << LG_QUANTUM))
286 #define LONG ((size_t)(1U << LG_SIZEOF_LONG))
319 #define PAGE ((size_t)(1U << LG_PAGE))
320 #define PAGE_MASK ((size_t)(PAGE - 1))
336 ((size_t)((uintptr_t)(a) & (alignment - 1)))
434 extern size_t opt_quarantine;
459 extern size_t const index2size_tab[NSIZES+1];
467 void *a0malloc(size_t size);
469 void *bootstrap_malloc(size_t size);
470 void *bootstrap_calloc(size_t num, size_t size);
[all …]
/freebsd-11-stable/contrib/libstdc++/include/ext/pb_ds/detail/resize_policy/
Dhash_prime_size_policy_imp.hpp53 num_distinct_sizes = sizeof(std::size_t) != 8 ?
59 static const std::size_t g_a_sizes[num_distinct_sizes_64_bit] =
91 /* 30 */ (std::size_t)8589934583ull,
92 /* 31 */ (std::size_t)17179869143ull,
93 /* 32 */ (std::size_t)34359738337ull,
94 /* 33 */ (std::size_t)68719476731ull,
95 /* 34 */ (std::size_t)137438953447ull,
96 /* 35 */ (std::size_t)274877906899ull,
97 /* 36 */ (std::size_t)549755813881ull,
98 /* 37 */ (std::size_t)1099511627689ull,
[all …]
/freebsd-11-stable/contrib/libstdc++/include/std/
Dstd_bitset.h77 template<size_t _Nw>
94 static size_t
95 _S_whichword(size_t __pos ) in _S_whichword()
98 static size_t
99 _S_whichbyte(size_t __pos ) in _S_whichbyte()
102 static size_t
103 _S_whichbit(size_t __pos ) in _S_whichbit()
107 _S_maskbit(size_t __pos ) in _S_maskbit()
111 _M_getword(size_t __pos) in _M_getword()
115 _M_getword(size_t __pos) const in _M_getword()
[all …]
/freebsd-11-stable/crypto/openssl/crypto/modes/
HDmodes.h17 size_t len, const void *key,
21 size_t blocks, const void *key,
25 size_t blocks, const void *key,
30 size_t len, const void *key,
33 size_t len, const void *key,
37 size_t len, const void *key,
43 size_t len, const void *key,
49 size_t len, const void *key,
54 size_t len, const void *key,
58 size_t length, const void *key,
[all …]
/freebsd-11-stable/lib/libssp/
HDfortify_stubs.c37 void *__memcpy_chk(void *dst, const void *src, size_t len,
38 size_t dstlen);
39 void *__memset_chk(void *dst, int c, size_t len, size_t dstlen);
40 int __snprintf_chk(char *str, size_t maxlen, int flag, size_t strlen,
42 int __sprintf_chk(char *str, int flag, size_t strlen, const char *fmt, ...);
43 char *__stpcpy_chk(char *dst, const char *src, size_t dstlen);
44 char *__strcat_chk(char *dst, const char *src, size_t dstlen);
45 char *__strcpy_chk(char *dst, const char *src, size_t dstlen);
46 char *__strncat_chk(char *dst, const char *src, size_t len, size_t dstlen);
47 char *__strncpy_chk(char *dst, const char *src, size_t len, size_t dstlen);
[all …]
/freebsd-11-stable/contrib/ofed/libibverbs/
HDdriver.h120 size_t sz;
121 size_t size_of_context;
138 size_t cmd_size, struct ibv_get_context_resp *resp,
139 size_t resp_size);
143 struct ibv_query_device *cmd, size_t cmd_size);
146 struct ibv_device_attr_ex *attr, size_t attr_size,
149 size_t cmd_core_size,
150 size_t cmd_size,
152 size_t resp_core_size,
153 size_t resp_size);
[all …]
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
HDzio_compress.h61 typedef size_t zio_compress_func_t(void *src, void *dst,
62 size_t s_len, size_t d_len, int);
65 size_t s_len, size_t d_len, int);
72 size_t s_len, size_t d_len, int);
89 extern size_t lzjb_compress(void *src, void *dst, size_t s_len, size_t d_len,
91 extern int lzjb_decompress(void *src, void *dst, size_t s_len, size_t d_len,
93 extern size_t gzip_compress(void *src, void *dst, size_t s_len, size_t d_len,
95 extern int gzip_decompress(void *src, void *dst, size_t s_len, size_t d_len,
97 extern size_t zle_compress(void *src, void *dst, size_t s_len, size_t d_len,
99 extern int zle_decompress(void *src, void *dst, size_t s_len, size_t d_len,
[all …]
HDabd.h59 typedef int abd_iter_func_t(void *, size_t, void *);
60 typedef int abd_iter_func2_t(void *, void *, size_t, void *);
74 abd_t *abd_alloc(size_t, boolean_t);
75 abd_t *abd_alloc_linear(size_t, boolean_t);
76 abd_t *abd_alloc_for_io(size_t, boolean_t);
77 abd_t *abd_alloc_sametype(abd_t *, size_t);
79 abd_t *abd_get_offset(abd_t *, size_t);
80 abd_t *abd_get_from_buf(void *, size_t);
88 void *abd_borrow_buf(abd_t *, size_t);
89 void *abd_borrow_buf_copy(abd_t *, size_t);
[all …]
/freebsd-11-stable/contrib/libstdc++/include/tr1/
Dfunctional_hash.h53 : public std::unary_function<_Tp, std::size_t> \
55 std::size_t \
57 { return static_cast<std::size_t>(__val); } \
78 : public std::unary_function<_Tp*, std::size_t>
80 std::size_t
82 { return reinterpret_cast<std::size_t>(__p); }
89 template<std::size_t = sizeof(std::size_t)>
92 static std::size_t
93 hash(const char* __first, std::size_t __length)
95 std::size_t __result = 0;
[all …]
/freebsd-11-stable/contrib/wpa/src/crypto/
HDaes_wrap.h21 int __must_check aes_wrap(const u8 *kek, size_t kek_len, int n, const u8 *plain,
23 int __must_check aes_unwrap(const u8 *kek, size_t kek_len, int n,
25 int __must_check omac1_aes_vector(const u8 *key, size_t key_len,
26 size_t num_elem, const u8 *addr[],
27 const size_t *len, u8 *mac);
28 int __must_check omac1_aes_128_vector(const u8 *key, size_t num_elem,
29 const u8 *addr[], const size_t *len,
31 int __must_check omac1_aes_128(const u8 *key, const u8 *data, size_t data_len,
33 int __must_check omac1_aes_256(const u8 *key, const u8 *data, size_t data_len,
36 int __must_check aes_ctr_encrypt(const u8 *key, size_t key_len, const u8 *nonce,
[all …]
HDcrypto.h32 int md4_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac);
42 int md5_vector(size_t num_elem, const u8 *addr[], const size_t *len, u8 *mac);
53 int sha1_vector(size_t num_elem, const u8 *addr[], const size_t *len,
68 int __must_check fips186_2_prf(const u8 *seed, size_t seed_len, u8 *x,
69 size_t xlen);
79 int sha256_vector(size_t num_elem, const u8 *addr[], const size_t *len,
90 int sha384_vector(size_t num_elem, const u8 *addr[], const size_t *len,
101 int sha512_vector(size_t num_elem, const u8 *addr[], const size_t *len,
119 void * aes_encrypt_init(const u8 *key, size_t len);
142 void * aes_decrypt_init(const u8 *key, size_t len);
[all …]

12345678910>>...283