/netbsd-6-1-5-RELEASE/games/trek/ |
H A D | impulse.c | 46 ** move under impulse power 54 int power; local 68 power = 20 + 100 * dist; 69 percent = 100 * power / Ship.energy + 0.5;
|
H A D | attack.c | 110 /* if he's low on power he won't attack */ 111 if (Etc.klingon[i].power < 20) 121 hit = Etc.klingon[i].power * pow(dustfac, tothe) * Param.hitfac; 123 dustfac = Etc.klingon[i].power; 124 Etc.klingon[i].power = dustfac * Param.phasfac *
|
H A D | warp.c | 80 double power; local 101 /* check to see that we are not using an absurd amount of power */ 102 power = (dist + 0.05) * Ship.warp3; 103 percent = 100 * power / Ship.energy + 0.5;
|
H A D | capture.c | 56 ** is a function of that Klingon's remaining power, our power, 92 x /= k->power * Etc.nkling;
|
H A D | destruct.c | 112 if (Etc.klingon[i].power * Etc.klingon[i].dist <= zap)
|
/netbsd-6-1-5-RELEASE/dist/dhcp/omapip/ |
H A D | convert.c | 131 int power = 1; local 150 return power; 151 power++; 153 /* If we wrap around, it must be the next power of two up. */ 156 return power; 167 int power = converted_length (inbuf, base, width); local 182 for (i = power - 1 ; i >= 0; i--) { 187 return power;
|
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/crypto/ |
H A D | crypto_internal-modexp.c | 23 const u8 *power, size_t power_len, 40 bignum_set_unsigned_bin(bn_exp, power, power_len) < 0 || 22 crypto_mod_exp(const u8 *base, size_t base_len, const u8 *power, size_t power_len, const u8 *modulus, size_t modulus_len, u8 *result, size_t *result_len) argument
|
/netbsd-6-1-5-RELEASE/sys/arch/sparc64/dev/ |
H A D | power.c | 1 /* $NetBSD: power.c,v 1.11 2009/03/18 10:22:37 cegger Exp $ */ 43 __KERNEL_RCSID(0, "$NetBSD: power.c,v 1.11 2009/03/18 10:22:37 cegger Exp $"); 52 #include <sparc64/dev/power.h> 57 CFATTACH_DECL_NEW(power, 0, 63 * This is the driver for the "power" register available on some Sun4m 64 * machines. This allows the machine to remove power automatically when 76 return strcmp("power", ca->ca_ra.ra_name) == 0;
|
/netbsd-6-1-5-RELEASE/etc/etc.sandpoint/ |
H A D | MAKEDEV.conf | 33 power) 34 mkdev power c 62 2 640
|
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/gas/testsuite/gas/tic54x/ |
H A D | align.s | 3 * .align [size] ; size is number of words (value must be a power of 2)
|
/netbsd-6-1-5-RELEASE/sys/arch/hpcmips/tx/ |
H A D | tx39iovar.h | 35 txreg_t dir, in, out, power; member in struct:tx39io_port_status
|
/netbsd-6-1-5-RELEASE/sys/arch/macppc/dev/ |
H A D | apm.c | 145 * SCFLAG_NOPRINT: do not output APM power messages due to 146 * a power change event. 148 * SCFLAG_PCTPRINT: do not output APM power messages due to 149 * to a power change event unless the battery 267 struct apm_power_info *power; local 314 power = (struct apm_power_info *)data; 318 power->ac_state = ((batt.flags & PMU_PWR_AC_PRESENT) ? 320 power->battery_life = 329 power->battery_state = APM_BATT_UNKNOWN; 330 power [all...] |
/netbsd-6-1-5-RELEASE/usr.bin/moduli/qsieve/ |
H A D | qsieve.c | 221 int power; local 238 * Set power to the length in bits of the prime to be generated. 241 power = (int) strtoul(argv[2], NULL, 10); 242 if ((unsigned)power > TEST_MAXIMUM) { 243 errx(1, "Too many bits: %d > %lu.", power, 245 } else if (power < TEST_MINIMUM) { 246 errx(1, "Too few bits: %d < %lu.", power, 250 power--; /* decrement before squaring */ 259 (power * power) >> (SHIFT_WOR [all...] |
/netbsd-6-1-5-RELEASE/etc/powerd/scripts/ |
H A D | sensor_battery | 47 low-power)
|
/netbsd-6-1-5-RELEASE/sys/arch/sparc/dev/ |
H A D | power.c | 1 /* $NetBSD: power.c,v 1.17 2005/11/16 00:49:03 uwe Exp $ */ 43 __KERNEL_RCSID(0, "$NetBSD: power.c,v 1.17 2005/11/16 00:49:03 uwe Exp $"); 52 #include <sparc/dev/power.h> 57 CFATTACH_DECL_NEW(power, 0, powermatch, powerattach, NULL, NULL); 60 * This is the driver for the "power" register available on some Sun4m 61 * machines. This allows the machine to remove power automatically when 74 return (strcmp("power", sa->sa_name) == 0); 85 /* Map the power configuration register. */ 100 /* Only try if the power node was attached. */
|
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/drivers/ |
H A D | Apple80211.h | 23 UInt16 power; member in struct:WirelessInfo 55 WirelessError WirelessSetPower(WirelessRef ref, UInt8 power); 56 WirelessError WirelessGetPower(WirelessRef ref, UInt8 *power);
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.dg/ |
H A D | pragma-darwin.c | 25 #pragma options align=power 35 /* { dg-warning "malformed '#pragma options align={mac68k|power|reset}', ignoring" "ignoring" { target *-*-* } 34 } */
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.dg/ |
H A D | pragma-darwin.c | 23 #pragma options align=power
|
/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/dist/ |
H A D | config.sub | 96 power[2-9] | power2sc) 97 test_cpu=power ;;
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssh/dist/ |
H A D | moduli.c | 235 gen_candidates(FILE *out, u_int32_t memory, u_int32_t power, BIGNUM *start) argument 255 * Set power to the length in bits of the prime to be generated. 258 if (power > TEST_MAXIMUM) { 259 error("Too many bits: %u > %lu", power, TEST_MAXIMUM); 261 } else if (power < TEST_MINIMUM) { 262 error("Too few bits: %u < %u", power, TEST_MINIMUM); 265 power--; /* decrement before squaring */ 273 largewords = ((power * power) >> (SHIFT_WORD - TEST_POWER)); 322 if (BN_rand(largebase, power, [all...] |
/netbsd-6-1-5-RELEASE/games/battlestar/ |
H A D | command2.c | 226 power += 5; 239 power += 5; 251 power++; 262 power += 5; 310 power += 5; 323 power += 3;
|
H A D | command3.c | 149 power += 7; 287 power += 5; 303 power += 5; 319 power++; 349 power += 5;
|
H A D | globals.c | 268 int pleasure, power, ego; variable
|
H A D | save.c | 88 fread(&power, sizeof power, 1, fp); 142 fwrite(&power, sizeof power, 1, fp);
|
/netbsd-6-1-5-RELEASE/sys/dev/ic/ |
H A D | rtwphy.c | 221 rtw_sa2400_pwrstate(struct rtw_rf *rf, enum rtw_pwrstate power) argument 227 switch (power) { 386 enum rtw_pwrstate power) 394 /* skip configuration if it's time to sleep or to power-down. */ 395 if (power == RTW_SLEEP || power == RTW_OFF) 396 return rtw_sa2400_pwrstate(rf, power); 412 return rtw_sa2400_pwrstate(rf, power); 474 rtw_grf5101_pwrstate(struct rtw_rf *rf, enum rtw_pwrstate power) argument 477 switch (power) { 385 rtw_sa2400_init(struct rtw_rf *rf, u_int freq, uint8_t opaque_txpower, enum rtw_pwrstate power) argument 531 rtw_grf5101_init(struct rtw_rf *rf, u_int freq, uint8_t opaque_txpower, enum rtw_pwrstate power) argument 652 rtw_max2820_init(struct rtw_rf *rf, u_int freq, uint8_t opaque_txpower, enum rtw_pwrstate power) argument 702 rtw_max2820_pwrstate(struct rtw_rf *rf, enum rtw_pwrstate power) argument 770 rtw_phy_init(struct rtw_regs *regs, struct rtw_rf *rf, uint8_t opaque_txpower, uint8_t cs_threshold, u_int freq, int antdiv, int dflantb, enum rtw_pwrstate power) argument [all...] |