Home
last modified time | relevance | path

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

12

/art/dex2oat/driver/
Dcompiled_method.cc24 CompiledCode::CompiledCode(CompiledMethodStorage* storage, in CompiledCode() argument
27 : storage_(storage), in CompiledCode()
28 quick_code_(storage->DeduplicateCode(quick_code)), in CompiledCode()
61 CompiledMethod::CompiledMethod(CompiledMethodStorage* storage, in CompiledMethod() argument
67 : CompiledCode(storage, instruction_set, quick_code), in CompiledMethod()
68 vmap_table_(storage->DeduplicateVMapTable(vmap_table)), in CompiledMethod()
69 cfi_info_(storage->DeduplicateCFIInfo(cfi_info)), in CompiledMethod()
70 patches_(storage->DeduplicateLinkerPatches(patches)) { in CompiledMethod()
74 CompiledMethodStorage* storage, in SwapAllocCompiledMethod() argument
80 SwapAllocator<CompiledMethod> alloc(storage->GetSwapSpaceAllocator()); in SwapAllocCompiledMethod()
[all …]
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.h41 CompiledCode(CompiledMethodStorage* storage,
105 CompiledMethod(CompiledMethodStorage* storage,
115 CompiledMethodStorage* storage,
122 static void ReleaseSwapAllocatedCompiledMethod(CompiledMethodStorage* storage, CompiledMethod* m);
/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.h40 void* storage = allocator->template Alloc<ArenaBitVector>(kind); variable
41 return new (storage) ArenaBitVector(allocator, start_bits, expandable, kind);
Darena_bit_vector.cc57 void* storage = allocator->template Alloc<ArenaBitVectorAllocator>(kind); in Create() local
58 return new (storage) ArenaBitVectorAllocator(allocator, kind); in Create()
Dbit_vector.h135 uint32_t* storage);
263 static bool IsBitSet(const uint32_t* storage, uint32_t idx) { in IsBitSet() argument
264 return (storage[WordIndex(idx)] & BitMask(idx)) != 0; in IsBitSet()
268 static uint32_t NumSetBits(const uint32_t* storage, uint32_t end);
Dbit_vector.cc30 uint32_t* storage) in BitVector() argument
31 : storage_(storage), in BitVector()
314 uint32_t BitVector::NumSetBits(const uint32_t* storage, uint32_t end) { in NumSetBits() argument
320 count += POPCOUNT(storage[word]); in NumSetBits()
323 count += POPCOUNT(storage[word_end] & ~(0xffffffffu << partial_word_bits)); in NumSetBits()
Dbit_struct_detail.h69 static constexpr T FromUnderlyingStorage(StorageType storage) { in FromUnderlyingStorage() argument
71 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/runtime/oat/
Dimage.cc285 /*out*/ dchecked_vector<uint8_t>* storage) { in CompressData() argument
289 storage->resize(LZ4_compressBound(source.size())); in CompressData()
294 reinterpret_cast<char*>(storage->data()), in CompressData()
296 storage->size()); in CompressData()
301 reinterpret_cast<char*>(storage->data()), in CompressData()
303 storage->size(), in CompressData()
310 storage->resize(data_size); in CompressData()
312 VLOG(image) << "Compressed from " << source.size() << " to " << storage->size() << " in " in CompressData()
319 reinterpret_cast<char*>(storage->data()), in CompressData()
321 storage->size(), in CompressData()
/art/compiler/
Dcompiler.cc30 Compiler* Compiler::Create(const CompilerOptions& compiler_options, CompiledCodeStorage* storage) { in Create() argument
34 return CreateOptimizingCompiler(compiler_options, storage); in Create()
Dcompiler.h52 CompiledCodeStorage* storage);
97 CompiledCodeStorage* storage, in Compiler() argument
100 storage_(storage), in Compiler()
Dcommon_compiler_test.cc267 OneCompiledMethodStorage storage; in CompileMethod() local
273 std::unique_ptr<Compiler> compiler(Compiler::Create(*compiler_options_, &storage)); in CompileMethod()
294 CHECK_EQ(reinterpret_cast<OneCompiledMethodStorage*>(compiled_method), &storage); in CompileMethod()
298 const void* method_code = MakeExecutable(storage.GetCode(), in CompileMethod()
299 storage.GetStackMap(), in CompileMethod()
300 storage.GetInstructionSet()); in CompileMethod()
/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/
Dlinear_alloc-inl.h93 TrackingHeader* storage = new (allocator_.Alloc(size)) TrackingHeader(size, kind); in Alloc() local
94 SetFirstObject(storage, size); in Alloc()
95 return storage + 1; in Alloc()
/art/compiler/optimizing/
Doptimizing_compiler.h33 CompiledCodeStorage* storage);
Doptimizing_compiler.cc252 CompiledCodeStorage* storage);
392 CompiledCodeStorage* storage) in OptimizingCompiler() argument
393 : Compiler(compiler_options, storage, kMaximumCompilationTimeBeforeWarning) { in OptimizingCompiler()
739 CompiledCodeStorage* storage = GetCompiledCodeStorage(); in Emit() local
740 CompiledMethod* compiled_method = storage->CreateCompiledMethod( in Emit()
749 if (codegen->NeedsThunkCode(patch) && storage->GetThunkCode(patch).empty()) { in Emit()
753 storage->SetThunkCode(patch, ArrayRef<const uint8_t>(code), debug_name); in Emit()
1249 CompiledCodeStorage* storage) { in CreateOptimizingCompiler() argument
1250 return new OptimizingCompiler(compiler_options, storage); in CreateOptimizingCompiler()
/art/libprofile/profile/
Dprofile_test_helper.h184 storage.push_back(builder.Build(location, location_checksum));
185 return storage.back().get();
188 std::vector<std::unique_ptr<const DexFile>> storage; variable
/art/runtime/gc/space/
Dbump_pointer_space.cc170 uint8_t* storage = reinterpret_cast<uint8_t*>(AllocNonvirtualWithoutAccounting(bytes)); in AllocBlock() local
171 if (LIKELY(storage != nullptr)) { in AllocBlock()
174 return storage; in AllocBlock()
/art/runtime/gc/
Dallocation_record.cc45 const char* AllocRecord::GetClassDescriptor(std::string* storage) const { in GetClassDescriptor()
47 return klass_.IsNull() ? "null" : klass_.Read()->GetDescriptor(storage); in GetClassDescriptor()

12