HomeSort by relevance Sort by last modified time
    Searched refs:capacity (Results 101 - 125 of 902) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/qemu/hw/
goldfish_battery.c 46 int capacity; member in struct:goldfish_battery_state
60 QFIELD_INT32(capacity),
108 return s->capacity;
161 s->capacity = 50; // 50% charged
193 battery_state->capacity = value;
258 sprintf(buffer, "capacity: %d\r\n", battery_state->capacity);
  /external/webkit/Source/JavaScriptCore/interpreter/
RegisterFile.h 51 | global frame | call frame | call frame | spare capacity |
86 For client simplicity, the RegisterFile measures size and capacity from
114 RegisterFile(JSGlobalData&, size_t capacity = defaultCapacity, size_t maxGlobals = defaultMaxGlobals);
164 inline RegisterFile::RegisterFile(JSGlobalData& globalData, size_t capacity, size_t maxGlobals)
173 ASSERT(capacity && isPageAligned(capacity));
174 size_t bufferLength = (capacity + maxGlobals) * sizeof(Register);
184 m_max = m_start + capacity;
  /libcore/luni/src/main/java/java/nio/
DoubleBuffer.java 42 * @param capacity
43 * the capacity of the new buffer.
46 * if {@code capacity} is less than zero.
48 public static DoubleBuffer allocate(int capacity) {
49 if (capacity < 0) {
50 throw new IllegalArgumentException("capacity < 0: " + capacity);
52 return new DoubleArrayBuffer(new double[capacity]);
73 * {@code start + doubleCount}, capacity will be the length of the array.
95 DoubleBuffer(int capacity) {
    [all...]
FloatBuffer.java 41 * @param capacity
42 * the capacity of the new buffer.
45 * if {@code capacity} is less than zero.
47 public static FloatBuffer allocate(int capacity) {
48 if (capacity < 0) {
49 throw new IllegalArgumentException("capacity < 0: " + capacity);
51 return new FloatArrayBuffer(new float[capacity]);
72 * {@code start + floatCount}, capacity will be the length of the array.
96 FloatBuffer(int capacity) {
    [all...]
IntBuffer.java 39 * @param capacity
40 * the capacity of the new buffer.
43 * if {@code capacity} is less than zero.
45 public static IntBuffer allocate(int capacity) {
46 if (capacity < 0) {
47 throw new IllegalArgumentException("capacity < 0: " + capacity);
49 return new IntArrayBuffer(new int[capacity]);
70 * {@code start + intCount}, capacity will be the length of the array.
92 IntBuffer(int capacity) {
    [all...]
LongBuffer.java 41 * @param capacity
42 * the capacity of the new buffer.
45 * if {@code capacity} is less than zero.
47 public static LongBuffer allocate(int capacity) {
48 if (capacity < 0) {
49 throw new IllegalArgumentException("capacity < 0: " + capacity);
51 return new LongArrayBuffer(new long[capacity]);
72 * {@code start + longCount}, capacity will be the length of the array.
94 LongBuffer(int capacity) {
    [all...]
ShortBuffer.java 41 * @param capacity
42 * the capacity of the new buffer.
45 * if {@code capacity} is less than zero.
47 public static ShortBuffer allocate(int capacity) {
48 if (capacity < 0) {
49 throw new IllegalArgumentException("capacity < 0: " + capacity);
51 return new ShortArrayBuffer(new short[capacity]);
72 * {@code start + shortCount}, capacity will be the length of the array.
94 ShortBuffer(int capacity) {
    [all...]
CharArrayBuffer.java 35 private CharArrayBuffer(int capacity, char[] backingArray, int arrayOffset, boolean isReadOnly) {
36 super(capacity);
43 CharArrayBuffer buf = new CharArrayBuffer(other.capacity(), other.backingArray, other.arrayOffset, isReadOnly);
60 limit = capacity;
DoubleArrayBuffer.java 35 private DoubleArrayBuffer(int capacity, double[] backingArray, int arrayOffset, boolean isReadOnly) {
36 super(capacity);
43 DoubleArrayBuffer buf = new DoubleArrayBuffer(other.capacity(), other.backingArray, other.arrayOffset, isReadOnly);
60 limit = capacity;
FloatArrayBuffer.java 35 private FloatArrayBuffer(int capacity, float[] backingArray, int arrayOffset, boolean isReadOnly) {
36 super(capacity);
43 FloatArrayBuffer buf = new FloatArrayBuffer(other.capacity(), other.backingArray, other.arrayOffset, isReadOnly);
61 limit = capacity;
IntArrayBuffer.java 35 private IntArrayBuffer(int capacity, int[] backingArray, int arrayOffset, boolean isReadOnly) {
36 super(capacity);
43 IntArrayBuffer buf = new IntArrayBuffer(other.capacity(), other.backingArray, other.arrayOffset, isReadOnly);
60 limit = capacity;
LongArrayBuffer.java 35 private LongArrayBuffer(int capacity, long[] backingArray, int arrayOffset, boolean isReadOnly) {
36 super(capacity);
43 LongArrayBuffer buf = new LongArrayBuffer(other.capacity(), other.backingArray, other.arrayOffset, isReadOnly);
60 limit = capacity;
ShortArrayBuffer.java 35 private ShortArrayBuffer(int capacity, short[] backingArray, int arrayOffset, boolean isReadOnly) {
36 super(capacity);
43 ShortArrayBuffer buf = new ShortArrayBuffer(other.capacity(), other.backingArray, other.arrayOffset, isReadOnly);
60 limit = capacity;
  /external/emma/core/java12/com/vladium/jcd/cls/
FieldCollection.java 126 FieldCollection (final int capacity)
128 m_fields = capacity < 0 ? new ArrayList () : new ArrayList (capacity);
MethodCollection.java 131 MethodCollection (final int capacity)
133 m_methods = capacity < 0 ? new ArrayList () : new ArrayList (capacity);
  /external/webkit/Source/WebKit/chromium/src/
WebCache.cpp 57 size_t minDeadCapacity, size_t maxDeadCapacity, size_t capacity)
63 static_cast<unsigned int>(capacity));
83 result->capacity = cache->m_capacity;
  /external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/
ReadOnlyCharBufferTest.java 114 buf.put(new char[buf.capacity() + 1], 0, buf.capacity() + 1);
166 String str = String.valueOf(new char[buf.capacity()]);
185 String longStr = String.valueOf(new char[buf.capacity()+1]);
  /external/apache-http/src/org/apache/http/util/
ByteArrayBuffer.java 48 public ByteArrayBuffer(int capacity) {
50 if (capacity < 0) {
51 throw new IllegalArgumentException("Buffer capacity may not be negative");
53 this.buffer = new byte[capacity];
135 public int capacity() { method in class:ByteArrayBuffer
  /external/icu4c/common/
unistr_cnv.cpp 159 int32_t capacity; local
161 // Assume that the capacity is real and a limit pointer won't wrap around.
162 capacity = (int32_t)dstSize;
164 // Pin the capacity so that a limit pointer does not wrap around.
168 capacity = (int32_t)(targetLimit - target);
177 return u_terminateChars(target, capacity, 0, &status);
185 return toUTF8(start, length, target, capacity);
191 if(length <= capacity) {
194 destLength = capacity;
197 return u_terminateChars(target, capacity, length, &status)
    [all...]
  /external/icu4c/i18n/unicode/
fpositer.h 102 * Otherwise, if capacity is insufficient, returns the negative of the
107 int32_t getData(int32_t *dest, int32_t capacity) const;
upluralrules.h 132 * @param capacity The capacity of keyword.
140 UChar *keyword, int32_t capacity,
  /external/icu4c/test/intltest/
strtest.cpp 367 int32_t capacity = -1; local
368 char *dest = sink.GetAppendBuffer(0, 50, scratch, (int32_t)sizeof(scratch), &capacity);
369 if(dest != NULL || capacity != 0) {
373 dest = sink.GetAppendBuffer(10, 50, scratch, 9, &capacity);
374 if(dest != NULL || capacity != 0) {
378 dest = sink.GetAppendBuffer(5, 50, scratch, (int32_t)sizeof(scratch), &capacity);
379 if(dest != scratch || capacity != (int32_t)sizeof(scratch)) {
398 int32_t capacity = -1; local
399 char *dest = sink.GetAppendBuffer(0, 50, scratch, (int32_t)sizeof(scratch), &capacity);
400 if(dest != NULL || capacity != 0)
    [all...]
  /external/qemu/
qstring.h 23 size_t capacity; member in struct:QString
  /external/v8/src/
list.h 53 INLINE(explicit List(int capacity)) { Initialize(capacity); }
82 INLINE(int capacity() const) { return capacity_; }
142 INLINE(void Initialize(int capacity));
152 // Increase the capacity of a full list, and add an element.
  /ndk/sources/cxx-stl/llvm-libc++/test/strings/basic.string/string.cons/
char_assignment.pass.cpp 26 assert(s1.capacity() >= s1.size());

Completed in 434 milliseconds

1 2 3 45 6 7 8 91011>>