Searched defs:storage (Results 1 - 13 of 13) sorted by relevance

/art/runtime/base/
H A Darena_bit_vector.h38 void* storage = arena->template Alloc<ArenaBitVector>(kind); local
39 return new (storage) ArenaBitVector(arena, start_bits, expandable, kind);
H A Darena_bit_vector.cc56 void* storage = arena->template Alloc<ArenaBitVectorAllocator>(kind); local
57 return new (storage) ArenaBitVectorAllocator(arena, kind);
H A Dbit_vector.cc30 uint32_t* storage)
31 : storage_(storage),
87 // ie. we are comparing all storage cells that could have difference, if both vectors have cells above our_highest_index,
151 // Is the storage size smaller than src's?
157 // Paranoid: storage size should be big enough to hold this bit now.
185 // Is the storage size smaller than src's?
189 // Paranoid: storage size should be big enough to hold this bit now.
256 // We can set every storage element with -1.
281 // Return highest bit set in value plus bits from previous storage indexes.
303 // Now set until highest bit's storage
27 BitVector(bool expandable, Allocator* allocator, uint32_t storage_size, uint32_t* storage) argument
315 NumSetBits(const uint32_t* storage, uint32_t end) argument
[all...]
H A Dbit_vector.h135 uint32_t* storage);
251 // Is bit set in storage. (No range check.)
252 static bool IsBitSet(const uint32_t* storage, uint32_t idx) { argument
253 return (storage[WordIndex(idx)] & BitMask(idx)) != 0;
256 // Number of bits set in range [0, end) in storage. (No range check.)
257 static uint32_t NumSetBits(const uint32_t* storage, uint32_t end);
286 // The index of the word within storage.
299 uint32_t* storage_; // The storage for the bit vector.
/art/runtime/lambda/
H A Dclosure_builder.cc50 ShortyFieldTypeTraits::MaxType storage = 0; local
52 static_assert(sizeof(storage) >= sizeof(compressed_reference),
54 memcpy(&storage, &compressed_reference, sizeof(compressed_reference));
56 values_.push_back(storage);
/art/compiler/
H A Dcompiled_method.cc155 CompiledMethodStorage* storage = GetCompilerDriver()->GetCompiledMethodStorage(); local
156 storage->ReleaseLinkerPatches(patches_);
157 storage->ReleaseCFIInfo(cfi_info_);
158 storage->ReleaseVMapTable(vmap_table_);
159 storage->ReleaseSrcMappingTable(src_mapping_table_);
/art/compiler/driver/
H A Dcompiled_method_storage_test.cc49 CompiledMethodStorage* storage = driver.GetCompiledMethodStorage(); local
51 ASSERT_TRUE(storage->DedupeEnabled()); // The default.
H A Dcompiled_method_storage.cc37 void* storage = allocator.allocate(LengthPrefixedArray<T>::ComputeSize(array.size())); local
38 LengthPrefixedArray<T>* array_copy = new(storage) LengthPrefixedArray<T>(array.size());
/art/runtime/jdwp/
H A Djdwp_expand_buf.cc38 uint8_t* storage; member in struct:art::JDWP::ExpandBuf
46 * Allocate a JdwpBuf and some initial storage.
50 newBuf->storage = reinterpret_cast<uint8_t*>(malloc(kInitialStorage));
57 * Free a JdwpBuf and associated storage.
64 free(pBuf->storage);
72 return pBuf->storage;
95 uint8_t* newPtr = reinterpret_cast<uint8_t*>(realloc(pBuf->storage, pBuf->maxLen));
100 pBuf->storage = newPtr;
110 gapStart = pBuf->storage + pBuf->curLen;
122 *(pBuf->storage
[all...]
/art/runtime/
H A Dtype_lookup_table.cc61 TypeLookupTable* TypeLookupTable::Create(const DexFile& dex_file, uint8_t* storage) { argument
64 ? new TypeLookupTable(dex_file, storage)
72 TypeLookupTable::TypeLookupTable(const DexFile& dex_file, uint8_t* storage) argument
75 entries_(storage != nullptr ? reinterpret_cast<Entry*>(storage) : new Entry[mask_ + 1]),
76 owns_entries_(storage == nullptr) {
78 DCHECK_ALIGNED(storage, alignof(Entry));
/art/runtime/gc/space/
H A Dbump_pointer_space.cc139 // Returns the start of the storage.
145 uint8_t* storage = reinterpret_cast<uint8_t*>( local
147 if (LIKELY(storage != nullptr)) {
148 BlockHeader* header = reinterpret_cast<BlockHeader*>(storage);
150 storage += sizeof(BlockHeader);
153 return storage;
/art/compiler/debug/
H A Delf_debug_info_writer.h474 void* storage = allocator->Alloc(Thread::Current(), sizeof(LengthPrefixedArray<ArtMethod>)); local
475 methods_ptr = new (storage) LengthPrefixedArray<ArtMethod>(0);
/art/runtime/mirror/
H A Dclass.cc812 const char* Class::GetDescriptor(std::string* storage) { argument
816 return GetArrayDescriptor(storage);
818 *storage = Runtime::Current()->GetClassLinker()->GetDescriptorForProxy(this);
819 return storage->c_str();
827 const char* Class::GetArrayDescriptor(std::string* storage) { argument
830 *storage = "[";
831 *storage += elem_desc;
832 return storage->c_str();

Completed in 2541 milliseconds