/frameworks/base/media/mca/filterfw/native/core/ |
native_frame.h | 52 // Resize the frame. You can only resize to a size that fits within the frame's capacity. 61 // Returns the capacity of the frame in bytes. 62 int Capacity() { 76 // Capacity of data buffer in bytes.
|
/external/llvm/include/llvm/Support/ |
ArrayRecycler.h | 66 /// The size of an allocated array is represented by a Capacity instance. 70 class Capacity { 72 explicit Capacity(uint8_t idx) : Index(idx) {} 75 Capacity() : Index(0) {} 77 /// Get the capacity of an array that can hold at least N elements. 78 static Capacity get(size_t N) { 79 return Capacity(N ? Log2_64_Ceil(N) : 0); 82 /// Get the number of elements in an array with this capacity. 85 /// Get the bucket number for this capacity. 88 /// Get the next larger capacity. Large capacities grow exponentially, s [all...] |
/art/runtime/gc/space/ |
bump_pointer_space.h | 45 static BumpPointerSpace* Create(const std::string& name, size_t capacity, uint8_t* requested_begin); 77 // Removes the fork time growth limit on capacity, allowing the application to allocate up to the 83 // Override capacity so that we only return the possibly limited capacity 84 size_t Capacity() const {
|
malloc_space.h | 99 // MoreCore. Note this is used to stop the mspace growing beyond the limit to Capacity. When 103 // Removes the fork time growth limit on capacity, allowing the application to allocate up to the 109 // Override capacity so that we only return the possibly limited capacity 110 size_t Capacity() const { 119 // Change the non growth limit capacity by shrinking or expanding the map. Currently, only 156 size_t* growth_limit, size_t* capacity, uint8_t* requested_begin); 182 // The capacity of the alloc space until such time that ClearGrowthLimit is called. 184 // limit is a value <= to the mem_map_ capacity used for ergonomic reasons because of the zygote. 186 // will be set to a lower value. The growth_limit_ is used as the capacity of the alloc_space_ [all...] |
space.h | 303 virtual size_t Capacity() const { 374 // Size of the space without a limit on its growth. By default this is just the Capacity, but 377 return Capacity();
|
/external/clang/lib/Sema/ |
TypeLocBuilder.h | 30 /// The capacity of the current buffer. 31 size_t Capacity; 48 : Buffer(InlineBuffer.buffer), Capacity(InlineCapacity), 58 /// Ensures that this buffer has at least as much capacity as described. 60 if (Requested > Capacity) 82 Index = Capacity; 109 size_t FullDataSize = Capacity - Index; 122 size_t FullDataSize = Capacity - Index; 132 /// Grow to the given capacity.
|
/art/runtime/gc/accounting/ |
atomic_stack.h | 56 // Capacity is how many elements we can store in the stack. 57 static AtomicStack* Create(const std::string& name, size_t growth_limit, size_t capacity) { 58 std::unique_ptr<AtomicStack> mark_stack(new AtomicStack(name, growth_limit, capacity)); 171 size_t Capacity() const { 208 AtomicStack(const std::string& name, size_t growth_limit, size_t capacity) 214 capacity_(capacity),
|
/system/core/include/utils/ |
LruCache.h | 40 enum Capacity { 151 rehash(mTable->capacity() * 2);
|
/art/runtime/ |
indirect_reference_table.h | 230 explicit IrtIterator(IrtEntry* table, size_t i, size_t capacity) 232 : table_(table), i_(i), capacity_(capacity) { 326 size_t Capacity() const { 332 return IrtIterator(table_, 0, Capacity()); 336 return IrtIterator(table_, Capacity(), Capacity());
|
/external/clang/include/clang/AST/ |
ASTVector.h | 36 llvm::PointerIntPair<T*, 1, bool> Capacity; 43 bool getTag() const { return Capacity.getInt(); } 44 void setTag(bool B) { Capacity.setInt(B); } 48 ASTVector() : Begin(nullptr), End(nullptr), Capacity(nullptr, false) {} 50 ASTVector(ASTVector &&O) : Begin(O.Begin), End(O.End), Capacity(O.Capacity) { 52 O.Capacity.setPointer(nullptr); 53 O.Capacity.setInt(false); 57 : Begin(nullptr), End(nullptr), Capacity(nullptr, false) { 66 swap(Capacity, O.Capacity) 175 size_t capacity() const { return this->capacity_ptr() - Begin; } function in class:clang::ASTVector [all...] |
/external/clang/include/clang/Analysis/Support/ |
BumpVector.h | 54 T *Begin, *End, *Capacity; 58 : Begin(nullptr), End(nullptr), Capacity(nullptr) { 150 if (End < Capacity) { 165 if (End + Cnt <= Capacity) { 179 if (unsigned(Capacity-Begin) < N) 183 /// capacity - Return the total number of elements in the currently allocated 185 size_t capacity() const { return Capacity - Begin; } function in class:clang::BumpVector 216 size_t CurCapacity = Capacity-Begin; 240 Capacity = Begin+NewCapacity [all...] |
/external/llvm/include/llvm/ADT/ |
BitVector.h | 37 unsigned Capacity; // Size of allocated memory in BitWord. 78 BitVector() : Size(0), Capacity(0) { 85 Capacity = NumBitWords(s); 86 Bits = (BitWord *)std::malloc(Capacity * sizeof(BitWord)); 87 init_words(Bits, Capacity, t); 96 Capacity = 0; 100 Capacity = NumBitWords(RHS.size()); 101 Bits = (BitWord *)std::malloc(Capacity * sizeof(BitWord)); 102 std::memcpy(Bits, RHS.Bits, Capacity * sizeof(BitWord)); 106 : Bits(RHS.Bits), Size(RHS.Size), Capacity(RHS.Capacity) [all...] |
IntervalMap.h | 216 enum { Capacity = N }; 380 /// Elements + Grow <= Nodes * Capacity. 385 /// NewSize[i] <= Capacity. 393 /// Grow is set and NewSize[idx] == Capacity-1. The index points to the node 399 /// @param Capacity The capacity of each node. 405 IdxPair distribute(unsigned Nodes, unsigned Elements, unsigned Capacity, 505 assert(n <= NodeT::Capacity && "Size too big for node"); 621 /// @return (insert position, new size), or (i, Capacity+1) on overflow. [all...] |
/art/compiler/utils/ |
assembler.h | 273 // Make sure that extending the capacity leaves a big enough gap 276 // Mark the buffer as having ensured the capacity. 294 int ComputeGap() { return buffer_->Capacity() - buffer_->Size(); } 311 // capacity needed for emitting, we add a dummy method in non-debug mode. 338 size_t Capacity() const { 347 // Compute the limit based on the data area and the capacity. See 349 static uint8_t* ComputeLimit(uint8_t* data, size_t capacity) { 350 return data + capacity - kMinimumGap;
|
/external/clang/lib/CodeGen/ |
CGCleanup.cpp | 100 unsigned Capacity = 1024; 101 while (Capacity < Size) Capacity *= 2; 102 StartOfBuffer = new char[Capacity]; 103 StartOfData = EndOfBuffer = StartOfBuffer + Capacity; [all...] |
/external/protobuf/src/google/protobuf/ |
repeated_field.h | 144 int Capacity() const; 303 int Capacity() const; 466 int Capacity() const; 637 inline int RepeatedField<Element>::Capacity() const { 643 GOOGLE_DCHECK_LT(size(), Capacity()); 649 GOOGLE_DCHECK_LT(size(), Capacity()); 942 inline int RepeatedPtrFieldBase::Capacity() const { [all...] |
/external/tinyxml2/ |
tinyxml2.h | 203 int Capacity() const { return allocated; }
[all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
poclass.h | 169 ULONG Capacity;
|
ntmsapi.h | 392 LARGE_INTEGER Capacity; 406 LARGE_INTEGER Capacity; [all...] |
winnt.h | [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ddk/ |
ntpoapi.h | 135 ULONG Capacity;
|
wdm.h | [all...] |
/external/v8/src/heap/ |
heap.cc | 160 intptr_t Heap::Capacity() { 163 return new_space_.Capacity() + old_pointer_space_->Capacity() + 164 old_data_space_->Capacity() + code_space_->Capacity() + 165 map_space_->Capacity() + cell_space_->Capacity() + 166 property_cell_space_->Capacity(); 628 string_table()->Capacity()); [all...] |
spaces.h | [all...] |
/external/v8/src/ |
objects.h | 4038 int capacity = Capacity(); local [all...] |