Home
last modified time | relevance | path

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

12

/art/tools/checker/file_format/checker/
Dstruct.py74 def __init__(self, parent, variant, original_text, line_no): argument
78 self.variant = variant
90 return self.variant in [TestStatement.Variant.IN_ORDER,
96 return self.variant in [TestStatement.Variant.EVAL,
101 return self.variant in [TestStatement.Variant.ELSE,
106 if self.variant == TestStatement.Variant.NOT:
107 if new_expression.variant == TestExpression.Variant.VAR_DEF:
115 if expression.variant == TestExpression.Variant.SEPARATOR:
123 and self.variant == other.variant
147 def __init__(self, variant, name, text): argument
[all …]
Dtest.py78 def parse_statement(self, string, variant=""): argument
80 "/// CHECK" + variant + ": " + string)
109 def assertVariantNotEqual(self, string, variant): argument
110 self.assertNotEqual(variant, self.parse_expression(string).variant)
204 variant = statementEntry[1]
205 statement = TestStatement(test_case, variant, content, 0)
390 self.assertEqual(statement.variant, TestStatement.Variant.EVAL)
398 self.assertEqual(statement.variant, TestStatement.Variant.EVAL)
402 self.assertEqual(expression.variant, TestExpression.Variant.PLAIN_TEXT)
/art/tools/checker/match/
Dfile.py86 variant = statement.variant
87 if variant is TestStatement.Variant.IF:
89 elif variant is TestStatement.Variant.ELIF:
91 elif variant is TestStatement.Variant.ELSE:
94 assert variant is TestStatement.Variant.FI
221 assert statement.variant == TestStatement.Variant.DAG
239 assert statement.variant == TestStatement.Variant.NOT
284 variant = None if statement is None else statement.variant
286 if variant in [TestStatement.Variant.IF,
293 if variant is None:
[all …]
Dline.py32 if expression.variant == TestExpression.Variant.SEPARATOR:
59 if expression.variant == TestExpression.Variant.VAR_REF:
78 if expression.variant == TestExpression.Variant.VAR_DEF:
95 assert checker_line.variant != TestStatement.Variant.EVAL
121 if expression.variant == TestExpression.Variant.PLAIN_TEXT:
124 assert expression.variant == TestExpression.Variant.VAR_REF
/art/runtime/arch/x86/
Dinstruction_set_features_x86.cc127 X86FeaturesUniquePtr X86InstructionSetFeatures::FromVariant(const std::string& variant, in FromVariant() argument
132 if (is_runtime_isa && variant == "default") { in FromVariant()
137 variant); in FromVariant()
140 variant); in FromVariant()
143 variant); in FromVariant()
146 variant); in FromVariant()
149 variant); in FromVariant()
152 variant); in FromVariant()
156 variant); in FromVariant()
159 os << "Unexpected CPU variant for x86: " << variant << ".\n" in FromVariant()
/art/runtime/arch/
Dinstruction_set_features.cc34 InstructionSet isa, const std::string& variant, std::string* error_msg) { in FromVariant() argument
38 return ArmInstructionSetFeatures::FromVariant(variant, error_msg); in FromVariant()
40 return Arm64InstructionSetFeatures::FromVariant(variant, error_msg); in FromVariant()
42 return Riscv64InstructionSetFeatures::FromVariant(variant, error_msg); in FromVariant()
44 return X86InstructionSetFeatures::FromVariant(variant, error_msg); in FromVariant()
46 return X86_64InstructionSetFeatures::FromVariant(variant, error_msg); in FromVariant()
56 InstructionSet isa, const std::string& variant, std::string* error_msg) { in FromVariantAndHwcap() argument
57 auto variant_features = FromVariant(isa, variant, error_msg); in FromVariantAndHwcap()
309 const std::string& variant) { in FindVariantInArray() argument
312 return std::find(begin, end, variant) != end; in FindVariantInArray()
Dinstruction_set_features.h40 InstructionSet isa, const std::string& variant, std::string* error_msg);
46 InstructionSet isa, const std::string& variant, std::string* error_msg);
140 const std::string& variant);
/art/runtime/arch/arm64/
Dinstruction_set_features_arm64.cc47 const std::string& variant, std::string* error_msg) { in FromVariant() argument
111 variant); in FromVariant()
117 variant); in FromVariant()
121 variant); in FromVariant()
125 variant); in FromVariant()
129 variant); in FromVariant()
152 other_arm64_known_variants, arraysize(other_arm64_known_variants), variant)) { in FromVariant()
154 os << "Unexpected CPU variant for Arm64: " << variant << ".\n" in FromVariant()
/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.sh89 elif [[ $1 == --variant=* ]]; then
112 args+=(--variant=X32)
/art/runtime/arch/arm/
Dinstruction_set_features_arm.cc53 const std::string& variant, std::string* error_msg) { in FromVariant() argument
73 variant); in FromVariant()
85 variant); in FromVariant()
97 variant); in FromVariant()
110 variant)) { in FromVariant()
112 os << "Unexpected CPU variant for Arm: " << variant << ".\n" in FromVariant()
127 LOG(WARNING) << "Using default instruction set features for ARM CPU variant (" << variant in FromVariant()
Dinstruction_set_features_arm.h32 static ArmFeaturesUniquePtr FromVariant(const std::string& variant, std::string* error_msg);
/art/runtime/arch/riscv64/
Dinstruction_set_features_riscv64.cc41 const std::string& variant, [[maybe_unused]] std::string* error_msg) { in FromVariant() argument
42 if (variant != "generic") { in FromVariant()
43 LOG(WARNING) << "Unexpected CPU variant for Riscv64 using defaults: " << variant; in FromVariant()
Dinstruction_set_features_riscv64.h41 static Riscv64FeaturesUniquePtr FromVariant(const std::string& variant, std::string* error_msg);
/art/runtime/arch/x86_64/
Dinstruction_set_features_x86_64.h32 static X86_64FeaturesUniquePtr FromVariant(const std::string& variant, std::string* error_msg) { in FromVariant() argument
33 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.py903 for variant in variants:
904 if variant not in variant_set:
920 for variant in TOTAL_VARIANTS_SET:
921 variants += variant
928 variant = set()
934 variant.add(and_variant)
935 variant_list.add(frozenset(variant))
1141 for variant in variant_set:
1142 flag = '--' + variant
1143 var_group.add_argument(flag, action='store_true', dest=variant)
[all …]
/art/compiler/
Dcommon_compiler_test.h48 const std::string& variant);
72 void OverrideInstructionSetFeatures(InstructionSet instruction_set, const std::string& variant);
Dcommon_compiler_test.cc189 InstructionSet instruction_set, const std::string& variant) { in CreateCompilerOptions() argument
195 InstructionSetFeatures::FromVariant(instruction_set, variant, &error_msg); in CreateCompilerOptions()
241 const std::string& variant) { in OverrideInstructionSetFeatures() argument
245 InstructionSetFeatures::FromVariant(instruction_set, variant, &error_msg); in OverrideInstructionSetFeatures()
/art/artd/
DAndroid.bp129 // Fuzzer is on a special variant, different from the APEX variant. When
131 // incorrectly picks the platform variant, which only exposes system
/art/build/
DREADME.md11 The ART Module is available as a debug variant, `com.android.art.debug.apex`,
16 `com.google.android.art.apex` (note `.google.`) is the Google signed variant of
49 To build the debug variant of the module, specify `com.android.art.debug`
82 lunch <product>-trunk_staging-<variant>
/art/libnativeloader/
Dnative_loader_namespace.h76 std::variant<android_namespace_t*, native_bridge_namespace_t*> raw_;
/art/test/
DREADME.chroot.md193 art/tools/run-libcore-tests.sh --mode=device --variant=X64
197 art/tools/run-libcore-tests.sh --mode=device --variant=X32
202 art/tools/run-libjdwp-tests.sh --mode=device --variant=X64
206 art/tools/run-libjdwp-tests.sh --mode=device --variant=X32

12