Searched refs:variant (Results 1 - 25 of 25) sorted by relevance

/art/tools/checker/file_format/checker/
H A Dstruct.py59 if new_assertion.variant == TestAssertion.Variant.NextLine:
61 (self.assertions[-1].variant != TestAssertion.Variant.InOrder and \
62 self.assertions[-1].variant != TestAssertion.Variant.NextLine):
80 def __init__(self, parent, variant, originalText, lineNo):
84 self.variant = variant
97 if self.variant == TestAssertion.Variant.Not:
98 if new_expression.variant == TestExpression.Variant.VarDef:
106 if expression.variant == TestExpression.Variant.Separator:
114 and self.variant
[all...]
H A Dtest.py78 def parseAssertion(self, string, variant=""):
80 u"/// CHECK" + ToUnicode(variant) + u": " + ToUnicode(string))
108 def assertVariantNotEqual(self, string, variant):
109 self.assertNotEqual(variant, self.parseExpression(string).variant)
194 # Data format: [ ( <case-name>, [ ( <text>, <assert-variant> ), ... ] ), ... ]
203 variant = assertionEntry[1]
204 assertion = TestAssertion(testCase, variant, content, 0)
380 self.assertEqual(assertion.variant, TestAssertion.Variant.Eval)
388 self.assertEqual(assertion.variant, TestAssertio
[all...]
H A Dparser.py132 def ParseCheckerAssertion(parent, line, variant, lineNo):
136 assertion = TestAssertion(parent, variant, line, lineNo)
137 isEvalLine = (variant == TestAssertion.Variant.Eval)
/art/tools/checker/match/
H A Dline.py28 if expression.variant == TestExpression.Variant.Separator:
52 if expression.variant == TestExpression.Variant.VarRef:
64 if expression.variant == TestExpression.Variant.VarDef:
80 assert checkerLine.variant != TestAssertion.Variant.Eval
105 if expression.variant == TestExpression.Variant.PlainText:
108 assert expression.variant == TestExpression.Variant.VarRef
112 assert checkerLine.variant == TestAssertion.Variant.Eval
H A Dfile.py38 if (assertion.variant == lastVariant and
39 assertion.variant in [TestAssertion.Variant.DAG, TestAssertion.Variant.Not]):
43 lastVariant = assertion.variant
77 assert assertion.variant == TestAssertion.Variant.DAG
94 assert assertion.variant == TestAssertion.Variant.Not
126 elif assertionGroup[0].variant == TestAssertion.Variant.Not:
131 elif assertionGroup[0].variant == TestAssertion.Variant.InOrder:
136 elif assertionGroup[0].variant == TestAssertion.Variant.NextLine:
141 elif assertionGroup[0].variant == TestAssertion.Variant.DAG:
146 assert assertionGroup[0].variant
[all...]
/art/tools/
H A Drun-libjdwp-tests.sh50 elif [[ $1 == --variant=* ]]; then
65 args+=(--variant=X32)
H A Drun-jdwp-tests.sh56 variant_cmdline_parameter="--variant=X32"
167 elif [[ $1 == --variant=* ]]; then
250 # If, on the other hand, there is a variant set, use it to modify the art_debugee parameter to
257 variant=${variant_cmdline_parameter:10}
258 if [[ $variant == "x32" || $variant == "X32" ]]; then
260 elif [[ $variant == "x64" || $variant == "X64" ]]; then
263 echo "Error, do not understand variant $variant_cmdline_parameter."
H A Drun-prebuilt-libjdwp-tests.sh53 elif [[ $1 == --variant=* ]]; then
55 if [[ $1 != "--variant=x64" ]] && [[ $1 != "--variant=X64" ]]; then
73 args+=(--variant=X64)
/art/runtime/arch/arm64/
H A Dinstruction_set_features_arm64.cc33 const std::string& variant, std::string* error_msg) {
49 variant);
52 // Check to see if this is an expected variant.
63 if (!FindVariantInArray(arm64_known_variants, arraysize(arm64_known_variants), variant)) {
65 os << "Unexpected CPU variant for Arm64: " << variant; local
32 FromVariant( const std::string& variant, std::string* error_msg) argument
H A Dinstruction_set_features_arm64.h30 // Process a CPU variant string like "krait" or "cortex-a15" and create InstructionSetFeatures.
31 static Arm64FeaturesUniquePtr FromVariant(const std::string& variant, std::string* error_msg);
/art/runtime/arch/mips64/
H A Dinstruction_set_features_mips64.cc32 const std::string& variant, std::string* error_msg ATTRIBUTE_UNUSED) {
34 if (variant != "default" && variant != "mips64r6") {
35 LOG(WARNING) << "Unexpected CPU variant for Mips64 using defaults: " << variant;
31 FromVariant( const std::string& variant, std::string* error_msg ATTRIBUTE_UNUSED) argument
H A Dinstruction_set_features_mips64.h30 // Process a CPU variant string like "r4000" and create InstructionSetFeatures.
31 static Mips64FeaturesUniquePtr FromVariant(const std::string& variant,
/art/runtime/arch/
H A Dinstruction_set_features.cc34 InstructionSet isa, const std::string& variant, std::string* error_msg) {
38 return ArmInstructionSetFeatures::FromVariant(variant, error_msg);
40 return Arm64InstructionSetFeatures::FromVariant(variant, error_msg);
42 return MipsInstructionSetFeatures::FromVariant(variant, error_msg);
44 return Mips64InstructionSetFeatures::FromVariant(variant, error_msg);
46 return X86InstructionSetFeatures::FromVariant(variant, error_msg);
48 return X86_64InstructionSetFeatures::FromVariant(variant, error_msg);
256 const std::string& variant) {
259 return std::find(begin, end, variant) != end;
33 FromVariant( InstructionSet isa, const std::string& variant, std::string* error_msg) argument
255 FindVariantInArray(const char* const variants[], size_t num_variants, const std::string& variant) argument
H A Dinstruction_set_features.h39 // Process a CPU variant string for the given ISA and create an InstructionSetFeatures.
41 const std::string& variant,
120 // Returns true if variant appears in the array variants.
122 const std::string& variant);
/art/runtime/arch/mips/
H A Dinstruction_set_features_mips.cc73 const std::string& variant, std::string* error_msg ATTRIBUTE_UNUSED) {
76 // This is needed when running ART test where the variant is not defined.
83 // Override defaults based on variant string.
87 if (variant.compare(0, kPrefixLength, kMips32Prefix, kPrefixLength) == 0 &&
88 variant.size() > kPrefixLength) {
89 r6 = (variant[kPrefixLength] >= '6');
90 fpu_32bit = (variant[kPrefixLength] < '5');
91 mips_isa_gte2 = (variant[kPrefixLength] >= '2');
92 msa = (variant[kPrefixLength] >= '5');
93 } else if (variant
72 FromVariant( const std::string& variant, std::string* error_msg ATTRIBUTE_UNUSED) argument
[all...]
H A Dinstruction_set_features_mips.h33 // Process a CPU variant string like "r4000" and create InstructionSetFeatures.
34 static MipsFeaturesUniquePtr FromVariant(const std::string& variant, std::string* error_msg);
/art/runtime/arch/x86/
H A Dinstruction_set_features_x86.cc86 const std::string& variant, std::string* error_msg ATTRIBUTE_UNUSED,
89 variant);
92 variant);
95 variant);
101 variant);
103 // Verify that variant is known.
105 variant);
106 if (!known_variant && variant != "default") {
107 LOG(WARNING) << "Unexpected CPU variant for X86 using defaults: " << variant;
85 FromVariant( const std::string& variant, std::string* error_msg ATTRIBUTE_UNUSED, bool x86_64) argument
[all...]
H A Dinstruction_set_features_x86.h30 // Process a CPU variant string like "atom" or "nehalem" and create InstructionSetFeatures.
31 static X86FeaturesUniquePtr FromVariant(const std::string& variant,
/art/runtime/arch/x86_64/
H A Dinstruction_set_features_x86_64.h30 // Process a CPU variant string like "atom" or "nehalem" and create InstructionSetFeatures.
31 static X86_64FeaturesUniquePtr FromVariant(const std::string& variant, std::string* error_msg) { argument
32 return Convert(X86InstructionSetFeatures::FromVariant(variant, error_msg, true));
/art/runtime/arch/arm/
H A Dinstruction_set_features_arm.cc42 const std::string& variant, std::string* error_msg) {
60 variant);
72 variant);
84 variant);
97 variant)) {
98 *error_msg = StringPrintf("Attempt to use unsupported ARM variant: %s", variant.c_str());
102 LOG(WARNING) << "Using default instruction set features for ARM CPU variant (" << variant
41 FromVariant( const std::string& variant, std::string* error_msg) argument
H A Dinstruction_set_features_arm.h30 // Process a CPU variant string like "krait" or "cortex-a15" and create InstructionSetFeatures.
31 static ArmFeaturesUniquePtr FromVariant(const std::string& variant, std::string* error_msg);
/art/test/testrunner/
H A Dtestrunner.py32 -t: Either the test name as in art/test or the test name including the variant
40 To specify any specific variants for the test, use --<<variant-name>>.
136 # TODO: Avoid duplication of the variant names in different lists.
544 test: The name of the test without the variant information.
545 test_variant: The set of variant for the test.
670 'variant' : (str,),
706 variants = parse_variants(failure.get('variant'))
754 for variant in variants:
755 if variant not in variant_set:
768 for variant i
[all...]
/art/compiler/linker/
H A Drelative_patcher_test.h43 RelativePatcherTest(InstructionSet instruction_set, const std::string& variant) argument
59 features_(InstructionSetFeatures::FromVariant(instruction_set, variant, &error_msg_)),
68 CHECK(error_msg_.empty()) << instruction_set << "/" << variant; local
/art/build/
H A DAndroid.oat.mk214 --instruction-set-variant=$$($(2)DEX2OAT_TARGET_CPU_VARIANT) \
/art/compiler/linker/arm64/
H A Drelative_patcher_arm64_test.cc31 explicit Arm64RelativePatcherTest(const std::string& variant) argument
32 : RelativePatcherTest(InstructionSet::kArm64, variant) { }

Completed in 839 milliseconds