Searched refs:want (Results 1 - 25 of 156) sorted by relevance

1234567

/freebsd-10.0-release/lib/libcrypt/tests/
H A Dcrypt_tests.c21 const char want[] = "$1$deadbeef$0Huu6KHrKLVWfqa4WljDE0"; local
24 pw = crypt(LEET, want);
25 ATF_CHECK_STREQ(pw, want);
37 const char want[] = "$1$cafebabe$0Huu6KHrKLVWfqa4WljDE0"; local
40 pw = crypt(LEET, want);
41 ATF_CHECK(strcmp(pw, want) != 0);
/freebsd-10.0-release/contrib/ncurses/ncurses/tinfo/
H A Dhome_terminfo.c56 unsigned want = (strlen(home) + sizeof(PRIVATE_INFO)); local
57 MyBuffer = typeMalloc(char, want);
H A Dread_entry.c96 fake_read(char *src, int *offset, int limit, char *dst, unsigned want) argument
101 if ((int) want > have)
102 want = have;
103 memcpy(dst, src + *offset, want);
104 *offset += want;
106 want = 0;
108 return (int) want;
128 unsigned want, have; local
158 want = str_size + name_size + 1;
162 || (string_table = typeMalloc(char, want))
[all...]
H A Dwrite_entry.c468 unsigned want,
473 want *= size;
475 if ((int) want > have)
476 want = have;
477 memcpy(dst + *offset, src, want);
478 *offset += want;
480 want = 0;
482 return (int) (want / size);
464 fake_write(char *dst, unsigned *offset, unsigned limit, char *src, unsigned want, unsigned size) argument
/freebsd-10.0-release/contrib/ncurses/ncurses/trace/
H A Dtrace_buf.c44 _nc_trace_alloc(int bufnum, size_t want) argument
59 || want > MyList[bufnum].size) {
60 MyList[bufnum].text = typeRealloc(char, want, MyList[bufnum].text);
62 MyList[bufnum].size = want;
90 _nc_trace_buf(int bufnum, size_t want) argument
92 char *result = _nc_trace_alloc(bufnum, want);
/freebsd-10.0-release/lib/libc/locale/
H A Dutf8.c58 int want; member in struct:__anon5430
87 return (ps == NULL || ((const _UTF8State *)ps)->want == 0);
95 int ch, i, mask, want; local
100 if (us->want < 0 || us->want > 6) {
115 if (us->want == 0 && ((ch = (unsigned char)*s) & ~0x7f) == 0) {
122 if (us->want == 0) {
138 want = 1;
142 want = 2;
146 want
[all...]
H A Deuc.c74 int want; member in struct:__anon5420
134 return (ps == NULL || ((const _EucState *)ps)->want == 0);
157 int i, set, want; local
163 if (es->want < 0 || es->want > MB_CUR_MAX || es->set < 0 ||
181 if (es->want == 0) {
182 want = CEI->count[set = _euc_set(*s)];
184 --want;
188 es->want = want;
[all...]
/freebsd-10.0-release/contrib/sendmail/libsm/
H A Dt-match.c17 #define try(str, pat, want) \
19 if (!SM_TEST(got == want)) \
/freebsd-10.0-release/crypto/openssl/crypto/asn1/
H A Da_d2i_fp.c148 size_t want=HEADER_SIZE; local
163 if (want >= (len-off))
165 want-=(len-off);
167 if (len + want < len || !BUF_MEM_grow_clean(b,len+want))
172 i=BIO_read(in,&(b->data[len]),want);
216 want=HEADER_SIZE;
225 want=HEADER_SIZE;
230 want=c.slen;
231 if (want > (le
[all...]
/freebsd-10.0-release/usr.bin/units/
H A Dunits.c93 void showanswer(struct unittype * have, struct unittype * want);
636 showanswer(struct unittype * have, struct unittype * want) argument
638 if (compareunits(have, want)) {
641 showunit(want);
643 else if (have->offset != want->offset) {
644 if (want->quantity)
649 (have->factor + have->offset-want->offset)/want->factor);
652 have->factor / want->factor,
653 (have->offset-want
676 struct unittype have, want; local
[all...]
/freebsd-10.0-release/sys/netgraph/bluetooth/drivers/h4/
H A Dng_h4.c172 sc->want = 1;
351 sc->want = 1;
368 sc->want = 1;
387 sc->want = 1;
397 NG_H4_INFO("%s: %s - got char %#x, want=%d, got=%d\n", __func__,
398 NG_NODE_NAME(sc->node), c, sc->want, sc->got);
400 if (sc->got < sc->want) {
416 * just set sc->want to sizeof(packet header).
421 sc->want = sizeof(ng_hci_acldata_pkt_t);
425 sc->want
[all...]
H A Dng_h4_var.h93 u_int32_t want; /* Number of bytes we want to receive */ member in struct:ng_h4_info
/freebsd-10.0-release/sys/i386/xbox/
H A Dxbox.c39 #error You must have a I686_CPU in your kernel if you want to make an XBOX-compatible kernel
/freebsd-10.0-release/contrib/gdb/gdb/
H A Dremote-e7000.c603 quit_trying = try + 1; /* we don't want to try anymore */
683 when you want to detach and do something else with your gdb. */
781 fetch_regs_from_dump (int (*nextchar) (), char *want) argument
788 if (want == NULL)
791 while (*want)
793 switch (*want)
801 want++;
810 want++;
814 if (*want == thischar)
816 want
[all...]
/freebsd-10.0-release/contrib/llvm/lib/Support/Unix/
H A DHost.inc59 // On darwin, we want to update the version to match that of the
/freebsd-10.0-release/sys/netgraph/bluetooth/drivers/bt3c/
H A Dng_bt3c_var.h96 u_int32_t want; /* # of chars we want */ member in struct:bt3c_softc
H A Dng_bt3c_pccard.c675 sc->want = 1;
808 sc->want = 1;
838 sc->want = 1;
847 "Got char %#x, want=%d, got=%d\n", c, sc->want, sc->m->m_pkthdr.len);
849 if (sc->m->m_pkthdr.len < sc->want)
862 * header just set sc->want to sizeof(packet header).
867 sc->want = sizeof(ng_hci_acldata_pkt_t);
871 sc->want = sizeof(ng_hci_scodata_pkt_t);
875 sc->want
[all...]
/freebsd-10.0-release/sys/sys/
H A Dtimeet.h93 struct eventtimer *et_find(const char *name, int check, int want);
/freebsd-10.0-release/usr.bin/last/
H A Dlast.c103 static int want(struct utmpx *);
256 * if we're in snapshot mode, we want to exit if this
265 if (!snaptime && want(bp))
271 if (want(bp) && !snaptime)
298 if (bp->ut_type == USER_PROCESS && (want(bp) ||
376 * want --
377 * see if want this entry
380 want(struct utmpx *bp) function
/freebsd-10.0-release/contrib/bmake/mk/
H A Dlinks.mk56 # sometimes we want to ensure DESTDIR is ignored
H A Dmeta.sys.mk17 # include this if you want to enable meta mode
119 # by default dirdeps is all we want at level0
121 # tell dirdeps.mk what we want
/freebsd-10.0-release/contrib/ncurses/ncurses/tty/
H A Dhardscroll.c57 The common case we want hardware scrolling for is to handle line insertions
273 size_t want = (screen_lines + 1) * 4; local
275 if ((buf = typeMalloc(char, want)) != 0) {
/freebsd-10.0-release/contrib/unbound/util/
H A Dnetevent.c739 /* we do not want to log here, because
744 /* we do not want to log here,
929 int want = SSL_get_error(c->ssl, r); local
930 if(want == SSL_ERROR_WANT_READ) {
936 } else if(want == SSL_ERROR_WANT_WRITE) {
944 } else if(want == SSL_ERROR_SYSCALL) {
991 int want = SSL_get_error(c->ssl, r); local
992 if(want == SSL_ERROR_ZERO_RETURN) {
994 } else if(want == SSL_ERROR_WANT_READ) {
996 } else if(want
1031 int want = SSL_get_error(c->ssl, r); local
1081 int want = SSL_get_error(c->ssl, r); local
1114 int want = SSL_get_error(c->ssl, r); local
[all...]
/freebsd-10.0-release/usr.sbin/ctm/ctm_smail/
H A Dctm_smail.c299 * left one, then adds the character. We only want 16 bits of it, and
321 int want, n, i; local
334 want = (msg_size < sizeof(inbuf)) ? msg_size : sizeof(inbuf);
335 if ((n = fread(inbuf, sizeof(char), want, delta_fp)) == 0)
/freebsd-10.0-release/contrib/tcsh/
H A Dtc.func.c472 * We don't want to glob dowhich args because we lose quoteing
498 ep = p + 1; /* then we want only the last part */
505 vp = p + 1; /* then we want only the last part */
539 cp = cp + 1; /* then we want only the last part */
617 (void) Rawmode(); /* Make sure, cause we want echo off */
1027 * removed. We don't want that. Note that we want to remove precmd
1143 "Do you really want to delete all files? [n/y] "));

Completed in 156 milliseconds

1234567