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

1234567

/freebsd-10.1-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.1-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.1-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.1-release/lib/libc/locale/
H A Dutf8.c59 int want; member in struct:__anon5626
88 return (ps == NULL || ((const _UTF8State *)ps)->want == 0);
96 int ch, i, mask, want; local
101 if (us->want < 0 || us->want > 6) {
116 if (us->want == 0) {
138 want = 2;
142 want = 3;
146 want = 4;
150 want
[all...]
H A Deuc.c74 int want; member in struct:__anon5616
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.1-release/contrib/sendmail/libsm/
H A Dt-match.c17 #define try(str, pat, want) \
19 if (!SM_TEST(got == want)) \
/freebsd-10.1-release/crypto/openssl/crypto/asn1/
H A Da_d2i_fp.c150 size_t want = HEADER_SIZE; local
163 if (want >= (len - off)) {
164 want -= (len - off);
166 if (len + want < len || !BUF_MEM_grow_clean(b, len + want)) {
170 i = BIO_read(in, &(b->data[len]), want);
208 want = HEADER_SIZE;
215 want = HEADER_SIZE;
218 want = c.slen;
219 if (want > (le
[all...]
/freebsd-10.1-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.1-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.1-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.1-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.1-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.1-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.1-release/sys/sys/
H A Dtimeet.h94 struct eventtimer *et_find(const char *name, int check, int want);
/freebsd-10.1-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.1-release/share/mk/
H A Dbsd.test.mk32 # We want this to be the case even when the distribution name is already
33 # overriden. For example: we want the tests for programs in the 'games'
67 # tell progs.mk we might want to install things
/freebsd-10.1-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.1-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.1-release/contrib/unbound/util/
H A Dnetevent.c776 /* we do not want to log here, because
781 /* we do not want to log here,
966 int want = SSL_get_error(c->ssl, r); local
967 if(want == SSL_ERROR_WANT_READ) {
973 } else if(want == SSL_ERROR_WANT_WRITE) {
981 } else if(want == SSL_ERROR_SYSCALL) {
1028 int want = SSL_get_error(c->ssl, r); local
1029 if(want == SSL_ERROR_ZERO_RETURN) {
1031 } else if(want == SSL_ERROR_WANT_READ) {
1033 } else if(want
1068 int want = SSL_get_error(c->ssl, r); local
1118 int want = SSL_get_error(c->ssl, r); local
1151 int want = SSL_get_error(c->ssl, r); local
[all...]
/freebsd-10.1-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)

Completed in 500 milliseconds

1234567