HomeSort by: relevance | last modified time | path
    Searched refs:capacity (Results 1 - 25 of 207) sorted by relevancy

1 2 3 4 5 6 7 8 9

  /src/etc/powerd/scripts/
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...]
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dmub/inc/
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...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
Capacity.h 1 //===--- Capacity.h - Generic computation of ADT memory use -----*- C++ -*-===//
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);
  /src/external/bsd/iscsi/dist/include/
so.h 48 unsigned capacity; /* size in blocks */ member in struct:scsi_osd
  /src/usr.sbin/envstat/
config_lex.l 52 SENSORPROP warning-max|high-capacity|warning-min|warning-capacity|critical-max|maximum-capacity|critical-min|critical-capacity|rfact|description
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/basics/
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) {
    [all...]
  /src/common/dist/zlib/contrib/dotzlib/DotZLib/
CircularBuffer.cs 27 public CircularBuffer(int capacity)
29 Debug.Assert( capacity > 0 );
30 _buffer = new byte[capacity];
31 _capacity = capacity;
  /src/external/gpl3/binutils/dist/zlib/contrib/dotzlib/DotZLib/
CircularBuffer.cs 27 public CircularBuffer(int capacity)
29 Debug.Assert( capacity > 0 );
30 _buffer = new byte[capacity];
31 _capacity = capacity;
  /src/external/gpl3/binutils.old/dist/zlib/contrib/dotzlib/DotZLib/
CircularBuffer.cs 27 public CircularBuffer(int capacity)
29 Debug.Assert( capacity > 0 );
30 _buffer = new byte[capacity];
31 _capacity = capacity;
  /src/external/gpl3/gdb/dist/zlib/contrib/dotzlib/DotZLib/
CircularBuffer.cs 27 public CircularBuffer(int capacity)
29 Debug.Assert( capacity > 0 );
30 _buffer = new byte[capacity];
31 _capacity = capacity;
  /src/external/gpl3/gdb.old/dist/zlib/contrib/dotzlib/DotZLib/
CircularBuffer.cs 27 public CircularBuffer(int capacity)
29 Debug.Assert( capacity > 0 );
30 _buffer = new byte[capacity];
31 _capacity = capacity;
  /src/external/bsd/nsd/dist/
buffer.c 25 buffer_create(region_type *region, size_t capacity)
32 buffer->_data = (uint8_t *) xalloc(capacity);
34 buffer->_limit = buffer->_capacity = capacity;
83 buffer_set_capacity(buffer_type *buffer, size_t capacity)
86 assert(buffer->_position <= capacity);
87 buffer->_data = (uint8_t *) xrealloc(buffer->_data, capacity);
88 buffer->_limit = buffer->_capacity = capacity;
  /src/external/bsd/zstd/dist/tests/regression/
data.h 63 size_t capacity; member in struct:__anon8921
89 * Create a buffer with the specified capacity.
93 data_buffer_t data_buffer_create(size_t capacity);
  /src/sys/external/bsd/drm2/dist/drm/amd/display/include/
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);
  /src/sys/dev/audio/
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=%d"
    [all...]
  /src/external/bsd/unbound/dist/sldns/
sbuffer.c 19 sldns_buffer_new(size_t capacity)
27 buffer->_data = (uint8_t *) malloc(capacity);
34 buffer->_limit = buffer->_capacity = capacity;
74 sldns_buffer_set_capacity(sldns_buffer *buffer, size_t capacity)
79 assert(buffer->_position <= capacity && !buffer->_fixed);
81 data = (uint8_t *) realloc(buffer->_data, capacity);
87 buffer->_limit = buffer->_capacity = capacity;
  /src/external/bsd/zstd/dist/tests/fuzz/
dictionary_stream_round_trip.c 33 static ZSTD_outBuffer makeOutBuffer(uint8_t *dst, size_t capacity,
38 FUZZ_ASSERT(capacity > 0);
39 buffer.size = (FUZZ_dataProducer_uint32Range(producer, 1, capacity));
40 FUZZ_ASSERT(buffer.size <= capacity);
59 static size_t compress(uint8_t *dst, size_t capacity,
86 ZSTD_outBuffer out = makeOutBuffer(dst, capacity, producer);
131 capacity -= out.pos;
136 ZSTD_outBuffer out = makeOutBuffer(dst, capacity, producer);
142 capacity -= out.pos;
stream_round_trip.c 33 static ZSTD_outBuffer makeOutBuffer(uint8_t *dst, size_t capacity,
38 FUZZ_ASSERT(capacity > 0);
39 buffer.size = (FUZZ_dataProducer_uint32Range(producer, 1, capacity));
40 FUZZ_ASSERT(buffer.size <= capacity);
59 static size_t compress(uint8_t *dst, size_t capacity,
74 ZSTD_outBuffer out = makeOutBuffer(dst, capacity, producer);
121 capacity -= out.pos;
126 ZSTD_outBuffer out = makeOutBuffer(dst, capacity, producer);
132 capacity -= out.pos;
  /src/external/bsd/jemalloc/dist/include/jemalloc/internal/
hpa_utils.h 62 size_t capacity; member in struct:__anon23
68 ra->capacity = sz;
84 assert(ra->cur < ra->capacity);
91 if (ra->cur == ra->capacity) {
  /src/external/bsd/jemalloc/include/jemalloc/internal/
hpa_utils.h 62 size_t capacity; member in struct:__anon125
68 ra->capacity = sz;
84 assert(ra->cur < ra->capacity);
91 if (ra->cur == ra->capacity) {
  /src/external/gpl3/gcc/dist/libobjc/
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 = rounded_size
    [all...]
  /src/external/gpl3/gcc.old/dist/libobjc/
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 = rounded_size
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/
HashTable.h 106 support::ulittle32_t Capacity;
116 explicit HashTable(uint32_t Capacity) {
117 Buckets.resize(Capacity);
124 if (H->Capacity == 0)
126 "Invalid Hash Table Capacity");
127 if (H->Size > maxLoad(H->Capacity))
131 Buckets.resize(H->Capacity);
187 H.Capacity = capacity();
213 uint32_t capacity() const { return Buckets.size(); function in class:llvm::pdb::HashTable
    [all...]
  /src/external/lgpl2/userspace-rcu/dist/src/
urcu-bp.c 148 size_t capacity; /* capacity of this chunk (in elements) */ member in struct:registry_chunk
201 /* Get the size of a chunk's allocation from its capacity (an element count). */
202 static size_t chunk_allocation_size(size_t capacity)
204 return (capacity * sizeof(struct urcu_bp_reader)) +
395 new_chunk->capacity = INIT_READER_COUNT;
403 old_chunk_size_bytes = chunk_allocation_size(last_chunk->capacity);
404 new_capacity = last_chunk->capacity << 1;
415 last_chunk->capacity = new_capacity;
428 new_chunk->capacity = new_capacity
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/
TypeCollection.h 31 virtual uint32_t capacity() = 0;

Completed in 33 milliseconds

1 2 3 4 5 6 7 8 9