Home
last modified time | relevance | path

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

12345678910

/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) {
/art/test/1981-structural-redef-private-method-handles/
Dexpected.txt12 Reading new field BAZ using (ID: 6) MethodHandle()Object = (ID: 7) <NULL>
13 Reading new field BAZ using (ID: 8) java.lang.invoke.FieldVarHandle()->java.lang.Object = (ID: 7) <…
14 Reading new field FOO using (ID: 9) MethodHandle()Object = (ID: 1) value of <FOO FIELD>
15 Reading new field FOO using (ID: 10) java.lang.invoke.FieldVarHandle()->java.lang.Object = (ID: 1) …
16 Reading new field BAR using (ID: 11) MethodHandle()Object = (ID: 4) value of <BAR FIELD>
17 Reading new field BAR using (ID: 12) java.lang.invoke.FieldVarHandle()->java.lang.Object = (ID: 4) …
18 Setting BAZ to (ID: 13) foo with new mh.
19 Post set with new mh: class art.Test1981$Transform[FOO: value of <FOO FIELD>, BAR: value of <BAR FI…
23 Post set with new varhandle: class art.Test1981$Transform[FOO: new_value object, BAR: value of <BAR…
24 Setting BAZ to 'bar' with new varhandle.
[all …]
Dexpected_no_mh.txt8 Reading new field BAZ using (ID: 4) MethodHandle()Object = (ID: 5) <NULL>
9 Reading new field FOO using (ID: 6) MethodHandle()Object = (ID: 1) value of <FOO FIELD>
10 Reading new field BAR using (ID: 7) MethodHandle()Object = (ID: 3) value of <BAR FIELD>
11 Setting BAZ to (ID: 8) foo with new mh.
12 Post set with new mh: class art.Test1981$Transform[FOO: value of <FOO FIELD>, BAR: value of <BAR FI…
15 Using mh to call new private method.
19 Reading new field BAZ using (ID: 4) MethodHandle()Object = (ID: 10) 42
20 Reading new field FOO using (ID: 6) MethodHandle()Object = (ID: 9) class art.Test1981$Transform
21 Reading new field BAR using (ID: 7) MethodHandle()Object = (ID: 3) value of <BAR FIELD>
/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;
/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/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/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/compiler/optimizing/
Doptimizing_unit_test.h113 : pool_and_allocator_(new ArenaPoolAndAllocator()), in OptimizingUnitTestHelper()
124 pool_and_allocator_.reset(new ArenaPoolAndAllocator()); in ResetPoolAndAllocator()
136 dex_files_.emplace_back(new StandardDexFile(
144 graph_ = new (allocator) HGraph(
169 new (graph->GetAllocator()) DexCompilationUnit(
198 return_block_->AddInstruction(new (GetAllocator()) HReturnVoid()); in InitGraph()
199 exit_block_->AddInstruction(new (GetAllocator()) HExit()); in InitGraph()
208 HBasicBlock* block = new (GetAllocator()) HBasicBlock(graph_); in AddNewBlock()
237 HEnvironment* environment = new (GetAllocator()) HEnvironment( in ManuallyBuildEnvFor()
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/1963-add-to-dex-classloader-in-memory/
Dexpected.txt1 - Run while adding new referenced class.
11 - Run without adding new referenced class.
18 -- Exception caught when running test without new class added! java.lang.NoClassDefFoundError
/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/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/1976-hello-structural-static-methods/
Dexpected.txt35 Running reflective after redef using new j.l.r.Method
36 Reflectively invoking public static void art.Transform1976.sayBye() on new j.l.r.Method
38 Reflectively invoking public static void art.Transform1976.sayEverything() on new j.l.r.Method
41 Reflectively invoking public static void art.Transform1976.sayHi() on new j.l.r.Method
49 Running jni with new ids
63 Running method handles using new handles
/art/test/699-checker-string-append2/smali/
DB146014745.smali26 # StringBuilder sb = new StringBuilder();
27 new-instance v0, Ljava/lang/StringBuilder;
48 # StringBuilder sb = new StringBuilder();
49 new-instance v0, Ljava/lang/StringBuilder;
71 # StringBuilder sb = new StringBuilder();
72 new-instance v0, Ljava/lang/StringBuilder;
93 # instead using the register initialized by new-instance for subsequent calls.
101 #; StringBuilder sb = new StringBuilder();
102 # new java/lang/StringBuilder
124 #; StringBuilder sb = new StringBuilder();
[all …]
/art/test/1964-add-to-dex-classloader-file/
Dexpected.txt1 - Run while adding new referenced class.
15 - Run without adding new referenced class.
22 -- Exception caught when running test without new class added! java.lang.NoClassDefFoundError
/art/compiler/utils/
Djni_macro_assembler_test.h58 allocator_.reset(new ArenaAllocator(&pool_)); in SetUp()
71 return new (allocator) Ass(allocator); in CreateAssembler()
85 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/173-missing-field-type/smali/
DBadField.smali31 new-instance v0, Ljava/lang/Object;
46 new-instance v1, LBadField;
48 new-instance v0, Ljava/lang/Object;
56 new-instance v1, LBadField;

12345678910