Home
last modified time | relevance | path

Searched refs:storage (Results 1 – 25 of 42) 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()
101 CompiledMethod::CompiledMethod(CompiledMethodStorage* storage, in CompiledMethod() argument
107 : CompiledCode(storage, instruction_set, quick_code), in CompiledMethod()
108 vmap_table_(storage->DeduplicateVMapTable(vmap_table)), in CompiledMethod()
109 cfi_info_(storage->DeduplicateCFIInfo(cfi_info)), in CompiledMethod()
110 patches_(storage->DeduplicateLinkerPatches(patches)) { in CompiledMethod()
114 CompiledMethodStorage* storage, in SwapAllocCompiledMethod() argument
120 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.h55 CompiledMethodStorage* storage,
101 CompiledMethodStorage* storage, in Compiler() argument
104 storage_(storage), in Compiler()
Dcommon_compiler_test.cc175 CompiledMethodStorage storage(/*swap_fd=*/ -1); in CompileMethod() local
182 Compiler::Create(*compiler_options_, &storage, compiler_kind_)); in CompileMethod()
212 CompiledMethod::ReleaseSwapAllocatedCompiledMethod(&storage, compiled_method); in CompileMethod()
/art/runtime/jdwp/
Djdwp_expand_buf.cc39 uint8_t* storage; member
51 newBuf->storage = reinterpret_cast<uint8_t*>(malloc(kInitialStorage)); in expandBufAlloc()
65 free(pBuf->storage); in expandBufFree()
73 return pBuf->storage; in expandBufGetBuffer()
96 uint8_t* newPtr = reinterpret_cast<uint8_t*>(realloc(pBuf->storage, pBuf->maxLen)); in ensureSpace()
101 pBuf->storage = newPtr; in ensureSpace()
111 gapStart = pBuf->storage + pBuf->curLen; in expandBufAddSpace()
123 *(pBuf->storage + pBuf->curLen) = val; in expandBufAdd1()
132 Set2BE(pBuf->storage + pBuf->curLen, val); in expandBufAdd2BE()
141 Set4BE(pBuf->storage + pBuf->curLen, val); in expandBufAdd4BE()
[all …]
/art/test/064-field-access/src/
DOOMEOnNullAccess.java37 static ArrayList<Object> storage = new ArrayList<>(100000); field in OOMEOnNullAccess
48 storage.add(new byte[l]); in main()
56 storage.clear(); in main()
59 storage.clear(); in main()
63 storage.clear(); in main()
/art/test/044-proxy/src/
DOOMEOnDispatch.java27 static ArrayList<Object> storage = new ArrayList<>(100000); field in OOMEOnDispatch
43 storage.add(new byte[l]); in main()
51 storage.clear(); in main()
54 storage.clear(); in main()
62 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_);
Darena_bit_vector.h38 void* storage = allocator->template Alloc<ArenaBitVector>(kind); variable
39 return new (storage) ArenaBitVector(allocator, start_bits, expandable, kind);
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()
/art/compiler/utils/
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 …]
/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);
137 explicit ThunkProvider(CompiledMethodStorage* storage) in ThunkProvider() argument
138 : storage_(storage) {} in ThunkProvider()
/art/compiler/optimizing/
Doptimizing_compiler.h32 CompiledMethodStorage* storage);
Doptimizing_compiler.cc271 CompiledMethodStorage* storage);
423 CompiledMethodStorage* storage) in OptimizingCompiler() argument
424 : Compiler(compiler_options, storage, kMaximumCompilationTimeBeforeWarning), in OptimizingCompiler()
757 CompiledMethodStorage* storage = GetCompiledMethodStorage(); in Emit() local
759 storage, in Emit()
767 if (codegen->NeedsThunkCode(patch) && storage->GetThunkCode(patch).empty()) { in Emit()
771 storage->SetThunkCode(patch, ArrayRef<const uint8_t>(code), debug_name); in Emit()
1240 CompiledMethodStorage* storage) { in CreateOptimizingCompiler() argument
1241 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()
/art/runtime/mirror/
Dclass.cc1001 const char* Class::GetDescriptor(std::string* storage) { in GetDescriptor() argument
1016 *storage = DotToDescriptor(name->ToModifiedUtf8().c_str()); in GetDescriptor()
1029 *storage = descriptor; in GetDescriptor()
1031 storage->insert(0u, dim, '['); in GetDescriptor()
1032 return storage->c_str(); in GetDescriptor()
1232 std::string storage; in ProxyDescriptorEquals() local
1233 const char* descriptor = GetDescriptor(&storage); in ProxyDescriptorEquals()
1234 DCHECK(descriptor == storage.c_str()); in ProxyDescriptorEquals()
1235 return storage == match; in ProxyDescriptorEquals()
/art/openjdkjvmti/
Dti_class_definition.cc181 std::string storage; in GetDexDataForRetransformation() local
182 DequickenDexFile(dex_file, klass->GetDescriptor(&storage), dex_data); in GetDexDataForRetransformation()

12