Home
last modified time | relevance | path

Searched refs:min_length (Results 1 – 25 of 33) sorted by relevance

12

/external/python/cpython2/Demo/classes/
Dbitvec.py182 min_length = min(length, other._len)
183 return cmp(self[:min_length], other[:min_length]) or \
184 cmp(self[min_length:], other[min_length:])
/external/brotli/research/
Dfind_opt_references.cc28 DEFINE_int32(min_length, 1, "Minimal length of found backward references.");
132 int min_length = FLAGS_min_length; in ProcessReferences() local
156 if ((left_ix >= 0 && left_lcp >= min_length) || in ProcessReferences()
157 (right_ix < size - 1 && right_lcp >= min_length)) { in ProcessReferences()
/external/tensorflow/tensorflow/core/lib/io/
Dblock_builder.cc92 const size_t min_length = std::min(last_key_piece.size(), key.size()); in Add() local
93 while ((shared < min_length) && (last_key_piece[shared] == key[shared])) { in Add()
Dtable_builder.cc35 size_t min_length = std::min(start->size(), limit.size()); in FindShortestSeparator() local
37 while ((diff_index < min_length) && in FindShortestSeparator()
42 if (diff_index >= min_length) { in FindShortestSeparator()
/external/autotest/client/site_tests/cellular_Identifiers/
Dcellular_Identifiers.py31 min_length, max_length): argument
39 if (len(device_value) < min_length or len(device_value) > max_length):
/external/bsdiff/
Dbsdiff.cc65 size_t newsize, size_t min_length, PatchWriterInterface* patch, in bsdiff() argument
123 (len>oldscore+8 && len>=min_length)) break; in bsdiff()
Dbsdiff_arguments.h36 int min_length() const { return min_length_; } in min_length() function
Dbsdiff_arguments_unittest.cc92 EXPECT_EQ(12, arguments.min_length()); in TEST()
Dbsdiff_main.cc95 arguments.min_length(), patch_writer.get(), nullptr); in GenerateBsdiffFromFiles()
/external/brotli/c/enc/
Dstatic_dict.h32 const uint8_t* data, size_t min_length, size_t max_length,
Dstatic_dict.c82 const BrotliDictionary* dictionary, const uint8_t* data, size_t min_length, in BrotliFindAllStaticDictionaryMatches() argument
118 minlen = min_length; in BrotliFindAllStaticDictionaryMatches()
/external/bsdiff/include/bsdiff/
Dbsdiff.h50 size_t min_length,
/external/syslinux/gpxe/src/drivers/net/e1000/
De1000_hw.c56 static int32_t e1000_get_cable_length(struct e1000_hw *hw, uint16_t *min_length, uint16_t *max_leng…
4231 uint16_t phy_data, min_length, max_length, average; in e1000_phy_igp_get_info() local
4275 ret_val = e1000_get_cable_length(hw, &min_length, &max_length); in e1000_phy_igp_get_info()
4280 average = (max_length + min_length) / 2; in e1000_phy_igp_get_info()
6817 uint16_t *min_length, in e1000_get_cable_length() argument
6827 *min_length = *max_length = 0; in e1000_get_cable_length()
6842 *min_length = 0; in e1000_get_cable_length()
6846 *min_length = e1000_igp_cable_length_50; in e1000_get_cable_length()
6850 *min_length = e1000_igp_cable_length_80; in e1000_get_cable_length()
6854 *min_length = e1000_igp_cable_length_110; in e1000_get_cable_length()
[all …]
/external/libcups/cups/
Ddest-options.c132 min_length, /* Minimum length */ in cupsCheckDestSupported() local
140 min_width = min_length = INT_MAX; in cupsCheckDestSupported()
151 min_length = pwg->length; in cupsCheckDestSupported()
168 pwg->length >= min_length && pwg->length <= max_length) in cupsCheckDestSupported()
/external/python/cpython3/Objects/
Dunicodeobject.c2878 writer.min_length = strlen(format) + 100; in PyUnicode_FromFormatV()
4418 writer->min_length += replen - 1; in unicode_decode_call_errorhandler_writer()
4420 if (_PyUnicodeWriter_Prepare(writer, writer->min_length, in unicode_decode_call_errorhandler_writer()
4563 writer.min_length = size; in PyUnicode_DecodeUTF7Stateful()
4983 writer.min_length = size; in PyUnicode_DecodeUTF8Stateful()
4984 if (_PyUnicodeWriter_Prepare(&writer, writer.min_length, 127) == -1) in PyUnicode_DecodeUTF8Stateful()
5274 writer.min_length = (e - q + 3) / 4; in PyUnicode_DecodeUTF32Stateful()
5275 if (_PyUnicodeWriter_Prepare(&writer, writer.min_length, 127) == -1) in PyUnicode_DecodeUTF32Stateful()
5603 writer.min_length = (e - q + 1) / 2; in PyUnicode_DecodeUTF16Stateful()
5604 if (_PyUnicodeWriter_Prepare(&writer, writer.min_length, 127) == -1) in PyUnicode_DecodeUTF16Stateful()
[all …]
Dtupleobject.c284 writer.min_length = 1 + 1 + (2 + 1) * (Py_SIZE(v) - 1) + 1; in tuplerepr()
288 writer.min_length = 4; in tuplerepr()
/external/freetype/src/base/
Dftstroke.c1020 FT_Fixed min_length = ft_pos_abs( FT_MulFix( stroker->radius, in ft_stroker_inside() local
1024 intersect = FT_BOOL( min_length && in ft_stroker_inside()
1025 stroker->line_length >= min_length && in ft_stroker_inside()
1026 line_length >= min_length ); in ft_stroker_inside()
/external/boringssl/src/crypto/x509/
Dx509_vfy.c1854 int min_length = sizeof("YYMMDDHHMMZ") - 1; in X509_cmp_time() local
1856 if (remaining < min_length || remaining > max_length) in X509_cmp_time()
1866 int min_length = sizeof("YYYYMMDDHHMMZ") - 1; in X509_cmp_time() local
1868 if (remaining < min_length || remaining > max_length) in X509_cmp_time()
/external/python/cpython3/Modules/cjkcodecs/
Dmultibytecodec.c652 buf.writer.min_length = datalen; in _multibytecodec_MultibyteCodec_decode_impl()
851 buf->writer.min_length += size; in decoder_prepare_buffer()
/external/python/cpython3/Objects/stringlib/
Dunicode_format.h916 writer.min_length = PyUnicode_GET_LENGTH(input->str) + 100; in build_string()
/external/v8/src/arm64/
Dcode-stubs-arm64.cc2430 Register min_length = scratch1; in GenerateCompareFlatOneByteStrings() local
2431 __ Csel(min_length, scratch2, scratch1, gt); in GenerateCompareFlatOneByteStrings()
2432 __ Cbz(min_length, &compare_lengths); in GenerateCompareFlatOneByteStrings()
2435 GenerateOneByteCharsCompareLoop(masm, left, right, min_length, scratch2, in GenerateCompareFlatOneByteStrings()
/external/v8/src/ia32/
Dcode-stubs-ia32.cc1785 Register min_length = scratch1; in GenerateCompareFlatOneByteStrings() local
1789 __ test(min_length, min_length); in GenerateCompareFlatOneByteStrings()
1794 GenerateOneByteCharsCompareLoop(masm, left, right, min_length, scratch2, in GenerateCompareFlatOneByteStrings()
/external/python/cpython3/Include/
Dunicodeobject.h890 Py_ssize_t min_length; member
/external/v8/src/x87/
Dcode-stubs-x87.cc1831 Register min_length = scratch1; in GenerateCompareFlatOneByteStrings() local
1835 __ test(min_length, min_length); in GenerateCompareFlatOneByteStrings()
1840 GenerateOneByteCharsCompareLoop(masm, left, right, min_length, scratch2, in GenerateCompareFlatOneByteStrings()
/external/v8/src/ppc/
Dcode-stubs-ppc.cc1947 Register min_length = scratch1; in GenerateCompareFlatOneByteStrings() local
1949 __ cmpi(min_length, Operand::Zero()); in GenerateCompareFlatOneByteStrings()
1953 GenerateOneByteCharsCompareLoop(masm, left, right, min_length, scratch2, in GenerateCompareFlatOneByteStrings()

12