/art/test/303-verification-stress/ |
D | expected.txt | 2 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/ |
D | expected.txt | 1 new A 3 new B 5 new A 6 new B
|
/art/runtime/base/ |
D | arena_object.h | 33 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/800-smali/smali/ |
D | b_22331663.smali | 9 # 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;
|
D | b_22777307.smali | 9 # 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;
|
D | b_22331663_pass.smali | 10 new-instance v4, Ljava/lang/Object; 18 new-instance v0, Ljava/lang/Object;
|
D | b_22411633_2.smali | 12 new-instance v4, Ljava/lang/Object; 21 new-instance v4, Ljava/lang/Object; 26 new-instance v4, Ljava/lang/Integer;
|
D | b_22411633_3.smali | 12 new-instance v4, Ljava/lang/Object; 18 new-instance v4, Ljava/lang/Object;
|
/art/test/412-new-array/smali/ |
D | filled_new_array.smali | 7 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/993-breakpoints/ |
D | expected.txt | 38 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/476-checker-ctor-fence-redun-elim/ |
D | info.txt | 1 Tests to ensure constructor fences (after new-instance, new-array, or final fields) are properly
|
/art/test/595-error-class/smali/ |
D | merge.smali | 19 # 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/412-new-array/ |
D | info.txt | 1 Simple tests for new-array, filled-new-array and fill-array-data.
|
/art/test/435-new-instance/ |
D | info.txt | 1 Tests that new-instance throws: 6 This also verifies that we don't remove dead (code) new-instances which may
|
/art/compiler/utils/ |
D | jni_macro_assembler_test.h | 61 allocator_.reset(new ArenaAllocator(&pool_)); in SetUp() 64 new AssemblerTestInfrastructure(GetArchitectureString(), in SetUp() 84 return new (allocator) Ass(allocator); in CreateAssembler() 135 std::unique_ptr<std::vector<uint8_t>> data(new std::vector<uint8_t>(cs)); in DriverWrapper()
|
/art/test/435-new-instance/smali/ |
D | instance.smali | 27 new-instance v1, LTestInterface; 35 new-instance v1, LTestClass; 43 new-instance v1, Lpkg/ProtectedClass; 51 new-instance v1, LUnknownClass;
|
/art/compiler/optimizing/ |
D | optimizing_unit_test.h | 110 OptimizingUnitTestHelper() : pool_and_allocator_(new ArenaPoolAndAllocator()) { } in OptimizingUnitTestHelper() 117 pool_and_allocator_.reset(new ArenaPoolAndAllocator()); in ResetPoolAndAllocator() 130 dex_files_.emplace_back(new StandardDexFile( in CreateGraph() 138 return new (allocator) HGraph( in CreateGraph() 161 handles_.reset(new VariableSizedHandleScope(soa.Self())); 164 new (graph->GetAllocator()) DexCompilationUnit(
|
D | ssa_liveness_analysis.h | 88 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() 269 return new (allocator) LiveInterval(allocator, type, instruction); 275 return new (allocator) LiveInterval(allocator, type, nullptr, true, reg, false); in MakeFixedInterval() 279 return new (allocator) LiveInterval(allocator, type, nullptr, false, kNoRegister, true); in MakeTempInterval() 292 UsePosition* new_use = new (allocator_) UsePosition(instruction, temp_index, position); in AddTempUse() 343 UsePosition* new_use = new (allocator_) UsePosition(instruction, input_index, position); 354 new (allocator_) EnvUsePosition(environment, input_index, position); 358 UsePosition* new_use = new (allocator_) UsePosition(instruction, input_index, position); [all …]
|
D | codegen_test_utils.h | 193 memory_.reset(new uint8_t[size]); in Allocate() 339 return new (graph->GetAllocator()) in create_codegen_arm_vixl32() 348 return new (graph->GetAllocator()) in create_codegen_arm64() 357 return new (graph->GetAllocator()) TestCodeGeneratorX86( in create_codegen_x86() 366 return new (graph->GetAllocator()) in create_codegen_x86_64() 375 return new (graph->GetAllocator()) in create_codegen_mips() 384 return new (graph->GetAllocator()) in create_codegen_mips64()
|
/art/test/563-checker-fakestring/smali/ |
D | TestCase.smali | 18 # 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. 149 new-instance v0, Ljava/lang/String; [all …]
|
/art/libartbase/base/ |
D | macros.h | 43 ALWAYS_INLINE void* operator new(size_t, void* ptr) noexcept { return ptr; } \ 46 void* operator new(size_t) = delete // NOLINT
|
/art/test/1949-short-dex-file/ |
D | info.txt | 13 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/591-new-instance-string/ |
D | info.txt | 1 Regression test on new-instance that reaches multiple <init> calls.
|
/art/test/606-erroneous-class/smali/ |
D | ErrClass.smali | 22 # Use a new instance before initializing it => hard verifier error. 23 new-instance v0, LSomeClass;
|
/art/cmdline/ |
D | token_range.h | 43 : token_list_(new TokenList(token_list)), in TokenRange() 51 : token_list_(new TokenList(it_begin, it_end)), in TokenRange() 61 : token_list_(new TokenList(it_begin, it_end)), 71 : token_list_(new TokenList(&token_list[0], &token_list[length])), in TokenRange() 78 : token_list_(new TokenList(std::forward<TokenList>(token_list))), in TokenRange() 328 return std::unique_ptr<TokenRange>(new TokenRange(std::move(new_token_list))); in MatchSubstrings()
|