Searched refs:need (Results 1 - 25 of 177) sorted by relevance

12345678

/freebsd-9.3-release/sys/contrib/ngatm/netnatm/misc/
H A Dunimsg_common.c41 size_t need; local
47 need = len - uni_msg_leading(msg);
48 if (uni_msg_ensure(msg, need))
50 memcpy(msg->b_rptr + need, msg->b_rptr, uni_msg_len(msg));
51 msg->b_rptr += need - len;
52 msg->b_wptr += need;
/freebsd-9.3-release/contrib/ncurses/ncurses/trace/
H A Dtrace_buf.c50 size_t need = (bufnum + 1) * 2; local
51 if ((MyList = typeRealloc(TRACEBUF, need, MyList)) != 0) {
52 while (need > MySize)
/freebsd-9.3-release/contrib/ncurses/ncurses/base/
H A Dlib_slkset.c83 size_t need; local
86 need = mbrtowc(0, p, strlen(p), &state);
87 if (need == (size_t) -1)
89 mbrtowc(&wc, p, need, &state);
95 p += need;
/freebsd-9.3-release/contrib/ncurses/ncurses/tinfo/
H A Dlib_tgoto.c77 size_t need = 10; local
82 need += strlen(BC);
89 if ((used + need) > length) {
90 length += (used + need);
H A Dread_entry.c237 unsigned need = (ext_bool_count + ext_num_count + ext_str_count); local
240 if (need >= sizeof(buf)
281 if ((ext_str_count || need)
282 && !read_shorts(buf, ext_str_count + need))
315 if (need) {
318 if ((ptr->ext_Names = TYPE_CALLOC(char *, need)) == 0)
325 (int) need,
411 unsigned need = 4 + strlen(path) + strlen(name); local
413 if (need <= limit) {
424 unsigned need local
[all...]
H A Dcomp_expand.c61 size_t need = (2 + strlen(str)) * 4; local
73 if (buffer == 0 || need > length) {
74 if ((buffer = typeRealloc(char, length = need, buffer)) == 0)
/freebsd-9.3-release/contrib/top/
H A DMakefile.X64 @echo 'You need to run the script "Configure" before running "make".'
68 @echo 'You need to run the script "Configure" before running "make".'
/freebsd-9.3-release/contrib/wpa/src/tls/
H A Dbignum.c83 size_t need = mp_unsigned_bin_size((mp_int *) n); local
84 if (len && need > *len) {
85 *len = need;
93 *len = need;
/freebsd-9.3-release/contrib/sendmail/libsm/
H A Dmbdb.c491 int need; local
598 need = NEED_FULLNAME|NEED_HOMEDIR|NEED_SHELL|NEED_UID|NEED_GID;
636 if (!bitset(NEED_FULLNAME, need) ||
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
[all...]
/freebsd-9.3-release/usr.bin/hexdump/
H A Ddisplay.c235 int need, nread; local
251 for (need = blocksize, nread = 0;;) {
260 if (need == blocksize)
273 bzero((char *)curp + nread, need);
278 length == -1 ? need : MIN(length, need), stdin);
288 if (!(need -= n)) {
304 need = blocksize;
/freebsd-9.3-release/crypto/openssh/
H A Dkex.c468 u_int mode, ctos, need, dh_need, authlen; local
534 need = dh_need = 0;
537 need = MAX(need, newkeys->enc.key_len);
538 need = MAX(need, newkeys->enc.block_size);
539 need = MAX(need, newkeys->enc.iv_len);
540 need = MAX(need, newkey
562 derive_key(Kex *kex, int id, u_int need, u_char *hash, u_int hashlen, const u_char *shared_secret, u_int slen) argument
[all...]
/freebsd-9.3-release/contrib/dialog/
H A Deditbox.c41 size_t need = (size_t) (want | 31) + 3; local
42 *have = (int) need;
43 (*list) = dlg_realloc(char *, need, *list);
47 while (++last < need) {
60 unsigned need; local
82 need = 0;
85 (*list)[need] = blob + n;
90 ++need;
96 if (need == 0) {
100 for (n = 0; n < need;
[all...]
/freebsd-9.3-release/contrib/cvs/src/
H A Dbuffer.c900 /* We need to read at least 1 byte. We can handle up to
1106 int need; local
1120 need = sizeof (int);
1124 if (data->size >= need)
1126 memcpy (intp, data->bufp, need);
1131 need -= data->size;
1136 return need;
1141 startoff = need;
1146 don't need any further information. */
1158 need
[all...]
H A Dbuffer.h52 int (*input) PROTO((void *closure, char *data, int need, int size,
/freebsd-9.3-release/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_diskstorage_tbl.c406 size_t need = 0; local
408 if (sysctlbyname("kern.disks", NULL, &need, NULL, 0) == -1) {
413 if (need == 0)
416 if (disk_list_len != need + 1 || disk_list == NULL) {
417 disk_list_len = need + 1;
429 if (sysctlbyname("kern.disks", disk_list, &need, NULL, 0) == -1 ||
435 for (disk_cnt = 0; disk_cnt < need; disk_cnt++) {
/freebsd-9.3-release/contrib/pf/libevent/
H A Dbuffer.c33 /* If we have vasprintf, we need to define this before we include stdio.h. */
107 * Optimization comes with a price; we need to notify the
260 size_t need = buf->misalign + buf->off + datlen; local
263 if (buf->totallen >= need)
278 while (length < need)
296 size_t need = buf->misalign + buf->off + datlen; local
299 if (buf->totallen < need) {
/freebsd-9.3-release/usr.bin/at/
H A Dparsetime.c146 static int need; /* scanner - need to advance to next argument */ variable
182 need = 1;
205 /* if we need to read another argument, walk along the argument list;
208 if (need) {
214 need = 0;
223 need = 1;
/freebsd-9.3-release/contrib/wpa/src/crypto/
H A Dmd4-internal.c60 * except that you don't need to include two pages of legalese
116 size_t have, need; local
118 /* Check how many bytes we already have and how many more we need. */
120 need = MD4_BLOCK_LENGTH - have;
125 if (len >= need) {
127 os_memcpy(ctx->buffer + have, input, need);
129 input += need;
130 len -= need;
/freebsd-9.3-release/sys/ofed/include/linux/
H A Dlinux_idr.c216 int need; local
220 need = idr->layers + 1;
222 need--;
224 if (need == 0)
226 for (head = NULL; need; need--) {
/freebsd-9.3-release/usr.sbin/cron/doc/
H A DINSTALL28 run if they don't exist. You do need to have a /var, though -- just "mkdir
32 You will also need /usr/local/etc and /usr/local/bin directories unless you
86 you will need the public-domain "libndir", found in the B News source and in
87 any comp.sources.unix archive. You will also need to hack the code some.
/freebsd-9.3-release/sys/netpfil/ipfw/
H A Dip_dn_glue.c493 * If p->pipe_nr != 0 the command is 'pipe x config', so need to create
559 int need = 0; local
567 need += dn_cfg.schk_count * sizeof(struct dn_pipe8) / 2;
568 need += dn_cfg.fsk_count * sizeof(struct dn_flow_set);
569 need += dn_cfg.si_count * sizeof(struct dn_flow_queue8);
570 need += dn_cfg.queue_count * sizeof(struct dn_flow_queue8);
572 return need;
664 int need = 0; local
676 need = pipe_size + queue_size * n_queue;
677 if (have < need) {
720 int need = 0; local
[all...]
/freebsd-9.3-release/contrib/bmake/mk/
H A Dlinks.mk16 # some platforms need something special
/freebsd-9.3-release/contrib/gdb/
H A Ddjunpack.bat17 Rem The following 2 lines need to be changed with each new GDB release, to
29 Rem empty files. We need that because the previous line will create
/freebsd-9.3-release/contrib/llvm/lib/Support/Windows/
H A DProgram.inc147 // We need to add a backslash, but ensure that it isn't escaped.
151 // Note that we *don't* need to escape runs of backslashes that don't
/freebsd-9.3-release/contrib/tzcode/zic/
H A Dprivate.h12 * This makes it easier when we need to update one but not the other.
121 you may need to compile with "-DHAVE_STDINT_H".

Completed in 149 milliseconds

12345678