Searched refs:capacity (Results 251 - 275 of 443) sorted by relevance

<<1112131415161718

/external/chromium/base/
H A Dpickle.h192 size_t capacity() const { function in class:Pickle
207 // Resize the capacity, note that the input value should include the size of
/external/flac/libFLAC/
H A Dmd5.c231 ctx->capacity = 0;
270 ctx->capacity = 0;
408 if(ctx->capacity < bytes_needed) {
416 ctx->capacity = bytes_needed;
/external/icu4c/common/unicode/
H A Drbbi.h543 * If the capacity of the output array is insufficient to hold the data,
548 * @param capacity the length of the supplied vector. A length of zero causes
560 virtual int32_t getRuleStatusVec(int32_t *fillInVec, int32_t capacity, UErrorCode &status);
/external/icu4c/i18n/unicode/
H A Duspoof.h868 * can be NULL if capacity==0
869 * @param capacity the number of bytes available at data,
873 * - U_ILLEGAL_ARGUMENT_ERROR the data or capacity parameters are bad
881 void *data, int32_t capacity,
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
H A DVertexBuffer.java498 int elements = data.capacity() / components;
545 * It is allowed to specify a buffer with different capacity than the
596 int numElements = data.capacity() / components;
606 for (int i = 0; i < floatData.capacity(); i++){
617 * Reduces the capacity of the buffer to the given amount
932 dataTxt = ", elements="+data.capacity();
H A DMesh.java360 ByteBuffer arrayIndex = ByteBuffer.allocate(originalIndex.capacity());
368 FloatBuffer arrayWeight = FloatBuffer.allocate(originalWeight.capacity());
677 * after the {@link Buffer#capacity() capacities} of the mesh's
690 vertCount = pb.getData().capacity() / pb.getNumComponents();
693 elementCount = computeNumElements(ib.getData().capacity());
713 return computeNumElements(lodLevels[lod].getData().capacity());
1132 // with the capacity of number of unique vertices
1191 for (int i = 0; i < fb.capacity() / 2; i++){
/external/qemu/hw/
H A Dgoldfish_audio.c69 uint32_t capacity; member in struct:goldfish_audio_buff
119 b->capacity = 0;
139 if (b->capacity < size) {
141 b->capacity = size;
/external/regex-re2/re2/
H A Dstringpiece.h137 int capacity() const { return length_; } function in class:re2::StringPiece
/external/stlport/test/eh/
H A Dtest_vector.cpp112 StrongCheck( testVector, test_reserve( testVector.capacity() + random_number(random_base) ) );
/external/valgrind/main/callgrind/
H A Devents.h121 Int capacity; member in struct:_EventMapping
/external/webkit/Source/JavaScriptCore/heap/
H A DHeap.h87 size_t capacity() const;
H A DMarkedSpace.h75 size_t capacity() const;
H A DHeap.cpp279 size_t Heap::capacity() const function in class:JSC::Heap
281 return m_markedSpace.capacity();
/external/webkit/Source/WebCore/platform/graphics/gpu/
H A DSharedGraphicsContext3D.cpp136 void SharedGraphicsContext3D::enable(GC3Denum capacity) argument
138 m_context->enable(capacity);
141 void SharedGraphicsContext3D::disable(GC3Denum capacity) argument
143 m_context->disable(capacity);
/external/webkit/Source/WebKit/android/WebCoreSupport/
H A DUrlInterceptResponse.cpp64 // Initialize our read buffer to the capacity of out.
66 ScopedLocalRef<jbyteArray> buffer_local(env, env->NewByteArray(out->capacity()));
/external/chromium/chrome/browser/renderer_host/
H A Dweb_cache_manager_unittest.cc202 expected_stats.capacity += kStats2.capacity;
/external/icu4c/tools/toolutil/
H A Dpackage.cpp178 char pkg[], int32_t capacity) {
191 if(len>=capacity) {
193 basename, (long)capacity);
252 char *filename, int32_t capacity) {
257 if((int32_t)(strlen(path)+1)>=capacity) {
273 if((int32_t)((s-filename)+strlen(name))>=capacity) {
283 char *filename, int32_t capacity) {
287 makeFullFilename(path, name, filename, capacity);
177 extractPackageName(const char *filename, char pkg[], int32_t capacity) argument
251 makeFullFilename(const char *path, const char *name, char *filename, int32_t capacity) argument
282 makeFullFilenameAndDirs(const char *path, const char *name, char *filename, int32_t capacity) argument
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/asset/plugins/
H A DHttpZipLocator.java130 int toRead = Math.min(len - read, byteBuf.capacity());
132 boolean endOfInput = toRead < byteBuf.capacity();
/external/stlport/stlport/stl/
H A D_string_sum_methods.h108 if (__old_size + __s_size > this->capacity()) {
132 if (__old_size + __s_size > this->capacity()) {
/external/stlport/stlport/stl/pointers/
H A D_vector.h92 size_type capacity() const { return _M_impl.capacity(); } function in class:vector
/external/v8/src/
H A Dobjects.cc3505 // exceed the capacity of new space, and we would fail repeatedly
6162 rbb->capacity,
6169 rbb->capacity,
6213 (rbb->capacity <= left_length - offset &&
6218 // produce at most 'capacity' characters. This enables us to postpone
6251 // to their storage. We don't try to read more than the buffer capacity
6258 max_chars > rbb->capacity ? rbb->capacity : max_chars);
6292 rbb->capacity,
6298 rbb->capacity,
6313 unsigned capacity = rbb->capacity - rbb->cursor; local
6329 unsigned capacity = rbb->capacity - rbb->cursor; local
6543 ReadBlock(String* input, unibrow::byte* util_buffer, unsigned capacity, unsigned* remaining, unsigned* offset_ptr) argument
6558 ReadBlock(String** raw_input, unibrow::byte* util_buffer, unsigned capacity, unsigned* remaining, unsigned* offset_ptr) argument
8457 SetFastElementsCapacityAndLength( int capacity, int length, SetFastElementsCapacityMode set_capacity_mode) argument
8517 SetFastDoubleElementsCapacityAndLength( int capacity, int length) argument
8560 Initialize(int capacity) argument
8618 int capacity = (cache->length() - header) / step; local
9135 uint32_t capacity = static_cast<uint32_t>(backing_store->length()); local
9691 uint32_t capacity = static_cast<uint32_t>(elms->length()); local
9798 int capacity = 0; local
9805 GetElementsCapacityAndUsage(int* capacity, int* used) argument
9952 int capacity = HashTable<Shape, Key>::Capacity(); local
9974 int capacity = HashTable<Shape, Key>::Capacity(); local
10870 int capacity = ComputeCapacity(at_least_space_for); local
10903 uint32_t capacity = Capacity(); local
10967 int capacity = Capacity(); local
10988 int capacity = Capacity(); local
11014 int capacity = Capacity(); local
11043 uint32_t capacity = Capacity(); local
11197 int capacity = dict->Capacity(); local
11986 int capacity = HashTable<Shape, Key>::Capacity(); local
12232 int capacity = HashTable<Shape, Key>::Capacity(); local
12260 int capacity = HashTable<Shape, Key>::Capacity(); local
12281 int capacity = Capacity(); local
12305 int capacity = HashTable<Shape, Key>::Capacity(); local
12324 int capacity = HashTable<Shape, Key>::Capacity(); local
12364 int capacity = Capacity(); local
[all...]
H A Dbuiltins.cc512 int capacity = new_length + (new_length >> 1) + 16; local
514 { MaybeObject* maybe_obj = heap->AllocateUninitializedFixedArray(capacity);
521 FillWithHoles(heap, new_elms, new_length, capacity);
649 int capacity = new_length + (new_length >> 1) + 16; local
651 { MaybeObject* maybe_obj = heap->AllocateUninitializedFixedArray(capacity);
657 FillWithHoles(heap, new_elms, new_length, capacity);
881 int capacity = new_length + (new_length >> 1) + 16; local
884 heap->AllocateUninitializedFixedArray(capacity);
900 FillWithHoles(heap, new_elms, new_length, capacity);
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
H A DArrayListTest.java531 int capacity = 20;
532 ArrayList al = new ArrayList(capacity);
534 for (i = 0; i < capacity / 2; i++) {
539 al.ensureCapacity(capacity);
543 al.ensureCapacity(capacity);
546 al.ensureCapacity(capacity + 2);
/external/stlport/test/unit/
H A Dmvctor_test.cpp38 size_t cur_capacity = v_v_ints.capacity();
39 while (v_v_ints.capacity() <= cur_capacity) {
70 cur_capacity = vec_strs.capacity();
71 while (vec_strs.capacity() <= cur_capacity) {
124 cur_capacity = v_v_bits.capacity();
125 while (v_v_bits.capacity() <= cur_capacity) {
/external/jmonkeyengine/engine/src/android/com/jme3/renderer/android/
H A DOGLESShaderRenderer.java878 GLES20.glUniform1fv(loc, fb.capacity(), fb);
885 GLES20.glUniform2fv(loc, fb.capacity() / 2, fb);
892 GLES20.glUniform3fv(loc, fb.capacity() / 3, fb);
899 GLES20.glUniform4fv(loc, fb.capacity() / 4, fb);
906 GLES20.glUniformMatrix4fv(loc, fb.capacity() / 16, false, fb);
2142 int size = vb.getData().capacity() * vb.getFormat().getComponentSize();
2191 int size = vb.getData().capacity() * vb.getFormat().getComponentSize();
2238 // glBufferData(target, vb.getData().capacity() * vb.getFormat().getComponentSize(), usage);
2399 + "data.capacity=" + vb.getData().capacity()
[all...]

Completed in 1960 milliseconds

<<1112131415161718