/freebsd-10-stable/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-stable/contrib/llvm/tools/clang/lib/Sema/ |
H A D | TypeLocBuilder.cpp | 46 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 D | TypeLocBuilder.h | 31 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 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::__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 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-stable/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-stable/contrib/llvm/tools/clang/include/clang/AST/ |
H A D | ASTVector.h | 60 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 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::__anon8714
|
/freebsd-10-stable/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-stable/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-stable/sys/dev/hptnr/ |
H A D | hptintf.h | 980 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 D | hptintf.h | 984 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 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]); 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 D | aacraid_reg.h | 1194 u_int32_t Capacity; member in struct:aac_mntobj
|
/freebsd-10-stable/contrib/llvm/include/llvm/CodeGen/ |
H A D | MachineFunction.h | 414 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-stable/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 | 476 mir->MntTable[0].Capacity, mir->MntTable[0].VolType);
|
/freebsd-10-stable/sys/contrib/dev/acpica/include/ |
H A D | actbl1.h | 1322 UINT64 Capacity; member in struct:acpi_nfit_data_region
|
/freebsd-10-stable/sys/contrib/dev/acpica/common/ |
H A D | dmtbinfo.c | 2103 {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},
|