Searched refs:Result (Results 1 – 21 of 21) 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/565-checker-rotate/smali/ |
D | Main2.smali | 24 ## CHECK-DAG: <<Result:i\d+>> InvokeStaticOrDirect [<<Val>>,<<ArgDist>>{{(,[ij]\d+)?}}] intrin… 25 ## CHECK-DAG: Return [<<Result>>] 34 ## CHECK-DAG: <<Result:i\d+>> Ror [<<Val>>,<<NegDist>>] 35 ## CHECK-DAG: Return [<<Result>>] 47 ## CHECK-DAG: <<Result:i\d+>> Ror [<<SelVal>>,<<NegDist>>] 48 ## CHECK-DAG: Return [<<Result>>] 57 ## CHECK-DAG: <<Result:i\d+>> Ror [<<ArgVal>>,<<NegDist>>] 58 ## CHECK-DAG: Return [<<Result>>] 99 ## CHECK-DAG: <<Result:i\d+>> InvokeStaticOrDirect [<<Val>>,<<ArgDist>>{{(,[ij]\d+)?}}] intrin… 100 ## CHECK-DAG: Return [<<Result>>] [all …]
|
/art/test/566-checker-signum/smali/ |
D | Main2.smali | 22 ## CHECK-DAG: <<Result:i\d+>> InvokeStaticOrDirect [<<Phi>>{{(,[ij]\d+)?}}] intrinsic:IntegerSi… 23 ## CHECK-DAG: Return [<<Result>>] 29 ## CHECK-DAG: <<Result:i\d+>> Compare [<<Phi>>,<<Zero>>] 30 ## CHECK-DAG: Return [<<Result>>] 40 ## CHECK-DAG: <<Result:i\d+>> Compare [<<Sel>>,<<Zero>>] 41 ## CHECK-DAG: Return [<<Result>>] 49 ## CHECK-DAG: <<Result:i\d+>> Compare [<<Arg>>,<<Zero>>] 50 ## CHECK-DAG: Return [<<Result>>]
|
/art/test/567-checker-compare/smali/ |
D | Smali.smali | 23 ## CHECK-DAG: <<Result:i\d+>> InvokeStaticOrDirect [<<PhiX>>,<<PhiY>>{{(,[ij]\d+)?}}] intrinsi… 24 ## CHECK-DAG: Return [<<Result>>] 31 ## CHECK-DAG: <<Result:i\d+>> Compare [<<PhiX>>,<<PhiY>>] 32 ## CHECK-DAG: Return [<<Result>>] 44 ## CHECK-DAG: <<Result:i\d+>> Compare [<<SelX>>,<<SelY>>] 45 ## CHECK-DAG: Return [<<Result>>] 53 ## CHECK-DAG: <<Result:i\d+>> Compare [<<ArgX>>,<<ArgY>>] 54 ## CHECK-DAG: Return [<<Result>>]
|
/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_test.cc | 264 SubtypeCheckInfo::Result IsSubtypeOf(const MockSubtypeCheck& target) in IsSubtypeOf() 959 SubtypeCheckInfo::Result slow_result = in EnsureSubtypeOfCorrect() 961 SubtypeCheckInfo::Result fast_result = src_tree.IsSubtypeOf(target_tree); in EnsureSubtypeOfCorrect()
|
D | subtype_check.h | 353 static SubtypeCheckInfo::Result IsSubtypeOf(ClassPtr source, ClassPtr target) in IsSubtypeOf()
|
/art/test/302-float-conversion/ |
D | expected.txt | 1 Iteration Result is as expected
|
/art/test/647-jni-get-field-id/ |
D | expected.txt | 5 Result: true 15 Result: true
|
/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/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/libdexfile/dex/ |
D | art_dex_file_loader_test.cc | 136 struct Result { in TEST_F() struct 141 static const Result results[] = { in TEST_F() 199 for (const Result& r : results) { in TEST_F()
|
/art/test/458-checker-instruct-simplification/smali/ |
D | SmaliTests2.smali | 155 ## CHECK-DAG: <<Result:z\d+>> InvokeStaticOrDirect method_name:SmaliTests2.NegateValue 156 ## CHECK-DAG: <<NotResult:z\d+>> NotEqual [<<Result>>,<<Const1>>] 164 ## CHECK-DAG: <<Result:z\d+>> InvokeStaticOrDirect method_name:SmaliTests2.NegateValue
|
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 | 575 SubtypeCheckInfo::Result sc_result = SubtypeCheck<ObjPtr<Class>>::IsSubtypeOf(dis, klass); in IsSubClass() 585 SubtypeCheckInfo::Result expected_result = in IsSubClass()
|
/art/runtime/arch/arm/ |
D | quick_entrypoints_arm.S | 2722 str r1, [sp, 72] @ r0:r1 := Result. Copy r1 to context.
|