Searched refs:length_limit (Results 1 – 7 of 7) sorted by relevance
18 def join_longest_with_length_limit(string_list, length_limit, separator='', argument47 if len(string_list[-1]) > length_limit:49 'limit: %s' % length_limit)53 length_limit += len_sep55 if sum(length_list) + len_sep * len(string_list) <= length_limit:60 new_length_limit = length_limit67 new_length_limit = length_limit
1318 unsigned int length_limit) in jpeg_save_markers() argument1328 if (((long)length_limit) > maxlength) in jpeg_save_markers()1329 length_limit = (unsigned int)maxlength; in jpeg_save_markers()1334 if (length_limit) { in jpeg_save_markers()1337 if (marker_code == (int)M_APP0 && length_limit < APP0_DATA_LEN) in jpeg_save_markers()1338 length_limit = APP0_DATA_LEN; in jpeg_save_markers()1339 else if (marker_code == (int)M_APP14 && length_limit < APP14_DATA_LEN) in jpeg_save_markers()1340 length_limit = APP14_DATA_LEN; in jpeg_save_markers()1350 marker->length_limit_COM = length_limit; in jpeg_save_markers()1353 marker->length_limit_APPn[marker_code - (int)M_APP0] = length_limit; in jpeg_save_markers()
1033 unsigned int length_limit);
2568 jpeg_save_markers(cinfo, marker_code, length_limit)2572 than length_limit data bytes, only length_limit bytes will be saved; this2575 data, set length_limit to 0xFFFF; that is enough since marker lengths are only2576 16 bits. As a special case, setting length_limit to 0 prevents that marker2584 will not exceed length_limit for the particular marker type. Note that these
92 base::Optional<int> length_limit) { in AppendString() argument97 if (length_limit) length = std::min(length, *length_limit); in AppendString()
69 base::Optional<int> length_limit = base::nullopt);
269 size_t length_limit = static_cast<size_t>(fs_hz_ / 100); // 10 ms in samples. in Downsample() local289 if (input_length <= length_limit) { in Downsample()