| /netbsd-src/games/trek/ |
| H A D | setup.c | 114 Param.bases = Now.bases = ranf(6 - Game.skill) + 2; in setup() 116 Param.bases = Now.bases = 1; in setup() 117 Param.time = Now.time = 6.0 * Game.length + 2.0; in setup() 120 Param.klings = Now.klings = i * j * 3.5 * (franf() + 0.75); in setup() 121 if (Param.klings < i * j * 5) in setup() 122 Param.klings = Now.klings = i * j * 5; in setup() 123 if (Param.klings <= i) /* numerical overflow problems */ in setup() 124 Param.klings = Now.klings = 127; in setup() 125 Param.energy = Ship.energy = 5000; in setup() 126 Param.torped = Ship.torped = 10; in setup() [all …]
|
| H A D | dock.c | 92 Ship.energy = Param.energy; in dock() 93 Ship.torped = Param.torped; in dock() 94 Ship.shield = Param.shield; in dock() 95 Ship.crew = Param.crew; in dock() 96 Game.captives += Param.brigfree - Ship.brigfree; in dock() 97 Ship.brigfree = Param.brigfree; in dock() 103 Ship.reserves = Param.reserves; in dock() 116 reschedule(e, (e->date - Now.date) * Param.dockfac); in dock() 148 reschedule(e, (e->date - Now.date) / Param.dockfac); in undock()
|
| H A D | abandon.c | 106 Param.energy = Ship.energy = 3000; in abandon() 107 Param.torped = Ship.torped = 6; in abandon() 108 Param.shield = Ship.shield = 1250; in abandon() 123 i = Param.damprob[SHUTTLE] + Param.damprob[CLOAK]; in abandon() 124 Param.damprob[SHUTTLE] = Param.damprob[CLOAK] = 0; in abandon() 127 if (Param.damprob[j] != 0) { in abandon() 128 Param.damprob[j] += 1; in abandon()
|
| H A D | capture.c | 90 x = Param.klingpwr; in capture() 93 x *= Param.srndrprob; in capture() 102 i = ranf(Param.klingcrew); in capture() 105 "taken captive\n", Param.klingcrew - i); in capture()
|
| H A D | attack.c | 121 hit = Etc.klingon[i].power * pow(dustfac, tothe) * Param.hitfac; in attack() 124 Etc.klingon[i].power = dustfac * Param.phasfac * in attack() 130 propor /= Param.shield; in attack() 158 cas -= Param.damprob[l]; in attack() 161 extradm = (hit * Param.damfac[l]) / in attack()
|
| H A D | schedule.c | 153 when = -Param.eventdly[ev] * Param.time * log(franf()) / factor; in xsched() 174 when = -Param.eventdly[ev] * Param.time * log(franf()) / factor; in xresched()
|
| H A D | events.c | 323 e = schedule(E_REPRO, Param.eventdly[E_REPRO] * franf(), in events() 390 k->power = Param.klingpwr; in events() 432 Ship.reserves = Param.reserves; in events() 470 Ship.energy -= Param.cloakenergy * Move.time; in events() 473 rtime = 1.0 - exp(-Param.regenfac * Move.time); in events() 474 Ship.shield += (Param.shield - Ship.shield) * rtime; in events() 475 Ship.energy += (Param.energy - Ship.energy) * rtime; in events()
|
| H A D | dcrept.c | 67 m1 = 1.0 / Param.dockfac; in dcrept() 71 m2 = Param.dockfac; in dcrept()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | params.opt | 26 Common Joined UInteger Var(param_align_loop_iterations) Init(4) Param Optimization 30 Common Joined UInteger Var(param_align_threshold) Init(100) IntegerRange(1, 65536) Param Optimizati… 34 Common Joined UInteger Var(param_asan_globals) Init(1) IntegerRange(0, 1) Param 38 Common Joined UInteger Var(param_asan_protect_allocas) Init(1) IntegerRange(0, 1) Param Optimization 42 Common Joined UInteger Var(param_asan_instrument_reads) Init(1) IntegerRange(0, 1) Param Optimizati… 46 Common Joined UInteger Var(param_asan_instrument_writes) Init(1) IntegerRange(0, 1) Param Optimizat… 50 Common Joined UInteger Var(param_asan_instrumentation_with_call_threshold) Init(7000) Param Optimiz… 54 Common Joined UInteger Var(param_asan_memintrin) Init(1) IntegerRange(0, 1) Param Optimization 58 Common Joined UInteger Var(param_asan_stack) Init(1) IntegerRange(0, 1) Param Optimization 62 Common Joined UInteger Var(param_asan_use_after_return) Init(1) IntegerRange(0, 1) Param Optimizati… [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | params.opt | 26 Common Joined UInteger Var(param_align_loop_iterations) Init(4) Param Optimization 30 Common Joined UInteger Var(param_align_threshold) Init(100) IntegerRange(1, 65536) Param Optimizati… 34 Common Joined UInteger Var(param_asan_globals) Init(1) IntegerRange(0, 1) Param 38 Common Joined UInteger Var(param_asan_protect_allocas) Init(1) IntegerRange(0, 1) Param Optimization 42 Common Joined UInteger Var(param_asan_instrument_reads) Init(1) IntegerRange(0, 1) Param Optimizati… 46 Common Joined UInteger Var(param_asan_instrument_writes) Init(1) IntegerRange(0, 1) Param Optimizat… 50 Common Joined UInteger Var(param_asan_instrumentation_with_call_threshold) Init(7000) Param Optimiz… 54 Common Joined UInteger Var(param_asan_memintrin) Init(1) IntegerRange(0, 1) Param Optimization 58 Common Joined UInteger Var(param_asan_stack) Init(1) IntegerRange(0, 1) Param Optimization 62 Common Joined UInteger Var(param_asan_use_after_return) Init(1) IntegerRange(0, 1) Param Optimizati… [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchersMacros.h | 74 #define AST_MATCHER_FUNCTION_P(ReturnType, DefineMatcher, ParamType, Param) \ argument 75 AST_MATCHER_FUNCTION_P_OVERLOAD(ReturnType, DefineMatcher, ParamType, Param, \ 78 Param, OverloadId) \ argument 79 inline ReturnType DefineMatcher(ParamType const &Param); \ 81 inline ReturnType DefineMatcher(ParamType const &Param) 128 #define AST_MATCHER_P(Type, DefineMatcher, ParamType, Param) \ argument 129 AST_MATCHER_P_OVERLOAD(Type, DefineMatcher, ParamType, Param, 0) 131 #define AST_MATCHER_P_OVERLOAD(Type, DefineMatcher, ParamType, Param, \ argument 138 ParamType const &A##Param) \ 139 : Param(A##Param) {} \ [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPULibFunc.cpp | 58 unsigned char Param[5]; member 106 while (I < (sizeof Param/sizeof Param[0]) && Param[I]) ++I; in getNumArgs() 346 static AMDGPULibFunc::Param getRetType(AMDGPULibFunc::EFuncId id, in getRetType() 347 const AMDGPULibFunc::Param (&Leads)[2]) { in getRetType() 348 AMDGPULibFunc::Param Res = Leads[0]; in getRetType() 361 const AMDGPULibFunc::Param (&Leads)[2]; 365 ParamIterator(const AMDGPULibFunc::Param (&leads)[2], in ParamIterator() 369 AMDGPULibFunc::Param getNextParam(); 372 AMDGPULibFunc::Param ParamIterator::getNextParam() { in getNextParam() 373 AMDGPULibFunc::Param P; in getNextParam() [all …]
|
| H A D | AMDGPULibFunc.h | 291 struct Param { struct 303 Param() { reset(); } in Param() argument 376 Param *getLeads(); 377 const Param *getLeads() const; 409 Param Leads[2];
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | SemaTemplateDeduction.cpp | 137 const TemplateArgument &Param, 145 QualType Param, 397 Info.Param = const_cast<NonTypeTemplateParmDecl*>(NTTP); in DeduceNonTypeTemplateArgument() 501 TemplateName Param, in DeduceTemplateArguments() argument 505 TemplateDecl *ParamDecl = Param.getAsTemplateDecl(); in DeduceTemplateArguments() 523 Info.Param = TempParam; in DeduceTemplateArguments() 534 if (S.Context.hasSameTemplateName(Param, Arg)) in DeduceTemplateArguments() 538 Info.FirstArg = TemplateArgument(Param); in DeduceTemplateArguments() 564 const TemplateSpecializationType *Param, in DeduceTemplateArguments() argument 580 Param->getTemplateName(), in DeduceTemplateArguments() [all …]
|
| H A D | SemaTemplate.cpp | 1042 TemplateTypeParmDecl *Param in ActOnTypeParameter() local 1047 Param->setAccess(AS_public); in ActOnTypeParameter() 1049 if (Param->isParameterPack()) in ActOnTypeParameter() 1051 LSI->LocalPacks.push_back(Param); in ActOnTypeParameter() 1057 S->AddDecl(Param); in ActOnTypeParameter() 1058 IdResolver.AddDecl(Param); in ActOnTypeParameter() 1079 return Param; in ActOnTypeParameter() 1082 if (CheckTemplateArgument(Param, DefaultTInfo)) { in ActOnTypeParameter() 1083 Param->setInvalidDecl(); in ActOnTypeParameter() 1084 return Param; in ActOnTypeParameter() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/utils/TableGen/ |
| H A D | MveEmitter.cpp | 962 ACLEIntrinsic(EmitterBase &ME, Record *R, const Type *Param); 1032 const Type *getType(Record *R, const Type *Param); 1033 const Type *getType(DagInit *D, const Type *Param); 1034 const Type *getType(Init *I, const Type *Param); 1040 const Type *Param); 1042 const Result::Scope &Scope, const Type *Param); 1060 const Type *EmitterBase::getType(Init *I, const Type *Param) { in getType() argument 1062 return getType(Dag, Param); in getType() 1064 return getType(Def->getDef(), Param); in getType() 1069 const Type *EmitterBase::getType(Record *R, const Type *Param) { in getType() argument [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CXXSelfAssignmentChecker.cpp | 51 auto Param = SVB.makeLoc(State->getRegion(MD->getParamDecl(0), LCtx)); in checkBeginFunction() local 52 auto ParamVal = State->getSVal(Param); in checkBeginFunction() 54 ProgramStateRef SelfAssignState = State->bindLoc(Param, ThisVal, LCtx); in checkBeginFunction() 64 ProgramStateRef NonSelfAssignState = State->bindLoc(Param, ParamVal, LCtx); in checkBeginFunction()
|
| H A D | STLAlgorithmModeling.cpp | 114 SVal Param = State->getSVal(CE->getArg(paramNum), LCtx); in Find() local 122 const auto *Pos = getIteratorPosition(State, Param); in Find() 138 Param = State->getSVal(CE->getArg(paramNum + 1), LCtx); in Find() 144 Pos = getIteratorPosition(State, Param); in Find() 163 auto StateNotFound = State->BindExpr(CE, LCtx, Param); in Find()
|
| /netbsd-src/sys/external/bsd/acpica/dist/include/ |
| H A D | acoutput.h | 369 #define ACPI_TRACE_ENTRY(Name, Function, Type, Param) \ 371 Function (ACPI_DEBUG_PARAMETERS, (Type) (Param)) 415 #define ACPI_TRACE_EXIT(Function, Type, Param) \ 417 register Type _Param = (Type) (Param); \ 424 #define ACPI_TRACE_EXIT(Function, Type, Param) \ 426 Function (ACPI_DEBUG_PARAMETERS, (Type) (Param)); \ 427 return (Param); \ 364 ACPI_TRACE_ENTRY(Name,Function,Type,Param) global() argument 410 ACPI_TRACE_EXIT(Function,Type,Param) global() argument 419 ACPI_TRACE_EXIT(Function,Type,Param) global() argument
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | UncountedCallArgsChecker.cpp | 164 void reportBug(const Expr *CallArg, const ParmVarDecl *Param) const { in reportBug() 170 const std::string paramName = safeGetName(Param); in reportBug() 174 printQuotedQualifiedName(Os, Param); in reportBug() 179 isa<CXXDefaultArgExpr>(CallArg) ? Param->getDefaultArg()->getExprLoc() in reportBug()
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/ |
| H A D | FuzzerDriver.cpp | 108 static const char *FlagValue(const char *Param, const char *Name) { in FlagValue() argument 110 if (Param[0] == '-' && strstr(Param + 1, Name) == Param + 1 && in FlagValue() 111 Param[Len + 1] == '=') in FlagValue() 112 return &Param[Len + 2]; in FlagValue() 133 static bool ParseOneFlag(const char *Param) { in ParseOneFlag() argument 134 if (Param[0] != '-') return false; in ParseOneFlag() 135 if (Param[1] == '-') { in ParseOneFlag() 142 if (FlagValue(Param + 1, FlagDescriptions[F].Name)) in ParseOneFlag() 143 Printf("WARNING: did you mean '%s' (single dash)?\n", Param + 1); in ParseOneFlag() 148 const char *Str = FlagValue(Param, Name); in ParseOneFlag() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
| H A D | InlineSimple.cpp | 106 auto Param = llvm::getInlineParams(OptLevel, SizeOptLevel); in createFunctionInliningPass() local 108 Param.HotCallSiteThreshold = 0; in createFunctionInliningPass() 109 return new SimpleInliner(Param); in createFunctionInliningPass()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/config/aarch64/ |
| H A D | aarch64.opt | 267 Target Joined UInteger Var(aarch64_sve_compare_costs) Init(1) IntegerRange(0, 1) Param 271 Target Joined UInteger Var(aarch64_float_recp_precision) Init(1) IntegerRange(1, 5) Param 275 Target Joined UInteger Var(aarch64_double_recp_precision) Init(2) IntegerRange(1, 5) Param 279 Target Joined UInteger Var(aarch64_autovec_preference) Init(0) IntegerRange(0, 4) Param 282 Target Joined UInteger Var(aarch64_loop_vect_issue_rate_niters) Init(6) IntegerRange(0, 65536) Param 285 Target Joined UInteger Var(aarch64_mops_memcpy_size_threshold) Init(256) Param 289 Target Joined UInteger Var(aarch64_mops_memmove_size_threshold) Init(0) Param 293 Target Joined UInteger Var(aarch64_mops_memset_size_threshold) Init(256) Param 297 Target Joined UInteger Var(aarch64_vect_unroll_limit) Init(4) Param
|
| /netbsd-src/external/bsd/libevent/dist/cmake/ |
| H A D | CodeCoverage.cmake | 88 # Param _targetname The name of new the custom make target 89 # Param _testrunner The name of the target which runs the tests. 92 # Param _outputname lcov output is generated as _outputname.info 133 # Param _targetname The name of new the custom make target 134 # Param _testrunner The name of the target which runs the tests 135 # Param _outputname cobertura output is generated as _outputname.xml
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/ |
| H A D | ParseCXXInlineMethods.cpp | 341 auto Param = cast<ParmVarDecl>(LM.DefaultArgs[I].Param); in ParseLexedMethodDeclaration() local 343 bool HasUnparsed = Param->hasUnparsedDefaultArg(); in ParseLexedMethodDeclaration() 344 Actions.ActOnDelayedCXXMethodParameter(getCurScope(), Param); in ParseLexedMethodDeclaration() 356 DefArgEnd.setEofData(Param); in ParseLexedMethodDeclaration() 374 Sema::ExpressionEvaluationContext::PotentiallyEvaluatedIfUsed, Param); in ParseLexedMethodDeclaration() 384 Actions.ActOnParamDefaultArgumentError(Param, EqualLoc); in ParseLexedMethodDeclaration() 386 if (Tok.isNot(tok::eof) || Tok.getEofData() != Param) { in ParseLexedMethodDeclaration() 395 Actions.ActOnParamDefaultArgument(Param, EqualLoc, in ParseLexedMethodDeclaration() 404 if (Tok.is(tok::eof) && Tok.getEofData() == Param) in ParseLexedMethodDeclaration() 407 assert(Param->hasInheritedDefaultArg()); in ParseLexedMethodDeclaration() [all …]
|