Home
last modified time | relevance | path

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

12

/external/python/cpython3/Objects/
Dstructseq.c93 Py_ssize_t len, min_len, max_len, i, n_unnamed_fields; in structseq_new_impl() local
110 min_len = VISIBLE_SIZE_TP(type); in structseq_new_impl()
114 if (min_len != max_len) { in structseq_new_impl()
115 if (len < min_len) { in structseq_new_impl()
118 type->tp_name, min_len, len); in structseq_new_impl()
132 if (len != min_len) { in structseq_new_impl()
135 type->tp_name, min_len, len); in structseq_new_impl()
Dbytesobject.c1574 Py_ssize_t min_len; in bytes_richcompare() local
1635 min_len = Py_MIN(len_a, len_b); in bytes_richcompare()
1636 if (min_len > 0) { in bytes_richcompare()
1639 c = memcmp(a->ob_sval, b->ob_sval, min_len); in bytes_richcompare()
/external/elfutils/src/
Dstrings.c105 static size_t min_len = 4; variable
268 min_len = atoi (arg); in parse_opt()
300 if (min_len <= 0 || min_len > INT_MAX / bytes_per_char) in parse_opt()
303 min_len_bytes = min_len * bytes_per_char; in parse_opt()
345 if (curlen >= min_len) in process_chunk_mb()
378 if (len <= min_len) in process_chunk_mb()
413 if (curlen >= min_len) in process_chunk()
441 if (len <= min_len) in process_chunk()
/external/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++) {
/external/python/cpython2/Objects/
Dstructseq.c149 Py_ssize_t len, min_len, max_len, i, n_unnamed_fields; in structseq_new() local
171 min_len = VISIBLE_SIZE_TP(type); in structseq_new()
175 if (min_len != max_len) { in structseq_new()
176 if (len < min_len) { in structseq_new()
179 type->tp_name, min_len, len); in structseq_new()
193 if (len != min_len) { in structseq_new()
196 type->tp_name, min_len, len); in structseq_new()
Dbufferobject.c270 Py_ssize_t len_self, len_other, min_len; in buffer_compare() local
277 min_len = (len_self < len_other) ? len_self : len_other; in buffer_compare()
278 if (min_len > 0) { in buffer_compare()
279 cmp = memcmp(p1, p2, min_len); in buffer_compare()
Dbytesobject.c1568 Py_ssize_t min_len; in bytes_richcompare() local
1630 min_len = Py_MIN(len_a, len_b); in bytes_richcompare()
1631 if (min_len > 0) { in bytes_richcompare()
1634 c = memcmp(a->ob_sval, b->ob_sval, min_len); in bytes_richcompare()
/external/python/cpython2/Lib/idlelib/
DAutoCompleteWindow.py57 min_len = min(len(self.start), len(newstart))
59 while i < min_len and self.start[i] == newstart[i]:
107 min_len = min(len(first_comp), len(last_comp))
109 while i < min_len and first_comp[i] == last_comp[i]:
125 min_len = min(len(lts), len(selstart))
127 while i < min_len and lts[i] == selstart[i]:
/external/python/cpython3/Lib/idlelib/
Dautocomplete_w.py62 min_len = min(len(self.start), len(newstart))
64 while i < min_len and self.start[i] == newstart[i]:
112 min_len = min(len(first_comp), len(last_comp))
114 while i < min_len and first_comp[i] == last_comp[i]:
130 min_len = min(len(lts), len(selstart))
132 while i < min_len and lts[i] == selstart[i]:
/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/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dbucket_by_sequence_length_test.py403 min_len = 0
409 input_data = [range(i+1) for i in range(min_len, max_len)]
422 for bucket_start_len in range(min_len, max_len, bucket_size):
456 boundaries = range(min_len + bucket_size + 1, max_len, bucket_size)
/external/strace/
Dmsghdr.c215 const unsigned int min_len; member
245 && data_len >= cmsg_socket_printers[utype].min_len) { in print_cmsg_type_data()
254 && data_len >= cmsg_ip_printers[utype].min_len) { in print_cmsg_type_data()
Dsignal.c256 const kernel_ulong_t len, const unsigned int min_len) in print_sigset_addr_len_limit() argument
262 if (len < min_len || len > NSIG_BYTES) { in print_sigset_addr_len_limit()
Dsockaddr.c603 const int min_len; member
629 && addrlen >= sa_printers[sa->sa_family].min_len) { in print_sockaddr()
/external/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 …]
/external/libnfnetlink/src/
Dlibnfnetlink.c1244 int min_len; in nfnl_check_attributes() local
1262 min_len = NLMSG_SPACE(sizeof(struct nfgenmsg)); in nfnl_check_attributes()
1263 if (nlh->nlmsg_len < min_len) in nfnl_check_attributes()
1268 if (nlh->nlmsg_len > min_len) { in nfnl_check_attributes()
1270 int attrlen = nlh->nlmsg_len - NLMSG_ALIGN(min_len); in nfnl_check_attributes()
1407 int min_len = NLMSG_SPACE(sizeof(struct nfgenmsg)); in nfnl_step() local
1408 int len = nlh->nlmsg_len - NLMSG_ALIGN(min_len); in nfnl_step()
/external/e2fsprogs/e2fsck/
Drehash.c213 unsigned int he_a_len, he_b_len, min_len; in name_cmp() local
218 min_len = he_a_len; in name_cmp()
219 if (min_len > he_b_len) in name_cmp()
220 min_len = he_b_len; in name_cmp()
222 ret = memcmp(he_a->dir->name, he_b->dir->name, min_len); in name_cmp()
/external/u-boot/fs/ubifs/
Dtnc_misc.c340 } else if (zbr->len < c->ranges[type].min_len || in read_znode()
345 c->ranges[type].min_len, in read_znode()
Dsuper.c761 c->ranges[UBIFS_INO_NODE].min_len = UBIFS_INO_NODE_SZ; in init_constants_early()
763 c->ranges[UBIFS_ORPH_NODE].min_len = in init_constants_early()
766 c->ranges[UBIFS_DENT_NODE].min_len = UBIFS_DENT_NODE_SZ; in init_constants_early()
768 c->ranges[UBIFS_XENT_NODE].min_len = UBIFS_XENT_NODE_SZ; in init_constants_early()
770 c->ranges[UBIFS_DATA_NODE].min_len = UBIFS_DATA_NODE_SZ; in init_constants_early()
776 c->ranges[UBIFS_IDX_NODE].min_len = UBIFS_IDX_NODE_SZ + UBIFS_BRANCH_SZ; in init_constants_early()
843 c->ranges[UBIFS_IDX_NODE].min_len = tmp; in init_constants_sb()
Dmaster.c125 if (c->zroot.len < c->ranges[UBIFS_IDX_NODE].min_len || in validate_master()
/external/brotli/c/enc/
Dbackward_references_hq.c417 size_t min_len; in UpdateNodes() local
429 min_len = ComputeMinimumCopyLength(min_cost, nodes, num_bytes, pos); in UpdateNodes()
444 size_t best_len = min_len - 1; in UpdateNodes()
504 size_t len = min_len; in UpdateNodes()
/external/boringssl/src/crypto/bytestring/
Dcbb.c608 size_t min_len = a_len < b_len ? a_len : b_len; in compare_set_of_element() local
609 int ret = OPENSSL_memcmp(CBS_data(a), CBS_data(b), min_len); in compare_set_of_element()
/external/wpa_supplicant_8/src/radius/
Dradius.h320 int radius_msg_count_attr(struct radius_msg *msg, u8 type, int min_len);
/external/pdfium/core/fxcrt/
Dbytestring.cpp710 size_t min_len = std::min(this_len, that_len); in Compare() local
711 int result = memcmp(m_pData->m_String, str.unterminated_c_str(), min_len); in Compare()
Dwidestring.cpp921 size_t min_len = std::min(this_len, that_len); in Compare() local
922 int result = wmemcmp(m_pData->m_String, str.m_pData->m_String, min_len); in Compare()

12