Home
last modified time | relevance | path

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

12

/art/tools/checker/file_format/checker/
Dstruct.py73 def __init__(self, parent, variant, originalText, lineNo): argument
77 self.variant = variant
89 return self.variant in [ TestStatement.Variant.InOrder,
95 return self.variant in [ TestStatement.Variant.Eval,
100 return self.variant in [ TestStatement.Variant.Else,
105 if self.variant == TestStatement.Variant.Not:
106 if new_expression.variant == TestExpression.Variant.VarDef:
114 if expression.variant == TestExpression.Variant.Separator:
122 and self.variant == other.variant \
146 def __init__(self, variant, name, text): argument
[all …]
Dtest.py78 def parseStatement(self, string, variant=""): argument
80 u"/// CHECK" + ToUnicode(variant) + u": " + ToUnicode(string))
108 def assertVariantNotEqual(self, string, variant): argument
109 self.assertNotEqual(variant, self.parseExpression(string).variant)
203 variant = statementEntry[1]
204 statement = TestStatement(testCase, variant, content, 0)
388 self.assertEqual(statement.variant, TestStatement.Variant.Eval)
396 self.assertEqual(statement.variant, TestStatement.Variant.Eval)
400 self.assertEqual(expression.variant, TestExpression.Variant.PlainText)
Dparser.py153 def ParseCheckerStatement(parent, line, variant, lineNo): argument
157 statement = TestStatement(parent, variant, line, lineNo)
/art/tools/checker/match/
Dfile.py83 variant = statement.variant
84 if variant is TestStatement.Variant.If:
86 elif variant is TestStatement.Variant.Elif:
88 elif variant is TestStatement.Variant.Else:
91 assert variant is TestStatement.Variant.Fi
215 assert statement.variant == TestStatement.Variant.DAG
233 assert statement.variant == TestStatement.Variant.Not
278 variant = None if statement is None else statement.variant
280 if variant in [ TestStatement.Variant.If,
287 if variant is None:
[all …]
Dline.py29 if expression.variant == TestExpression.Variant.Separator:
53 if expression.variant == TestExpression.Variant.VarRef:
65 if expression.variant == TestExpression.Variant.VarDef:
81 assert checkerLine.variant != TestStatement.Variant.Eval
106 if expression.variant == TestExpression.Variant.PlainText:
109 assert expression.variant == TestExpression.Variant.VarRef
/art/runtime/arch/x86/
Dinstruction_set_features_x86.cc98 const std::string& variant, std::string* error_msg ATTRIBUTE_UNUSED, in FromVariant() argument
102 if (is_runtime_isa && variant == "default") { in FromVariant()
107 variant); in FromVariant()
110 variant); in FromVariant()
113 variant); in FromVariant()
116 variant); in FromVariant()
119 variant); in FromVariant()
122 variant); in FromVariant()
126 variant); in FromVariant()
127 if (!known_variant && variant != "default") { in FromVariant()
[all …]
Dinstruction_set_features_x86.h51 static X86FeaturesUniquePtr FromVariant(const std::string& variant,
/art/runtime/arch/arm64/
Dinstruction_set_features_arm64.cc38 const std::string& variant, std::string* error_msg) { in FromVariant() argument
99 variant); in FromVariant()
105 variant); in FromVariant()
109 variant); in FromVariant()
113 variant); in FromVariant()
117 variant); in FromVariant()
136 if (!FindVariantInArray(arm64_known_variants, arraysize(arm64_known_variants), variant)) { in FromVariant()
138 os << "Unexpected CPU variant for Arm64: " << variant; in FromVariant()
Dinstruction_set_features_arm64.h31 static Arm64FeaturesUniquePtr FromVariant(const std::string& variant, std::string* error_msg);
/art/runtime/arch/arm/
Dinstruction_set_features_arm.cc42 const std::string& variant, std::string* error_msg) { in FromVariant() argument
61 variant); in FromVariant()
73 variant); in FromVariant()
85 variant); in FromVariant()
98 variant)) { in FromVariant()
99 *error_msg = StringPrintf("Attempt to use unsupported ARM variant: %s", variant.c_str()); in FromVariant()
103 LOG(WARNING) << "Using default instruction set features for ARM CPU variant (" << variant in FromVariant()
Dinstruction_set_features_arm.h31 static ArmFeaturesUniquePtr FromVariant(const std::string& variant, std::string* error_msg);
/art/runtime/arch/
Dinstruction_set_features.cc37 InstructionSet isa, const std::string& variant, std::string* error_msg) { in FromVariant() argument
41 return ArmInstructionSetFeatures::FromVariant(variant, error_msg); in FromVariant()
43 return Arm64InstructionSetFeatures::FromVariant(variant, error_msg); in FromVariant()
45 return X86InstructionSetFeatures::FromVariant(variant, error_msg); in FromVariant()
47 return X86_64InstructionSetFeatures::FromVariant(variant, error_msg); in FromVariant()
245 const std::string& variant) { in FindVariantInArray() argument
248 return std::find(begin, end, variant) != end; in FindVariantInArray()
Dinstruction_set_features.h39 const std::string& variant,
128 const std::string& variant);
/art/tools/
Drun-jdwp-tests.sh237 elif [[ $1 == --variant=* ]]; then
359 variant=${variant_cmdline_parameter:10}
360 if [[ $variant == "x32" || $variant == "X32" ]]; then
362 elif [[ $variant == "x64" || $variant == "X64" ]]; then
Drun-prebuilt-libjdwp-tests.sh53 elif [[ $1 == --variant=* ]]; then
73 args+=(--variant=X64)
Drun-libjdwp-tests.sh87 elif [[ $1 == --variant=* ]]; then
103 args+=(--variant=X32)
/art/runtime/arch/x86_64/
Dinstruction_set_features_x86_64.h31 static X86_64FeaturesUniquePtr FromVariant(const std::string& variant, std::string* error_msg) { in FromVariant() argument
32 return Convert(X86InstructionSetFeatures::FromVariant(variant, error_msg, true)); in FromVariant()
/art/test/525-checker-arrays-fields1/
Dinfo.txt1 Test on (in)variant static field and array references in loops.
/art/test/525-checker-arrays-fields2/
Dinfo.txt1 Test on (in)variant instance field and array references in loops.
/art/test/testrunner/
Dtestrunner.py859 for variant in variants:
860 if variant not in variant_set:
876 for variant in TOTAL_VARIANTS_SET:
877 variants += variant
884 variant = set()
890 variant.add(and_variant)
891 variant_list.add(frozenset(variant))
1087 for variant in variant_set:
1088 flag = '--' + variant
1089 var_group.add_argument(flag, action='store_true', dest=variant)
[all …]
/art/compiler/
Dcommon_compiler_test.h48 const std::string& variant);
83 void OverrideInstructionSetFeatures(InstructionSet instruction_set, const std::string& variant);
Dcommon_compiler_test.cc48 InstructionSet instruction_set, const std::string& variant) { in CreateCompilerOptions() argument
53 InstructionSetFeatures::FromVariant(instruction_set, variant, &error_msg); in CreateCompilerOptions()
148 const std::string& variant) { in OverrideInstructionSetFeatures() argument
152 InstructionSetFeatures::FromVariant(instruction_set, variant, &error_msg); in OverrideInstructionSetFeatures()
/art/test/
DREADME.chroot.md108 art/tools/run-libcore-tests.sh --mode=device --variant=X64
112 art/tools/run-libcore-tests.sh --mode=device --variant=X32
117 art/tools/run-libjdwp-tests.sh --mode=device --variant=X64
121 art/tools/run-libjdwp-tests.sh --mode=device --variant=X32
/art/libnativeloader/
Dnative_loader_namespace.h72 std::variant<android_namespace_t*, native_bridge_namespace_t*> raw_;
/art/libartbase/base/
Dlogging.h138 std::variant<::android::base::LogMessage, std::ostringstream> msg_;

12