Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/ncurses/ncurses/base/
H A Dlib_slk.c82 int max_length; in _nc_format_slks() local
87 max_length = SP_PARM->_slk->maxlen; in _nc_format_slks()
89 gap = (cols - 3 * (3 + 4 * max_length)) / 2; in _nc_format_slks()
96 x += max_length; in _nc_format_slks()
101 gap = cols - (int) (SP_PARM->_slk->maxlab * max_length) - 6; in _nc_format_slks()
107 x += max_length; in _nc_format_slks()
112 gap = (cols - (SP_PARM->_slk->maxlab * max_length) - 5) in _nc_format_slks()
119 x += max_length; in _nc_format_slks()
141 size_t max_length; in _nc_slk_initialize() local
192 max_length = (size_t) SP_PARM->_slk->maxlen; in _nc_slk_initialize()
[all …]
/freebsd-12.1/usr.bin/fmt/
H A Dfmt.c240 static size_t max_length = 0; /* Maximum length for output lines */ variable
323 max_length = goal_length; in main()
340 max_length = goal_length; in main()
371 && (max_length = get_positive(*argv, "max length must be positive", 0)) in main()
375 if (max_length < goal_length) in main()
381 if (max_length == 0) in main()
382 max_length = goal_length + 10; in main()
383 if (max_length >= SIZE_T_MAX / sizeof(wchar_t)) in main()
386 output_buffer = XMALLOC((max_length + 1) * sizeof(wchar_t)); in main()
652 if (x0 == 0 || (new_x <= max_length && in output_word()
[all …]
/freebsd-12.1/contrib/gdb/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()
/freebsd-12.1/contrib/tcpdump/
H A 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()
H A Dprint-rpki-rtr.c60 u_char max_length; member
73 u_char max_length; member
271 pdu->prefix_length, pdu->max_length, in rpki_rtr_pdu_print()
287 pdu->prefix_length, pdu->max_length, in rpki_rtr_pdu_print()
/freebsd-12.1/contrib/libstdc++/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()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/Darwin/
H A DCFString.cpp129 CFIndex max_length = in FileSystemRepresentation() local
131 if (max_length > 0) { in FileSystemRepresentation()
132 str.resize(max_length); in FileSystemRepresentation()
/freebsd-12.1/contrib/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()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Utility/
H A DStringList.cpp74 size_t max_length = 0; in GetMaxStringLength() local
77 if (max_length < len) in GetMaxStringLength()
78 max_length = len; in GetMaxStringLength()
80 return max_length; in GetMaxStringLength()
/freebsd-12.1/contrib/wpa/src/utils/
H A Dradiotap.c93 int max_length, const struct ieee80211_radiotap_vendor_namespaces *vns) in ieee80211_radiotap_iterator_init() argument
96 if (max_length < (int)sizeof(struct ieee80211_radiotap_header)) in ieee80211_radiotap_iterator_init()
104 if (max_length < get_unaligned_le16(&radiotap_header->it_len)) in ieee80211_radiotap_iterator_init()
H A Dradiotap_iter.h91 int max_length, const struct ieee80211_radiotap_vendor_namespaces *vns);
/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_symbolizer_libcdep.cc453 bool SymbolizerProcess::ReadFromSymbolizer(char *buffer, uptr max_length) { in ReadFromSymbolizer() argument
454 if (max_length == 0) in ReadFromSymbolizer()
460 max_length - read_len - 1, &just_read); in ReadFromSymbolizer()
470 if (read_len + 1 == max_length) { in ReadFromSymbolizer()
H A Dsanitizer_symbolizer_internal.h92 virtual bool ReadFromSymbolizer(char *buffer, uptr max_length);
H A Dsanitizer_symbolizer_posix_libcdep.cc273 bool ReadFromSymbolizer(char *buffer, uptr max_length) override { in ReadFromSymbolizer() argument
274 if (!SymbolizerProcess::ReadFromSymbolizer(buffer, max_length)) in ReadFromSymbolizer()
H A Dsanitizer_common.h569 explicit InternalScopedString(uptr max_length) in InternalScopedString() argument
570 : InternalMmapVector<char>(max_length), length_(0) { in InternalScopedString()
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/zmod/
H A Dtrees.c126 int max_length; /* max bit length for the codes */ member
499 int max_length = desc->stat_desc->max_length; local
517 if (bits > max_length) bits = max_length, overflow++;
537 bits = max_length-1;
541 s->bl_count[max_length]--;
553 for (bits = max_length; bits != 0; bits--) {
/freebsd-12.1/sys/contrib/zlib/
H A Dtrees.c122 int max_length; /* max bit length for the codes */ member
495 int max_length = desc->stat_desc->max_length; local
513 if (bits > max_length) bits = max_length, overflow++;
533 bits = max_length-1;
537 s->bl_count[max_length]--;
549 for (bits = max_length; bits != 0; bits--) {
/freebsd-12.1/contrib/libstdc++/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()
H A Dcodecvt.h223 max_length() const throw() in max_length() function
/freebsd-12.1/sys/kern/
H A Dkern_umtx.c184 u_int max_length; member
259 static long max_length; variable
260 SYSCTL_LONG(_debug_umtx, OID_AUTO, max_length, CTLFLAG_RD, &max_length, 0, "max_length");
330 tot += uc->max_length; in sysctl_debug_umtx_chains_peaks()
342 whole = uc->max_length * 100; in sysctl_debug_umtx_chains_peaks()
409 uc->max_length = 0; in sysctl_debug_umtx_chains_clear()
444 umtxq_chains[i][j].max_length = 0; in umtxq_sysinit()
613 if (uc->length > uc->max_length) { in umtxq_insert_queue()
614 uc->max_length = uc->length; in umtxq_insert_queue()
615 if (uc->max_length > max_length) in umtxq_insert_queue()
[all …]
/freebsd-12.1/contrib/subversion/subversion/libsvn_subr/
H A Dpath.c667 apr_size_t max_length = components->nelts; in svn_path_compose() local
678 max_length += l; in svn_path_compose()
681 path = apr_palloc(pool, max_length + 1); in svn_path_compose()
/freebsd-12.1/contrib/ee/
H A Dee.c128 int max_length; /* maximum number of characters the line handles */ member
570 curr_line->max_length = 10;
680 rline->max_length += factor;
681 rpoint = rline->line = realloc(rline->line, rline->max_length );
706 if ((curr_line->max_length - curr_line->line_length) < 5)
1077 temp_nod->max_length = 10;
1091 if ((temp_nod->max_length - temp_nod->line_length)< 5)
2355 curr_line->max_length = char_count;
2821 if ((curr_line->max_length - (curr_line->line_length + d_wrd_len)) < 5) in undel_word()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Core/
H A DValueObject.cpp939 uint32_t max_length, bool honor_array, in ReadPointedString() argument
953 if (max_length == 0) in ReadPointedString()
954 max_length = target->GetMaximumSizeOfStringSummary(); in ReadPointedString()
975 if (cstr_len > max_length) { in ReadPointedString()
977 cstr_len = max_length; in ReadPointedString()
1023 cstr_len = max_length; in ReadPointedString()
/freebsd-12.1/sys/libkern/
H A Dzlib.c1960 int max_length; /* max bit length for the codes */ member
2264 int max_length = desc->stat_desc->max_length; local
2282 if (bits > max_length) bits = max_length, overflow++;
2302 bits = max_length-1;
2306 s->bl_count[max_length]--;
2318 for (bits = max_length; bits != 0; bits--) {
/freebsd-12.1/contrib/libc++/include/
H A D__locale923 int max_length() const _NOEXCEPT
1008 int max_length() const _NOEXCEPT
1092 int max_length() const _NOEXCEPT
1178 int max_length() const _NOEXCEPT

12