Searched refs:Result (Results 1 – 17 of 17) sorted by relevance
/art/cmdline/ |
D | cmdline_types.h | 59 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 …]
|
D | cmdline_type_parser.h | 31 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()
|
D | README.md | 191 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/ |
D | expected.txt | 1 Result is Hello 4 Result is start 7 Result is Goodbye 10 Result is end
|
/art/test/567-checker-compare/smali/ |
D | Smali.smali | 24 ## 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/ |
D | expected.txt | 1 Iteration Result is as expected
|
/art/runtime/ |
D | subtype_check_info.h | 135 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()
|
D | subtype_check.h | 340 static SubtypeCheckInfo::Result IsSubtypeOf(ClassPtr source, ClassPtr target) in IsSubtypeOf()
|
D | subtype_check_test.cc | 262 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/ |
D | expected.txt | 3 Result: true 13 Result: true
|
/art/test/VerifierDeps/ |
D | MyResult.smali | 17 .implements Ljavax/xml/transform/Result;
|
D | Main.smali | 225 # Case 1: DOMResult implements Result 232 # Case 2: MyDOMResult extends DOMResult, DOMResult implements Result 239 # Case 3: MyResult implements Result
|
/art/dex2oat/ |
D | dex2oat_options.cc | 28 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/ |
D | art_dex_file_loader_test.cc | 138 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/ |
D | SmaliTests.smali | 397 ## 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/ |
D | expected.txt | 28 Result of invoke: 7
|
/art/runtime/mirror/ |
D | class-inl.h | 560 SubtypeCheckInfo::Result sc_result = SubtypeCheck<ObjPtr<Class>>::IsSubtypeOf(dis, klass); in IsSubClass() 570 SubtypeCheckInfo::Result expected_result = in IsSubClass()
|