Searched refs:Prototype (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/startop/view_compiler/ |
D | dex_testcase_generator.cc | 48 auto return5{cbuilder.CreateMethod("return5", Prototype{TypeDescriptor::Int()})}; in GenerateSimpleTestCases() 58 auto returnInteger5{cbuilder.CreateMethod("returnInteger5", Prototype{integer_type})}; in GenerateSimpleTestCases() 64 object, integer_type, Prototype{TypeDescriptor::Void(), TypeDescriptor::Int()}, five); in GenerateSimpleTestCases() 71 Prototype{TypeDescriptor::Int(), TypeDescriptor::Int()})}; in GenerateSimpleTestCases() 78 dex_file.GetOrDeclareMethod(string_type, "length", Prototype{TypeDescriptor::Int()})}; in GenerateSimpleTestCases() 81 cbuilder.CreateMethod("returnStringLength", Prototype{TypeDescriptor::Int(), string_type})}; in GenerateSimpleTestCases() 92 "returnIfZero", Prototype{TypeDescriptor::Int(), TypeDescriptor::Int()})}; in GenerateSimpleTestCases() 113 "returnIfNotZero", Prototype{TypeDescriptor::Int(), TypeDescriptor::Int()})}; in GenerateSimpleTestCases() 149 cbuilder.CreateMethod("backwardsBranch", Prototype{TypeDescriptor::Int()})}; in GenerateSimpleTestCases() 178 MethodBuilder returnNull{cbuilder.CreateMethod("returnNull", Prototype{string_type})}; in GenerateSimpleTestCases() [all …]
|
D | dex_builder_test.cc | 54 auto method{cbuilder.CreateMethod("foo", Prototype{TypeDescriptor::Void()})}; in TEST() 69 cbuilder.CreateMethod("foo", Prototype{TypeDescriptor::Void(), TypeDescriptor::Void()})}; in TEST() 87 auto method{cbuilder.CreateMethod("foo", Prototype{TypeDescriptor::Int()})}; in TEST() 108 cbuilder.CreateMethod("foo", Prototype{TypeDescriptor::Int(), TypeDescriptor::Int()})}; in TEST() 127 "foo", Prototype{TypeDescriptor::Int(), TypeDescriptor::FromClassname("java.lang.String")})}; in TEST() 134 Prototype{TypeDescriptor::Int()}); in TEST() 156 "foo", Prototype{TypeDescriptor::Int()})}; in TEST() 172 Prototype{TypeDescriptor::Int()}); in TEST()
|
D | dex_layout_compiler.cc | 55 dex::Prototype{dex::TypeDescriptor::Int()})}, 58 dex::Prototype{dex::TypeDescriptor::FromClassname("android.view.View"), 65 dex::Prototype{dex::TypeDescriptor::FromClassname("android.view.ViewGroup$LayoutParams"), 69 dex::Prototype{ 83 dex::Prototype{dex::TypeDescriptor::FromClassname("android.view.LayoutInflater"), in Start() 92 dex->GetOrDeclareMethod(context_type, "getResources", dex::Prototype{resources_type}); in Start() 101 dex::Prototype{xml_resource_parser_type, dex::TypeDescriptor::Int()}); in Start() 108 dex::Prototype{dex::TypeDescriptor::FromClassname("android.util.AttributeSet"), in Start() 157 dex::Prototype{dex::TypeDescriptor::Void(), in StartView()
|
D | dex_builder.h | 86 class Prototype { 89 explicit Prototype(TypeDescriptor return_type, TypeDescriptors... param_types) in Prototype() function 100 bool operator<(const Prototype& rhs) const { 302 void BuildNew(Value target, TypeDescriptor type, Prototype constructor, T... args); 453 MethodBuilder CreateMethod(const std::string& name, Prototype prototype); 487 Prototype prototype); 489 std::optional<const Prototype> GetPrototypeByMethodId(size_t method_id) const; 494 ir::Proto* GetOrEncodeProto(Prototype prototype); 511 Prototype prototype; 528 std::map<Prototype, ir::Proto*> proto_map_; [all …]
|
D | dex_builder.cc | 150 MethodBuilder method{cbuilder.CreateMethod("foo", Prototype{TypeDescriptor::Int(), string_type})}; in WriteTestDexFile() 155 dex_file.GetOrDeclareMethod(string_type, "length", Prototype{TypeDescriptor::Int()}); in WriteTestDexFile() 232 ir::Proto* Prototype::Encode(DexBuilder* dex) const { in Encode() 247 std::string Prototype::Shorty() const { in Shorty() 256 const TypeDescriptor& Prototype::ArgType(size_t index) const { in ArgType() 264 MethodBuilder ClassBuilder::CreateMethod(const std::string& name, Prototype prototype) { in CreateMethod() 559 Prototype prototype) { in GetOrDeclareMethod() 586 std::optional<const Prototype> DexBuilder::GetPrototypeByMethodId(size_t method_id) const { in GetPrototypeByMethodId() 595 ir::Proto* DexBuilder::GetOrEncodeProto(Prototype prototype) { in GetOrEncodeProto()
|
D | main.cc | 43 using startop::dex::Prototype; 155 Prototype{TypeDescriptor::FromClassname("android.view.View"), in main()
|
D | apk_layout_compiler.cc | 128 dex::Prototype{dex::TypeDescriptor::FromClassname("android.view.View"), in CompileApkAssetsLayouts()
|