Home
last modified time | relevance | path

Searched refs:Result (Results 1 – 17 of 17) sorted by relevance

/art/cmdline/
Dcmdline_types.h59 Result Parse(const std::string& args) {
61 return Result::Success(Unit{});
63 return Result::Failure("Unexpected extra characters " + args);
73 Result Parse(const std::string& option) {
75 return Result::Usage(
81 return Result::Success(JdwpProvider::kDefaultJdwpProvider);
83 return Result::Success(JdwpProvider::kInternal);
85 return Result::Success(JdwpProvider::kAdbConnection);
87 return Result::Success(JdwpProvider::kNone);
89 return Result::Failure(std::string("not a valid jdwp provider: ") + option);
[all …]
Dcmdline_type_parser.h31 using Result = CmdlineParseResult<T>; member
37 Result Parse(const std::string& args ATTRIBUTE_UNUSED) { in Parse()
39 return Result::Failure("Missing type specialization and/or value map"); in Parse()
49 Result ParseAndAppend(const std::string& args ATTRIBUTE_UNUSED, in ParseAndAppend()
52 return Result::Failure("Missing type specialization and/or value map"); in ParseAndAppend()
DREADME.md191 Result Parse(const std::string& str) {
197 return Result::Failure("Failed to parse double from " + str);
200 return Result::OutOfRange(
204 return Result::Success(value);
219 Result ParseAndAppend(const std::string& args,
222 return Result::SuccessNoValue();
230 #### What is a `Result`?
231 `Result` is a typedef for `CmdlineParseResult<T>` and it acts similar to a poor version of
235 There are helpers like `Result::Success(value)`, `Result::Failure(string message)` and so on to
238 When successfully parsing a single value, `Result::Success(value)` should be used, and when
[all …]
/art/test/917-fields-transformation/
Dexpected.txt1 Result is Hello
4 Result is start
7 Result is Goodbye
10 Result is end
/art/test/567-checker-compare/smali/
DSmali.smali24 ## CHECK-DAG: <<Result:i\d+>> InvokeStaticOrDirect [<<PhiX>>,<<PhiY>>,<<Method>>] intrinsic:In…
25 ## CHECK-DAG: Return [<<Result>>]
32 ## CHECK-DAG: <<Result:i\d+>> Compare [<<PhiX>>,<<PhiY>>]
33 ## CHECK-DAG: Return [<<Result>>]
45 ## CHECK-DAG: <<Result:i\d+>> Compare [<<SelX>>,<<SelY>>]
46 ## CHECK-DAG: Return [<<Result>>]
54 ## CHECK-DAG: <<Result:i\d+>> Compare [<<ArgX>>,<<ArgY>>]
55 ## CHECK-DAG: Return [<<Result>>]
/art/test/302-float-conversion/
Dexpected.txt1 Iteration Result is as expected
/art/runtime/
Dsubtype_check_info.h135 enum Result { enum
169 Result IsSubtypeOf(const SubtypeCheckInfo& target) { in IsSubtypeOf()
171 return Result::kUnknownSubtypeOf; in IsSubtypeOf()
173 return Result::kUnknownSubtypeOf; in IsSubtypeOf()
193 return result ? Result::kSubtypeOf : Result::kNotSubtypeOf; in IsSubtypeOf()
Dsubtype_check.h340 static SubtypeCheckInfo::Result IsSubtypeOf(ClassPtr source, ClassPtr target) in IsSubtypeOf()
Dsubtype_check_test.cc262 SubtypeCheckInfo::Result IsSubtypeOf(const MockSubtypeCheck& target) in IsSubtypeOf()
955 SubtypeCheckInfo::Result slow_result = in EnsureSubtypeOfCorrect()
957 SubtypeCheckInfo::Result fast_result = src_tree.IsSubtypeOf(target_tree); in EnsureSubtypeOfCorrect()
/art/test/647-jni-get-field-id/
Dexpected.txt3 Result: true
13 Result: true
/art/test/VerifierDeps/
DMyResult.smali17 .implements Ljavax/xml/transform/Result;
DMain.smali225 # Case 1: DOMResult implements Result
232 # Case 2: MyDOMResult extends DOMResult, DOMResult implements Result
239 # Case 3: MyResult implements Result
/art/dex2oat/
Ddex2oat_options.cc28 Result Parse(const std::string& option) { in Parse()
31 return Result::Failure(std::string("Not a valid instruction set: '") + option + "'"); in Parse()
33 return Result::Success(set); in Parse()
/art/runtime/dex/
Dart_dex_file_loader_test.cc138 struct Result { in TEST_F() struct
143 static const Result results[] = { in TEST_F()
201 for (const Result& r : results) { in TEST_F()
/art/test/458-checker-instruct-simplification/smali/
DSmaliTests.smali397 ## CHECK-DAG: <<Result:z\d+>> InvokeStaticOrDirect
398 ## CHECK-DAG: <<NotResult:i\d+>> Xor [<<Result>>,<<Const1>>]
403 ## CHECK-DAG: <<Result:z\d+>> InvokeStaticOrDirect
404 ## CHECK-DAG: <<NotResult:z\d+>> BooleanNot [<<Result>>]
/art/test/046-reflect/
Dexpected.txt28 Result of invoke: 7
/art/runtime/mirror/
Dclass-inl.h560 SubtypeCheckInfo::Result sc_result = SubtypeCheck<ObjPtr<Class>>::IsSubtypeOf(dis, klass); in IsSubClass()
570 SubtypeCheckInfo::Result expected_result = in IsSubClass()