Home
last modified time | relevance | path

Searched refs:cbuilder (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/startop/view_compiler/
Ddex_builder_test.cc52 auto cbuilder{dex_file.MakeClass("dextest.DexTest")}; in TEST() local
54 auto method{cbuilder.CreateMethod("foo", Prototype{TypeDescriptor::Void()})}; in TEST()
65 auto cbuilder{dex_file.MakeClass("dextest.DexTest")}; in TEST() local
69 cbuilder.CreateMethod("foo", Prototype{TypeDescriptor::Void(), TypeDescriptor::Void()})}; in TEST()
85 auto cbuilder{dex_file.MakeClass("dextest.DexTest")}; in TEST() local
87 auto method{cbuilder.CreateMethod("foo", Prototype{TypeDescriptor::Int()})}; in TEST()
105 auto cbuilder{dex_file.MakeClass("dextest.DexTest")}; in TEST() local
108 cbuilder.CreateMethod("foo", Prototype{TypeDescriptor::Int(), TypeDescriptor::Int()})}; in TEST()
124 auto cbuilder{dex_file.MakeClass("dextest.DexTest")}; in TEST() local
126 MethodBuilder method{cbuilder.CreateMethod( in TEST()
[all …]
Ddex_testcase_generator.cc32 ClassBuilder cbuilder{dex_file.MakeClass("android.startop.test.testcases.Trivial")}; in GenerateTrivialDexFile() local
33 cbuilder.set_source_file("dex_testcase_generator.cc#GenerateTrivialDexFile"); in GenerateTrivialDexFile()
44 ClassBuilder cbuilder{dex_file.MakeClass("android.startop.test.testcases.SimpleTests")}; in GenerateSimpleTestCases() local
45 cbuilder.set_source_file("dex_testcase_generator.cc#GenerateSimpleTestCases"); in GenerateSimpleTestCases()
48 auto return5{cbuilder.CreateMethod("return5", Prototype{TypeDescriptor::Int()})}; in GenerateSimpleTestCases()
58 auto returnInteger5{cbuilder.CreateMethod("returnInteger5", Prototype{integer_type})}; in GenerateSimpleTestCases()
70 auto returnParam{cbuilder.CreateMethod("returnParam", in GenerateSimpleTestCases()
81 cbuilder.CreateMethod("returnStringLength", Prototype{TypeDescriptor::Int(), string_type})}; in GenerateSimpleTestCases()
91 MethodBuilder returnIfZero{cbuilder.CreateMethod( in GenerateSimpleTestCases()
112 MethodBuilder returnIfNotZero{cbuilder.CreateMethod( in GenerateSimpleTestCases()
[all …]
Ddex_builder.cc145 ClassBuilder cbuilder{dex_file.MakeClass("dextest.DexTest")}; in WriteTestDexFile() local
146 cbuilder.set_source_file("dextest.java"); in WriteTestDexFile()
150 MethodBuilder method{cbuilder.CreateMethod("foo", Prototype{TypeDescriptor::Int(), string_type})}; in WriteTestDexFile()