| /src/crypto/dist/ipsec-tools/src/racoon/ |
| throttle.c | 61 struct timeval now, penalty; local 72 penalty.tv_sec = isakmp_cfg_config.auth_throttle; 73 penalty.tv_usec = 0; 74 timeradd(&now, &penalty, &te->penalty_ends); 112 * give no penalty even on error: this is the first time 126 * We had a match and auth failed, increase penalty. 129 struct timeval remaining, penalty; local 132 penalty.tv_sec = isakmp_cfg_config.auth_throttle; 133 penalty.tv_usec = 0; 134 timeradd(&penalty, &remaining, &res) [all...] |
| /src/games/arithmetic/ |
| arithmetic.c | 281 * Initially, each number is charged a penalty of WRONGPENALTY, giving it that 283 * its penalty is decreased by one; it is removed when it reaches 0. 285 * The penalty[] array gives the sum of all penalties in the list for 290 static int penalty[sizeof(keylist) - 1][2]; variable 291 static struct penalty { struct 292 int value, penalty; /* Penalised value and its penalty. */ member in struct:penalty 293 struct penalty *next; 299 * Add a penalty for the number `value' to the list for operation `op', 301 * forget about the penalty (how likely is this, anyway?) [all...] |
| /src/sys/dev/raidframe/ |
| rf_cvscan.c | 289 long penalty = sectPerDisk / 5; local 293 hdr->change_penalty = RF_MAX(penalty, 0);
|
| /src/crypto/external/bsd/openssh/dist/ |
| srclimit.c | 53 * Entries become active when more than penalty_min seconds of penalty are 56 struct penalty { struct 61 RB_ENTRY(penalty) by_addr; 62 RB_ENTRY(penalty) by_expiry; 64 static int penalty_addr_cmp(struct penalty *a, struct penalty *b); 65 static int penalty_expiry_cmp(struct penalty *a, struct penalty *b); 66 RB_HEAD(penalties_by_addr, penalty) penalties_by_addr4, penalties_by_addr6; 67 RB_HEAD(penalties_by_expiry, penalty) penalties_by_expiry4, penalties_by_expiry6 221 struct penalty *penalty, *tmp; local 264 struct penalty find, *penalty; local 351 struct penalty *penalty = NULL, *existing = NULL; local [all...] |
| /src/external/bsd/zstd/dist/lib/compress/ |
| zstd_preSplit.c | 112 int penalty, 119 U64 threshold = p50 * (U64)(THRESHOLD_BASE + penalty) / THRESHOLD_PENALTY_RATE; 165 int penalty = THRESHOLD_PENALTY; local 177 if (compareFingerprints(&fpstats->pastEvents, &fpstats->newEvents, penalty, hashParams[level])) { 181 if (penalty > 0) penalty--;
|
| /src/games/snake/snake/ |
| snake.c | 75 #define cashvalue chunk*(loot-penalty)/25 83 #define PENALTY 10 /* % penalty for invoking spacewarp */ 108 static int loot, penalty; variable 193 penalty = loot = 0; 676 loot = loot - penalty; 677 penalty = 0; 680 penalty += loot / PENALTY; 906 if (loot >= penalty) { [all...] |
| /src/external/gpl3/gdb.old/dist/sim/frv/ |
| profile-fr400.c | 365 /* Compute the branch penalty, based on the the prediction and the out 371 int penalty; local 381 penalty = 1; 383 penalty = 3; 389 penalty = 3; 391 penalty = 0; 393 if (penalty > 0) 395 /* Additional 1 cycle penalty if the branch address is not 8 byte 398 ++penalty; 399 update_branch_penalty (cpu, penalty); [all...] |
| /src/external/gpl3/gdb/dist/sim/frv/ |
| profile-fr400.c | 365 /* Compute the branch penalty, based on the the prediction and the out 371 int penalty; local 381 penalty = 1; 383 penalty = 3; 389 penalty = 3; 391 penalty = 0; 393 if (penalty > 0) 395 /* Additional 1 cycle penalty if the branch address is not 8 byte 398 ++penalty; 399 update_branch_penalty (cpu, penalty); [all...] |