Home
last modified time | relevance | path

Searched refs:Argument (Results 1 – 24 of 24) sorted by relevance

/frameworks/support/navigation/safe-args-generator/src/tests/kotlin/androidx/navigation/safe/args/generator/
DNavArgumentResolverTest.kt22 import androidx.navigation.safe.args.generator.models.Argument
42 Argument("arg1", STRING), in id()
43 Argument("arg2", STRING, StringValue("foo")) in id()
51 listOf(Argument("boo", STRING))) in id()
55 listOf(Argument("arg1", STRING, StringValue("actionValue")), in id()
56 Argument("actionArg", STRING))))) in id()
69 Argument("arg1", STRING, StringValue("actionValue")), in id()
70 Argument("actionArg", STRING), in id()
71 Argument("arg2", STRING, StringValue("foo")) in id()
80 Argument("arg2", INT, IntValue("11")), in testIncompatibleTypes()
[all …]
DNavWriterTest.kt26 import androidx.navigation.safe.args.generator.models.Argument
89 Argument("main", STRING), in parsesAs()
90 Argument("mainInt", INT), in parsesAs()
91 Argument("optional", STRING, StringValue("bla")), in parsesAs()
92 Argument("optionalInt", INT, IntValue("239"))))) in parsesAs()
112 Argument("main", STRING), in testDirectionsClassGeneration()
113 Argument("optional", STRING, StringValue("bla")))) in testDirectionsClassGeneration()
117 Argument("arg1", STRING), in testDirectionsClassGeneration()
118 Argument("arg2", STRING))) in testDirectionsClassGeneration()
131 Argument("main", STRING), in testArgumentsClassGeneration()
[all …]
DNavParserTest.kt25 import androidx.navigation.safe.args.generator.models.Argument in <lambda>()
48 listOf(Argument("myarg1", STRING, StringValue("one"))), in <lambda>()
50 Argument("myarg2", STRING), in <lambda>()
51 Argument("randomArgument", STRING), in <lambda>()
52 Argument("intArgument", INT, IntValue("261")) in <lambda>()
56 listOf(Argument("myarg2", STRING)), in <lambda>()
90 val intArg = { value: String -> Argument("foo", INT, IntValue(value)) } in <lambda>()
91 val floatArg = { value: String -> Argument("foo", FLOAT, FloatValue(value)) } in <lambda>()
92 val stringArg = { value: String -> Argument("foo", STRING, StringValue(value)) } in <lambda>()
93 val boolArg = { value: String -> Argument("foo", BOOLEAN, BooleanValue(value)) } in <lambda>()
[all …]
/frameworks/support/navigation/safe-args-generator/src/main/kotlin/androidx/navigation/safe/args/generator/
DNavParser.kt20 import androidx.navigation.safe.args.generator.models.Argument in <lambda>()
66 val args = mutableListOf<Argument>() in <lambda>()
87 private fun parseArgument(): Argument { in <lambda>()
105 return Argument(name, type, null) in <lambda>()
127 return Argument(name, type, defaultTypedValue) in <lambda>()
133 val args = mutableListOf<Argument>() in <lambda>()
164 internal fun inferArgument(name: String, defaultValue: String, rFilePackage: String): Argument { in inferArgument()
167 return Argument(name, NavType.REFERENCE, ReferenceValue(reference)) in inferArgument()
171 return Argument(name, NavType.INT, intValue) in inferArgument()
175 return Argument(name, NavType.FLOAT, floatValue) in inferArgument()
[all …]
DNavArgumentResolver.kt19 import androidx.navigation.safe.args.generator.models.Argument in <lambda>()
45 private fun mergeArguments(args1: List<Argument>, args2: List<Argument>) = in mergeArguments()
DContext.kt19 import androidx.navigation.safe.args.generator.models.Argument
28 fun createStubArg() = Argument("errorArg${next()}", NavType.STRING)
DNavWriter.kt23 import androidx.navigation.safe.args.generator.models.Argument in <lambda>()
38 private class ClassWithArgsSpecs(val args: List<Argument>) { in <lambda>()
63 args.filterNot(Argument::isOptional).forEach { (argName, type) -> in <lambda>()
/frameworks/compile/slang/
Dslang_rs_reflection_cpp.h39 struct Argument { struct
43 Argument(std::string Type, std::string Name, std::string DefaultValue = "") argument
46 typedef std::vector<Argument> ArgumentList; argument
Dslang_rs_reflection_cpp.cpp277 Arguments.push_back(Argument(kAllocationSp, (*BI)->getName())); in genForEachDeclarations()
281 Arguments.push_back(Argument(kAllocationSp, "aout")); in genForEachDeclarations()
291 Arguments.push_back(Argument(rtd.type->c_name, (*i)->getName())); in genForEachDeclarations()
330 Arguments.push_back(Argument(kAllocationSp, "ain")); in genExportForEachBodies()
334 Arguments.push_back(Argument(kAllocationSp, "aout")); in genExportForEachBodies()
344 Arguments.push_back(Argument(rtd.type->c_name, (*i)->getName())); in genExportForEachBodies()
Dslang_backend.cpp994 llvm::Argument *HelperFunctionParameter = in dumpExportFunctionInfo()
/frameworks/base/tools/aapt2/tools/consumers/
Dpositional_arguments.py39 class Argument: class
67 Argument(self._parser.CurrentByteIndex + start, self._next_number))
/frameworks/support/navigation/safe-args-generator/src/main/kotlin/androidx/navigation/safe/args/generator/models/
DAction.kt21 val args: List<Argument> = emptyList())
DArgument.kt22 data class Argument(val name: String, val type: NavType, val defaultValue: WriteableValue? = null) { dataClass
DDestination.kt25 val args: List<Argument>,
/frameworks/compile/slang/StripUnkAttr/
Dstrip_unknown_attributes.cpp27 llvm::Argument &A = *I; in stripUnknownAttributes()
/frameworks/compile/libbcc/lib/
DRSKernelExpand.cpp384 llvm::Argument *Arg_p = &(*AI++); in createEmptyExpandedReduceAccumulator()
389 llvm::Argument *Arg_x1 = &(*AI++); in createEmptyExpandedReduceAccumulator()
392 llvm::Argument *Arg_x2 = &(*AI++); in createEmptyExpandedReduceAccumulator()
395 llvm::Argument *Arg_accum = &(*AI++); in createEmptyExpandedReduceAccumulator()
1248 llvm::Argument *CombinerArg_accum = &(*CombinerArgIter++); in CreateReduceCombinerFromAccumulator()
1253 llvm::Argument *CombinerArg_other = &(*CombinerArgIter++); in CreateReduceCombinerFromAccumulator()
DRSX86CallConvPass.cpp60 bool IsDerefNeeded(llvm::Function *F, llvm::Argument &Arg) { in IsDerefNeeded()
DRSAddDebugInfoPass.cpp209 for (llvm::Argument &arg : Func.getArgumentList()) { in attachDebugInfo()
/frameworks/base/packages/SystemUI/docs/
Ddemo_mode.md25 Command | Subcommand | Argument | Description
/frameworks/compile/slang/BitWriter_2_9/
DValueEnumerator.cpp82 for (const Argument &A : F.args()) in ValueEnumerator()
/frameworks/compile/slang/BitWriter_3_2/
DValueEnumerator.cpp82 for (const Argument &A : F.args()) in ValueEnumerator()
/frameworks/compile/slang/BitWriter_2_9_func/
DValueEnumerator.cpp82 for (const Argument &A : F.args()) in ValueEnumerator()
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
DBitcodeReader.cpp635 Value *V = new Argument(Ty); in getValueFwdRef()
3265 if (Argument *A = dyn_cast<Argument>(ValueList.back())) { in ParseFunctionBody()
3269 if ((A = dyn_cast_or_null<Argument>(ValueList[i])) && !A->getParent()) { in ParseFunctionBody()
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
DBitcodeReader.cpp910 Value *V = new Argument(Ty); in getValueFwdRef()
3610 if (Argument *A = dyn_cast<Argument>(ValueList.back())) { in ParseFunctionBody()
3614 if ((A = dyn_cast_or_null<Argument>(ValueList[i])) && !A->getParent()) { in ParseFunctionBody()