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 …]
Dcompiled_method.h41 CompiledCode(CompiledMethodStorage* storage,
111 CompiledMethod(CompiledMethodStorage* storage,
121 CompiledMethodStorage* storage,
128 static void ReleaseSwapAllocatedCompiledMethod(CompiledMethodStorage* storage, CompiledMethod* m);
Dcompiler.cc31 CompiledMethodStorage* storage, in Create() argument
40 return CreateOptimizingCompiler(compiler_options, storage); in Create()
Dcompiler.h56 CompiledMethodStorage* storage,
102 CompiledMethodStorage* storage, in Compiler() argument
105 storage_(storage), in Compiler()
Dcommon_compiler_test.cc235 CompiledMethodStorage storage(/*swap_fd=*/ -1); in CompileMethod() local
242 Compiler::Create(*compiler_options_, &storage, compiler_kind_)); in CompileMethod()
273 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.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()
319 uint32_t BitVector::NumSetBits(const uint32_t* storage, uint32_t end) { in NumSetBits() argument
325 count += POPCOUNT(storage[word]); in NumSetBits()
328 count += POPCOUNT(storage[word_end] & ~(0xffffffffu << partial_word_bits)); in NumSetBits()
Darena_bit_vector.h39 void* storage = allocator->template Alloc<ArenaBitVector>(kind); variable
40 return new (storage) ArenaBitVector(allocator, start_bits, expandable, kind);
Dbit_struct_detail.h70 static constexpr T FromUnderlyingStorage(StorageType storage) { in FromUnderlyingStorage() argument
72 converter.storage_.val_ = storage; in FromUnderlyingStorage()
Dbit_vector.h128 uint32_t* storage);
256 static bool IsBitSet(const uint32_t* storage, uint32_t idx) { in IsBitSet() argument
257 return (storage[WordIndex(idx)] & BitMask(idx)) != 0; in IsBitSet()
261 static uint32_t NumSetBits(const uint32_t* storage, uint32_t end);
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/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/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/compiler/optimizing/
Doptimizing_compiler.h32 CompiledMethodStorage* storage);
Doptimizing_compiler.cc274 CompiledMethodStorage* storage);
420 CompiledMethodStorage* storage) in OptimizingCompiler() argument
421 : Compiler(compiler_options, storage, kMaximumCompilationTimeBeforeWarning), in OptimizingCompiler()
723 CompiledMethodStorage* storage = GetCompiledMethodStorage(); in Emit() local
725 storage, in Emit()
733 if (codegen->NeedsThunkCode(patch) && storage->GetThunkCode(patch).empty()) { in Emit()
737 storage->SetThunkCode(patch, ArrayRef<const uint8_t>(code), debug_name); in Emit()
1215 CompiledMethodStorage* storage) { in CreateOptimizingCompiler() argument
1216 return new OptimizingCompiler(compiler_options, storage); in CreateOptimizingCompiler()
/art/libprofile/profile/
Dprofile_test_helper.h180 storage.push_back(builder.Build(location, location_checksum));
181 return storage.back().get();
184 std::vector<std::unique_ptr<const DexFile>> storage; variable
/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