| /freebsd-12.1/sys/contrib/ngatm/netnatm/misc/ |
| H A D | unimsg_common.c | 41 size_t need; in uni_msg_prepend() local 47 need = len - uni_msg_leading(msg); in uni_msg_prepend() 48 if (uni_msg_ensure(msg, need)) in uni_msg_prepend() 50 memcpy(msg->b_rptr + need, msg->b_rptr, uni_msg_len(msg)); in uni_msg_prepend() 51 msg->b_rptr += need - len; in uni_msg_prepend() 52 msg->b_wptr += need; in uni_msg_prepend()
|
| /freebsd-12.1/contrib/ncurses/ncurses/tinfo/ |
| H A D | lib_print.c | 51 size_t need; in NCURSES_EXPORT() local 71 need = onsize + (size_t) len + offsize; in NCURSES_EXPORT() 74 || (mybuf = typeMalloc(char, need + 1)) == 0) { in NCURSES_EXPORT() 79 _nc_STRCPY(mybuf, switchon, need); in NCURSES_EXPORT() 82 _nc_STRCPY(mybuf + onsize + len, prtr_off, need); in NCURSES_EXPORT() 91 result = (int) write(TerminalOf(SP_PARM)->Filedes, mybuf, need); in NCURSES_EXPORT()
|
| H A D | lib_tgoto.c | 77 size_t need = 10; in tgoto_internal() local 82 need += strlen(BC); in tgoto_internal() 89 if ((used + need) > length) { in tgoto_internal() 90 length += (used + need); in tgoto_internal()
|
| H A D | read_entry.c | 270 unsigned need = (unsigned) (ext_bool_count + ext_num_count + ext_str_count); in _nc_read_termtype() local 273 if (need >= (MAX_ENTRY_SIZE / 2) in _nc_read_termtype() 314 if ((unsigned) (ext_str_count + (int) need) >= (MAX_ENTRY_SIZE / 2)) in _nc_read_termtype() 316 if ((ext_str_count || need) in _nc_read_termtype() 317 && !read_shorts(buf, ext_str_count + (int) need)) in _nc_read_termtype() 351 if (need) { in _nc_read_termtype() 354 if ((ptr->ext_Names = TYPE_CALLOC(char *, need)) == 0) in _nc_read_termtype() 361 (int) need, in _nc_read_termtype() 471 unsigned need = (unsigned) (LEAF_LEN + 3 + strlen(path) + strlen(name)); in make_dir_filename() local 473 if (need <= limit) { in make_dir_filename()
|
| /freebsd-12.1/contrib/ncurses/ncurses/trace/ |
| H A D | trace_buf.c | 52 size_t need = (size_t) (bufnum + 1) * 2; in _nc_trace_alloc() local 53 if ((MyList = typeRealloc(TRACEBUF, need, MyList)) != 0) { in _nc_trace_alloc() 54 while (need > MySize) in _nc_trace_alloc() 109 size_t need = strlen(value) + have; in _nc_trace_bufcat() local 111 buffer = _nc_trace_alloc(bufnum, 1 + need); in _nc_trace_bufcat() 113 _nc_STRCPY(buffer + have, value, need); in _nc_trace_bufcat()
|
| /freebsd-12.1/contrib/sendmail/libsm/ |
| H A D | mbdb.c | 491 int need; local 642 need &= ~NEED_FULLNAME; 646 if (!bitset(NEED_HOMEDIR, need) || 652 need &= ~NEED_HOMEDIR; 656 if (!bitset(NEED_SHELL, need) || 662 need &= ~NEED_SHELL; 668 if (!bitset(NEED_UID, need)) 684 need &= ~NEED_UID; 690 if (!bitset(NEED_GID, need)) 706 need &= ~NEED_GID; [all …]
|
| /freebsd-12.1/sys/contrib/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/ |
| H A D | crypto_scrypt-common.c | 147 size_t need; in escrypt_r() local 167 need = prefixlen + saltlen + 1 + in escrypt_r() 169 if (need > buflen || need < saltlen) { in escrypt_r() 205 size_t need; in escrypt_gensalt_r() local 207 need = prefixlen + saltlen + 1; in escrypt_gensalt_r() 208 if (need > buflen || need < saltlen || saltlen < srclen) { in escrypt_gensalt_r()
|
| /freebsd-12.1/contrib/ncurses/progs/ |
| H A D | transform.c | 47 size_t need = (sizeof(ignore) - 1); in trim_suffix() local 49 if (*len > need) { in trim_suffix() 50 size_t first = *len - need; in trim_suffix() 60 *len -= need; in trim_suffix()
|
| H A D | tabs.c | 266 size_t need = 1 + strlen(copied); in add_to_tab_list() local 273 need += strlen(comma); in add_to_tab_list() 275 need += strlen(*append); in add_to_tab_list() 277 result = malloc(need); in add_to_tab_list() 283 _nc_STRCPY(result, *append, need); in add_to_tab_list() 286 _nc_STRCAT(result, comma, need); in add_to_tab_list() 287 _nc_STRCAT(result, copied, need); in add_to_tab_list()
|
| /freebsd-12.1/contrib/file/magic/Magdir/ |
| H A D | mup | 17 >>>>14 string x \b, need V%.4s 19 >>>>14 string x \b, need V%.3s 22 >>>7 string x \b, need V%.4s 24 >>>7 string x \b, need V%.3s
|
| /freebsd-12.1/contrib/ncurses/ncurses/base/ |
| H A D | lib_slkset.c | 83 size_t need; in NCURSES_EXPORT() local 86 need = mbrtowc(0, p, strlen(p), &state); in NCURSES_EXPORT() 87 if (need == (size_t) -1) in NCURSES_EXPORT() 89 mbrtowc(&wc, p, need, &state); in NCURSES_EXPORT() 95 p += need; in NCURSES_EXPORT()
|
| /freebsd-12.1/usr.bin/hexdump/ |
| H A D | display.c | 243 int need, nread; in get() local 259 for (need = blocksize, nread = 0;;) { in get() 268 if (need == blocksize) in get() 281 bzero((char *)curp + nread, need); in get() 286 length == -1 ? need : MIN(length, need), stdin); in get() 296 if (!(need -= n)) { in get() 312 need = blocksize; in get()
|
| /freebsd-12.1/contrib/dialog/ |
| H A D | editbox.c | 41 size_t need = (size_t) (want | 31) + 3; in grow_list() local 42 *have = (int) need; in grow_list() 47 while (++last < need) { in grow_list() 61 unsigned need; in load_list() local 84 need = 0; in load_list() 87 (*list)[need] = blob + n; in load_list() 92 ++need; in load_list() 98 if (need == 0) { in load_list() 102 for (n = 0; n < need; ++n) { in load_list() 105 (*list)[need] = 0; in load_list() [all …]
|
| /freebsd-12.1/crypto/openssh/ |
| H A D | dh.c | 269 dh_gen_key(DH *dh, int need) in dh_gen_key() argument 276 if (need < 0 || dh_p == NULL || in dh_gen_key() 278 need > INT_MAX / 2 || 2 * need > pbits) in dh_gen_key() 280 if (need < 256) in dh_gen_key() 281 need = 256; in dh_gen_key() 286 if (!DH_set_length(dh, MINIMUM(need * 2, pbits - 1))) in dh_gen_key()
|
| H A D | bitmap.c | 171 size_t i, j, k, need = bitmap_nbytes(b); in bitmap_to_string() local 173 if (l < need || b->top >= b->len) in bitmap_to_string() 175 if (l > need) in bitmap_to_string() 176 l = need; in bitmap_to_string() 182 s[need - 1 - k++] = (b->d[i] >> (j * 8)) & 0xff; in bitmap_to_string()
|
| /freebsd-12.1/contrib/wpa/src/tls/ |
| H A D | bignum.c | 77 size_t need = mp_unsigned_bin_size((mp_int *) n); in bignum_get_unsigned_bin() local 78 if (len && need > *len) { in bignum_get_unsigned_bin() 79 *len = need; in bignum_get_unsigned_bin() 87 *len = need; in bignum_get_unsigned_bin()
|
| /freebsd-12.1/contrib/tnftp/ |
| H A D | todo | 9 Interix may need hack to fix detection of getpgrp() void args. 19 check if we need #defines for memcpy() et al 23 system specific tests (to remove need for manual intervention):
|
| /freebsd-12.1/sys/netpfil/ipfw/ |
| H A D | ip_dn_glue.c | 564 int need = 0; in dn_compat_calc_size() local 572 need += dn_cfg.schk_count * sizeof(struct dn_pipe8) / 2; in dn_compat_calc_size() 573 need += dn_cfg.fsk_count * sizeof(struct dn_flow_set); in dn_compat_calc_size() 577 return need; in dn_compat_calc_size() 669 int need = 0; in dn_compat_copy_pipe() local 681 need = pipe_size + queue_size * n_queue; in dn_compat_copy_pipe() 682 if (have < need) { in dn_compat_copy_pipe() 683 D("have %d < need %d", have, need); in dn_compat_copy_pipe() 725 int need = 0; in dn_compat_copy_queue() local 735 need = fs_size + queue_size * n_queue; in dn_compat_copy_queue() [all …]
|
| /freebsd-12.1/contrib/apr-util/dbm/sdbm/ |
| H A D | sdbm_pair.c | 63 fitpair(pag, need) in fitpair() argument 65 int need; 74 need += 2 * sizeof(short); 76 debug(("avail %d need %d\n", avail, need)); 78 return need <= avail;
|
| H A D | sdbm.c | 246 int need; in apr_sdbm_store() local 254 need = key.dsize + val.dsize; in apr_sdbm_store() 258 if (need < 0 || need > PAIRMAX) in apr_sdbm_store() 279 if (!fitpair(db->pagbuf, need)) in apr_sdbm_store() 280 if ((status = makroom(db, hash, need)) != APR_SUCCESS) in apr_sdbm_store() 302 static apr_status_t makroom(apr_sdbm_t *db, long hash, int need) in makroom() argument 347 if (fitpair(pag, need)) in makroom()
|
| /freebsd-12.1/contrib/binutils/ |
| H A D | MAINTAINERS | 9 files, but they should be aware that they need to 25 May need separate opcodes/ or sim/ approval for 31 Changes need to be done in tandem with the official CONFIG 52 Changes need to be done in tandem with the official GCC 62 Changes need to be done in tandem with the official LIBTOOL 69 Changes need to be done in tandem with the official AUTOCONF 110 that they need to be kept in sync with their
|
| /freebsd-12.1/sys/contrib/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/nosse/ |
| H A D | pwhash_scryptsalsa208sha256_nosse.c | 298 size_t B_size, V_size, XY_size, need; in escrypt_kdf_nosse() local 339 need = B_size + V_size; in escrypt_kdf_nosse() 340 if (need < V_size) { in escrypt_kdf_nosse() 345 need += XY_size; in escrypt_kdf_nosse() 346 if (need < XY_size) { in escrypt_kdf_nosse() 350 if (local->size < need) { in escrypt_kdf_nosse() 354 if (!alloc_region(local, need)) { in escrypt_kdf_nosse()
|
| /freebsd-12.1/sys/contrib/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/sse/ |
| H A D | pwhash_scryptsalsa208sha256_sse.c | 313 size_t B_size, V_size, XY_size, need; in escrypt_kdf_sse() local 358 need = B_size + V_size; in escrypt_kdf_sse() 360 if (need < V_size) { in escrypt_kdf_sse() 366 need += XY_size; in escrypt_kdf_sse() 368 if (need < XY_size) { in escrypt_kdf_sse() 373 if (local->size < need) { in escrypt_kdf_sse() 377 if (!alloc_region(local, need)) { in escrypt_kdf_sse()
|
| /freebsd-12.1/contrib/ldns/ |
| H A D | radix.c | 864 uint16_t need = node->offset - byte; in ldns_radix_array_space() local 866 if (node->len + need > node->capacity) { in ldns_radix_array_space() 869 (unsigned) (node->len + need))) { in ldns_radix_array_space() 878 if (node->array[index+need].edge) { in ldns_radix_array_space() 880 index + need; in ldns_radix_array_space() 885 node->len += need; in ldns_radix_array_space() 894 (unsigned) (node->len + need))) { in ldns_radix_array_space() 900 need*sizeof(ldns_radix_array_t)); in ldns_radix_array_space() 901 node->len += need; in ldns_radix_array_space() 920 if (need > size) { in ldns_radix_array_grow() [all …]
|
| /freebsd-12.1/contrib/ipfilter/ |
| H A D | NAT.FreeBSD | 4 You will need to change three files: 25 If you are using a Kernal Loadable Module you need to edit your 36 put in the rules that you need for your system. 65 The NAT Rules will need to be loaded every time the computer 99 You need to configure these in the /etc/sysconfig
|