Home
last modified time | relevance | path

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

12

/openbsd/lib/libcurses/base/
H A Dlib_slk.c85 int max_length; in _nc_format_slks() local
90 max_length = SP_PARM->_slk->maxlen; in _nc_format_slks()
92 gap = (cols - 3 * (3 + 4 * max_length)) / 2; in _nc_format_slks()
99 x += max_length; in _nc_format_slks()
104 gap = cols - (int) (SP_PARM->_slk->maxlab * max_length) - 6; in _nc_format_slks()
110 x += max_length; in _nc_format_slks()
115 gap = (cols - (SP_PARM->_slk->maxlab * max_length) - 5) in _nc_format_slks()
122 x += max_length; in _nc_format_slks()
144 size_t max_length; in _nc_slk_initialize() local
197 max_length = (size_t) SP_PARM->_slk->maxlen; in _nc_slk_initialize()
[all …]
/openbsd/usr.bin/fmt/
H A Dfmt.c222 static size_t max_length = 0; /* Maximum length for output lines */ variable
296 max_length = goal_length; in main()
310 max_length = goal_length; in main()
328 if (argc > 0 && (max_length = get_positive(*argv,"max length must be positive", 0)) != 0) { in main()
331 if (max_length < goal_length) in main()
338 if (max_length == 0) in main()
339 max_length = goal_length+10; in main()
602 else if (new_x > max_length || x >= goal_length || in output_word()
/openbsd/gnu/llvm/llvm/utils/lint/
H A Dcommon_lint.py8 def VerifyLineLength(filename, lines, max_length): argument
25 if length > max_length:
27 'Line exceeds %d chars (%d)' % (max_length, length)))
/openbsd/gnu/usr.bin/binutils/gdb/
H A Dremote-utils.c508 int max_length; in gr_multi_scan() local
514 for (max_length = string_count = i = 0; in gr_multi_scan()
520 if (length > max_length) in gr_multi_scan()
521 max_length = length; in gr_multi_scan()
530 swallowed_p = swallowed = alloca (max_length << 1); in gr_multi_scan()
/openbsd/gnu/usr.bin/gcc/gcc/
H A Dgcov-io.h259 __read_gcov_string (string, max_length, file, delim) in __read_gcov_string() argument
261 size_t max_length;
279 if (length > (long) max_length)
280 read_length = max_length;
H A Dattribs.c85 if (attribute_tables[i][j].max_length != -1 in init_attributes()
86 && (attribute_tables[i][j].max_length in init_attributes()
190 || (spec->max_length >= 0
191 && list_length (args) > spec->max_length))
/openbsd/gnu/gcc/libstdc++-v3/include/ext/pb_ds/detail/trie_policy/
H A Dprefix_search_node_update_imp.hpp133 size_type max_length = 0; in next_child() local
142 if (common_range_length > max_length) in next_child()
146 max_length = common_range_length; in next_child()
/openbsd/gnu/llvm/lldb/tools/debugserver/source/MacOSX/
H A DCFString.cpp121 CFIndex max_length = in FileSystemRepresentation() local
123 if (max_length > 0) { in FileSystemRepresentation()
124 str.resize(max_length); in FileSystemRepresentation()
/openbsd/gnu/llvm/lldb/source/Host/macosx/cfcpp/
H A DCFCString.cpp129 CFIndex max_length = in FileSystemRepresentation() local
131 if (max_length > 0) { in FileSystemRepresentation()
132 str.resize(max_length); in FileSystemRepresentation()
/openbsd/usr.sbin/nsd/
H A Dedns.c31 edns_init_data(edns_data_type *data, uint16_t max_length) in edns_init_data() argument
38 data->ok[3] = (max_length & 0xff00) >> 8; /* size_hi */ in edns_init_data()
39 data->ok[4] = max_length & 0x00ff; /* size_lo */ in edns_init_data()
43 data->error[3] = (max_length & 0xff00) >> 8; /* size_hi */ in edns_init_data()
44 data->error[4] = max_length & 0x00ff; /* size_lo */ in edns_init_data()
H A Dedns.h90 void edns_init_data(edns_data_type *data, uint16_t max_length);
/openbsd/gnu/gcc/gcc/
H A Dattribs.c87 gcc_assert (attribute_tables[i][j].max_length == -1 in init_attributes()
88 || (attribute_tables[i][j].max_length in init_attributes()
180 || (spec->max_length >= 0 in decl_attributes()
181 && list_length (args) > spec->max_length)) in decl_attributes()
/openbsd/gnu/llvm/lldb/source/Utility/
H A DStringList.cpp77 size_t max_length = 0; in GetMaxStringLength() local
80 if (max_length < len) in GetMaxStringLength()
81 max_length = len; in GetMaxStringLength()
83 return max_length; in GetMaxStringLength()
/openbsd/gnu/llvm/compiler-rt/include/fuzzer/
H A DFuzzedDataProvider.h54 std::string ConsumeRandomLengthString(size_t max_length);
152 FuzzedDataProvider::ConsumeRandomLengthString(size_t max_length) { in ConsumeRandomLengthString() argument
162 result.reserve(std::min(max_length, remaining_bytes_)); in ConsumeRandomLengthString()
163 for (size_t i = 0; i < max_length && remaining_bytes_ != 0; ++i) { in ConsumeRandomLengthString()
/openbsd/gnu/llvm/llvm/utils/
H A DlldbDataFormatters.py180 max_length = 1024
182 truncate = actual_length > max_length
183 length = min(max_length, actual_length)
/openbsd/gnu/usr.bin/perl/cpan/Compress-Raw-Zlib/zlib-src/
H A Dtrees.c123 int max_length; /* max bit length for the codes */ member
496 int max_length = desc->stat_desc->max_length; in gen_bitlen() local
514 if (bits > max_length) bits = max_length, overflow++; in gen_bitlen()
534 bits = max_length - 1; in gen_bitlen()
538 s->bl_count[max_length]--; in gen_bitlen()
550 for (bits = max_length; bits != 0; bits--) { in gen_bitlen()
/openbsd/lib/libz/
H A Dtrees.c120 int max_length; /* max bit length for the codes */ member
544 int max_length = desc->stat_desc->max_length; in gen_bitlen() local
562 if (bits > max_length) bits = max_length, overflow++; in gen_bitlen()
582 bits = max_length - 1; in gen_bitlen()
586 s->bl_count[max_length]--; in gen_bitlen()
598 for (bits = max_length; bits != 0; bits--) { in gen_bitlen()
/openbsd/sys/lib/libz/
H A Dtrees.c120 int max_length; /* max bit length for the codes */ member
544 int max_length = desc->stat_desc->max_length; in gen_bitlen() local
562 if (bits > max_length) bits = max_length, overflow++; in gen_bitlen()
582 bits = max_length - 1; in gen_bitlen()
586 s->bl_count[max_length]--; in gen_bitlen()
598 for (bits = max_length; bits != 0; bits--) { in gen_bitlen()
/openbsd/gnu/lib/libstdc++/libstdc++/testsuite/22_locale/
H A Dcodecvt_members_unicode_char.cc198 int k = cvt.max_length(); in test01()
286 int k = cvt.max_length(); in test02()
H A Dcodecvt_members_char_char.cc84 int k = cvt->max_length(); in test01()
H A Dcodecvt_members_wchar_t_char.cc107 int k = cvt->max_length(); in test01()
H A Dcodecvt_members_unicode_wchar_t.cc183 int k = cvt.max_length(); in test01()
/openbsd/sys/scsi/
H A Dscsi_tape.h134 u_int8_t max_length[3]; /* Most significant */ member
/openbsd/gnu/gcc/libstdc++-v3/include/bits/
H A Dfstream.tcc183 __ret += _M_file.showmanyc() / _M_codecvt->max_length(); in showmanyc()
231 __blen = __buflen + _M_codecvt->max_length() - 1; in underflow()
462 streamsize __blen = __ilen * _M_codecvt->max_length(); in _M_convert_to_external()
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_symbolizer_libcdep.cpp527 constexpr uptr max_length = 1024; in ReadFromSymbolizer() local
532 buffer_.resize(size_before + max_length); in ReadFromSymbolizer()

12