Symbol: weight
crypto/openssh/sntrup761.c
486
int weight = 0;
crypto/openssh/sntrup761.c
489
for (i = 0;i < p;++i) weight += r[i]&1;
crypto/openssh/sntrup761.c
490
return int16_nonzero_mask(weight-w);
games/gomoku/makemove.c
109
val = weight[5 - cp->c.a - cp->c.b];
games/gomoku/makemove.c
114
val += weight[5 - cp->c.a - cp->c.b];
games/gomoku/makemove.c
154
val = weight[n];
games/gomoku/makemove.c
44
static const int weight[5] = { 0, 1, 7, 22, 100 };
games/hack/def.objects.h
77
#define FOOD(name,prob,delay,weight,nutrition) { name, NULL, NULL, 1, 1,\
games/hack/def.objects.h
78
FOOD_SYM, prob, delay, weight, 0, 0, nutrition }
games/hack/extern.h
240
int weight(struct obj *);
games/hack/hack.c
496
if (iw + weight(obj) > 0)
games/hack/hack.do.c
533
obj->owt = weight(obj);
games/hack/hack.do.c
535
otmp->owt = weight(otmp); /* -= obj->owt ? */
games/hack/hack.invent.c
167
obj->owt = weight(obj);
games/hack/hack.mkobj.c
183
otmp->owt = weight(otmp);
games/hack/hack.u_init.c
347
obj->owt = weight(obj); /* defined after setting otyp+quan */
games/hack/hack.zap.c
726
obj->owt = weight(obj);
lib/libc/nameser/ns_print.c
380
u_int priority, weight, port;
lib/libc/nameser/ns_print.c
388
weight = ns_get16(rdata); rdata += NS_INT16SZ;
lib/libc/nameser/ns_print.c
390
len = SPRINTF((t, "%u %u %u ", priority, weight, port));
sbin/ipfw/ipfw2.c
1483
fs->fs_nr, fs->weight, fs->parent_nr);
sbin/ipfw/ipfw2.c
2354
pipe.fs.weight = strtoul(av[0], &end, 0);
sbin/ipfw/ipfw2.c
2378
if (pipe.fs.weight >100)
sbin/ipfw/ipfw2.c
2391
double step, idle, weight, w_q;
sbin/ipfw/ipfw2.c
2453
weight = 1 - w_q;
sbin/ipfw/ipfw2.c
2455
weight *= weight;
sbin/ipfw/ipfw2.c
2456
pipe.fs.lookup_weight = (int)(weight * (1 << SCALE_RED));
sbin/ipfw3/ipfw3dummynet.c
360
pipe.fs.weight = strtoul(av[0], &end, 0);
sbin/ipfw3/ipfw3dummynet.c
384
if (pipe.fs.weight >100)
sbin/ipfw3/ipfw3dummynet.c
397
double s, idle, weight, w_q;
sbin/ipfw3/ipfw3dummynet.c
459
weight = 1 - w_q;
sbin/ipfw3/ipfw3dummynet.c
461
weight *= weight;
sbin/ipfw3/ipfw3dummynet.c
462
pipe.fs.lookup_weight = (int)(weight * (1 << SCALE_RED));
sbin/ipfw3/ipfw3dummynet.c
559
fs->fs_nr, fs->weight, fs->parent_nr);
sys/dev/drm/i915/gvt/gvt.h
142
int weight;
sys/dev/drm/i915/gvt/gvt.h
253
unsigned int weight;
sys/dev/drm/i915/gvt/gvt.h
369
__u32 weight;
sys/net/altq/altq_red.c
164
red_alloc(int weight, int inv_pmax, int th_min, int th_max, int flags, int pkttime)
sys/net/altq/altq_red.c
174
if (weight == 0)
sys/net/altq/altq_red.c
177
rp->red_weight = weight;
sys/net/altq/altq_red.c
199
if (weight == 0) {
sys/net/altq/altq_red.c
538
wtab_alloc(int weight)
sys/net/altq/altq_red.c
544
if (w->w_weight == weight) {
sys/net/altq/altq_red.c
551
w->w_weight = weight;
sys/net/altq/altq_red.c
556
w->w_tab[0] = ((weight - 1) << FP_SHIFT) / weight;
sys/net/altq/altq_rio.c
158
rio_alloc(int weight, struct redparams *params, int flags, int pkttime)
sys/net/altq/altq_rio.c
173
if (weight != 0)
sys/net/altq/altq_rio.c
174
rp->rio_weight = weight;
sys/net/dummynet/ip_dummynet.c
1131
pipe->sum += fs->weight; /* Add weight of new queue */
sys/net/dummynet/ip_dummynet.c
1136
q->F = q->S + (len << MY_M) / (uint64_t)fs->weight;
sys/net/dummynet/ip_dummynet.c
1545
x->weight = ioc_fs->weight;
sys/net/dummynet/ip_dummynet.c
1546
if (x->weight == 0)
sys/net/dummynet/ip_dummynet.c
1547
x->weight = 1;
sys/net/dummynet/ip_dummynet.c
1548
else if (x->weight > 100)
sys/net/dummynet/ip_dummynet.c
1549
x->weight = 100;
sys/net/dummynet/ip_dummynet.c
1694
p->sum -= fs->weight * fs->backlogged;
sys/net/dummynet/ip_dummynet.c
1785
ioc_fs->weight = fs->weight;
sys/net/dummynet/ip_dummynet.c
567
q->F += (len << MY_M) / (uint64_t)fs->weight;
sys/net/dummynet/ip_dummynet.c
650
pipe->sum -= q->fs->weight;
sys/net/dummynet/ip_dummynet.h
272
int weight; /* WFQ queue weight */
sys/net/dummynet/ip_dummynet.h
399
int weight; /* WFQ queue weight */
sys/net/dummynet3/ip_dummynet3.c
1150
pipe->sum += fs->weight; /* Add weight of new queue */
sys/net/dummynet3/ip_dummynet3.c
1155
q->F = q->S + (len << MY_M) / (uint64_t)fs->weight;
sys/net/dummynet3/ip_dummynet3.c
1547
x->weight = ioc_fs->weight;
sys/net/dummynet3/ip_dummynet3.c
1548
if (x->weight == 0)
sys/net/dummynet3/ip_dummynet3.c
1549
x->weight = 1;
sys/net/dummynet3/ip_dummynet3.c
1550
else if (x->weight > 100)
sys/net/dummynet3/ip_dummynet3.c
1551
x->weight = 100;
sys/net/dummynet3/ip_dummynet3.c
1681
p->sum -= fs->weight * fs->backlogged;
sys/net/dummynet3/ip_dummynet3.c
1764
ioc_fs->weight = fs->weight;
sys/net/dummynet3/ip_dummynet3.c
586
q->F += (len << MY_M) / (uint64_t)fs->weight;
sys/net/dummynet3/ip_dummynet3.c
669
pipe->sum -= q->fs->weight;
sys/net/dummynet3/ip_dummynet3.h
287
int weight; /* WFQ queue weight */
sys/net/dummynet3/ip_dummynet3.h
414
int weight; /* WFQ queue weight */
sys/netproto/802_11/wlan/ieee80211_scan_sta.c
840
int weight;
sys/netproto/802_11/wlan/ieee80211_scan_sta.c
847
weight = b->se_fails - a->se_fails;
sys/netproto/802_11/wlan/ieee80211_scan_sta.c
848
if (abs(weight) > 1)
sys/netproto/802_11/wlan/ieee80211_scan_sta.c
849
return weight;
sys/vfs/msdosfs/msdosfs_conv.c
787
mbsadjpos(const char **instr, size_t inlen, size_t outlen, int weight, int flag,
sys/vfs/msdosfs/msdosfs_conv.c
790
char *outp, outstr[outlen * weight + 1];
sys/vfs/msdosfs/msdosfs_conv.c
794
outlen *= weight;
usr.bin/localedef/collate.c
140
RB_ENTRY(weight) entry;
usr.bin/localedef/collate.c
215
static RB_HEAD(weights, weight) weights[COLL_WEIGHTS_MAX];
usr.bin/localedef/collate.c
360
RB_PROTOTYPE_STATIC(weights, weight, entry, weight_compare);
usr.bin/localedef/collate.c
361
RB_GENERATE(weights, weight, entry, weight_compare);
usr.bin/window/compress.c
111
wthreshp((p)->weight, _length)) /* XXX */ \
usr.bin/window/compress.c
523
p->weight = cc_weight;
usr.bin/window/compress.c
541
if ((p->weight += p->time - time0) < 0)
usr.bin/window/compress.c
542
p->weight = cc_weight;
usr.bin/window/compress.c
543
else if ((p->weight += cc_weight) > limit)
usr.bin/window/compress.c
544
p->weight = limit;
usr.bin/window/compress.c
554
if (p->weight >= wthreshold) {
usr.bin/window/compress.c
577
p->weight += time0 - p->time;
usr.bin/window/compress.c
578
if (!p->flag && p->weight >= wthreshold) {
usr.bin/window/compress.c
589
if ((p->weight += p->time - time0) < 0)
usr.bin/window/compress.c
590
p->weight = cc_weight;
usr.bin/window/compress.c
591
else if ((p->weight += cc_weight) > limit)
usr.bin/window/compress.c
592
p->weight = limit;
usr.bin/window/compress.c
600
|| p->weight >= wthreshold
usr.bin/window/compress.c
734
|| wthreshp(p->weight, length)
usr.bin/window/compress.c
74
short weight;
usr.bin/window/compress.c
775
else if (p->weight >= wthreshold)
usr.bin/window/compress.c
93
#define wthreshp(weight, length) ((short) (weight) >= cc_wthresholds[length])
usr.bin/window/compress.c
95
#define wthreshp(weight, length) (0)