/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/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/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/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/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/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/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;
|
/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/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
|
/src/sbin/routed/ |
rdisc.c | 680 int nwords = len >> 1; local in function:in_cksum 682 while (nwords-- != 0)
|
/src/bin/ksh/ |
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/kern/ |
sys_select.c | 360 size_t nwords; local in function:anyset 364 nwords = nbits / __NFDBITS; 366 while (nwords-- > 0)
|
/src/usr.sbin/npf/npfctl/ |
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++) {
|
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;
|
/src/sys/uvm/ |
uvm_swap.c | 251 const size_t nwords = howmany(nbits, bitsperword); local in function:encmap_size 252 const size_t nbytes = nwords * bytesperword;
|
/src/sbin/ping/ |
ping.c | 1319 int nwords = len >> 1; local in function:in_cksum 1321 while (nwords-- != 0)
|
/src/sys/dev/pci/ |
if_sip.c | 3316 int nwords = local in function:sipcom_dp83815_set_filter 3321 for (i = 0; i < nwords; i++) {
|
if_iwm.c | 2055 int nwords = (IWM_SCD_TRANS_TBL_MEM_UPPER_BOUND - local in function:iwm_post_alive 2076 sc->sched_base + IWM_SCD_CONTEXT_MEM_LOWER_BOUND, NULL, nwords);
|
/src/lib/libc/time/ |
zic.c | 1255 static int nwords; local in function:get_rand_u64 1256 if (!nwords) { 1262 nwords = s < 0 ? -1 : (int)(s / sizeof *entropy_buffer); 1264 if (0 < nwords) 1265 return entropy_buffer[--nwords];
|