HomeSort by: relevance | last modified time | path
    Searched refs:nwords (Results 1 - 25 of 35) sorted by relevancy

1 2

  /src/games/boggle/mkdict/
mkdict.c 66 int ch, common, nwords; local in function:main
74 for (nwords = 1;
75 fgets(buf[current], MAXWORDLEN + 1, stdin) != NULL; ++nwords) {
102 if (argc == 2 && nwords % atoi(argv[1]))
117 fprintf(stderr, "%d words\n", nwords);
  /src/bin/ksh/
edit.h 56 void x_print_expansions ARGS((int nwords, char *const *words, int is_command));
59 int x_longest_prefix ARGS((int nwords, char *const *words));
61 void x_free_words ARGS((int nwords, char **words));
edit.c 454 x_print_expansions(nwords, words, is_command)
455 int nwords;
469 && (prefix_len = x_longest_prefix(nwords, words)) > 0)
474 if (nwords == 1)
477 for (i = 0; i < nwords; i++)
482 if (i == nwords) {
487 XPinit(l, nwords + 1);
488 for (i = 0; i < nwords; i++)
521 int nwords, i, idx, escaping; local in function:x_file_glob
562 for (nwords = 0; words[nwords]; nwords++
627 int nwords; local in function:x_command_glob
784 int nwords; local in function:x_cf_glob
    [all...]
emacs.c 1736 int nwords = 0; local in function:x_expand
1741 nwords = x_cf_glob(XCF_FILE,
1745 if (nwords == 0) {
1752 for (i = 0; i < nwords;) {
1754 (++i < nwords && x_ins(space) < 0))
1772 int nwords; local in function:do_complete
1777 nwords = x_cf_glob(flags, xbuf, xep - xbuf, xcp - xbuf,
1780 if (nwords == 0) {
1786 x_print_expansions(nwords, words, is_command);
1788 x_free_words(nwords, words)
    [all...]
vi.c 1944 int nwords; local in function:expand_word
1961 nwords = x_cf_glob(XCF_COMMAND_FILE|XCF_FULLPATH,
1964 if (nwords == 0) {
1973 for (i = 0; i < nwords; ) {
1978 if (++i < nwords && putbuf(space, 1, 0) != 0) {
2000 int nwords; local in function:complete_word
2028 nwords = x_cf_glob(XCF_COMMAND_FILE | (count ? XCF_FULLPATH : 0),
2031 if (nwords == 0) {
2039 if (count >= nwords) {
2041 x_print_expansions(nwords, words, is_command)
2107 int nwords; local in function:print_expansions
    [all...]
  /src/sys/fs/adosfs/
adosfs.h 95 int nwords; /* size of blocks in long words */ member in struct:anode
104 #define ANODETABSZ(ap) (((ap)->nwords - 56) * sizeof(long))
105 #define ANODETABENT(ap) ((ap)->nwords - 56)
106 #define ANODENDATBLKENT(ap) ((ap)->nwords - 56)
118 u_long nwords; /* size of blocks in long words */ member in struct:adosfsmount
advfsops.c 248 amp->nwords = amp->bsize >> 2;
415 ap->nwords = amp->nwords;
424 ap->mtimev.days = adoswordn(bp, ap->nwords - 10);
425 ap->mtimev.mins = adoswordn(bp, ap->nwords - 9);
426 ap->mtimev.ticks = adoswordn(bp, ap->nwords - 8);
427 ap->created.days = adoswordn(bp, ap->nwords - 7);
428 ap->created.mins = adoswordn(bp, ap->nwords - 6);
429 ap->created.ticks = adoswordn(bp, ap->nwords - 5);
438 ap->fsize = adoswordn(bp, ap->nwords - 47)
    [all...]
adutil.c 55 if (adoscksum(bp, amp->nwords)) {
77 switch (adoswordn(bp, amp->nwords - 1)) {
94 bp->b_blkno / (amp->bsize / DEV_BSIZE), adoswordn(bp, amp->nwords - 1));
advnops.c 291 } else if (adoscksum(bp, ap->nwords)) {
473 if (adoscksum(flbp, ap->nwords)) {
487 nb = adoswordn(flbp, ap->nwords - 2);
492 * at nwords - 51 and goes to offset 6 or less if indicated by the
497 flblkoff = (ap->nwords - 51) - flblkoff;
  /src/sys/dev/
devlist2h.awk 145 nwords++;
146 words[$f, 1] = nwords;
148 wordlist[nwords, 1] = $f;
149 wordlist[nwords, 3] = nchars;
207 nwords++;
209 words[$f, 1] = nwords;
210 wordlist[nwords, 1] = $f;
211 wordlist[nwords, 3] = nchars;
295 for (i = 1; i <= nwords; i++) {
300 printf("const int %s_nwords = %d;\n", prefix, nwords) > dfil
    [all...]
dev_verbose.c 60 dev_findvendor(char *buf, size_t len, const char *words, size_t nwords,
81 dev_findproduct(char *buf, size_t len, const char *words, size_t nwords,
  /src/sys/arch/arm/broadcom/
bcm53xx_rng.c 167 size_t nwords = __SHIFTOUT(bcmrng_read_4(sc, RNG_STATUS), RNG_VAL); local in function:bcmrng_empty
168 if (nwords == 0) {
172 if (nwords > __arraycount(data))
173 nwords = __arraycount(data);
175 bcmrng_read_multi_4(sc, RNG_DATA, data, nwords);
179 //aprint_debug_dev(sc->sc_dev, "added %zu words\n", nwords);
180 return nwords;
  /src/sys/dev/ic/
amdccp.c 78 const size_t nwords = howmany(nbytes, sizeof(buf[0])); local in function:amdccp_rnd_callback
80 for (cnt = 0; cnt < nwords; cnt++) {
  /src/lib/libc/gen/
wordexp.c 96 size_t nwords, nbytes; /* Number of words, bytes from child */ local in function:we_askshell
162 nwords = 0;
166 nwords *= 10;
167 nwords += (i - '0');
182 nbytes += nwords;
193 we->we_wordc += nwords;
234 while (nwords-- != 0) {
  /src/sys/net/npf/
lpm.c 288 compute_prefix(const unsigned nwords, const uint32_t *addr,
295 memcpy(addr2, addr, nwords * 4);
298 for (unsigned i = 0; i < nwords; i++) {
323 const unsigned nwords = LPM_TO_WORDS(len); local in function:lpm_insert
333 compute_prefix(nwords, addr, preflen, prefix);
350 const unsigned nwords = LPM_TO_WORDS(len); local in function:lpm_remove
358 compute_prefix(nwords, addr, preflen, prefix);
370 const unsigned nwords = LPM_TO_WORDS(len); local in function:lpm_lookup
371 unsigned i, n = nwords;
382 compute_prefix(nwords, addr, preflen, prefix)
401 const unsigned nwords = LPM_TO_WORDS(len); local in function:lpm_lookup_prefix
    [all...]
npf_connkey.c 110 const unsigned nwords = alen >> 2; local in function:npf_connkey_setkey
112 memcpy(&k[2 + nwords], ips[idst], alen);
113 return (2 + (nwords * 2)) * sizeof(uint32_t);
208 const unsigned nwords = alen >> 2; local in function:npf_connkey_copy
212 memcpy(&dk[2], &sk[2 + nwords], alen);
213 memcpy(&dk[2 + nwords], &sk[2], alen);
npf_inet.c 130 const int nwords = alen >> 2; local in function:npf_addr_mix
135 for (int i = 0; i < nwords; i++) {
149 const int nwords = alen >> 2; local in function:npf_addr_mask
155 for (int i = 0; i < nwords; i++) {
179 const int nwords = alen >> 2; local in function:npf_addr_bitor
185 for (int i = 0; i < nwords; i++) {
  /src/sys/arch/mips/cavium/dev/
octeon_rnm.c 345 * octrnm_iobdma(sc, buf, nwords)
347 * Load nwords, at most 32, out of the FIFO into buf.
350 octrnm_iobdma(struct octrnm_softc *sc, uint64_t *buf, unsigned nwords)
355 scraddr / sizeof(uint64_t), nwords, 0);
357 KASSERT(nwords < 128); /* iobdma address restriction */
358 KASSERT(nwords <= CVMSEG_LM_RNM_SIZE); /* size of CVMSEG LM buffer */
362 for (; nwords-- > 0; scraddr += 8)
  /src/sbin/cgdconfig/
utils.c 74 int nwords = 0; local in function:words
87 nwords++;
90 ret = emalloc((nwords+1) * sizeof(char *));
96 *num = nwords;
  /src/sys/net/
if_media.c 383 int nwords = 0; local in function:ifmedia_getwords
388 if (words != NULL && nwords < maxwords) {
389 words[nwords] = ep->ifm_media;
391 nwords++;
394 return nwords;
bpf_filter.c 84 bpf_set_extmem(bpf_ctx_t *bc, size_t nwords, bpf_memword_init_t preinited)
86 if (nwords > BPF_MAX_MEMWORDS || (preinited >> nwords) != 0) {
89 bc->extwords = nwords;
  /src/usr.sbin/npf/npfctl/
npf_show.c 296 print_ether_address(npf_conf_info_t *ctx __unused, const uint32_t *nwords)
298 const struct ether_addr* addr = (const struct ether_addr *)nwords;
410 const unsigned nwords = *marks++; local in function:scan_marks
412 if ((mlen -= 2) < nwords) {
424 assert(mk->fwords == nwords);
434 marks += nwords;
435 mlen -= nwords;
npf_bpf_comp.c 572 unsigned nwords, origlength, length, maxmask, off; local in function:npfctl_bpf_cidr
583 nwords = sizeof(struct in_addr) / sizeof(uint32_t);
590 nwords = sizeof(struct in6_addr) / sizeof(uint32_t);
602 for (unsigned i = 0; i < nwords; i++) {
  /src/sys/dev/dmover/
swdmover.c 275 int aligned, len, nwords; local in function:swdmover_func_xor_process
305 nwords = len / 4;
306 while (nwords--) {
  /src/sys/crypto/aes/arch/x86/
aes_sse2.c 40 br_range_dec32le(uint32_t *p32, size_t nwords, const void *v)
44 while (nwords --> 0) {

Completed in 26 milliseconds

1 2