Searched refs:capacity (Results 1 - 25 of 66) sorted by path

123

/haiku/headers/cpp/std/
H A Dbastring.cc91 || s > capacity ()
92 || Rep::excess_slop (s, capacity ()));
/haiku/headers/cpp/
H A Dstl_bvector.h475 if (capacity() - size() >= __n) {
512 size_type capacity() const { function in class:vector
593 if (__x.size() > capacity()) {
664 if (capacity() < __n) {
724 if (capacity() - size() >= __n) {
745 if (capacity() - size() >= __n) {
765 if (capacity() - size() >= __n) {
H A Dstl_rope.h2273 size_type capacity() const { function in class:rope
H A Dstl_vector.h215 size_type capacity() const function in class:vector
284 if (capacity() < __n) {
523 if (__xlen > capacity()) {
545 if (__n > capacity()) {
578 if (__len > capacity()) {
/haiku/headers/libs/agg/
H A Dagg_array.h175 // Set new capacity. All data is lost, size is set to zero.
176 void capacity(unsigned cap, unsigned extra_tail=0);
177 unsigned capacity() const { return m_capacity; } function in class:agg::pod_vector
220 void pod_vector<T>::capacity(unsigned cap, unsigned extra_tail) function in class:agg::pod_vector
235 capacity(size, extra_tail);
H A Dagg_rasterizer_compound_aa.h493 m_ast.capacity(num_styles, 64);
/haiku/headers/os/app/
H A DLooper.h140 port_id port, int32 capacity);
/haiku/headers/private/app/
H A DAppMisc.h34 int32 capacity);
/haiku/headers/private/kernel/slab/
H A DObjectDepot.h37 status_t object_depot_init(object_depot* depot, size_t capacity,
/haiku/headers/private/vmdk/
H A Dvmdk.h19 SectorType capacity; member in struct:SparseExtentHeader
/haiku/src/add-ons/kernel/file_systems/netfs/headers/shared/
H A DRequestMemberArray.h95 status_t _EnsureCapacity(int32 capacity) argument
98 if (capacity < kMinCapacity)
99 capacity = kMinCapacity;
101 if (capacity > fCapacity) {
102 if (capacity < 2 * fCapacity)
103 capacity = 2 * fCapacity;
106 = (Member*)realloc(fElements, capacity * sizeof(Member));
111 fCapacity = capacity;
/haiku/src/apps/diskusage/
H A DScanner.cpp154 fVolumeBytesInUse = fSnapshot->capacity - fSnapshot->freeBytes;
181 off_t previousVolumeCapacity = fSnapshot->capacity;
183 fSnapshot->capacity = fVolume->Capacity();
187 fVolumeBytesInUse = fSnapshot->capacity - fSnapshot->freeBytes;
198 fSnapshot->capacity = previousVolumeCapacity;
H A DSnapshot.cpp118 capacity = volume->Capacity();
H A DSnapshot.h50 off_t capacity; member in struct:VolumeSnapshot
/haiku/src/apps/powerstatus/
H A DACPIDriverInterface.cpp96 && info.capacity > fExtendedBatteryInfo.last_full_charge)
97 || info.capacity < 0)
110 info->capacity = fCachedInfo.capacity;
117 info->time_left = 3600 * fCachedInfo.capacity
H A DAPMDriverInterface.cpp55 info->capacity = apmInfo.percent;
H A DDriverInterface.h27 int32 capacity; member in struct:battery_info
/haiku/src/apps/terminal/
H A DHistoryBuffer.h22 status_t Init(int32 width, int32 capacity);
/haiku/src/bin/bfs_tools/lib/
H A DHashtable.cpp35 Hashtable::Hashtable(int capacity, float loadFactor) argument
39 if (capacity < 0 || loadFactor <= 0)
42 if (!capacity)
43 capacity = 1;
45 if (!(fTable = (struct Entry **)malloc(capacity * sizeof(void *))))
47 memset(fTable,0,capacity * sizeof(void *));
49 fThreshold = (int)(capacity * loadFactor);
52 fCapacity = capacity;
H A DHashtable.h20 Hashtable(int capacity = 100, float loadFactor = 0.75);
/haiku/src/kits/media/
H A DChunkCache.cpp104 chunk->capacity = 0;
127 chunk->capacity = 0;
140 if (chunk->capacity < bufferSize) {
143 chunk->capacity = (bufferSize + 2047) & ~2047;
144 chunk->buffer = rtm_alloc(fRealTimePool, chunk->capacity);
H A DChunkCache.h27 size_t capacity; member in struct:BPrivate::media::chunk_buffer
/haiku/src/servers/launch/
H A DJob.h121 int32 capacity);
/haiku/src/system/kernel/slab/
H A DObjectDepot.cpp201 object_depot_init(object_depot* depot, size_t capacity, size_t maxCount, argument
209 depot->magazine_capacity = capacity;
422 kprintf(" capacity: %lu\n", depot->magazine_capacity);
/haiku/src/system/libroot/os/
H A Dport.c12 create_port(int32 capacity, const char *name) argument
14 return _kern_create_port(capacity, name);

Completed in 187 milliseconds

123