/netbsd-current/etc/powerd/scripts/ |
H A D | sensor_battery | 14 "${0}: (${3}) capacity reached normal state [${1}]" >&1 21 warning-capacity|warning-under) 23 "${0}: (${3}) capacity below warning limit [${1}]" >&1 26 critical-capacity|critical-under) 28 "${0}: (${3}) capacity below critical limit [${1}]" >&1 33 "${0}: (${3}) capacity above warning limit [${1}]" >&1 38 "${0}: (${3}) capacity above critical limit [${1}]" >&1 41 high-capacity) 43 "${0}: (${3}) capacity above high limit [${1}]" >&1 46 maximum-capacity) [all...] |
/netbsd-current/sys/external/bsd/drm2/dist/drm/amd/display/dmub/inc/ |
H A D | dmub_rb.h | 43 uint32_t capacity; member in struct:dmub_rb_init_params 51 uint32_t capacity; member in struct:dmub_rb 70 data_count = rb->capacity - (rb->rptr - rb->wrpt); 72 return (data_count == (rb->capacity - DMUB_RB_CMD_SIZE)); 91 if (rb->wrpt >= rb->capacity) 92 rb->wrpt %= rb->capacity; 117 if (rb->rptr >= rb->capacity) 118 rb->rptr %= rb->capacity; 138 if (rptr >= rb->capacity) 139 rptr %= rb->capacity; [all...] |
/netbsd-current/external/bsd/iscsi/dist/include/ |
H A D | so.h | 48 unsigned capacity; /* size in blocks */ member in struct:scsi_osd
|
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
H A D | Capacity.h | 9 // This file defines the capacity function that computes the amount of 23 // This default definition of capacity should work for things like std::vector 25 return x.capacity() * sizeof(typename T::value_type);
|
/netbsd-current/usr.sbin/envstat/ |
H A D | config_lex.l | 52 SENSORPROP warning-max|high-capacity|warning-min|warning-capacity|critical-max|maximum-capacity|critical-min|critical-capacity|rfact|description
|
/netbsd-current/sys/external/bsd/drm2/dist/drm/amd/display/dc/basics/ |
H A D | amdgpu_vector.c | 39 uint32_t capacity, 44 if (!struct_size || !capacity) { 50 vector->container = kcalloc(capacity, struct_size, GFP_KERNEL); 53 vector->capacity = capacity; 93 vector->capacity = count; 121 uint32_t capacity, 129 if (dal_vector_construct(vector, ctx, capacity, struct_size)) 142 vector->capacity = 0; 217 if (vector->count == vector->capacity) { 36 dal_vector_construct( struct vector *vector, struct dc_context *ctx, uint32_t capacity, uint32_t struct_size) argument 119 dal_vector_create( struct dc_context *ctx, uint32_t capacity, uint32_t struct_size) argument 292 dal_vector_reserve(struct vector *vector, uint32_t capacity) argument [all...] |
/netbsd-current/external/gpl3/gdb.old/dist/zlib/contrib/dotzlib/DotZLib/ |
H A D | CircularBuffer.cs | 27 public CircularBuffer(int capacity)
argument 29 Debug.Assert( capacity > 0 );
30 _buffer = new byte[capacity];
31 _capacity = capacity;
|
/netbsd-current/external/gpl3/binutils/dist/zlib/contrib/dotzlib/DotZLib/ |
H A D | CircularBuffer.cs | 27 public CircularBuffer(int capacity)
argument 29 Debug.Assert( capacity > 0 );
30 _buffer = new byte[capacity];
31 _capacity = capacity;
|
/netbsd-current/external/gpl3/gdb/dist/zlib/contrib/dotzlib/DotZLib/ |
H A D | CircularBuffer.cs | 27 public CircularBuffer(int capacity)
argument 29 Debug.Assert( capacity > 0 );
30 _buffer = new byte[capacity];
31 _capacity = capacity;
|
/netbsd-current/external/gpl3/binutils.old/dist/zlib/contrib/dotzlib/DotZLib/ |
H A D | CircularBuffer.cs | 27 public CircularBuffer(int capacity)
argument 29 Debug.Assert( capacity > 0 );
30 _buffer = new byte[capacity];
31 _capacity = capacity;
|
/netbsd-current/common/dist/zlib/contrib/dotzlib/DotZLib/ |
H A D | CircularBuffer.cs | 27 public CircularBuffer(int capacity)
argument 29 Debug.Assert( capacity > 0 );
30 _buffer = new byte[capacity];
31 _capacity = capacity;
|
/netbsd-current/external/bsd/nsd/dist/ |
H A D | buffer.c | 25 buffer_create(region_type *region, size_t capacity) argument 32 buffer->_data = (uint8_t *) xalloc(capacity); 34 buffer->_limit = buffer->_capacity = capacity; 83 buffer_set_capacity(buffer_type *buffer, size_t capacity) argument 86 assert(buffer->_position <= capacity); 87 buffer->_data = (uint8_t *) xrealloc(buffer->_data, capacity); 88 buffer->_limit = buffer->_capacity = capacity;
|
/netbsd-current/sys/external/bsd/drm2/dist/drm/amd/display/include/ |
H A D | vector.h | 35 uint32_t capacity; member in struct:vector 42 uint32_t capacity, 47 uint32_t capacity, 106 bool dal_vector_reserve(struct vector *vector, uint32_t capacity);
|
/netbsd-current/sys/dev/audio/ |
H A D | audiodef.h | 308 * Round idx. idx must be non-negative and less than 2 * capacity. 315 KASSERTMSG(idx < ring->capacity * 2, 316 "idx=%d ring->capacity=%d", idx, ring->capacity); 318 if (idx < ring->capacity) { 321 return idx - ring->capacity; 391 * Return ring's capacity in bytes. 396 return frametobyte(&ring->fmt, ring->capacity); 428 KASSERTMSG(ring->used + n <= ring->capacity, 429 "called from %s:%d: ring->used=%d n=%d ring->capacity [all...] |
/netbsd-current/external/bsd/unbound/dist/sldns/ |
H A D | sbuffer.c | 19 sldns_buffer_new(size_t capacity) argument 27 buffer->_data = (uint8_t *) malloc(capacity); 34 buffer->_limit = buffer->_capacity = capacity; 74 sldns_buffer_set_capacity(sldns_buffer *buffer, size_t capacity) argument 79 assert(buffer->_position <= capacity && !buffer->_fixed); 81 data = (uint8_t *) realloc(buffer->_data, capacity); 87 buffer->_limit = buffer->_capacity = capacity;
|
/netbsd-current/external/gpl3/gcc.old/dist/libobjc/ |
H A D | sarray.c | 131 assert (soffset_decode (index) < array->capacity); /* Range check */ 204 if (soffset_decode (index) >= array->capacity) 230 arr->capacity = num_indices*INDEX_CAPACITY; 242 arr->capacity = num_indices*BUCKET_SIZE; 294 size_t old_max_index = (array->capacity - 1)/INDEX_CAPACITY; 302 size_t old_max_index = (array->capacity - 1)/BUCKET_SIZE; 316 if (rounded_size <= array->capacity) 323 if (rounded_size > array->capacity) 333 /* Update capacity. */ 334 array->capacity [all...] |
/netbsd-current/external/gpl3/gcc/dist/libobjc/ |
H A D | sarray.c | 131 assert (soffset_decode (index) < array->capacity); /* Range check */ 204 if (soffset_decode (index) >= array->capacity) 230 arr->capacity = num_indices*INDEX_CAPACITY; 242 arr->capacity = num_indices*BUCKET_SIZE; 294 size_t old_max_index = (array->capacity - 1)/INDEX_CAPACITY; 302 size_t old_max_index = (array->capacity - 1)/BUCKET_SIZE; 316 if (rounded_size <= array->capacity) 323 if (rounded_size > array->capacity) 333 /* Update capacity. */ 334 array->capacity [all...] |
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/ |
H A D | HashTable.h | 187 H.Capacity = capacity(); 213 uint32_t capacity() const { return Buckets.size(); } function in class:llvm::pdb::HashTable 223 uint32_t H = Traits.hashLookupKey(K) % capacity(); 241 I = (I + 1) % capacity(); 302 static uint32_t maxLoad(uint32_t capacity) { return capacity * 2 / 3 + 1; } argument 307 uint32_t MaxLoad = maxLoad(capacity()); 308 if (S < maxLoad(capacity())) 310 assert(capacity() != UINT32_MAX && "Can't grow Hash table!"); 312 uint32_t NewCapacity = (capacity() < [all...] |
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/ |
H A D | TypeCollection.h | 31 virtual uint32_t capacity() = 0;
|
H A D | TypeTableCollection.h | 31 uint32_t capacity() override;
|
/netbsd-current/external/gpl3/binutils/dist/gprofng/src/ |
H A D | StringBuilder.h | 34 StringBuilder (int capacity); 44 capacity () function in class:StringBuilder
|
/netbsd-current/sys/arch/amiga/dev/ |
H A D | zz9k_usb.c | 96 uint16_t capacity = ZZREG_R(ZZ9K_USB_CAPACITY); local 98 (capacity == 0) ? "not " : "");
|
/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++17/ |
H A D | fs_path.cc | 225 int capacity() const { return _M_capacity; } function in struct:path::_List::_Impl 288 // copy in-place if there is capacity 291 if (impl && impl->capacity() >= newsize) 337 path::_List::capacity() const noexcept 340 return ptr->capacity(); 445 int curcap = curptr ? curptr->capacity() : 0; 512 if (_M_pathname.capacity() < __len || _M_cmpts.capacity() < __maxcmpts) 575 int capacity = 0; 577 capacity 756 int capacity = 0; local 955 int capacity = 0; local 1165 int capacity = 0; local [all...] |
/netbsd-current/external/gpl3/gcc/dist/libstdc++-v3/src/c++17/ |
H A D | fs_path.cc | 226 int capacity() const { return _M_capacity; } function in struct:path::_List::_Impl 289 // copy in-place if there is capacity 292 if (impl && impl->capacity() >= newsize) 338 path::_List::capacity() const noexcept 341 return ptr->capacity(); 446 int curcap = curptr ? curptr->capacity() : 0; 513 if (_M_pathname.capacity() < __len || _M_cmpts.capacity() < __maxcmpts) 576 int capacity = 0; 578 capacity 757 int capacity = 0; local 956 int capacity = 0; local 1166 int capacity = 0; local [all...] |
/netbsd-current/common/lib/libprop/ |
H A D | prop_array.c | 259 _prop_array_alloc(unsigned int capacity) argument 264 if (capacity != 0) { 265 array = _PROP_CALLOC(capacity * sizeof(prop_object_t), 279 pa->pa_capacity = capacity; 291 _prop_array_expand(prop_array_t pa, unsigned int capacity) argument 301 array = _PROP_CALLOC(capacity * sizeof(*array), M_PROP_ARRAY); 307 pa->pa_capacity = capacity; 392 * Create an array with the capacity to store N objects. 395 prop_array_create_with_capacity(unsigned int capacity) argument 398 return (_prop_array_alloc(capacity)); 495 prop_array_ensure_capacity(prop_array_t pa, unsigned int capacity) argument [all...] |