/freebsd-10.0-release/contrib/llvm/include/llvm/Support/ |
H A D | ArrayRecycler.h | 66 /// 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.0-release/contrib/llvm/tools/clang/lib/Sema/ |
H A D | TypeLocBuilder.h | 31 size_t Capacity; member in class:clang::TypeLocBuilder 46 : Buffer(InlineBuffer), Capacity(InlineCapacity), Index(InlineCapacity) {} 55 if (Requested > Capacity) 86 Index = Capacity; 110 size_t FullDataSize = Capacity - Index; 123 size_t FullDataSize = Capacity - Index; 140 size_t RequiredCapacity = Capacity + (LocalSize - Index); 141 size_t NewCapacity = Capacity * 2; 154 assert(NewCapacity > Capacity); 158 unsigned NewIndex = Index + NewCapacity - Capacity; [all...] |
/freebsd-10.0-release/contrib/llvm/include/llvm/ADT/ |
H A D | BitVector.h | 34 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 D | IntervalMap.h | 215 enum { Capacity = N }; enumerator in enum:llvm::IntervalMapImpl::NodeBase::__anon1891 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.0-release/contrib/llvm/tools/clang/include/clang/Analysis/Support/ |
H A D | BumpVector.h | 54 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.0-release/contrib/llvm/tools/clang/include/clang/AST/ |
H A D | ASTVector.h | 58 T *Begin, *End, *Capacity; member in class:clang::ASTVector 64 ASTVector() : Begin(NULL), End(NULL), Capacity(NULL) { } 67 : Begin(NULL), End(NULL), Capacity(NULL) { 159 if (End < Capacity) { 170 if (unsigned(Capacity-Begin) < N) 176 size_t capacity() const { return Capacity - Begin; } 368 iterator capacity_ptr() { return (iterator)this->Capacity; } 374 size_t CurCapacity = Capacity-Begin; 397 Capacity = Begin+NewCapacity;
|
/freebsd-10.0-release/contrib/llvm/lib/Support/ |
H A D | IntervalMap.cpp | 120 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.0-release/sys/dev/hptmv/ |
H A D | gui_lib.c | 522 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 D | hptintf.h | 522 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 D | array.h | 126 ULONG Capacity; /* capacity for the array */ member in struct:_ArrayDescript::__anon8364
|
/freebsd-10.0-release/sys/dev/hptrr/ |
H A D | hptintf.h | 792 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.0-release/contrib/llvm/tools/clang/lib/CodeGen/ |
H A D | CGCleanup.cpp | 98 unsigned Capacity = 1024; local 99 while (Capacity < Size) Capacity *= 2; 100 StartOfBuffer = new char[Capacity]; 101 StartOfData = EndOfBuffer = StartOfBuffer + Capacity;
|
/freebsd-10.0-release/sys/dev/hpt27xx/ |
H A D | hptintf.h | 921 HPT_U32 Capacity; /* array capacity */ member in struct:_LOGICAL_DEVICE_INFO 936 HPT_U64 Capacity; /* array capacity */ member in struct:_LOGICAL_DEVICE_INFO_V2 958 HPT_U64 Capacity; /* array capacity */ member in struct:_LOGICAL_DEVICE_INFO_V3 987 HPT_U64 Capacity; /* array capacity */ member in struct:_LOGICAL_DEVICE_INFO_V4 1113 HPT_U64 Capacity; member in struct:_CREATE_ARRAY_PARAMS_V2 1136 HPT_U64 Capacity; member in struct:_CREATE_ARRAY_PARAMS_V3
|
/freebsd-10.0-release/sys/dev/hptnr/ |
H A D | hptintf.h | 979 HPT_U32 Capacity; /* array capacity */ member in struct:_LOGICAL_DEVICE_INFO 994 HPT_U64 Capacity; /* array capacity */ member in struct:_LOGICAL_DEVICE_INFO_V2 1016 HPT_U64 Capacity; /* array capacity */ member in struct:_LOGICAL_DEVICE_INFO_V3 1045 HPT_U64 Capacity; /* array capacity */ member in struct:_LOGICAL_DEVICE_INFO_V4 1177 HPT_U64 Capacity; member in struct:_CREATE_ARRAY_PARAMS_V2 1201 HPT_U64 Capacity; member in struct:_CREATE_ARRAY_PARAMS_V3
|
/freebsd-10.0-release/sys/dev/aacraid/ |
H A D | aacraid_cam.c | 718 scsi_ulto4b(co->co_mntobj.Capacity-1, p->addr); 742 scsi_ulto4b(co->co_mntobj.Capacity-1, &p->addr[4]); 773 if (co->co_mntobj.Capacity > 0xffffff || 780 (co->co_mntobj.Capacity >> 16); 782 (co->co_mntobj.Capacity >> 8); 784 (co->co_mntobj.Capacity);
|
H A D | aacraid_reg.h | 1185 u_int32_t Capacity; member in struct:aac_mntobj
|
/freebsd-10.0-release/contrib/llvm/include/llvm/CodeGen/ |
H A D | MachineFunction.h | 415 typedef ArrayRecycler<MachineOperand>::Capacity OperandCapacity;
|
H A D | MachineInstr.h | 76 typedef ArrayRecycler<MachineOperand>::Capacity OperandCapacity; 77 OperandCapacity CapOperands; // Capacity of the Operands array.
|
/freebsd-10.0-release/sys/dev/aac/ |
H A D | aac_disk.c | 376 sc->ad_size = sc->ad_container->co_mntobj.Capacity;
|
H A D | aacreg.h | 1153 u_int32_t Capacity; member in struct:aac_mntobj
|
H A D | aac.c | 473 mir->MntTable[0].Capacity, mir->MntTable[0].VolType);
|