Searched refs:nwords (Results 1 - 25 of 94) sorted by relevance

1234

/netbsd-current/games/boggle/mkdict/
H A Dmkdict.c66 int ch, common, nwords; local
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);
/netbsd-current/bin/ksh/
H A Dedit.h56 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));
H A Dedit.c454 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
562 for (nwords
627 int nwords; local
784 int nwords; local
[all...]
H A Demacs.c1736 int nwords = 0; local
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
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, word
[all...]
H A Dvi.c1944 int nwords; local
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
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, word
2107 int nwords; local
[all...]
/netbsd-current/external/gpl3/gcc.old/dist/libphobos/libdruntime/gc/
H A Dbits.d46 data = cast(typeof(data[0])*)calloc(nwords, data[0].sizeof);
83 memset(data, 0, nwords * wordtype.sizeof);
89 assert(nwords == f.nwords);
93 memcpy(data, f.data, nwords * wordtype.sizeof);
96 @property size_t nwords() const pure nothrow
/netbsd-current/sys/fs/adosfs/
H A Dadosfs.h95 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
H A Dadvfsops.c248 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
[all...]
H A Dadutil.c55 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));
/netbsd-current/sys/dev/
H A Ddevlist2h.awk145 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...]
H A Ddev_verbose.c60 dev_findvendor(char *buf, size_t len, const char *words, size_t nwords, argument
81 dev_findproduct(char *buf, size_t len, const char *words, size_t nwords, argument
/netbsd-current/sys/arch/arm/broadcom/
H A Dbcm53xx_rng.c167 size_t nwords = __SHIFTOUT(bcmrng_read_4(sc, RNG_STATUS), RNG_VAL); local
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;
/netbsd-current/external/bsd/tmux/dist/
H A Dmdoc2man.awk44 while(w<nwords) {
74 nwords=split($0,words)
75 for(w=1;w<=nwords;w++) {
89 w=nwords
95 w=nwords
113 while(w<nwords&&!match(words[w+1],"^[\\.,]"))
230 if(w==nwords)
241 while(w<nwords&&match(words[w+1],"^[\\.,:;)]"))
260 while(w<nwords&&match(words[w+1],"^[\\.,:;)]"))
279 while(w<nwords) {
[all...]
/netbsd-current/sys/dev/ic/
H A Damdccp.c78 const size_t nwords = howmany(nbytes, sizeof(buf[0])); local
80 for (cnt = 0; cnt < nwords; cnt++) {
/netbsd-current/crypto/external/bsd/heimdal/dist/kadmin/
H A Dadd-random-users.c82 add_user (krb5_context ctx, void *hndl, unsigned nwords, char **words) argument
93 snprintf (name, sizeof(name), "%s%d", words[r1 % nwords], r2 % 1000);
116 unsigned nwords; local
131 nwords = read_words (filename, &words);
134 add_user (ctx, hndl, nwords, words);
/netbsd-current/lib/libc/gen/
H A Dwordexp.c96 size_t nwords, nbytes; /* Number of words, bytes from child */ local
162 nwords = 0;
166 nwords *= 10;
167 nwords += (i - '0');
182 nbytes += nwords;
193 we->we_wordc += nwords;
234 while (nwords-- != 0) {
/netbsd-current/crypto/external/bsd/heimdal/dist/kuser/
H A Dgenerate-requests.c74 unsigned nwords; local
80 nwords = read_words (filename, &words);
83 char *name = words[rand() % nwords];
/netbsd-current/sys/net/npf/
H A Dlpm.c288 compute_prefix(const unsigned nwords, const uint32_t *addr, argument
295 memcpy(addr2, addr, nwords * 4);
298 for (unsigned i = 0; i < nwords; i++) {
323 const unsigned nwords = LPM_TO_WORDS(len); local
333 compute_prefix(nwords, addr, preflen, prefix);
350 const unsigned nwords = LPM_TO_WORDS(len); local
358 compute_prefix(nwords, addr, preflen, prefix);
370 const unsigned nwords = LPM_TO_WORDS(len); local
371 unsigned i, n = nwords;
382 compute_prefix(nwords, add
401 const unsigned nwords = LPM_TO_WORDS(len); local
[all...]
H A Dnpf_connkey.c110 const unsigned nwords = alen >> 2; local
112 memcpy(&k[2 + nwords], ips[idst], alen);
113 return (2 + (nwords * 2)) * sizeof(uint32_t);
208 const unsigned nwords = alen >> 2; local
212 memcpy(&dk[2], &sk[2 + nwords], alen);
213 memcpy(&dk[2 + nwords], &sk[2], alen);
/netbsd-current/crypto/external/bsd/heimdal/dist/kpasswd/
H A Dkpasswd-generator.c85 unsigned nwords, k; local
91 nwords = read_words(filename, &words);
94 char *name = words[rand() % nwords];
168 for (k = 0; k < nwords; k++)
/netbsd-current/sys/arch/mips/cavium/dev/
H A Docteon_rnm.c345 * 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) argument
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)
/netbsd-current/external/gpl3/gcc.old/dist/gcc/
H A Dsbitmap.c254 unsigned int nwords = (end_word - start_word); local
255 if (nwords)
257 memset (&bmap->elms[start_word], 0, nwords * sizeof (SBITMAP_ELT_TYPE));
258 count -= nwords * sizeof (SBITMAP_ELT_TYPE) * BITS_PER_UNIT;
259 start_word += nwords;
312 unsigned int nwords = (end_word - start_word); local
313 if (nwords)
316 nwords * sizeof (SBITMAP_ELT_TYPE));
317 count -= nwords * sizeof (SBITMAP_ELT_TYPE) * BITS_PER_UNIT;
318 start_word += nwords;
362 unsigned int nwords = (end_word - start_word); local
[all...]
/netbsd-current/external/gpl3/gcc/dist/gcc/
H A Dsbitmap.cc254 unsigned int nwords = (end_word - start_word); local
255 if (nwords)
257 memset (&bmap->elms[start_word], 0, nwords * sizeof (SBITMAP_ELT_TYPE));
258 count -= nwords * sizeof (SBITMAP_ELT_TYPE) * BITS_PER_UNIT;
259 start_word += nwords;
312 unsigned int nwords = (end_word - start_word); local
313 if (nwords)
316 nwords * sizeof (SBITMAP_ELT_TYPE));
317 count -= nwords * sizeof (SBITMAP_ELT_TYPE) * BITS_PER_UNIT;
318 start_word += nwords;
362 unsigned int nwords = (end_word - start_word); local
[all...]
/netbsd-current/sbin/cgdconfig/
H A Dutils.c74 int nwords = 0; local
87 nwords++;
90 ret = emalloc((nwords+1) * sizeof(char *));
96 *num = nwords;
/netbsd-current/sys/net/
H A Dif_media.c383 int nwords = 0; local
388 if (words != NULL && nwords < maxwords) {
389 words[nwords] = ep->ifm_media;
391 nwords++;
394 return nwords;

Completed in 436 milliseconds

1234