Searched refs:Capacity (Results 1 - 24 of 24) sorted by relevance

/freebsd-10-stable/contrib/llvm/include/llvm/Support/
H A DArrayRecycler.h66 /// The size of an allocated array is represented by a Capacity instance.
70 class Capacity { class in class:llvm::ArrayRecycler
72 explicit Capacity(uint8_t idx) : Index(idx) {} function in class:llvm::ArrayRecycler::Capacity
75 Capacity() : Index(0) {} function in class:llvm::ArrayRecycler::Capacity
78 static Capacity get(size_t N) {
79 return Capacity(N ? Log2_64_Ceil(N) : 0);
91 Capacity getNext() const { return Capacity(Index + 1); }
124 T *allocate(Capacity Cap, AllocatorType &Allocator) {
132 /// Deallocate an array with the specified Capacity
[all...]
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Sema/
H A DTypeLocBuilder.cpp46 assert(NewCapacity > Capacity);
50 unsigned NewIndex = Index + NewCapacity - Capacity;
53 Capacity - Index);
59 Capacity = NewCapacity;
75 size_t RequiredCapacity = Capacity + (LocalSize - Index);
76 size_t NewCapacity = Capacity * 2;
132 assert(Capacity - Index == TypeLoc::getFullDataSizeForType(T) &&
H A DTypeLocBuilder.h31 size_t Capacity; member in class:clang::TypeLocBuilder
48 : Buffer(InlineBuffer.buffer), Capacity(InlineCapacity),
60 if (Requested > Capacity)
82 Index = Capacity;
109 size_t FullDataSize = Capacity - Index;
122 size_t FullDataSize = Capacity - Index;
/freebsd-10-stable/contrib/llvm/include/llvm/ADT/
H A DBitVector.h34 unsigned Capacity; // Size of allocated memory in BitWord. member in class:llvm::BitVector
74 BitVector() : Size(0), Capacity(0) {
81 Capacity = NumBitWords(s);
82 Bits = (BitWord *)std::malloc(Capacity * sizeof(BitWord));
83 init_words(Bits, Capacity, t);
92 Capacity = 0;
96 Capacity = NumBitWords(RHS.size());
97 Bits = (BitWord *)std::malloc(Capacity * sizeof(BitWord));
98 std::memcpy(Bits, RHS.Bits, Capacity * sizeof(BitWord));
103 : Bits(RHS.Bits), Size(RHS.Size), Capacity(RH
[all...]
H A DIntervalMap.h215 enum { Capacity = N }; enumerator in enum:llvm::IntervalMapImpl::NodeBase::__anon1996
379 /// Elements + Grow <= Nodes * Capacity.
384 /// NewSize[i] <= Capacity.
392 /// Grow is set and NewSize[idx] == Capacity-1. The index points to the node
398 /// @param Capacity The capacity of each node.
404 IdxPair distribute(unsigned Nodes, unsigned Elements, unsigned Capacity,
504 assert(n <= NodeT::Capacity && "Size too big for node");
620 /// @return (insert position, new size), or (i, Capacity+1) on overflow.
1094 if (branched() || rootSize == RootLeaf::Capacity)
1170 const unsigned Nodes = RootLeaf::Capacity / Lea
[all...]
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Analysis/Support/
H A DBumpVector.h54 T *Begin, *End, *Capacity; member in class:clang::BumpVector
58 : Begin(NULL), End(NULL), Capacity(NULL) {
150 if (End < Capacity) {
165 if (End + Cnt <= Capacity) {
179 if (unsigned(Capacity-Begin) < N)
185 size_t capacity() const { return Capacity - Begin; }
216 size_t CurCapacity = Capacity-Begin;
240 Capacity = Begin+NewCapacity;
/freebsd-10-stable/contrib/llvm/lib/Support/
H A DIntervalMap.cpp120 IdxPair distribute(unsigned Nodes, unsigned Elements, unsigned Capacity, argument
123 assert(Elements + Grow <= Nodes * Capacity && "Not enough room for elements");
150 assert(NewSize[n] <= Capacity && "Overallocated node");
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/AST/
H A DASTVector.h60 llvm::PointerIntPair<T*, 1, bool> Capacity; member in class:clang::ASTVector
67 bool getTag() const { return Capacity.getInt(); }
68 void setTag(bool B) { Capacity.setInt(B); }
72 ASTVector() : Begin(0), End(0), Capacity(0, false) {}
75 : Begin(0), End(0), Capacity(0, false) {
377 return (iterator) Capacity.getPointer();
379 iterator capacity_ptr() { return (iterator)Capacity.getPointer(); }
408 Capacity.setPointer(Begin+NewCapacity);
/freebsd-10-stable/sys/dev/hptmv/
H A Dgui_lib.c522 pInfo->Capacity = pVDevice->VDeviceCapacity;
532 pInfo->Capacity = pVDevice->u.disk.dDeRealCapacity;
546 pInfo->Capacity.lo32 = pVDevice->VDeviceCapacity;
547 pInfo->Capacity.hi32 = sizeof(LBA_T)>4? (pVDevice->VDeviceCapacity>>32) : 0;
557 pInfo->Capacity.lo32 = pVDevice->u.disk.dDeRealCapacity;
558 pInfo->Capacity.hi32 = 0;
824 param2.Capacity.lo32 = param2.Capacity.hi32 = 0;
909 LBA_T Capacity; local
935 Capacity
[all...]
H A Dhptintf.h522 DWORD Capacity; /* array capacity */ member in struct:_LOGICAL_DEVICE_INFO
537 LBA64 Capacity; /* array capacity */ member in struct:_LOGICAL_DEVICE_INFO_V2
618 LBA64 Capacity; /* specify array capacity (0 for default) */ member in struct:_CREATE_ARRAY_PARAMS_V2
H A Darray.h126 ULONG Capacity; /* capacity for the array */ member in struct:_ArrayDescript::__anon8714
/freebsd-10-stable/sys/dev/hptrr/
H A Dhptintf.h792 HPT_U32 Capacity; /* array capacity */ member in struct:_LOGICAL_DEVICE_INFO
807 HPT_U64 Capacity; /* array capacity */ member in struct:_LOGICAL_DEVICE_INFO_V2
829 HPT_U64 Capacity; /* array capacity */ member in struct:_LOGICAL_DEVICE_INFO_V3
858 HPT_U64 Capacity; /* array capacity */ member in struct:_LOGICAL_DEVICE_INFO_V4
983 HPT_U64 Capacity; member in struct:_CREATE_ARRAY_PARAMS_V2
1005 HPT_U64 Capacity; member in struct:_CREATE_ARRAY_PARAMS_V3
/freebsd-10-stable/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGCleanup.cpp98 unsigned Capacity = 1024; local
99 while (Capacity < Size) Capacity *= 2;
100 StartOfBuffer = new char[Capacity];
101 StartOfData = EndOfBuffer = StartOfBuffer + Capacity;
/freebsd-10-stable/sys/dev/hptnr/
H A Dhptintf.h980 HPT_U32 Capacity; /* array capacity */ member in struct:_LOGICAL_DEVICE_INFO
995 HPT_U64 Capacity; /* array capacity */ member in struct:_LOGICAL_DEVICE_INFO_V2
1017 HPT_U64 Capacity; /* array capacity */ member in struct:_LOGICAL_DEVICE_INFO_V3
1046 HPT_U64 Capacity; /* array capacity */ member in struct:_LOGICAL_DEVICE_INFO_V4
1178 HPT_U64 Capacity; member in struct:_CREATE_ARRAY_PARAMS_V2
1202 HPT_U64 Capacity; member in struct:_CREATE_ARRAY_PARAMS_V3
/freebsd-10-stable/sys/dev/hpt27xx/
H A Dhptintf.h984 HPT_U32 Capacity; /* array capacity */ member in struct:_LOGICAL_DEVICE_INFO
999 HPT_U64 Capacity; /* array capacity */ member in struct:_LOGICAL_DEVICE_INFO_V2
1021 HPT_U64 Capacity; /* array capacity */ member in struct:_LOGICAL_DEVICE_INFO_V3
1050 HPT_U64 Capacity; /* array capacity */ member in struct:_LOGICAL_DEVICE_INFO_V4
1182 HPT_U64 Capacity; member in struct:_CREATE_ARRAY_PARAMS_V2
1206 HPT_U64 Capacity; member in struct:_CREATE_ARRAY_PARAMS_V3
/freebsd-10-stable/sys/dev/aacraid/
H A Daacraid_cam.c718 scsi_ulto4b(co->co_mntobj.Capacity-1, p->addr);
742 scsi_ulto4b(co->co_mntobj.Capacity-1, &p->addr[4]);
784 if (co->co_mntobj.Capacity > 0xffffff ||
791 (co->co_mntobj.Capacity >> 16);
793 (co->co_mntobj.Capacity >> 8);
795 (co->co_mntobj.Capacity);
H A Daacraid_reg.h1194 u_int32_t Capacity; member in struct:aac_mntobj
/freebsd-10-stable/contrib/llvm/include/llvm/CodeGen/
H A DMachineFunction.h414 typedef ArrayRecycler<MachineOperand>::Capacity OperandCapacity;
H A DMachineInstr.h76 typedef ArrayRecycler<MachineOperand>::Capacity OperandCapacity;
77 OperandCapacity CapOperands; // Capacity of the Operands array.
/freebsd-10-stable/sys/dev/aac/
H A Daac_disk.c376 sc->ad_size = sc->ad_container->co_mntobj.Capacity;
H A Daacreg.h1153 u_int32_t Capacity; member in struct:aac_mntobj
H A Daac.c476 mir->MntTable[0].Capacity, mir->MntTable[0].VolType);
/freebsd-10-stable/sys/contrib/dev/acpica/include/
H A Dactbl1.h1322 UINT64 Capacity; member in struct:acpi_nfit_data_region
/freebsd-10-stable/sys/contrib/dev/acpica/common/
H A Ddmtbinfo.c2103 {ACPI_DMT_UINT32, ACPI_MSCT0_OFFSET (ProcessorCapacity), "Processor Capacity", 0},
2104 {ACPI_DMT_UINT64, ACPI_MSCT0_OFFSET (MemoryCapacity), "Memory Capacity", 0},
2263 {ACPI_DMT_UINT64, ACPI_NFIT5_OFFSET (Capacity), "Capacity", 0},

Completed in 607 milliseconds