Searched refs:capacity (Results 201 - 225 of 481) sorted by relevance

1234567891011>>

/external/libcxx/test/std/strings/basic.string/string.cons/
H A Diter_alloc.pass.cpp39 assert(s2.capacity() >= s2.size());
56 assert(s2.capacity() >= s2.size());
/external/libusb/libusb/
H A Dcore.c453 ret->capacity = DISCOVERED_DEVICES_SIZE_STEP;
464 size_t capacity; local
467 if (len < discdevs->capacity) {
473 /* exceeded capacity, need to grow */
474 usbi_dbg("need to increase capacity");
475 capacity = discdevs->capacity + DISCOVERED_DEVICES_SIZE_STEP;
477 sizeof(*discdevs) + (sizeof(void *) * capacity));
479 discdevs->capacity = capacity;
[all...]
/external/skia/tests/
H A DMemsetTest.cpp13 size_t capacity, size_t used, int numBlocks) {
14 REPORTER_ASSERT(reporter, alloc.totalCapacity() >= capacity);
12 check_alloc(skiatest::Reporter* reporter, const SkChunkAlloc& alloc, size_t capacity, size_t used, int numBlocks) argument
/external/v8/test/cctest/
H A Dtest-ostreams.cc19 CHECK_GT(oss.capacity(), 0);
47 CHECK_GT(oss.capacity(), 0);
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
H A DIntArrayList.java116 public int capacity() { method in class:IntArrayList
/external/guava/guava-gwt/src/com/google/common/collect/
H A DLinkedHashMultimap_CustomFieldSerializer.java45 new LinkedHashMap<Object, Collection<Object>>(Maps.capacity(distinctKeys));
/external/icu/icu4c/source/common/
H A Dcharstr.h84 * Returns a writable buffer for appending and writes the buffer's capacity to
95 * @param minCapacity required minimum capacity of the returned buffer;
97 * @param desiredCapacityHint desired capacity of the returned buffer;
99 * @param resultCapacity will be set to the capacity of the returned buffer
121 UBool ensureCapacity(int32_t capacity, int32_t desiredCapacityHint, UErrorCode &errorCode);
/external/icu/icu4c/source/i18n/
H A Dcollationdata.cpp173 int32_t dest[], int32_t capacity,
180 if(capacity > 0) {
191 if(length < capacity) {
197 if(length > capacity) {
172 getEquivalentScripts(int32_t script, int32_t dest[], int32_t capacity, UErrorCode &errorCode) const argument
/external/jetty/src/java/org/eclipse/jetty/io/
H A DBuffer.java38 * markValue <= getIndex <= putIndex <= capacity
96 * The capacity of the buffer. This is the maximum putIndex that may be set.
99 int capacity(); method in interface:Buffer
103 * @return capacity - putIndex
H A DThreadLocalBuffers.java92 if (buffers._other!=null && buffers._other.capacity()==size)
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/lodcalc/util/
H A DEntropyComputeUtil.java50 for (int i = 0; i < positions.capacity() / 3; i++){
/external/libcxx/test/std/input.output/iostream.format/ext.manip/
H A Dput_money.pass.cpp44 str_.resize(str_.capacity());
H A Dput_time.pass.cpp42 str_.resize(str_.capacity());
/external/libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/
H A Dget_streambuf.pass.cpp47 str_.resize(str_.capacity());
H A Dget_streambuf_chart.pass.cpp48 str_.resize(str_.capacity());
/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/
H A Dbool.pass.cpp43 str_.resize(str_.capacity());
/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.character/
H A DCharT.pass.cpp44 str_.resize(str_.capacity());
H A DCharT_pointer.pass.cpp44 str_.resize(str_.capacity());
H A Dchar_to_wide.pass.cpp44 str_.resize(str_.capacity());
H A Dchar_to_wide_pointer.pass.cpp44 str_.resize(str_.capacity());
/external/valgrind/drd/
H A Ddrd_vc.h66 unsigned capacity; /**< number of elements allocated for array vc. */ member in struct:__anon16264
/external/emma/core/java12/com/vladium/jcd/cls/
H A DConstantCollection.java194 ConstantCollection (final int capacity) argument
196 m_constants = capacity < 0 ? new ArrayList () : new ArrayList (capacity);
/external/guava/guava-tests/test/com/google/common/collect/
H A DMinMaxPriorityQueueTest.java55 assertEquals(11, queue.capacity());
64 assertEquals(11, queue.capacity());
73 assertEquals(8, queue.capacity());
83 assertEquals(8, queue.capacity());
92 assertEquals(11, queue.capacity());
102 assertEquals(11, queue.capacity());
112 assertEquals(8, queue.capacity());
124 assertEquals(11, queue.capacity());
134 assertEquals(11, queue.capacity());
144 assertEquals(8, queue.capacity());
[all...]
/external/icu/icu4c/source/io/
H A Dufile.c185 int32_t capacity,
190 if (capacity < 0) {
202 result->str.fLimit = stringBuf+capacity;
184 u_fstropen(UChar *stringBuf, int32_t capacity, const char *locale) argument
/external/jmonkeyengine/engine/src/core/com/jme3/util/
H A DTangentBinormalGenerator.java192 VertexData[] vertices = initVertexData(vertexBuffer.capacity() / 3);
218 VertexData[] vertices = initVertexData(vertexBuffer.capacity() / 3);
266 VertexData[] vertices = initVertexData(vertexBuffer.capacity() / 3);
277 for (int i = 2; i < vertexBuffer.capacity() / 3; i++) {
399 final int size = vertexBuffer.capacity() / 3;
627 FloatBuffer lineVertex = BufferUtils.createFloatBuffer(vertexBuffer.capacity() * 2);
628 FloatBuffer lineColor = BufferUtils.createFloatBuffer(vertexBuffer.capacity() / 3 * 4 * 2);
630 for (int i = 0; i < vertexBuffer.capacity() / 3; i++) {
676 IntBuffer lineIndex = BufferUtils.createIntBuffer(vertexBuffer.capacity() / 3 * 6);
677 FloatBuffer lineVertex = BufferUtils.createFloatBuffer(vertexBuffer.capacity() *
[all...]

Completed in 1363 milliseconds

1234567891011>>