Home
last modified time | relevance | path

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

/external/openssl/crypto/rand/
Drand_lib.c196 int entropy, size_t min_len, size_t max_len) in drbg_get_entropy() argument
199 min_len = ((min_len + 19) / 20) * 20; in drbg_get_entropy()
200 *pout = OPENSSL_malloc(min_len); in drbg_get_entropy()
203 if (ssleay_rand_bytes(*pout, min_len, 0, 0) <= 0) in drbg_get_entropy()
209 return min_len; in drbg_get_entropy()
/external/elfutils/0.153/src/
Dstrings.c110 static size_t min_len = 4; variable
280 min_len = atoi (arg); in parse_opt()
312 if (min_len <= 0 || min_len > INT_MAX / bytes_per_char) in parse_opt()
315 min_len_bytes = min_len * bytes_per_char; in parse_opt()
357 if (curlen >= min_len) in process_chunk_mb()
387 if (len <= min_len) in process_chunk_mb()
422 if (curlen >= min_len) in process_chunk()
447 if (len <= min_len) in process_chunk()
/external/chromium_org/net/spdy/
Dspdy_test_utils.cc66 const int min_len = std::min(actual_len, expected_len); in CompareCharArraysWithHexError() local
70 for (int i = 0; i < min_len; ++i) { in CompareCharArraysWithHexError()
78 for (int i = min_len; i < max_len; ++i) { in CompareCharArraysWithHexError()
/external/chromium_org/third_party/leveldatabase/src/include/leveldb/
Dslice.h97 const size_t min_len = (size_ < b.size_) ? size_ : b.size_; in compare() local
98 int r = memcmp(data_, b.data_, min_len); in compare()
/external/blktrace/btt/
Dmmap.c44 static inline size_t min_len(size_t a, size_t b) in min_len() function
87 len = min_len(DEF_LEN, total_size - cur_min); in move_map()
/external/e2fsprogs/e2fsck/
Drehash.c183 int min_len; in name_cmp() local
185 min_len = he_a->dir->name_len; in name_cmp()
186 if (min_len > he_b->dir->name_len) in name_cmp()
187 min_len = he_b->dir->name_len; in name_cmp()
189 ret = strncmp(he_a->dir->name, he_b->dir->name, min_len); in name_cmp()
/external/chromium_org/net/quic/test_tools/
Dquic_test_utils.cc498 const int min_len = min(actual_len, expected_len); in CompareCharArraysWithHexError() local
502 for (int i = 0; i < min_len; ++i) { in CompareCharArraysWithHexError()
510 for (int i = min_len; i < max_len; ++i) { in CompareCharArraysWithHexError()
/external/chromium_org/net/disk_cache/blockfile/
Dentry_impl_v3.h158 bool Flush(int index, int min_len);
Dentry_impl.h230 bool Flush(int index, int min_len);
Dentry_impl_v3.cc1263 bool EntryImpl::Flush(int index, int min_len) { in Flush() argument
1269 int size = std::max(entry_.Data()->data_size[index], min_len); in Flush()
Dentry_impl.cc1442 bool EntryImpl::Flush(int index, int min_len) { in Flush() argument
1448 int size = std::max(entry_.Data()->data_size[index], min_len); in Flush()
/external/wpa_supplicant_8/src/radius/
Dradius.h296 int radius_msg_count_attr(struct radius_msg *msg, u8 type, int min_len);
Dradius.c1380 int radius_msg_count_attr(struct radius_msg *msg, u8 type, int min_len) in radius_msg_count_attr() argument
1388 attr->length >= sizeof(struct radius_attr_hdr) + min_len) in radius_msg_count_attr()
/external/strace/
Dprocess.c2333 unsigned long w, min_len; in print_affinitylist() local
2336 min_len = len - max_strlen * sizeof(w); in print_affinitylist()
2338 min_len = 0; in print_affinitylist()
2339 for (; len >= sizeof(w) && len > min_len; in print_affinitylist()
2354 tprintf(", %s}", (len >= sizeof(w) && len > min_len ? in print_affinitylist()
/external/pdfium/core/src/fxcrt/
Dfx_basic_wstring.cpp514 int min_len = this_len < that_len ? this_len : that_len; in Compare() local
515 for (int i = 0; i < min_len; i ++) { in Compare()
Dfx_basic_bstring.cpp984 int min_len = this_len < that_len ? this_len : that_len; in Compare() local
985 for (int i = 0; i < min_len; i ++) { in Compare()
/external/wpa_supplicant_8/src/eap_peer/
Deap.c364 int min_len = 1; in SM_STATE() local
374 min_len = 0; /* LEAP uses EAP-Success without payload */ in SM_STATE()
375 if (!eap_hdr_len_valid(eapReqData, min_len)) in SM_STATE()
/external/kernel-headers/original/uapi/linux/
Dnl80211.h3457 __u32 min_len, max_len, bufsize; member
/external/wpa_supplicant_8/src/drivers/
Dnl80211_copy.h3635 __u32 min_len, max_len, bufsize; member
/external/bluetooth/bluedroid/stack/include/
Dhcimsgs.h1300 … UINT16 conn_latency, UINT16 conn_timeout, UINT16 min_len, UINT16 max_len);