Home
last modified time | relevance | path

Searched refs:storage (Results 1 – 25 of 43) sorted by relevance

12

/art/compiler/
Dcompiled_method.cc24 CompiledCode::CompiledCode(CompiledMethodStorage* storage, in CompiledCode() argument
27 : storage_(storage), in CompiledCode()
28 quick_code_(storage->DeduplicateCode(quick_code)), in CompiledCode()
97 CompiledMethod::CompiledMethod(CompiledMethodStorage* storage, in CompiledMethod() argument
103 : CompiledCode(storage, instruction_set, quick_code), in CompiledMethod()
104 vmap_table_(storage->DeduplicateVMapTable(vmap_table)), in CompiledMethod()
105 cfi_info_(storage->DeduplicateCFIInfo(cfi_info)), in CompiledMethod()
106 patches_(storage->DeduplicateLinkerPatches(patches)) { in CompiledMethod()
110 CompiledMethodStorage* storage, in SwapAllocCompiledMethod() argument
116 SwapAllocator<CompiledMethod> alloc(storage->GetSwapSpaceAllocator()); in SwapAllocCompiledMethod()
[all …]
Dcompiler.cc31 CompiledMethodStorage* storage, in Create() argument
40 return CreateOptimizingCompiler(compiler_options, storage); in Create()
Dcompiled_method.h41 CompiledCode(CompiledMethodStorage* storage,
111 CompiledMethod(CompiledMethodStorage* storage,
121 CompiledMethodStorage* storage,
128 static void ReleaseSwapAllocatedCompiledMethod(CompiledMethodStorage* storage, CompiledMethod* m);
Dcompiler.h56 CompiledMethodStorage* storage,
102 CompiledMethodStorage* storage, in Compiler() argument
105 storage_(storage), in Compiler()
Dcommon_compiler_test.cc188 CompiledMethodStorage storage(/*swap_fd=*/ -1); in CompileMethod() local
195 Compiler::Create(*compiler_options_, &storage, compiler_kind_)); in CompileMethod()
225 CompiledMethod::ReleaseSwapAllocatedCompiledMethod(&storage, compiled_method); in CompileMethod()
/art/test/064-field-access/src/
DOOMEOnNullAccess.java37 static ArrayList<Object> storage = new ArrayList<>(100000); field in OOMEOnNullAccess
43 storage.add(new byte[size]); in exhaustJavaHeap()
71 storage.clear(); in main()
74 storage.clear(); in main()
78 storage.clear(); in main()
/art/test/044-proxy/src/
DOOMEOnDispatch.java27 static ArrayList<Object> storage = new ArrayList<>(100000); field in OOMEOnDispatch
33 storage.add(new byte[size]); in exhaustJavaHeap()
65 storage.clear(); in main()
68 storage.clear(); in main()
76 storage.clear(); in invoke()
/art/libartbase/base/
Dbit_string.h69 bool operator==(StorageType storage) const {
70 return data_ == storage;
73 bool operator!=(StorageType storage) const {
74 return !(*this == storage);
89 BitStringChar operator+(StorageType storage) const {
90 DCHECK_LE(storage, MaximumValue().data_ - data_) << "Addition would overflow " << *this;
91 return BitStringChar(data_ + storage, bitlength_);
Dintrusive_forward_list_test.cc170 std::vector<ValueType> storage(ref.begin(), ref.end()); in ConstructRange() local
171 ListType ifl(storage.begin(), storage.end()); in ConstructRange()
313 std::vector<ValueType> storage(ref.begin(), ref.end()); in EraseAfter1() local
314 ListType ifl(storage.begin(), storage.end()); in EraseAfter1()
376 std::vector<ValueType> storage(ref.begin(), ref.end()); in EraseAfter2() local
377 ListType ifl(storage.begin(), storage.end()); in EraseAfter2()
452 std::vector<ValueType> storage(ref1.begin(), ref1.end()); in SpliceAfter() local
453 ListType ifl1(storage.begin(), storage.end()); in SpliceAfter()
568 std::vector<ValueType> storage(ref.begin(), ref.end()); in Remove() local
569 ListType ifl(storage.begin(), storage.end()); in Remove()
[all …]
Darena_bit_vector.h38 void* storage = allocator->template Alloc<ArenaBitVector>(kind); variable
39 return new (storage) ArenaBitVector(allocator, start_bits, expandable, kind);
Dcommon_art_test.h105 fake_dex->dex = CreateFakeDex(location, checksum, num_method_ids, &fake_dex->storage); in Create()
113 std::vector<uint8_t>* storage) { in CreateFakeDex() argument
114 storage->resize(kPageSize); in CreateFakeDex()
116 const_cast<CompactDexFile::Header*>(CompactDexFile::Header::At(storage->data())); in CreateFakeDex()
120 header->data_size_ = storage->size(); in CreateFakeDex()
125 std::unique_ptr<const DexFile> dex(dex_file_loader.Open(storage->data(), in CreateFakeDex()
126 storage->size(), in CreateFakeDex()
142 std::vector<uint8_t> storage;
Dbit_vector.h123 uint32_t* storage);
240 static bool IsBitSet(const uint32_t* storage, uint32_t idx) { in IsBitSet() argument
241 return (storage[WordIndex(idx)] & BitMask(idx)) != 0; in IsBitSet()
245 static uint32_t NumSetBits(const uint32_t* storage, uint32_t end);
Darena_bit_vector.cc56 void* storage = allocator->template Alloc<ArenaBitVectorAllocator>(kind); in Create() local
57 return new (storage) ArenaBitVectorAllocator(allocator, kind); in Create()
Dbit_vector.cc30 uint32_t* storage) in BitVector() argument
31 : storage_(storage), in BitVector()
315 uint32_t BitVector::NumSetBits(const uint32_t* storage, uint32_t end) { in NumSetBits() argument
321 count += POPCOUNT(storage[word]); in NumSetBits()
324 count += POPCOUNT(storage[word_end] & ~(0xffffffffu << partial_word_bits)); in NumSetBits()
Dbit_struct_detail.h70 static constexpr T FromUnderlyingStorage(StorageType storage) { in FromUnderlyingStorage() argument
72 converter.storage_.val_ = storage; in FromUnderlyingStorage()
Dbit_struct.h160 ExtractionType storage = static_cast<ExtractionType>(storage_); in Get() local
161 ExtractionType extracted = BitFieldExtract(storage, kBitOffset, kBitWidth); in Get()
/art/compiler/driver/
Dcompiled_method_storage_test.cc26 CompiledMethodStorage storage(/* swap_fd= */ -1); in TEST() local
28 ASSERT_TRUE(storage.DedupeEnabled()); // The default. in TEST()
68 &storage, InstructionSet::kNone, c, v, f, p)); in TEST()
97 CompiledMethod::ReleaseSwapAllocatedCompiledMethod(&storage, method); in TEST()
Dcompiled_method_storage.cc40 void* storage = allocator.allocate(LengthPrefixedArray<T>::ComputeSize(array.size())); in CopyArray() local
41 LengthPrefixedArray<T>* array_copy = new(storage) LengthPrefixedArray<T>(array.size()); in CopyArray()
/art/dex2oat/linker/
Dmulti_oat_relative_patcher.cc38 CompiledMethodStorage* storage) in MultiOatRelativePatcher() argument
39 : thunk_provider_(storage), in MultiOatRelativePatcher()
Dmulti_oat_relative_patcher.h44 CompiledMethodStorage* storage);
144 explicit ThunkProvider(CompiledMethodStorage* storage) in ThunkProvider() argument
145 : storage_(storage) {} in ThunkProvider()
/art/runtime/gc/space/
Dbump_pointer_space.cc154 uint8_t* storage = reinterpret_cast<uint8_t*>( in AllocBlock() local
156 if (LIKELY(storage != nullptr)) { in AllocBlock()
157 BlockHeader* header = reinterpret_cast<BlockHeader*>(storage); in AllocBlock()
159 storage += sizeof(BlockHeader); in AllocBlock()
162 return storage; in AllocBlock()
/art/compiler/optimizing/
Doptimizing_compiler.h32 CompiledMethodStorage* storage);
Doptimizing_compiler.cc272 CompiledMethodStorage* storage);
418 CompiledMethodStorage* storage) in OptimizingCompiler() argument
419 : Compiler(compiler_options, storage, kMaximumCompilationTimeBeforeWarning), in OptimizingCompiler()
709 CompiledMethodStorage* storage = GetCompiledMethodStorage(); in Emit() local
711 storage, in Emit()
719 if (codegen->NeedsThunkCode(patch) && storage->GetThunkCode(patch).empty()) { in Emit()
723 storage->SetThunkCode(patch, ArrayRef<const uint8_t>(code), debug_name); in Emit()
1198 CompiledMethodStorage* storage) { in CreateOptimizingCompiler() argument
1199 return new OptimizingCompiler(compiler_options, storage); in CreateOptimizingCompiler()
/art/runtime/gc/
Dallocation_record.cc37 const char* AllocRecord::GetClassDescriptor(std::string* storage) const { in GetClassDescriptor()
39 return klass_.IsNull() ? "null" : klass_.Read()->GetDescriptor(storage); in GetClassDescriptor()
/art/runtime/
Dhandle_scope.h137 static HandleScope* Create(void* storage, BaseHandleScope* link, uint32_t num_references) in Create() argument
139 return new (storage) HandleScope(link, num_references); in Create()

12