Home
last modified time | relevance | path

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

123456789

/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/llvm-project/libcxx/test/std/localization/locale.stdcvt/
Dcodecvt_utf8_utf16_max_length.pass.cpp31 int r = c.max_length(); in main()
37 int r = c.max_length(); in main()
43 int r = c.max_length(); in main()
49 int r = c.max_length(); in main()
55 int r = c.max_length(); in main()
61 int r = c.max_length(); in main()
Dcodecvt_utf8_max_length.pass.cpp31 int r = c.max_length(); in main()
37 int r = c.max_length(); in main()
43 int r = c.max_length(); in main()
49 int r = c.max_length(); in main()
55 int r = c.max_length(); in main()
61 int r = c.max_length(); in main()
Dcodecvt_utf16_max_length.pass.cpp31 int r = c.max_length(); in main()
37 int r = c.max_length(); in main()
43 int r = c.max_length(); in main()
49 int r = c.max_length(); in main()
55 int r = c.max_length(); in main()
61 int r = c.max_length(); in main()
/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/tensorflow/tensorflow/python/keras/preprocessing/
Dtext_dataset.py35 max_length=None, argument
167 max_length=max_length)
181 max_length): argument
185 lambda x: path_to_string_content(x, max_length))
192 def path_to_string_content(path, max_length): argument
194 if max_length is not None:
195 txt = string_ops.substr(txt, 0, max_length)
/external/tensorflow/tensorflow/security/fuzzing/
Dpython_fuzzing.py82 max_length=_MAX_LENGTH, argument
96 length = self.get_int(min_length, max_length)
99 def get_float_list(self, min_length=_MIN_LENGTH, max_length=_MAX_LENGTH): argument
109 length = self.get_int(min_length, max_length)
114 max_length=_MAX_LENGTH): argument
125 return self.get_int_list(min_length, max_length)
127 return self.get_float_list(min_length, max_length)
/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.h115 const size_t cur_ix, const size_t ring_buffer_mask, const size_t max_length, in FN()
120 BROTLI_MIN(size_t, max_length, MAX_TREE_COMP_LENGTH); in FN()
122 TO_BROTLI_BOOL(max_length >= MAX_TREE_COMP_LENGTH); in FN()
160 max_length - cur_len); in FN()
206 const size_t max_length, const size_t max_backward, in FN()
232 max_length); in FN()
239 if (best_len < max_length) { in FN()
241 ring_buffer_mask, max_length, max_backward, &best_len, matches); in FN()
249 &data[cur_ix_masked], minlen, max_length, &dict_matches[0])) { in FN()
251 size_t, BROTLI_MAX_STATIC_DICTIONARY_MATCH_LEN, max_length); in FN()
Dbackward_references_inc.h41 size_t max_length = pos_end - position; in EXPORT_FN() local
51 ringbuffer, ringbuffer_mask, dist_cache, position, max_length, in EXPORT_FN()
56 --max_length; in EXPORT_FN()
57 for (;; --max_length) { in EXPORT_FN()
61 BROTLI_MIN(size_t, sr.len - 1, max_length) : 0; in EXPORT_FN()
70 ringbuffer, ringbuffer_mask, dist_cache, position + 1, max_length, in EXPORT_FN()
/external/python/cpython3/Modules/
D_bz2module.c115 grow_buffer(PyObject **buf, Py_ssize_t max_length) in grow_buffer() argument
123 if (max_length > 0 && new_size > (size_t) max_length) in grow_buffer()
124 new_size = (size_t) max_length; in grow_buffer()
393 decompress_buf(BZ2Decompressor *d, Py_ssize_t max_length) in decompress_buf() argument
402 if (max_length < 0 || max_length >= INITIAL_BUFFER_SIZE) in decompress_buf()
405 result = PyBytes_FromStringAndSize(NULL, max_length); in decompress_buf()
436 if (data_size == max_length) in decompress_buf()
439 grow_buffer(&result, max_length) == -1) in decompress_buf()
457 decompress(BZ2Decompressor *d, char *data, size_t len, Py_ssize_t max_length) in decompress() argument
508 result = decompress_buf(d, max_length); in decompress()
[all …]
/external/pdfium/fxbarcode/
Dcbc_eancode.cpp50 size_t max_length = GetMaxLength(); in Preprocess() local
51 if (length <= max_length) { in Preprocess()
52 for (size_t i = 0; i < max_length - length; i++) in Preprocess()
60 encoded_contents = encoded_contents.First(max_length + 1); in Preprocess()
/external/ImageMagick/
Dwinpath.sh32 max_length=0
44 if test $length -gt $max_length
47 max_length=$length
/external/webrtc/test/scenario/
Dcolumn_printer.cc21 size_t max_length) in ColumnPrinter() argument
22 : headers_(headers), printer_(printer), max_length_(max_length) {} in ColumnPrinter()
33 size_t max_length) { in Lambda() argument
34 return ColumnPrinter(headers, printer, max_length); in Lambda()
/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,
124 role = dbmodels.CharField(max_length=128, choices=ROLE.choices())
136 attribute = dbmodels.CharField(max_length=128)
/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/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/autotest/frontend/afe/
Dmodels.py62 name = dbmodels.CharField(max_length=255, unique=True)
117 name = dbmodels.CharField(max_length=255, unique=True)
118 kernel_config = dbmodels.CharField(max_length=255, blank=True)
180 name = dbmodels.CharField(max_length=255, unique=True)
181 kernel_config = dbmodels.CharField(max_length=255, blank=True)
223 hostname = dbmodels.CharField(max_length=255, unique=True)
241 hostname = dbmodels.CharField(max_length=255, unique=True)
282 name = dbmodels.CharField(max_length=255, unique=True)
379 login = dbmodels.CharField(max_length=255, unique=True)
932 attribute = dbmodels.CharField(max_length=90)
[all …]
/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/llvm-project/llvm/utils/lint/
Dcommon_lint.py8 def VerifyLineLength(filename, lines, max_length): argument
25 if length > max_length:
27 'Line exceeds %d chars (%d)' % (max_length, length)))
/external/python/cpython3/Modules/clinic/
D_bz2module.c.h138 Py_ssize_t max_length);
149 Py_ssize_t max_length = -1; in _bz2_BZ2Decompressor_decompress() local
180 max_length = ival; in _bz2_BZ2Decompressor_decompress()
183 return_value = _bz2_BZ2Decompressor_decompress_impl(self, &data, max_length); in _bz2_BZ2Decompressor_decompress()
/external/webrtc/modules/rtp_rtcp/source/
Drtcp_packet.cc32 bool RtcpPacket::Build(size_t max_length, PacketReadyCallback callback) const { in Build() argument
33 RTC_CHECK_LE(max_length, IP_PACKET_SIZE); in Build()
36 if (!Create(buffer, &index, max_length, callback)) in Build()
/external/llvm-project/libcxx/test/std/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/
Dchar16_t_char8_t_max_length.pass.cpp34 assert(f.max_length() == 4); in main()
35 static_assert(noexcept(f.max_length())); in main()

123456789