Home
last modified time | relevance | path

Searched refs:Param (Results 1 – 25 of 183) sorted by relevance

12345678

/netbsd/games/trek/
H A Dsetup.c130 Param.resource = Now.resource = Param.klings * Param.time; in setup()
146 Param.damfac[i] = 0; in setup()
148 Param.damfac[i] = f; in setup()
168 Param.dockfac = 0.5; in setup()
172 Param.warptime = 10; in setup()
173 Param.stopengy = 50; in setup()
174 Param.shupengy = 40; in setup()
179 Param.phasfac = 0.8; in setup()
180 Param.hitfac = 0.5; in setup()
292 printf("%d Klingons\n%d starbase", Param.klings, Param.bases); in setup()
[all …]
H A Ddock.c92 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 Dabandon.c106 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 Dcapture.c90 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 Dattack.c121 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 Dschedule.c153 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 Devents.c323 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 Ddcrept.c67 m1 = 1.0 / Param.dockfac; in dcrept()
71 m2 = Param.dockfac; in dcrept()
/netbsd/external/gpl3/gcc/dist/gcc/
H A Dparams.opt34 Common Joined UInteger Var(param_asan_globals) Init(1) IntegerRange(0, 1) Param
106 Common Joined UInteger Var(param_case_values_threshold) Param Optimization
181 Common Joined UInteger Var(param_ggc_min_expand) Init(30) Param
185 Common Joined UInteger Var(param_ggc_min_heapsize) Init(4096) Param
209 Common Joined UInteger Var(param_hot_bb_count_fraction) Init(10000) Param
397 C++ Joined UInteger Var(param_lazy_modules) Init(32768) Param
445 Common Joined UInteger Var(param_max_partition_size) Init(1000000) Param
453 Common Joined UInteger Var(param_min_partition_size) Init(10000) Param
517 Common Joined UInteger Var(param_max_fields_for_field_sensitive) Param
793 Common Joined UInteger Var(param_min_nondebug_insn_uid) Param
[all …]
/netbsd/external/gpl3/gcc.old/dist/gcc/
H A Dparams.opt34 Common Joined UInteger Var(param_asan_globals) Init(1) IntegerRange(0, 1) Param
82 Common Joined UInteger Var(param_case_values_threshold) Param Optimization
134 Common Joined UInteger Var(param_ggc_min_expand) Init(30) Param
138 Common Joined UInteger Var(param_ggc_min_heapsize) Init(4096) Param
142 Common Joined UInteger Var(param_gimple_fe_computed_hot_bb_threshold) Param
162 Common Joined UInteger Var(param_hot_bb_count_fraction) Init(10000) Param
358 Common Joined UInteger Var(param_max_partition_size) Init(1000000) Param
366 Common Joined UInteger Var(param_min_partition_size) Init(10000) Param
430 Common Joined UInteger Var(param_max_fields_for_field_sensitive) Param
690 Common Joined UInteger Var(param_min_nondebug_insn_uid) Param
[all …]
/netbsd/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/
H A DASTMatchersMacros.h74 #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)
139 : Param(A##Param) {} \
266 Param, 0)
277 : Param(A##Param) {} \
[all …]
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPULibFunc.cpp58 unsigned char Param[5]; member
106 while (I < (sizeof Param/sizeof Param[0]) && Param[I]) ++I; in getNumArgs()
373 AMDGPULibFunc::Param P; in getNextParam()
374 if (Index >= int(sizeof Rule.Param/sizeof Rule.Param[0])) return P; in getNextParam()
376 const char R = Rule.Param[Index]; in getNextParam()
570 AMDGPULibFunc::Param Prev;
657 Param P; in parseFuncName()
819 AMDGPULibFunc::Param Ptr; in operator ()()
859 Param P; in mangleNameItanium()
870 const AMDGPULibFunc::Param& P, in getIntrinsicParamType()
[all …]
H A DAMDGPULibFunc.h291 struct Param { struct
303 Param() { reset(); } in Param() argument
376 Param *getLeads();
377 const Param *getLeads() const;
409 Param Leads[2];
/netbsd/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp949 Info.Param = makeTemplateParameter(Param); in finish()
959 Info.Param = makeTemplateParameter(Param); in finish()
1168 return Param == Arg; in isSameOrCompatibleFunctionType()
1177 return Param == Arg; in isSameOrCompatibleFunctionType()
1417 Param = Param.getUnqualifiedType(); in DeduceTemplateArgumentsByTypeMatch()
1448 Param = Param->getPointeeType(); in DeduceTemplateArgumentsByTypeMatch()
1644 Param = Param.getUnqualifiedType(); in DeduceTemplateArgumentsByTypeMatch()
1873 Param = cast<InjectedClassNameType>(Param) in DeduceTemplateArgumentsByTypeMatch()
2331 Info.FirstArg = Param; in DeduceTemplateArguments()
2843 Info.Param = makeTemplateParameter(Param); in ConvertDeducedTemplateArguments()
[all …]
H A DSemaTemplate.cpp1079 return Param; in ActOnTypeParameter()
1084 return Param; in ActOnTypeParameter()
1090 return Param; in ActOnTypeParameter()
1587 return Param; in ActOnNonTypeTemplateParameter()
1601 return Param; in ActOnNonTypeTemplateParameter()
1681 return Param; in ActOnTemplateTemplateParameter()
5695 ++Param; in CheckTemplateArgumentList()
5745 ++Param; in CheckTemplateArgumentList()
5795 ++Param; in CheckTemplateArgumentList()
5883 ++Param; in CheckTemplateArgumentList()
[all …]
/netbsd/external/apache2/llvm/dist/clang/utils/TableGen/
H A DMveEmitter.cpp1034 const Type *getType(Init *I, const Type *Param);
1040 const Type *Param);
1062 return getType(Dag, Param); in getType()
1064 return getType(Def->getDef(), Param); in getType()
1098 if (isa<VoidType>(Param)) in getType()
1100 return Param; in getType()
1179 const Type *CastType = getType(Op, Param); in getCodeForDag()
1287 return getCodeForDag(DI, Scope, Param); in getCodeForDagArg()
1292 const Type *T = getType(Rec, Param); in getCodeForDagArg()
1401 IA.i1 = Param->sizeInBits(); in ACLEIntrinsic()
[all …]
/netbsd/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DCXXSelfAssignmentChecker.cpp51 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 DSTLAlgorithmModeling.cpp114 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/sys/external/bsd/acpica/dist/include/
H A Dacoutput.h364 #define ACPI_TRACE_ENTRY(Name, Function, Type, Param) \ argument
366 Function (ACPI_DEBUG_PARAMETERS, (Type) (Param))
410 #define ACPI_TRACE_EXIT(Function, Type, Param) \ argument
412 register Type _Param = (Type) (Param); \
419 #define ACPI_TRACE_EXIT(Function, Type, Param) \ argument
421 Function (ACPI_DEBUG_PARAMETERS, (Type) (Param)); \
422 return (Param); \
/netbsd/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DUncountedCallArgsChecker.cpp164 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/sys/external/bsd/compiler_rt/dist/lib/fuzzer/
H A DFuzzerDriver.cpp108 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/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DInlineSimple.cpp106 auto Param = llvm::getInlineParams(OptLevel, SizeOptLevel); in createFunctionInliningPass() local
108 Param.HotCallSiteThreshold = 0; in createFunctionInliningPass()
109 return new SimpleInliner(Param); in createFunctionInliningPass()
/netbsd/external/gpl3/gcc/dist/gcc/config/aarch64/
H A Daarch64.opt267 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/external/bsd/libevent/dist/cmake/
H A DCodeCoverage.cmake88 # 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/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseCXXInlineMethods.cpp341 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()
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()
418 Param->setUninstantiatedDefaultArg( in ParseLexedMethodDeclaration()
[all …]

12345678