Symbol: weight
games/gomoku/makemove.c
174
val = weight[n];
games/gomoku/makemove.c
48
static const int weight[5] = { 0, 1, 7, 22, 100 };
games/gomoku/makemove.c
84
val += weight[5 - cb.cv_force - cb.cv_win];
games/gomoku/makemove.c
86
val += weight[5 - cb.cv_force - cb.cv_win];
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
501
if (iw + weight(obj) > 0)
games/hack/hack.do.c
538
obj->owt = weight(obj);
games/hack/hack.do.c
540
otmp->owt = weight(otmp); /* -= obj->owt ? */
games/hack/hack.invent.c
172
obj->owt = weight(obj);
games/hack/hack.mkobj.c
188
otmp->owt = weight(otmp);
games/hack/hack.u_init.c
352
obj->owt = weight(obj); /* defined after setting otyp+quan */
games/hack/hack.zap.c
731
obj->owt = weight(obj);
lib/libc/nameser/ns_print.c
391
u_int priority, weight, port;
lib/libc/nameser/ns_print.c
399
weight = ns_get16(rdata); rdata += NS_INT16SZ;
lib/libc/nameser/ns_print.c
401
len = snprintf(t, sizeof(t), "%u %u %u ", priority, weight,
lib/libc/net/getaddrinfo.c
1722
int port, pri, weight;
lib/libc/net/getaddrinfo.c
1890
weight = _getshort(cp);
lib/libc/net/getaddrinfo.c
1912
srv->weight = weight;
lib/libc/net/getaddrinfo.c
1918
(!srv->weight || srvlist->weight))) {
lib/libc/net/getaddrinfo.c
1926
&& (!srv->weight ||
lib/libc/net/getaddrinfo.c
1927
csrv->next->weight))
lib/libc/net/getaddrinfo.c
233
int port, pri, weight;
sys/altq/altq_red.c
231
red_alloc(int weight, int inv_pmax, int th_min, int th_max, int flags,
sys/altq/altq_red.c
245
if (weight == 0)
sys/altq/altq_red.c
248
rp->red_weight = weight;
sys/altq/altq_red.c
270
if (weight == 0) {
sys/altq/altq_red.c
648
wtab_alloc(int weight)
sys/altq/altq_red.c
654
if (w->w_weight == weight) {
sys/altq/altq_red.c
662
w->w_weight = weight;
sys/altq/altq_red.c
668
w->w_tab[0] = ((weight - 1) << FP_SHIFT) / weight;
sys/altq/altq_red.c
882
q_stats->weight = rp->red_weight;
sys/altq/altq_red.h
53
int weight;
sys/altq/altq_rio.c
206
rio_alloc(int weight, struct redparams *params, int flags, int pkttime)
sys/altq/altq_rio.c
223
if (weight != 0)
sys/altq/altq_rio.c
224
rp->rio_weight = weight;
sys/altq/altq_rio.c
609
q_stats->weight = rp->rio_weight;
sys/altq/altq_rio.h
53
int weight;
sys/altq/altq_wfq.c
158
queue->weight = 100;
sys/altq/altq_wfq.c
424
if ((byte = queue->bytes * 100 / queue->weight) > max_byte) {
sys/altq/altq_wfq.c
520
if (swp->weight < 0)
sys/altq/altq_wfq.c
530
old = queue->weight;
sys/altq/altq_wfq.c
531
queue->weight = swp->weight;
sys/altq/altq_wfq.c
532
swp->weight = old;
sys/altq/altq_wfq.c
554
stats->weight = queue->weight;
sys/altq/altq_wfq.c
593
queue->weight = 100;
sys/altq/altq_wfq.h
107
int weight; /* weight in percent */
sys/altq/altq_wfq.h
57
int weight;
sys/altq/altq_wfq.h
62
int weight; /* weight in percent */
sys/altq/altq_wfq.h
98
#define WFQ_ADDQUOTA(q) ((q)->quota += WFQ_QUOTA * (q)->weight / 100)
sys/net80211/ieee80211_node.c
618
int weight;
sys/net80211/ieee80211_node.c
629
weight = b->ni_fails - a->ni_fails;
sys/net80211/ieee80211_node.c
630
if (abs(weight) > 1)
sys/net80211/ieee80211_node.c
631
return weight;
usr.sbin/altq/altqstat/qdisc_red.c
75
red_stats.weight, red_stats.inv_pmax,
usr.sbin/altq/altqstat/qdisc_rio.c
77
rio_stats.weight, rio_stats.q_limit);
usr.sbin/altq/altqstat/qdisc_wfq.c
150
top[j]->stats.weight,
usr.sbin/altq/libaltq/qop_red.c
116
weight = (int)strtol(*argv, NULL, 0);
usr.sbin/altq/libaltq/qop_red.c
150
if (weight != 0) {
usr.sbin/altq/libaltq/qop_red.c
154
w = weight;
usr.sbin/altq/libaltq/qop_red.c
158
if (weight != w) {
usr.sbin/altq/libaltq/qop_red.c
160
weight);
usr.sbin/altq/libaltq/qop_red.c
165
if (qcmd_red_add_if(ifname, bandwidth, weight, inv_pmax,
usr.sbin/altq/libaltq/qop_red.c
175
qcmd_red_add_if(const char *ifname, u_int bandwidth, int weight,
usr.sbin/altq/libaltq/qop_red.c
181
error = qop_red_add_if(NULL, ifname, bandwidth, weight, inv_pmax,
usr.sbin/altq/libaltq/qop_red.c
194
u_int bandwidth, int weight, int inv_pmax, int th_min,
usr.sbin/altq/libaltq/qop_red.c
203
red_ifinfo->weight = weight;
usr.sbin/altq/libaltq/qop_red.c
251
conf.red_weight = red_ifinfo->weight;
usr.sbin/altq/libaltq/qop_red.c
88
int weight = 0; /* 0: use default */
usr.sbin/altq/libaltq/qop_red.h
33
int weight; /* weight for EWMA */
usr.sbin/altq/libaltq/qop_red.h
43
int qcmd_red_add_if(const char *ifname, u_int bandwidth, int weight,
usr.sbin/altq/libaltq/qop_red.h
47
u_int bandwidth, int weight, int inv_pmax, int th_min,
usr.sbin/altq/libaltq/qop_rio.c
123
weight = (int)strtol(*argv, NULL, 0);
usr.sbin/altq/libaltq/qop_rio.c
179
if (weight != 0) {
usr.sbin/altq/libaltq/qop_rio.c
183
w = weight;
usr.sbin/altq/libaltq/qop_rio.c
187
if (weight != w) {
usr.sbin/altq/libaltq/qop_rio.c
189
weight);
usr.sbin/altq/libaltq/qop_rio.c
194
if (qcmd_rio_add_if(ifname, bandwidth, weight,
usr.sbin/altq/libaltq/qop_rio.c
207
qcmd_rio_add_if(const char *ifname, u_int bandwidth, int weight,
usr.sbin/altq/libaltq/qop_rio.c
226
error = qop_rio_add_if(NULL, ifname, bandwidth, weight, red_params,
usr.sbin/altq/libaltq/qop_rio.c
239
u_int bandwidth, int weight, struct redparams *red_params,
usr.sbin/altq/libaltq/qop_rio.c
250
rio_ifinfo->weight = weight;
usr.sbin/altq/libaltq/qop_rio.c
298
conf.rio_weight = rio_ifinfo->weight;
usr.sbin/altq/libaltq/qop_rio.c
89
int weight = 0; /* 0: use default */
usr.sbin/altq/libaltq/qop_rio.h
34
int weight; /* weight for EWMA */
usr.sbin/altq/libaltq/qop_rio.h
41
int qcmd_rio_add_if(const char *ifname, u_int bandwidth, int weight,
usr.sbin/altq/libaltq/qop_rio.h
47
u_int bandwidth, int weight, struct redparams *red_params,
usr.sbin/makemandb/apropos-utils.c
514
double weight = col_weights[icol - 1];
usr.sbin/makemandb/apropos-utils.c
517
log(((double)ndoc / ndocshitcount))* weight;
usr.sbin/makemandb/apropos-utils.c
524
tf += (((double)nhitcount * weight)