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

1 2 3

  /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);
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.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...]
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...]
  /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
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...]
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));
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));
  /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...]
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,
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;
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++) {
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) {
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...]
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...]
  /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)

Completed in 31 milliseconds

1 2 3