/src/sys/external/bsd/drm2/include/linux/ |
hash.h | 41 const unsigned long factor = (sizeof(factor) > 4? local in function:hash_long 44 return ((value * factor) >> ((CHAR_BIT * sizeof(value)) - bits));
|
hash.h | 41 const unsigned long factor = (sizeof(factor) > 4? local in function:hash_long 44 return ((value * factor) >> ((CHAR_BIT * sizeof(value)) - bits));
|
/src/usr.sbin/sysinst/ |
factor.c | 1 /* $NetBSD: factor.c,v 1.2 2021/01/31 20:51:04 rillig Exp $ */ 52 void factor (long val, long *fact_list, int fact_size, int *num_fact); 81 /* factor: prepare a list of prime factors of val. 82 The last number may not be a prime factor if the list is not 86 factor(long val, long *fact_list, int fact_size, int *num_fact) function in typeref:typename:void 128 /* Factor each arg! */ 132 factor (val, facts, 30, &nfact);
|
factor.c | 1 /* $NetBSD: factor.c,v 1.2 2021/01/31 20:51:04 rillig Exp $ */ 52 void factor (long val, long *fact_list, int fact_size, int *num_fact); 81 /* factor: prepare a list of prime factors of val. 82 The last number may not be a prime factor if the list is not 86 factor(long val, long *fact_list, int fact_size, int *num_fact) function in typeref:typename:void 128 /* Factor each arg! */ 132 factor (val, facts, 30, &nfact);
|
/src/games/primes/ |
primes.c | 212 uint64_t factor; /* index and factor */ local in function:primes 249 for (p = &prime[0], factor = prime[0]; 250 factor < stop && p <= pr_limit; factor = *(++p)) { 251 if (factor >= start) { 252 printf(hflag ? "%" PRIx64 : "%" PRIu64, factor); 254 printf(" (%" PRIu64 ")", factor - prev); 258 prev = factor; 273 * factor out 3, 5, 7, 11 and 1 [all...] |
primes.c | 212 uint64_t factor; /* index and factor */ local in function:primes 249 for (p = &prime[0], factor = prime[0]; 250 factor < stop && p <= pr_limit; factor = *(++p)) { 251 if (factor >= start) { 252 printf(hflag ? "%" PRIx64 : "%" PRIu64, factor); 254 printf(" (%" PRIu64 ")", factor - prev); 258 prev = factor; 273 * factor out 3, 5, 7, 11 and 1 [all...] |
/src/bin/ksh/ |
c_ulimit.c | 59 int factor; /* multiply by to get rlim_{cur,max} values */ member in struct:c_ulimit::limits 197 val = (u_long)rval * l->factor; 229 val /= l->factor; 285 val /= l->factor;
|
c_ulimit.c | 59 int factor; /* multiply by to get rlim_{cur,max} values */ member in struct:c_ulimit::limits 197 val = (u_long)rval * l->factor; 229 val /= l->factor; 285 val /= l->factor;
|
/src/games/ching/printching/ |
printching.c | 162 int factor[3]; local in function:codem 164 factor[0] = 1; 165 factor[1] = 10; 166 factor[2] = 100; 174 code += factor[i%3]*7; 179 code += factor[i%3]*8;
|
printching.c | 162 int factor[3]; local in function:codem 164 factor[0] = 1; 165 factor[1] = 10; 166 factor[2] = 100; 174 code += factor[i%3]*7; 179 code += factor[i%3]*8;
|
/src/usr.bin/rump_dhcpclient/ |
common.c | 109 static double factor = 0.0; local in function:get_monotonic 115 factor = (double)info.numer / (double)info.denom; 121 if ((info.denom != 1 || info.numer != 1) && factor != 0.0) 122 nano *= factor;
|
common.c | 109 static double factor = 0.0; local in function:get_monotonic 115 factor = (double)info.numer / (double)info.denom; 121 if ((info.denom != 1 || info.numer != 1) && factor != 0.0) 122 nano *= factor;
|
/src/usr.bin/systat/ |
iostat.c | 325 int factor = 1; local in function:histogram 330 factor *= 10; 335 if (factor != 1) 336 mvwprintw(wnd, y, x + colwidth + 1, "* %d ", factor);
|
pigs.c | 98 int factor; local in function:showpigs 113 factor = 50.0/total; 139 mvwhline(wnd, y, 25, 'X', pt[k].pt_pctcpu*factor + 0.5);
|
iostat.c | 325 int factor = 1; local in function:histogram 330 factor *= 10; 335 if (factor != 1) 336 mvwprintw(wnd, y, x + colwidth + 1, "* %d ", factor);
|
pigs.c | 98 int factor; local in function:showpigs 113 factor = 50.0/total; 139 mvwhline(wnd, y, 25, 'X', pt[k].pt_pctcpu*factor + 0.5);
|
/src/sys/dev/pci/ |
autrivar.h | 57 u_int factor; /* byte per sample */ member in struct:autri_chstatus
|
ydsvar.h | 83 u_int factor; /* byte per sample */ member in struct:yds_softc::__anon0e0616430108
|
voyager.c | 447 int ifreq, factor, bit, steps; local in function:voyager_set_pwm 455 factor = 96000000 / ifreq; 456 bit = fls32(factor); 457 factor = 1 << bit; 458 steps = 96000000 / (factor * freq); 473 DPRINTF("%d hz -> %d, %d, %d / %d\n", freq, factor, steps, lo, hi);
|
autrivar.h | 57 u_int factor; /* byte per sample */ member in struct:autri_chstatus
|
ydsvar.h | 83 u_int factor; /* byte per sample */ member in struct:yds_softc::__anon0e0616430108
|
/src/sys/external/bsd/drm2/dist/drm/radeon/ |
radeon_rv740_dpm.c | 102 u32 factor; local in function:rv740_get_dll_speed 106 factor = 4; 108 factor = 2; 110 data_rate = (u16)(memory_clock * factor / 1000);
|
/src/sys/ufs/ffs/ |
ffs_inode.c | 637 int64_t factor; local in function:ffs_indirtrunc 659 factor = 1; 661 factor *= FFS_NINDIR(fs); 664 last /= factor; 730 for (i = FFS_NINDIR(fs) - 1, nlbn = lbn + 1 - i * factor; i > last; 731 i--, nlbn += factor) { 773 last = lastbn % factor;
|
/src/usr.sbin/screenblank/ |
screenblank.c | 405 int seconds, nanoseconds, factor; local in function:cvt_arg 407 factor = 1000000000; 423 if (factor > 1) { 425 factor /= 10; 432 if (factor > 1) 433 nanoseconds *= factor;
|
/src/sys/ufs/ext2fs/ |
ext2fs_inode.c | 507 long blkcount, factor; local in function:ext2fs_indirtrunc 516 factor = 1; 518 factor *= EXT2_NINDIR(fs); 521 last /= factor; 569 nlbn = lbn + 1 - i * factor; i > last; 570 i--, nlbn += factor) { 591 last = lastbn % factor;
|