Home
last modified time | relevance | path

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

123

/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/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/rust/crates/rayon/src/iter/
Dlen.rs109 fn min_len(&self) -> usize { in min_len() function
110 cmp::max(self.min, self.base.min_len()) in min_len()
243 fn min_len(&self) -> usize { in min_len() function
244 self.base.min_len() in min_len()
Dzip.rs137 fn min_len(&self) -> usize { in min_len() method
138 cmp::max(self.a.min_len(), self.b.min_len()) in min_len()
Denumerate.rs113 fn min_len(&self) -> usize { in min_len() function
114 self.base.min_len() in min_len()
Drev.rs103 fn min_len(&self) -> usize { in min_len() function
104 self.base.min_len() in min_len()
Dstep_by.rs137 fn min_len(&self) -> usize { in min_len() function
138 div_round_up(self.base.min_len(), self.step) in min_len()
Dchain.rs180 fn min_len(&self) -> usize { in min_len() function
181 cmp::max(self.a.min_len(), self.b.min_len()) in min_len()
Dinterleave.rs187 fn min_len(&self) -> usize { in min_len() function
188 cmp::max(self.i.min_len(), self.j.min_len()) in min_len()
Dchunks.rs144 fn min_len(&self) -> usize { in min_len() function
145 div_round_up(self.base.min_len(), self.chunk_size) in min_len()
Dcopied.rs111 fn min_len(&self) -> usize { in min_len() function
112 self.base.min_len() in min_len()
Dcloned.rs111 fn min_len(&self) -> usize { in min_len() function
112 self.base.min_len() in min_len()
Dinspect.rs128 fn min_len(&self) -> usize { in min_len() function
129 self.base.min_len() in min_len()
Dmap.rs131 fn min_len(&self) -> usize { in min_len() function
132 self.base.min_len() in min_len()
/external/python/cpython3/Objects/
Dstructseq.c122 Py_ssize_t len, min_len, max_len, i, n_unnamed_fields; in structseq_new_impl() local
139 min_len = VISIBLE_SIZE_TP(type); in structseq_new_impl()
143 if (min_len != max_len) { in structseq_new_impl()
144 if (len < min_len) { in structseq_new_impl()
147 type->tp_name, min_len, len); in structseq_new_impl()
161 if (len != min_len) { in structseq_new_impl()
164 type->tp_name, min_len, len); in structseq_new_impl()
/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()
/external/pdfium/core/fpdfapi/page/
Dcpdf_contentmarks.cpp90 size_t min_len = std::min(CountItems(), other->CountItems()); in FindFirstDifference() local
92 for (size_t i = 0; i < min_len; ++i) { in FindFirstDifference()
96 return min_len; in FindFirstDifference()
/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.py63 min_len = min(len(self.start), len(newstart))
65 while i < min_len and self.start[i] == newstart[i]:
114 min_len = min(len(first_comp), len(last_comp))
116 while i < min_len and first_comp[i] == last_comp[i]:
134 min_len = min(len(lts), len(selstart))
136 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/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()
/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/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/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/rust/crates/rayon/src/iter/plumbing/
Dmod.rs81 fn min_len(&self) -> usize { in min_len() method
396 let splitter = LengthSplitter::new(producer.min_len(), producer.max_len(), len); in bridge_producer_consumer()

123