Home
last modified time | relevance | path

Searched refs:min_len (Results 1 – 25 of 41) sorted by relevance

12

/third_party/openssl/crypto/rand/
Drand_lib.c131 int entropy, size_t min_len, size_t max_len, in rand_drbg_get_entropy() argument
151 pool = rand_pool_new(entropy, drbg->secure, min_len, max_len); in rand_drbg_get_entropy()
232 int entropy, size_t min_len, size_t max_len) in rand_drbg_get_nonce() argument
243 pool = rand_pool_new(0, 0, min_len, max_len); in rand_drbg_get_nonce()
433 size_t min_len, size_t max_len) in rand_pool_new() argument
447 pool->min_len = min_len; in rand_pool_new()
450 pool->alloc_len = min_len < min_alloc_size ? min_alloc_size : min_len; in rand_pool_new()
500 pool->min_len = pool->max_len = pool->alloc_len = pool->len; in rand_pool_attach()
600 if (pool->len < pool->min_len) in rand_pool_entropy_available()
679 if (pool->len < pool->min_len && in rand_pool_bytes_needed()
[all …]
Drand_local.h174 size_t min_len; /* minimum number of random bytes requested */ member
/third_party/toybox/toys/posix/
Dcmp.c31 int i, len1, len2, min_len, size = sizeof(toybuf)/2; local
50 min_len = len1 < len2 ? len1 : len2;
51 for (i=0; i<min_len; i++) {
/third_party/openssl/include/crypto/
Drand.h47 int entropy, size_t min_len, size_t max_len,
53 int entropy, size_t min_len, size_t max_len);
65 size_t min_len, size_t max_len);
/third_party/python/Objects/
Dstructseq.c144 Py_ssize_t len, min_len, max_len, i, n_unnamed_fields; in structseq_new_impl() local
146 min_len = VISIBLE_SIZE_TP(type); in structseq_new_impl()
147 if (min_len < 0) { in structseq_new_impl()
174 if (min_len != max_len) { in structseq_new_impl()
175 if (len < min_len) { in structseq_new_impl()
178 type->tp_name, min_len, len); in structseq_new_impl()
192 if (len != min_len) { in structseq_new_impl()
195 type->tp_name, min_len, len); in structseq_new_impl()
/third_party/boost/libs/geometry/test/algorithms/
Ddensify.cpp60 double min_len = (std::numeric_limits<double>::max)(); in shortest_length() local
65 min_len = (std::min)(min_len, len); in shortest_length()
67 return min_len; in shortest_length()
/third_party/boost/boost/hana/
Dzip_shortest_with.hpp55 constexpr std::size_t min_len = in apply() local
58 hana::take_front(static_cast<Xs&&>(xs), hana::size_c<min_len>)... in apply()
/third_party/boost/libs/hana/include/boost/hana/
Dzip_shortest_with.hpp55 constexpr std::size_t min_len = in apply() local
58 hana::take_front(static_cast<Xs&&>(xs), hana::size_c<min_len>)... in apply()
/third_party/openssl/include/openssl/
Drand_drbg.h108 int entropy, size_t min_len,
114 int entropy, size_t min_len,
/third_party/python/Lib/idlelib/
Dautocomplete_w.py65 min_len = min(len(self.start), len(newstart))
67 while i < min_len and self.start[i] == newstart[i]:
117 min_len = min(len(first_comp), len(last_comp))
119 while i < min_len and first_comp[i] == last_comp[i]:
137 min_len = min(len(lts), len(selstart))
139 while i < min_len and lts[i] == selstart[i]:
/third_party/FreeBSD/sys/dev/usb/
Dusb_request.c968 uint16_t min_len, uint16_t max_len, in usbd_req_get_desc() argument
986 if ((min_len < 2) || (max_len < 2)) { in usbd_req_get_desc()
990 USETW(req.wLength, min_len); in usbd_req_get_desc()
1007 if (min_len == max_len) { in usbd_req_get_desc()
1010 if ((buf[0] > min_len) && (actlen == NULL)) in usbd_req_get_desc()
1011 buf[0] = min_len; in usbd_req_get_desc()
1025 while (min_len > max_len) { in usbd_req_get_desc()
1026 min_len--; in usbd_req_get_desc()
1027 buf[min_len] = 0; in usbd_req_get_desc()
1032 min_len = max_len; in usbd_req_get_desc()
[all …]
Dusb_request.h51 uint16_t *actlen, void *desc, uint16_t min_len,
/third_party/libdrm/intel/
Dintel_decode.c234 unsigned int min_len; in decode_mi() member
272 if (len < opcodes_mi[opcode].min_len in decode_mi()
277 opcodes_mi[opcode].min_len, in decode_mi()
426 unsigned int min_len; in decode_2d() member
569 if (len < opcodes_2d[opcode].min_len || in decode_2d()
1278 unsigned int min_len; in decode_3d_1d() member
2260 if (len < opcode_3d_1d->min_len || in decode_3d_1d()
2549 unsigned int min_len; in decode_3d() member
2583 if (len < opcode_3d->min_len || in decode_3d()
3145 int unsigned min_len; in decode_3d_965() member
[all …]
/third_party/openssl/doc/man3/
DRAND_DRBG_set_callbacks.pod30 size_t min_len, size_t max_len,
41 size_t min_len, size_t max_len);
64 B<min_len> <= size <= B<max_len> (in bytes) which contains at least B<entropy>
/third_party/openssl/test/
Ddrbg_cavs_test.c35 int entropy, size_t min_len, size_t max_len, in kat_entropy() argument
46 int entropy, size_t min_len, size_t max_len) in kat_nonce() argument
Ddrbgtest.c133 int entropy, size_t min_len, size_t max_len, in kat_entropy() argument
144 int entropy, size_t min_len, size_t max_len) in kat_nonce() argument
519 int entropy, size_t min_len, size_t max_len, in get_entropy_hook() argument
528 ret = ctx->get_entropy(drbg, pout, entropy, min_len, max_len, in get_entropy_hook()
/third_party/e2fsprogs/e2fsck/
Drehash.c264 unsigned int he_a_len, he_b_len, min_len; in name_cmp() local
269 min_len = he_a_len; in name_cmp()
270 if (min_len > he_b_len) in name_cmp()
271 min_len = he_b_len; in name_cmp()
273 ret = memcmp(he_a->dir->name, he_b->dir->name, min_len); in name_cmp()
/third_party/skia/third_party/externals/brotli/c/enc/
Dbackward_references_hq.c418 size_t min_len; in UpdateNodes() local
430 min_len = ComputeMinimumCopyLength(min_cost, nodes, num_bytes, pos); in UpdateNodes()
445 size_t best_len = min_len - 1; in UpdateNodes()
507 size_t len = min_len; in UpdateNodes()
/third_party/node/deps/brotli/c/enc/
Dbackward_references_hq.c418 size_t min_len; in UpdateNodes() local
430 min_len = ComputeMinimumCopyLength(min_cost, nodes, num_bytes, pos); in UpdateNodes()
445 size_t best_len = min_len - 1; in UpdateNodes()
507 size_t len = min_len; in UpdateNodes()
/third_party/openssl/crypto/pem/
Dpem_lib.c33 int i, min_len; in PEM_def_callback() local
55 min_len = rwflag ? MIN_LENGTH : 0; in PEM_def_callback()
57 i = EVP_read_pw_string_min(buf, min_len, num, prompt, rwflag); in PEM_def_callback()
/third_party/gn/src/gn/
Dfilesystem_utils.cc205 size_t min_len = 3; in AbsPathLenWithNoTrailingSlash() local
208 size_t min_len = 1; in AbsPathLenWithNoTrailingSlash() local
210 for (; len > min_len && IsSlash(path[len - 1]); len--) in AbsPathLenWithNoTrailingSlash()
/third_party/jsoncpp/src/lib_json/
Djson_value.cpp296 unsigned min_len = std::min<unsigned>(this_len, other_len); in operator <() local
298 int comp = memcmp(this->cstr_, other.cstr_, min_len); in operator <()
514 unsigned min_len = std::min<unsigned>(this_len, other_len); in operator <() local
516 int comp = memcmp(this_str, other_str, min_len); in operator <()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/radius/
Dradius.h320 int radius_msg_count_attr(struct radius_msg *msg, u8 type, int min_len);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/radius/
Dradius.h323 int radius_msg_count_attr(struct radius_msg *msg, u8 type, int min_len);
/third_party/abseil-cpp/absl/container/
Dinlined_vector_test.cc874 auto min_len = std::min(l1, l2); in TYPED_TEST_P() local
889 EXPECT_EQ(tracker.swaps(), min_len); in TYPED_TEST_P()
891 max_len - min_len); in TYPED_TEST_P()
897 min_len); in TYPED_TEST_P()

12