Home
last modified time | relevance | path

Searched refs:max_length (Results 1 – 25 of 164) sorted by relevance

1234567

/external/autotest/frontend/tko/
Dmodels.py127 hostname = dbmodels.CharField(unique=True, max_length=255)
128 machine_group = dbmodels.CharField(blank=True, max_length=240)
129 owner = dbmodels.CharField(blank=True, max_length=240)
139 kernel_hash = dbmodels.CharField(max_length=105, editable=False)
140 base = dbmodels.CharField(max_length=90)
141 printable = dbmodels.CharField(max_length=300)
151 name = dbmodels.CharField(blank=True, max_length=240)
152 url = dbmodels.CharField(blank=True, max_length=900)
153 the_hash = dbmodels.CharField(blank=True, max_length=105, db_column='hash')
163 word = dbmodels.CharField(max_length=30)
[all …]
/external/libcxx/test/std/localization/locale.stdcvt/
Dcodecvt_utf8_max_length.pass.cpp30 int r = c.max_length(); in main()
36 int r = c.max_length(); in main()
42 int r = c.max_length(); in main()
48 int r = c.max_length(); in main()
54 int r = c.max_length(); in main()
60 int r = c.max_length(); in main()
Dcodecvt_utf8_utf16_max_length.pass.cpp30 int r = c.max_length(); in main()
36 int r = c.max_length(); in main()
42 int r = c.max_length(); in main()
48 int r = c.max_length(); in main()
54 int r = c.max_length(); in main()
60 int r = c.max_length(); in main()
Dcodecvt_utf16_max_length.pass.cpp30 int r = c.max_length(); in main()
36 int r = c.max_length(); in main()
42 int r = c.max_length(); in main()
48 int r = c.max_length(); in main()
54 int r = c.max_length(); in main()
60 int r = c.max_length(); in main()
/external/brotli/c/enc/
Dstatic_dict.c43 DictWord w, const uint8_t* data, size_t max_length) { in IsMatch() argument
44 if (w.len > max_length) { in IsMatch()
79 size_t min_length, size_t max_length, uint32_t* matches) { in BrotliFindAllStaticDictionaryMatches() argument
93 DictMatchLength(dictionary->words, data, id, l, max_length); in BrotliFindAllStaticDictionaryMatches()
107 if (l + 2 < max_length && in BrotliFindAllStaticDictionaryMatches()
125 if (matchlen < l || l + 6 >= max_length) { in BrotliFindAllStaticDictionaryMatches()
282 if (!IsMatch(dictionary->words, w, data, max_length)) { in BrotliFindAllStaticDictionaryMatches()
288 if (l + 1 >= max_length) { in BrotliFindAllStaticDictionaryMatches()
325 if (max_length >= 5 && (data[0] == ' ' || data[0] == '.')) { in BrotliFindAllStaticDictionaryMatches()
338 if (!IsMatch(dictionary->words, w, &data[1], max_length - 1)) { in BrotliFindAllStaticDictionaryMatches()
[all …]
Dhash_to_binary_tree_inc.h117 const size_t cur_ix, const size_t ring_buffer_mask, const size_t max_length, in FN()
122 BROTLI_MIN(size_t, max_length, MAX_TREE_COMP_LENGTH); in FN()
124 TO_BROTLI_BOOL(max_length >= MAX_TREE_COMP_LENGTH); in FN()
161 max_length - cur_len); in FN()
205 const size_t max_length, const size_t max_backward, in FN()
231 max_length); in FN()
238 if (best_len < max_length) { in FN()
240 ring_buffer_mask, max_length, max_backward, &best_len, matches); in FN()
248 &data[cur_ix_masked], minlen, max_length, &dict_matches[0])) { in FN()
250 size_t, BROTLI_MAX_STATIC_DICTIONARY_MATCH_LEN, max_length); in FN()
Dbackward_references_inc.h37 size_t max_length = pos_end - position; in EXPORT_FN() local
45 ringbuffer, ringbuffer_mask, dist_cache, position, max_length, in EXPORT_FN()
50 --max_length; in EXPORT_FN()
51 for (;; --max_length) { in EXPORT_FN()
55 BROTLI_MIN(size_t, sr.len - 1, max_length) : 0; in EXPORT_FN()
62 ringbuffer, ringbuffer_mask, dist_cache, position + 1, max_length, in EXPORT_FN()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtcp_packet.cc333 size_t max_length, in BuildExternalBuffer() argument
336 if (!CreateAndAddAppended(buffer, &index, max_length, callback)) in BuildExternalBuffer()
343 size_t max_length, in CreateAndAddAppended() argument
345 if (!Create(packet, index, max_length, callback)) in CreateAndAddAppended()
348 if (!appended->CreateAndAddAppended(packet, index, max_length, callback)) in CreateAndAddAppended()
395 size_t max_length, in Create() argument
397 while (*index + BlockLength() > max_length) { in Create()
419 size_t max_length, in Create() argument
422 while (*index + BlockLength() > max_length) { in Create()
462 size_t max_length, in Create() argument
[all …]
Drtcp_packet.h92 size_t max_length,
103 size_t max_length,
124 size_t max_length,
182 size_t max_length,
244 size_t max_length,
294 size_t max_length,
343 size_t max_length,
396 size_t max_length,
447 size_t max_length,
/external/python/cpython3/Modules/
D_bz2module.c117 grow_buffer(PyObject **buf, Py_ssize_t max_length) in grow_buffer() argument
125 if (max_length > 0 && new_size > (size_t) max_length) in grow_buffer()
126 new_size = (size_t) max_length; in grow_buffer()
404 decompress_buf(BZ2Decompressor *d, Py_ssize_t max_length) in decompress_buf() argument
413 if (max_length < 0 || max_length >= INITIAL_BUFFER_SIZE) in decompress_buf()
416 result = PyBytes_FromStringAndSize(NULL, max_length); in decompress_buf()
447 if (data_size == max_length) in decompress_buf()
450 grow_buffer(&result, max_length) == -1) in decompress_buf()
468 decompress(BZ2Decompressor *d, char *data, size_t len, Py_ssize_t max_length) in decompress() argument
519 result = decompress_buf(d, max_length); in decompress()
[all …]
D_lzmamodule.c131 grow_buffer(PyObject **buf, Py_ssize_t max_length) in grow_buffer() argument
136 if (max_length > 0 && newsize > max_length) in grow_buffer()
137 newsize = max_length; in grow_buffer()
878 decompress_buf(Decompressor *d, Py_ssize_t max_length) in decompress_buf() argument
887 if (max_length < 0 || max_length >= INITIAL_BUFFER_SIZE) in decompress_buf()
890 result = PyBytes_FromStringAndSize(NULL, max_length); in decompress_buf()
914 if (data_size == max_length) in decompress_buf()
916 if (grow_buffer(&result, max_length) == -1) in decompress_buf()
934 decompress(Decompressor *d, uint8_t *data, size_t len, Py_ssize_t max_length) in decompress() argument
985 result = decompress_buf(d, max_length); in decompress()
[all …]
/external/autotest/frontend/afe/
Dmodels.py59 name = dbmodels.CharField(max_length=255, unique=True)
114 name = dbmodels.CharField(max_length=255, unique=True)
115 kernel_config = dbmodels.CharField(max_length=255, blank=True)
177 name = dbmodels.CharField(max_length=255, unique=True)
178 kernel_config = dbmodels.CharField(max_length=255, blank=True)
220 hostname = dbmodels.CharField(max_length=255, unique=True)
238 hostname = dbmodels.CharField(max_length=255, unique=True)
279 name = dbmodels.CharField(max_length=255, unique=True)
376 login = dbmodels.CharField(max_length=255, unique=True)
929 attribute = dbmodels.CharField(max_length=90)
[all …]
/external/brotli/c/dec/
Dhuffman.c185 int max_length = -1; in BrotliBuildHuffmanTable() local
193 while (symbol_lists[max_length] == 0xFFFF) max_length--; in BrotliBuildHuffmanTable()
194 max_length += BROTLI_HUFFMAN_MAX_CODE_LENGTH + 1; in BrotliBuildHuffmanTable()
203 if (table_bits > max_length) { in BrotliBuildHuffmanTable()
204 table_bits = max_length; in BrotliBuildHuffmanTable()
234 for (len = root_bits + 1, step = 2; len <= max_length; ++len) { in BrotliBuildHuffmanTable()
/external/autotest/frontend/server/
Dmodels.py30 hostname = dbmodels.CharField(unique=True, max_length=128)
32 max_length=128)
33 status = dbmodels.CharField(unique=False, max_length=128,
122 role = dbmodels.CharField(max_length=128, choices=ROLE.choices())
134 attribute = dbmodels.CharField(max_length=128)
/external/ImageMagick/
Dwinpath.sh32 max_length=0
44 if test $length -gt $max_length
47 max_length=$length
/external/python/cpython3/Modules/clinic/
D_bz2module.c.h122 Py_ssize_t max_length);
131 Py_ssize_t max_length = -1; in _bz2_BZ2Decompressor_decompress() local
134 &data, &max_length)) { in _bz2_BZ2Decompressor_decompress()
137 return_value = _bz2_BZ2Decompressor_decompress_impl(self, &data, max_length); in _bz2_BZ2Decompressor_decompress()
D_lzmamodule.c.h88 Py_ssize_t max_length);
97 Py_ssize_t max_length = -1; in _lzma_LZMADecompressor_decompress() local
100 &data, &max_length)) { in _lzma_LZMADecompressor_decompress()
103 return_value = _lzma_LZMADecompressor_decompress_impl(self, &data, max_length); in _lzma_LZMADecompressor_decompress()
/external/ltp/testcases/kernel/device-drivers/v4l/user_space/
Dv4l2_validator.c86 int valid_string(char *str, unsigned int max_length) in valid_string() argument
92 while (i < max_length && str[i] != 0) { in valid_string()
104 if (i == max_length) { in valid_string()
/external/llvm/utils/lint/
Dcommon_lint.py7 def VerifyLineLength(filename, lines, max_length): argument
24 if length > max_length:
26 'Line exceeds %d chars (%d)' % (max_length, length)))
/external/swiftshader/third_party/llvm-7.0/llvm/utils/lint/
Dcommon_lint.py7 def VerifyLineLength(filename, lines, max_length): argument
24 if length > max_length:
26 'Line exceeds %d chars (%d)' % (max_length, length)))
/external/swiftshader/third_party/LLVM/utils/lint/
Dcommon_lint.py7 def VerifyLineLength(filename, lines, max_length): argument
24 if length > max_length:
26 'Line exceeds %d chars (%d)' % (max_length, length)))
/external/python/cpython2/Modules/
Dzlibmodule.c147 Py_ssize_t max_length) in arrange_output_buffer_with_maximum() argument
161 assert(length <= max_length); in arrange_output_buffer_with_maximum()
163 if (length == max_length) in arrange_output_buffer_with_maximum()
165 if (length <= (max_length >> 1)) in arrange_output_buffer_with_maximum()
168 new_length = max_length; in arrange_output_buffer_with_maximum()
589 Py_ssize_t inplen, max_length = 0; in PyZlib_objdecompress() local
595 &inplen, &max_length)) in PyZlib_objdecompress()
597 if (max_length < 0) { in PyZlib_objdecompress()
601 } else if (max_length == 0) in PyZlib_objdecompress()
604 hard_limit = max_length; in PyZlib_objdecompress()
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Drnn_cell_test.py213 max_length = 8 # unrolled up to this length
214 inputs = max_length * [
233 max_length * np.ones(
246 max_length = 8
247 inputs = max_length * [
279 max_length = 8
280 inputs = max_length * [
350 max_length = 8 # unrolled up to this length
351 inputs = max_length * [
387 max_length = 8
[all …]
/external/vulkan-validation-layers/layers/
Dvk_layer_utils.cpp39 VK_LAYER_EXPORT VkStringErrorFlags vk_string_validate(const int max_length, const char *utf8) { in vk_string_validate() argument
44 for (i = 0; i <= max_length; i++) { in vk_string_validate()
47 } else if (i == max_length) { in vk_string_validate()
63 for (j = 0; (j < num_char_bytes) && (i < max_length); j++) { in vk_string_validate()
64 if (++i == max_length) { in vk_string_validate()
/external/tcpdump/
Dprint-hncp.c204 print_prefix(netdissect_options *ndo, const u_char *prefix, u_int max_length) in print_prefix() argument
209 if (prefix[0] >= 96 && max_length >= IPV4_MAPPED_HEADING_LEN + 1 && in print_prefix()
217 max_length -= 1; in print_prefix()
221 if (max_length < (u_int)plenbytes + IPV4_MAPPED_HEADING_LEN) in print_prefix()
231 plenbytes = decode_prefix6(ndo, prefix, max_length, buf, sizeof(buf)); in print_prefix()
240 const u_char *cp, u_int max_length, int print) in print_dns_label() argument
243 while (length < max_length) { in print_dns_label()
249 if (length+lab_length > max_length) { in print_dns_label()
251 safeputs(ndo, cp+length, max_length-length); in print_dns_label()

1234567