Home
last modified time | relevance | path

Searched refs:new (Results 1 – 25 of 212) sorted by relevance

123456789

/art/test/303-verification-stress/
Dexpected.txt2 Create new Test000
3 Create new Test001
4 Create new Test002
5 Create new Test003
6 Create new Test004
7 Create new Test005
8 Create new Test006
9 Create new Test007
10 Create new Test008
11 Create new Test009
[all …]
/art/test/594-invoke-super/
Dexpected.txt1 new A
3 new B
5 new A
6 new B
/art/libartbase/base/
Darena_object.h33 void* operator new(size_t size, ArenaAllocator* allocator) {
37 static void* operator new(size_t size, ScopedArenaAllocator* allocator) {
47 ALWAYS_INLINE void* operator new(size_t, void* ptr) noexcept { return ptr; }
57 void* operator new(size_t size, ArenaAllocator* allocator) {
61 static void* operator new(size_t size, ScopedArenaAllocator* allocator) {
Dmacros.h40 ALWAYS_INLINE void* operator new(size_t, void* ptr) noexcept { return ptr; } \
43 void* operator new(size_t) = delete // NOLINT
/art/test/800-smali/smali/
Db_22331663.smali9 # Construct a java.lang.Object completely, and throw a new exception.
10 new-instance v4, Ljava/lang/Object;
13 new-instance v3, Ljava/lang/RuntimeException;
20 # Allocate a java.lang.Object (do not initialize), and throw a new exception.
21 new-instance v4, Ljava/lang/Object;
23 new-instance v3, Ljava/lang/RuntimeException;
Db_22777307.smali9 # This is a broken new-instance. It needs to throw at runtime, though. This test is here to
12 new-instance v0, Ljava/lang/Cloneable;
Db_22331663_pass.smali10 new-instance v4, Ljava/lang/Object;
18 new-instance v0, Ljava/lang/Object;
Db_22411633_2.smali12 new-instance v4, Ljava/lang/Object;
21 new-instance v4, Ljava/lang/Object;
26 new-instance v4, Ljava/lang/Integer;
Db_22411633_3.smali12 new-instance v4, Ljava/lang/Object;
18 new-instance v4, Ljava/lang/Object;
/art/test/412-new-array/smali/
Dfilled_new_array.smali7 filled-new-array {v1, v2, v3}, [I
14 filled-new-array {v1, v2}, [Ljava/lang/Object;
21 filled-new-array {v1, v2}, [[I
28 filled-new-array/range {v1 .. v3}, [I
35 filled-new-array/range {v1 .. v2}, [Ljava/lang/Object;
42 filled-new-array/range {v1 .. v2}, [[I
/art/compiler/optimizing/
Doptimizing_unit_test.h112 OptimizingUnitTestHelper() : pool_and_allocator_(new ArenaPoolAndAllocator()) { } in OptimizingUnitTestHelper()
119 pool_and_allocator_.reset(new ArenaPoolAndAllocator()); in ResetPoolAndAllocator()
132 dex_files_.emplace_back(new StandardDexFile( in CreateGraph()
140 return new (allocator) HGraph( in CreateGraph()
163 handles_.reset(new VariableSizedHandleScope(soa.Self()));
166 new (graph->GetAllocator()) DexCompilationUnit(
203 entry_block_ = new (GetAllocator()) HBasicBlock(graph_); in InitGraph()
207 return_block_ = new (GetAllocator()) HBasicBlock(graph_); in InitGraph()
210 exit_block_ = new (GetAllocator()) HBasicBlock(graph_); in InitGraph()
217 parameter_ = new (GetAllocator()) HParameterValue(graph_->GetDexFile(), in InitGraph()
[all …]
Dcodegen_test_utils.h181 memory_.reset(new uint8_t[size]); in Allocate()
327 return new (graph->GetAllocator()) TestCodeGeneratorARMVIXL(graph, compiler_options); in create_codegen_arm_vixl32()
333 return new (graph->GetAllocator()) TestCodeGeneratorARM64(graph, compiler_options); in create_codegen_arm64()
339 return new (graph->GetAllocator()) TestCodeGeneratorX86(graph, compiler_options); in create_codegen_x86()
345 return new (graph->GetAllocator()) x86_64::CodeGeneratorX86_64(graph, compiler_options); in create_codegen_x86_64()
351 return new (graph->GetAllocator()) mips::CodeGeneratorMIPS(graph, compiler_options); in create_codegen_mips()
357 return new (graph->GetAllocator()) mips64::CodeGeneratorMIPS64(graph, compiler_options); in create_codegen_mips64()
Dssa_liveness_analysis.h88 return new (allocator) LiveRange( in Dup()
141 return new (allocator) UsePosition(user_, input_index_, position_); in Clone()
186 return new (allocator) EnvUsePosition(environment_, input_index_, position_); in Clone()
282 return new (allocator) LiveInterval(allocator, type, instruction);
288 return new (allocator) LiveInterval(allocator, type, nullptr, true, reg, false); in MakeFixedInterval()
292 return new (allocator) LiveInterval(allocator, type, nullptr, false, kNoRegister, true); in MakeTempInterval()
305 UsePosition* new_use = new (allocator_) UsePosition(instruction, temp_index, position); in AddTempUse()
355 UsePosition* new_use = new (allocator_) UsePosition(instruction, input_index, position);
366 new (allocator_) EnvUsePosition(environment, input_index, position);
370 UsePosition* new_use = new (allocator_) UsePosition(instruction, input_index, position);
[all …]
/art/test/993-breakpoints/
Dexpected.txt38 Invoking "((Breakable)new TestClass1()).breakit()"
39 Invoking "new TestClass1().breakit()"
45 Invoking "((Breakable)new TestClass1()).breakit()"
47 Invoking "new TestClass1().breakit()"
55 Invoking "((Breakable)new TestClass1ext()).breakit()"
56 Invoking "((TestClass1)new TestClass1ext()).breakit()"
57 Invoking "new TestClass1ext().breakit()"
67 Invoking "((Breakable)new TestClass1ext()).breakit()"
69 Invoking "((TestClass1)new TestClass1ext()).breakit()"
71 Invoking "new TestClass1ext().breakit()"
[all …]
/art/test/595-error-class/smali/
Dmerge.smali19 # Method that selects between x = new Integer[] or new AnError[],
25 new-array v0, v0, [LAnError;
28 new-array v0, v0, [Ljava/lang/Integer;
/art/test/476-checker-ctor-fence-redun-elim/
Dinfo.txt1 Tests to ensure constructor fences (after new-instance, new-array, or final fields) are properly
/art/test/563-checker-fakestring/smali/
DTestCase.smali18 # Test that all vregs holding the new-instance are updated after the
28 # Create new instance of String and store it to v0, v1, v2.
29 new-instance v0, Ljava/lang/String;
42 # Test usage of String new-instance before it is initialized.
56 new-instance v0, Ljava/lang/String;
89 new-instance v0, Ljava/lang/String; # HNewInstance(String)
126 new-instance v0, Ljava/lang/String;
130 # Although it looks like we "use" the new-instance v0 here, the optimizing compiler
131 # transforms all uses of the new-instance into uses of the StringFactory invoke.
140 new-instance v0, Ljava/lang/String;
[all …]
/art/test/412-new-array/
Dinfo.txt1 Simple tests for new-array, filled-new-array and fill-array-data.
/art/test/435-new-instance/
Dinfo.txt1 Tests that new-instance throws:
6 This also verifies that we don't remove dead (code) new-instances which may
/art/compiler/utils/
Djni_macro_assembler_test.h62 allocator_.reset(new ArenaAllocator(&pool_)); in SetUp()
65 new AssemblerTestInfrastructure(GetArchitectureString(), in SetUp()
85 return new (allocator) Ass(allocator); in CreateAssembler()
136 std::unique_ptr<std::vector<uint8_t>> data(new std::vector<uint8_t>(cs)); in DriverWrapper()
/art/test/435-new-instance/smali/
Dinstance.smali27 new-instance v1, LTestInterface;
35 new-instance v1, LTestClass;
43 new-instance v1, Lpkg/ProtectedClass;
51 new-instance v1, LUnknownClass;
/art/test/1949-short-dex-file/
Dinfo.txt13 In the transformed version of the dex file there is a new method. The new list of methodIDs is:
21 read the 5th method id of the new file (Lxyz/Transform;->foo()V) from the old dex file (which
/art/test/606-erroneous-class/smali/
DErrClass.smali22 # Use a new instance before initializing it => hard verifier error.
23 new-instance v0, LSomeClass;
/art/test/591-new-instance-string/
Dinfo.txt1 Regression test on new-instance that reaches multiple <init> calls.
/art/test/578-polymorphic-inlining/
Dinfo.txt2 wrongly the try/catch information of new blocks.

123456789