| /src/usr.sbin/altq/libaltq/ |
| qop_rio.h | 34 int weight; /* weight for EWMA */ member in struct:rio_ifinfo 41 int qcmd_rio_add_if(const char *ifname, u_int bandwidth, int weight, 47 u_int bandwidth, int weight, struct redparams *red_params,
|
| qop_red.h | 33 int weight; /* weight for EWMA */ member in struct:red_ifinfo 43 int qcmd_red_add_if(const char *ifname, u_int bandwidth, int weight, 47 u_int bandwidth, int weight, int inv_pmax, int th_min,
|
| qop_red.c | 88 int weight = 0; /* 0: use default */ local 113 } else if (EQUAL(*argv, "weight")) { 116 weight = (int)strtol(*argv, NULL, 0); 150 if (weight != 0) { 151 /* check if weight is power of 2 */ 154 w = weight; 158 if (weight != w) { 159 LOG(LOG_ERR, 0, "weight %d: should be power of 2", 160 weight); 165 if (qcmd_red_add_if(ifname, bandwidth, weight, inv_pmax [all...] |
| qop_rio.c | 89 int weight = 0; /* 0: use default */ local 120 } else if (EQUAL(*argv, "weight")) { 123 weight = (int)strtol(*argv, NULL, 0); 179 if (weight != 0) { 180 /* check if weight is power of 2 */ 183 w = weight; 187 if (weight != w) { 188 LOG(LOG_ERR, 0, "weight %d: should be power of 2", 189 weight); 194 if (qcmd_rio_add_if(ifname, bandwidth, weight, [all...] |
| /src/external/mpl/bind/dist/lib/dns/rdata/generic/ |
| uri_256.h | 22 uint16_t weight; member in struct:dns_rdata_uri
|
| uri_256.c | 44 * Weight 68 unsigned short priority, weight; local 87 * Weight 89 weight = uint16_fromregion(®ion); 91 snprintf(buf, sizeof(buf), "%u ", weight); 112 * Priority, weight 120 * Priority, weight and target URI 165 * Weight 196 * Weight 198 RETERR(uint16_tobuffer(uri->weight, target)) [all...] |
| /src/external/mpl/bind/dist/lib/dns/rdata/in_1/ |
| srv_33.h | 25 uint16_t weight; member in struct:dns_rdata_in_srv
|
| /src/external/mpl/dhcp/bind/dist/lib/dns/rdata/generic/ |
| uri_256.h | 23 uint16_t weight; member in struct:dns_rdata_uri
|
| uri_256.c | 44 * Weight 68 unsigned short priority, weight; local 87 * Weight 89 weight = uint16_fromregion(®ion); 91 snprintf(buf, sizeof(buf), "%u ", weight); 113 * Priority, weight 121 * Priority, weight and target URI 166 * Weight 197 * Weight 199 RETERR(uint16_tobuffer(uri->weight, target)) [all...] |
| /src/external/mpl/dhcp/bind/dist/lib/dns/rdata/in_1/ |
| srv_33.h | 26 uint16_t weight; member in struct:dns_rdata_in_srv
|
| /src/games/hack/ |
| hack.mkobj.c | 188 otmp->owt = weight(otmp); 199 weight(struct obj *obj) function
|
| /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
| sanitizer_suppressions.h | 27 uptr weight; member in struct:__sanitizer::Suppression
|
| /src/external/bsd/am-utils/dist/amd/ |
| sun_map_parse.y | 344 | WORD weight { 348 * 'weight' rule and assigned to be the last host item on the host 357 weight : '(' WORD ')' { label 365 host->weight = val;
|
| sun_map.h | 50 int weight; /* weight given to the host */ member in struct:sun_host
|
| /src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
| sanitizer_suppressions.h | 26 uptr weight; member in struct:__sanitizer::Suppression
|
| /src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
| sanitizer_suppressions.h | 26 uptr weight; member in struct:__sanitizer::Suppression
|
| /src/sys/external/bsd/drm2/include/linux/ |
| bitmap.h | 89 int weight = 0; local 92 weight += popcountl(*bitmap++); 94 weight += popcountl(*bitmap & ~(~0UL << nbits)); 96 return weight;
|
| /src/games/gomoku/ |
| makemove.c | 48 static const int weight[5] = { 0, 1, 7, 22, 100 }; variable 84 val += weight[5 - cb.cv_force - cb.cv_win]; 86 val += weight[5 - cb.cv_force - cb.cv_win]; 174 val = weight[n];
|
| /src/external/bsd/bzip2/dist/ |
| huffman.c | 39 while (weight[tmp] < weight[heap[zz >> 1]]) { \ 54 weight[heap[yy+1]] < weight[heap[yy]]) \ 56 if (weight[tmp] < weight[heap[yy]]) break; \ 78 Int32 weight [ BZ_MAX_ALPHA_SIZE * 2 ]; local 82 weight[i+1] = (freq[i] == 0 ? 1 : freq[i]) << 8; 90 weight[0] = 0; 107 weight[nNodes] = ADDWEIGHTS(weight[n1], weight[n2]) [all...] |
| /src/external/lgpl3/gmp/dist/mpn/generic/ |
| get_d.c | 99 weight of a perfectly valid fp number underflows in non-denorm. Therefore, 379 double d, weight; local 392 for (weight = 1/MP_BASE_AS_DOUBLE; m > 0 && --i >= 0;) 398 d += l * weight; 399 weight /= MP_BASE_AS_DOUBLE; 400 if (weight == 0) 408 weight = 2.0; 413 weight = 0.5; 419 d *= weight; 422 weight *= weight [all...] |
| /src/external/bsd/openldap/dist/servers/lloadd/ |
| tier_bestof.c | 152 struct berval weight = BER_BVC("weight="); local 155 if ( !strncasecmp( arg, weight.bv_val, weight.bv_len ) ) { 156 if ( lutil_atoulx( &l, &arg[weight.bv_len], 0 ) != 0 ) { 158 "cannot parse %s as weight\n",
|
| /src/external/bsd/wpa/dist/src/ap/ |
| airtime_policy.c | 98 unsigned int weight) 102 if (weight != sta->airtime_weight && 103 (ret = hostapd_sta_set_airtime_weight(hapd, sta->addr, weight))) 106 sta->airtime_weight = weight; 111 static void set_sta_weights(struct hostapd_data *hapd, unsigned int weight) 116 sta_set_airtime_weight(hapd, sta, weight); 178 /* If we're in LIMIT mode, we only apply the weight 197 /* We only set the calculated weight if the BSS has active 199 * otherwise we just set a unit weight. This ensures that 238 return wt ? wt->weight : hapd->conf->airtime_weight 244 unsigned int weight; local [all...] |
| /src/external/gpl3/gcc/dist/gcc/ |
| graph.cc | 121 int weight = 10; local 127 weight = 0; 133 weight = 10; 136 weight = 100; 147 "[style=%s,color=%s,weight=%d,constraint=%s", 150 style, color, weight,
|
| /src/external/gpl3/gcc.old/dist/gcc/ |
| graph.cc | 121 int weight = 10; local 127 weight = 0; 133 weight = 10; 136 weight = 100; 147 "[style=%s,color=%s,weight=%d,constraint=%s", 150 style, color, weight,
|
| /src/external/zlib/pigz/dist/zopfli/ |
| katajainen.c | 36 size_t weight; /* Total weight (symbol count) of this chain. */ member in struct:Node 54 static void InitNode(size_t weight, int count, Node* tail, Node* node) { 55 node->weight = weight; 123 InitNode(leaves[lastcount].weight, lastcount + 1, 0, newchain); 125 size_t sum = lists[index - 1][0]->weight + lists[index - 1][1]->weight; 126 if (lastcount < numsymbols && sum > leaves[lastcount].weight) { 128 InitNode(leaves[lastcount].weight, lastcount + 1, oldchain->tail [all...] |