Home
last modified time | relevance | path

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

12345678910>>...225

/NextBSD/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 …]
HDder_length.c40 size_t
43 size_t ret = 0; in _heim_len_unsigned()
58 size_t
62 size_t ret = 0; in _heim_len_int()
85 static size_t
88 size_t ret = 1; in len_oid()
89 size_t n; in len_oid()
102 size_t
103 der_length_len (size_t len) in der_length_len()
117 size_t
[all …]
/NextBSD/contrib/unbound/sldns/
HDwire2str.h48 char* sldns_wire2str_pkt(uint8_t* data, size_t len);
57 char* sldns_wire2str_rr(uint8_t* rr, size_t len);
65 char* sldns_wire2str_dname(uint8_t* dname, size_t dname_len);
96 int sldns_str_vprint(char** str, size_t* slen, const char* format, va_list args);
105 int sldns_str_print(char** str, size_t* slen, const char* format, ...)
123 int sldns_wire2str_pkt_buf(uint8_t* data, size_t data_len, char* str,
124 size_t str_len);
145 int sldns_wire2str_pkt_scan(uint8_t** data, size_t* data_len, char** str,
146 size_t* str_len);
159 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 …]
/NextBSD/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 …]
HDstdlib.h48 typedef __size_t size_t; typedef
88 void *bsearch(const void *, const void *, size_t,
89 size_t, int (*)(const void *, const void *));
90 void *calloc(size_t, size_t) __malloc_like __result_use_check
98 void *malloc(size_t) __malloc_like __result_use_check __alloc_size(1);
99 int mblen(const char *, size_t);
100 size_t mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
101 int mbtowc(wchar_t * __restrict, const char * __restrict, size_t);
102 void qsort(void *, size_t, size_t,
105 void *realloc(void *, size_t) __result_use_check __alloc_size(2);
[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 …]
HDwchar.h75 typedef __size_t size_t; typedef
116 size_t mbrlen(const char * __restrict, size_t, mbstate_t * __restrict);
117 size_t mbrtowc(wchar_t * __restrict, const char * __restrict, size_t,
120 size_t mbsrtowcs(wchar_t * __restrict, const char ** __restrict, size_t,
124 int swprintf(wchar_t * __restrict, size_t n, const wchar_t * __restrict,
130 int vswprintf(wchar_t * __restrict, size_t n, const wchar_t * __restrict,
133 size_t wcrtomb(char * __restrict, wchar_t, mbstate_t * __restrict);
139 size_t wcscspn(const wchar_t *, const wchar_t *) __pure;
140 size_t wcsftime(wchar_t * __restrict, size_t, const wchar_t * __restrict,
142 size_t wcslen(const wchar_t *) __pure;
[all …]
/NextBSD/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 …]
/NextBSD/contrib/unbound/daemon/
HDstats.h65 size_t num_queries;
67 size_t num_queries_missed_cache;
69 size_t num_queries_prefetch;
75 size_t sum_query_list_size;
77 size_t max_query_list_size;
83 size_t qtype[STATS_QTYPE_NUM];
85 size_t qtype_big;
87 size_t qclass[STATS_QCLASS_NUM];
89 size_t qclass_big;
91 size_t qopcode[STATS_OPCODE_NUM];
[all …]
/NextBSD/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 …]
/NextBSD/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 …]
/NextBSD/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 …]
/NextBSD/contrib/jemalloc/include/jemalloc/internal/
HDarena.h111 size_t bits;
112 #define CHUNK_MAP_ALLOCATED ((size_t)0x01U)
113 #define CHUNK_MAP_LARGE ((size_t)0x02U)
114 #define CHUNK_MAP_STATE_MASK ((size_t)0x3U)
116 #define CHUNK_MAP_DECOMMITTED ((size_t)0x04U)
117 #define CHUNK_MAP_UNZEROED ((size_t)0x08U)
118 #define CHUNK_MAP_DIRTY ((size_t)0x10U)
119 #define CHUNK_MAP_FLAGS_MASK ((size_t)0x1cU)
122 #define BININD_INVALID ((size_t)0xffU)
223 size_t reg_size;
[all …]
HDjemalloc_internal.h274 #define QUANTUM ((size_t)(1U << LG_QUANTUM))
281 #define LONG ((size_t)(1U << LG_SIZEOF_LONG))
314 #define PAGE ((size_t)(1U << LG_PAGE))
315 #define PAGE_MASK ((size_t)(PAGE - 1))
331 ((size_t)((uintptr_t)(a) & (alignment - 1)))
421 extern size_t opt_quarantine;
426 extern size_t opt_narenas;
437 extern size_t const index2size_tab[NSIZES];
446 void *a0malloc(size_t size);
448 void *bootstrap_malloc(size_t size);
[all …]
/NextBSD/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 …]
HDcbc128.c67 size_t len, const void *key, in CRYPTO_cbc128_encrypt()
70 size_t n; in CRYPTO_cbc128_encrypt()
77 ((size_t)in | (size_t)out | (size_t)ivec) % sizeof(size_t) != 0) { in CRYPTO_cbc128_encrypt()
89 for (n = 0; n < 16; n += sizeof(size_t)) in CRYPTO_cbc128_encrypt()
90 *(size_t *)(out + n) = in CRYPTO_cbc128_encrypt()
91 *(size_t *)(in + n) ^ *(size_t *)(iv + n); in CRYPTO_cbc128_encrypt()
117 size_t len, const void *key, in CRYPTO_cbc128_decrypt()
120 size_t n; in CRYPTO_cbc128_decrypt()
122 size_t t[16 / sizeof(size_t)]; in CRYPTO_cbc128_decrypt()
133 ((size_t)in | (size_t)out | (size_t)ivec) % sizeof(size_t) != 0) { in CRYPTO_cbc128_decrypt()
[all …]
/NextBSD/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 …]
/NextBSD/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 …]
/NextBSD/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
HDzio_compress.h40 typedef size_t zio_compress_func_t(void *src, void *dst,
41 size_t s_len, size_t d_len, int);
44 size_t s_len, size_t d_len, int);
61 extern size_t lzjb_compress(void *src, void *dst, size_t s_len, size_t d_len,
63 extern int lzjb_decompress(void *src, void *dst, size_t s_len, size_t d_len,
65 extern size_t gzip_compress(void *src, void *dst, size_t s_len, size_t d_len,
67 extern int gzip_decompress(void *src, void *dst, size_t s_len, size_t d_len,
69 extern size_t zle_compress(void *src, void *dst, size_t s_len, size_t d_len,
71 extern int zle_decompress(void *src, void *dst, size_t s_len, size_t d_len,
75 extern size_t lz4_compress(void *src, void *dst, size_t s_len, size_t d_len,
[all …]
/NextBSD/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,
37 u8 *data, size_t data_len);
[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,
96 void * aes_encrypt_init(const u8 *key, size_t len);
118 void * aes_decrypt_init(const u8 *key, size_t len);
156 size_t key_len);
168 void crypto_hash_update(struct crypto_hash *ctx, const u8 *data, size_t len);
[all …]
/NextBSD/sys/contrib/libnv/
HDnvpair_impl.h51 size_t nvpair_header_size(void);
52 size_t nvpair_size(const nvpair_t *nvp);
54 size_t *leftp, nvpair_t **nvpp);
61 size_t *leftp);
63 size_t *leftp);
65 size_t *leftp);
67 size_t *leftp);
69 size_t *leftp);
71 int64_t *fdidxp, size_t *leftp);
73 size_t *leftp);
[all …]
/NextBSD/crypto/heimdal/lib/wind/
HDwind.h62 int wind_stringprep(const uint32_t *, size_t,
63 uint32_t *, size_t *,
67 int wind_punycode_label_toascii(const uint32_t *, size_t,
68 char *, size_t *);
70 int wind_utf8ucs4(const char *, uint32_t *, size_t *);
71 int wind_utf8ucs4_length(const char *, size_t *);
73 int wind_ucs4utf8(const uint32_t *, size_t, char *, size_t *);
74 int wind_ucs4utf8_length(const uint32_t *, size_t, size_t *);
76 int wind_utf8ucs2(const char *, uint16_t *, size_t *);
77 int wind_utf8ucs2_length(const char *, size_t *);
[all …]

12345678910>>...225