/freebsd-9.3-release/contrib/llvm/include/llvm/Support/ |
H A D | Capacity.h | 10 // This file defines the capacity function that computes the amount of 24 // This default definition of capacity should work for things like std::vector 26 return x.capacity() * sizeof(typename T::value_type);
|
/freebsd-9.3-release/sys/dev/ata/ |
H A D | atapi-fd.h | 70 u_int32_t capacity; member in struct:afd_capacity 75 u_int64_t capacity; member in struct:afd_capacity_big
|
H A D | atapi-fd.c | 293 struct afd_capacity capacity; local 326 /* get drive capacity */ 327 if (!ata_atapicmd(dev, ccb1, (caddr_t)&capacity, 331 fdp->sectorsize = be32toh(capacity.blocksize); 332 fdp->mediasize = (u_int64_t)be32toh(capacity.capacity)*fdp->sectorsize; 337 /* get drive capacity big */ 344 fdp->mediasize = be64toh(capacity_big.capacity)*fdp->sectorsize;
|
/freebsd-9.3-release/usr.sbin/nscd/ |
H A D | hashtable.h | 54 size_t capacity; \ 82 (table)->entries[var].field.capacity = \ 129 ((entry)->field.capacity) 133 (entry)->field.capacity *= 2; \ 135 (entry)->field.capacity * sizeof(type)); \ 140 (entry)->field.capacity /= 2; \ 142 (entry)->field.capacity * sizeof(type)); \ 169 if (the_entry->field.size == the_entry->field.capacity) \
|
/freebsd-9.3-release/sys/dev/virtio/block/ |
H A D | virtio_blk.h | 49 /* The capacity (in 512-byte sectors). */ 50 uint64_t capacity; member in struct:virtio_blk_config
|
/freebsd-9.3-release/contrib/gcc/ |
H A D | tree-phinodes.c | 207 int capacity, i; local 209 capacity = ideal_phi_node_len (len); 211 phi = allocate_phi_node (capacity); 220 PHI_ARG_CAPACITY (phi) = capacity; 227 for (i = 0; i < capacity; i++) 368 If PHI has reached its maximum capacity, add a few slots. In this case,
|
/freebsd-9.3-release/contrib/ofed/management/opensm/complib/ |
H A D | cl_vector.c | 355 if (new_capacity <= p_vector->capacity) { 370 p_vector->capacity * sizeof(void *)); 380 * We have to add capacity to the array. Determine how many 383 new_elements = new_capacity - p_vector->capacity; 397 for (i = p_vector->capacity; i < new_capacity; i++) { 404 p_vector->capacity = new_capacity; 425 if (size >= p_vector->capacity) { 429 /* Calculate the new capacity, taking into account the grow size. */
|
H A D | cl_ptr_vector.c | 178 if (new_capacity <= p_vector->capacity) { 193 p_vector->capacity * sizeof(void *)); 203 p_vector->capacity = new_capacity; 223 if (size >= p_vector->capacity) { 227 /* Calculate the new capacity, taking into account the grow size. */
|
/freebsd-9.3-release/contrib/llvm/lib/Support/ |
H A D | raw_ostream.cpp | 696 // capacity. This allows raw_ostream to write directly into the correct place, 705 SetBuffer(OS.end(), OS.capacity() - OS.size()); 719 if (OS.capacity() - OS.size() < 64) 720 OS.reserve(OS.capacity() * 2); 721 SetBuffer(OS.end(), OS.capacity() - OS.size()); 729 assert(OS.size() + Size <= OS.capacity() && "Invalid write_impl() call!"); 739 if (OS.capacity() - OS.size() < 64) 740 OS.reserve(OS.capacity() * 2); 743 SetBuffer(OS.end(), OS.capacity() - OS.size());
|
/freebsd-9.3-release/contrib/ofed/management/opensm/include/complib/ |
H A D | cl_ptr_vector.h | 183 size_t capacity; member in struct:_cl_ptr_vector 195 * capacity 307 * The cl_ptr_vector_get_capacity function returns the capacity of 318 return (p_vector->capacity); 324 * [in] Pointer to a cl_ptr_vector_t structure whose capacity to return. 330 * The capacity is the number of elements that the pointer vector can store, 599 * [in] Pointer to a cl_ptr_vector_t structure whose capacity to set. 606 * CL_SUCCESS if the capacity was successfully set. 612 * cl_ptr_vector_set_capacity increases the capacity of the pointer vector. 614 * capacity i [all...] |
H A D | cl_vector.h | 297 size_t capacity; member in struct:_cl_vector 315 * capacity 456 * is left initialized to a zero capacity and size. 470 * The cl_vector_get_capacity function returns the capacity of a vector. 480 return (p_vector->capacity); 486 * [in] Pointer to a cl_vector_t structure whose capacity to return. 492 * The capacity is the number of elements that the vector can store, and 722 * [in] Pointer to a cl_vector_t structure whose capacity to set. 729 * CL_SUCCESS if the capacity was successfully set. 735 * cl_vector_set_capacity increases the capacity o [all...] |
/freebsd-9.3-release/contrib/ofed/management/opensm/opensm/ |
H A D | osm_mcast_tbl.c | 57 IN uint8_t const num_ports, IN uint16_t const capacity) 66 if (capacity == 0) { 74 p_tbl->num_entries = capacity; 84 p_tbl->max_mlid_ho = (uint16_t) (IB_LID_MCAST_START_HO + capacity - 1); 56 osm_mcast_tbl_init(IN osm_mcast_tbl_t * const p_tbl, IN uint8_t const num_ports, IN uint16_t const capacity) argument
|
/freebsd-9.3-release/contrib/ofed/management/opensm/include/opensm/ |
H A D | osm_mcast_tbl.h | 119 IN uint8_t const num_ports, IN uint16_t const capacity); 125 * capacity
|
/freebsd-9.3-release/contrib/llvm/include/llvm/ADT/ |
H A D | SmallVector.h | 51 /// capacity_in_bytes - This returns capacity()*sizeof(T). 130 /// capacity - Return the total number of elements in the currently allocated 132 size_t capacity() const { return capacity_ptr() - begin(); } function in class:llvm::SmallVectorTemplateCommon 269 size_t CurCapacity = this->capacity(); 406 if (this->capacity() < N) 418 if (this->capacity() < N) 426 if (this->capacity() < N) 472 if (this->capacity() < NumElts) 694 /// capacity for. 698 /// Clients can use this in conjunction with capacity() t [all...] |
/freebsd-9.3-release/contrib/llvm/lib/Support/Windows/ |
H A D | Path.inc | 55 DWORD len = ::GetTempPathW(result.capacity(), result.begin()); 60 if (len > result.capacity()) { 220 DWORD Size = ::GetModuleFileNameW(NULL, PathName.data(), PathName.capacity()); 228 if (Size == PathName.capacity()) 268 len = ::GetCurrentDirectoryW(cur_path.capacity(), cur_path.data()); 276 } while (len > cur_path.capacity());
|
/freebsd-9.3-release/sys/dev/hpt27xx/ |
H A D | array.h | 165 __HPT_RAW_LBA capacity; member in struct:_raw_partition
|
/freebsd-9.3-release/sys/dev/hptnr/ |
H A D | array.h | 164 __HPT_RAW_LBA capacity; member in struct:_raw_partition
|
/freebsd-9.3-release/sys/dev/hptrr/ |
H A D | array.h | 166 __HPT_RAW_LBA capacity; member in struct:_raw_partition
|
/freebsd-9.3-release/sys/dev/pst/ |
H A D | pst-raid.c | 142 printf("pst: capacity=%lld blocksize=%d\n", 143 psc->info->capacity, psc->info->block_size); 160 psc->disk->d_mediasize = psc->info->capacity; 167 (unsigned long long)psc->info->capacity / (1024 * 1024), 168 name, psc->info->capacity/(512*255*63), 255, 63,
|
/freebsd-9.3-release/usr.sbin/bsnmpd/modules/snmp_hostres/ |
H A D | hostres_diskstorage_tbl.c | 88 int32_t capacity; member in struct:disk_entry 224 entry->capacity = 0; 240 entry->capacity = (mediasize > INT_MAX ? INT_MAX : mediasize); 648 value->v.integer = entry->capacity;
|
/freebsd-9.3-release/contrib/libcxxrt/ |
H A D | libelftc_dem_gnu3.c | 50 /** Total capacity */ 51 size_t capacity; member in struct:vector_str 66 size_t size, capacity; member in struct:vector_type_qualifier 77 size_t size, capacity; member in struct:vector_read_cmd 214 assert(v->capacity > 0); 216 tmp_cap = v->capacity * BUFFER_GROWFACTOR; 218 assert(tmp_cap > v->capacity); 229 v->capacity = tmp_cap; 246 v->capacity = VECTOR_DEF_CAPACITY; 248 assert(v->capacity > [all...] |
/freebsd-9.3-release/contrib/libc++/src/ |
H A D | string.cpp | 394 s.resize(s.capacity()); 409 s.resize(s.capacity()); 421 s.resize(s.capacity());
|
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/AST/ |
H A D | ASTVector.h | 182 /// capacity - Return the total number of elements in the currently allocated 184 size_t capacity() const { return this->capacity_ptr() - Begin; } function in class:clang::ASTVector 351 if (this->capacity() < N) 385 size_t CurCapacity = this->capacity();
|
/freebsd-9.3-release/usr.bin/tip/libacu/ |
H A D | biz31.c | 214 * the bizcomp in sync. If you don't have the capacity or nread 221 struct capacity b;
|
/freebsd-9.3-release/contrib/gcclibs/libcpp/ |
H A D | directives.c | 224 size_t capacity = 8; local 227 buf = XNEWVEC (const cpp_token *, capacity); 244 if (c + 1 >= capacity) 246 capacity *= 2; 247 buf = XRESIZEVEC (const cpp_token *, buf, capacity); 624 size_t len, total_len = 0, capacity = 1024; local 628 buffer = XNEWVEC (char, capacity); 642 if (total_len + len > capacity) 644 capacity = (capacity [all...] |