/external/webrtc/webrtc/modules/audio_device/mac/portaudio/ |
pa_ringbuffer.c | 64 * elementCount must be power of 2, returns -1 if not. 68 PaRingBufferSize elementCount, 70 if( ((elementCount-1) & elementCount) != 0) return -1; /* Not Power of two. */ 71 rbuf->bufferSize = elementCount; 74 rbuf->bigMask = (elementCount*2)-1; 75 rbuf->smallMask = (elementCount)-1; 106 ** Returns room available to be written or elementCount, whichever is smaller. 109 PaRingBufferSize elementCount, 116 if( elementCount > available ) elementCount = available [all...] |
pa_ringbuffer.h | 107 @param elementCount The number of elements in the buffer (must be power of 2). 110 will be maintained. It must be elementCount*elementSizeBytes long. 112 @return -1 if elementCount is not a power of 2, otherwise 0. 114 PaRingBufferSize PaUtil_InitializeRingBuffer( PaUtilRingBuffer *rbuf, PaRingBufferSize elementSizeBytes, PaRingBufferSize elementCount, void *dataPtr ); 144 @param elementCount The number of elements to be written. 148 PaRingBufferSize PaUtil_WriteRingBuffer( PaUtilRingBuffer *rbuf, const void *data, PaRingBufferSize elementCount ); 156 @param elementCount The number of elements to be read. 160 PaRingBufferSize PaUtil_ReadRingBuffer( PaUtilRingBuffer *rbuf, void *data, PaRingBufferSize elementCount ); 166 @param elementCount The number of elements desired. 175 the first region is too small to satisfy elementCount [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/value/ |
DexBackedAnnotationEncodedValue.java | 47 private final int elementCount; 53 this.elementCount = reader.readSmallUleb128(); 55 skipElements(reader, elementCount); 60 int elementCount = reader.readSmallUleb128(); 61 skipElements(reader, elementCount); 64 private static void skipElements(@Nonnull DexReader reader, int elementCount) { 65 for (int i=0; i<elementCount; i++) { 76 return new VariableSizeSet<DexBackedAnnotationElement>(dexFile, elementsOffset, elementCount) {
|
DexBackedArrayEncodedValue.java | 46 private final int elementCount; 51 this.elementCount = reader.readSmallUleb128(); 53 skipElementsFrom(reader, elementCount); 57 int elementCount = reader.readSmallUleb128(); 58 skipElementsFrom(reader, elementCount); 61 private static void skipElementsFrom(@Nonnull DexReader reader, int elementCount) { 62 for (int i=0; i<elementCount; i++) { 70 return new VariableSizeList<EncodedValue>(dexFile, encodedArrayOffset, elementCount) {
|
/libcore/ojluni/src/main/java/java/util/ |
Vector.java | 101 * {@code elementData[elementCount-1]} are the actual items. 105 protected int elementCount; 172 elementCount = elementData.length; 175 elementData = Arrays.copyOf(elementData, elementCount, Object[].class); 192 System.arraycopy(elementData, 0, anArray, 0, elementCount); 206 if (elementCount < oldCapacity) { 207 elementData = Arrays.copyOf(elementData, elementCount); 288 if (newSize > elementCount) { 291 for (int i = newSize ; i < elementCount ; i++) { 295 elementCount = newSize [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/instruction/ |
DexBackedSparseSwitchPayload.java | 44 public final int elementCount; 53 elementCount = dexFile.readUshort(instructionStart + ELEMENT_COUNT_OFFSET); 71 return dexFile.readInt(instructionStart + KEYS_OFFSET + elementCount*4 + index*4); 76 @Override public int size() { return elementCount; } 80 @Override public int getCodeUnits() { return 2 + elementCount*4; }
|
DexBackedPackedSwitchPayload.java | 44 public final int elementCount; 54 elementCount = dexFile.readUshort(instructionStart + ELEMENT_COUNT_OFFSET); 78 @Override public int size() { return elementCount; } 82 @Override public int getCodeUnits() { return 4 + elementCount*2; }
|
DexBackedArrayPayload.java | 47 public final int elementCount; 58 elementCount = dexFile.readSmallUint(instructionStart + ELEMENT_COUNT_OFFSET); 59 if (((long)elementWidth) * elementCount > Integer.MAX_VALUE) { 72 @Override public int size() { return elementCount; } 115 return 4 + (elementWidth*elementCount + 1) / 2;
|
/libcore/benchmarks/src/benchmarks/ |
XmlParseBenchmark.java | 86 int elementCount = 0; 91 elementCount += elementCounterSaxHandler.elementCount; 93 return elementCount; 97 int elementCount = 0; 100 elementCount++; 105 int elementCount = 0; 109 elementCount += countDomElements(document.getDocumentElement()); 111 return elementCount; 135 int elementCount = 0 [all...] |
/libcore/support/src/test/java/libcore/tlswire/util/ |
IoUtils.java | 39 int elementCount = sizeBytes / 2; 40 int[] result = new int[elementCount]; 41 for (int i = 0; i < elementCount; i++) {
|
/developers/samples/android/ui/views/RecyclerView/Application/src/androidTest/java/com/example/android/recyclerview/test/ |
RecyclerViewSampleTests.java | 65 int elementCount = recyclerView.getAdapter().getItemCount(); 67 assertEquals(60, elementCount);
|
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
ResizableIntArray.java | 142 * Shift to the left by elementCount, discarding elementCount pointers at the start. 143 * @param elementCount how many elements to shift. 146 public void shift(final int elementCount) { 147 System.arraycopy(mArray, elementCount, mArray, 0, mLength - elementCount); 148 mLength -= elementCount;
|
InputPointers.java | 112 * Shift to the left by elementCount, discarding elementCount pointers at the start. 113 * @param elementCount how many elements to shift. 116 public void shift(final int elementCount) { 117 mXCoordinates.shift(elementCount); 118 mYCoordinates.shift(elementCount); 119 mPointerIds.shift(elementCount); 120 mTimes.shift(elementCount);
|
/packages/apps/Test/connectivity/sl4n/rapidjson/example/simplereader/ |
simplereader.cpp | 26 bool EndArray(SizeType elementCount) { cout << "EndArray(" << elementCount << ")" << endl; return true; }
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
StackTest.java | 175 public void setLength(int elementCount) { 176 this.elementCount = elementCount; 180 return elementCount;
|
/packages/apps/Test/connectivity/sl4n/rapidjson/example/capitalize/ |
capitalize.cpp | 37 bool EndArray(SizeType elementCount) { return out_.EndArray(elementCount); }
|
/system/chre/util/include/chre/util/ |
dynamic_vector.h | 180 * vector's size is set to elementCount. All iterators and references are 185 * vector.insert(vector.begin(), array, &array[elementCount]); 191 * @param elementCount Number of elements in the supplied array to copy 197 bool copy_array(const ElementType *array, size_t elementCount); 251 * @param elementCount Number of elements in the array (NOT the array's size 254 void wrap(ElementType *array, size_t elementCount);
|
dynamic_vector_impl.h | 207 size_t elementCount) { 211 if (owns_data() && reserve(elementCount)) { 213 std::copy(array, array + elementCount, mData); 214 mSize = elementCount; 261 void DynamicVector<ElementType>::wrap(ElementType *array, size_t elementCount) { 262 // If array is nullptr, elementCount must also be 0 263 CHRE_ASSERT(array != nullptr || elementCount == 0); 267 mSize = elementCount;
|
/frameworks/base/libs/hwui/ |
GlopBuilder.h | 54 GlopBuilder& setMeshTexturedIndexedVbo(GLuint vbo, GLsizei elementCount); 60 GlopBuilder& setMeshColoredTexturedMesh(ColorTextureVertex* vertexData, int elementCount); // TODO: use indexed quads 61 GlopBuilder& setMeshTexturedIndexedQuads(TextureVertex* vertexData, int elementCount); // TODO: take quadCount
|
Glop.h | 112 int elementCount;
|
GlopBuilder.cpp | 76 GlopBuilder& GlopBuilder::setMeshTexturedIndexedVbo(GLuint vbo, GLsizei elementCount) { 86 mOutGlop->mesh.elementCount = elementCount; 100 mOutGlop->mesh.elementCount = 4; 119 mOutGlop->mesh.elementCount = 4; 139 mOutGlop->mesh.elementCount = 4; 153 mOutGlop->mesh.elementCount = 6 * quadCount; 157 GlopBuilder& GlopBuilder::setMeshTexturedIndexedQuads(TextureVertex* vertexData, int elementCount) { 167 mOutGlop->mesh.elementCount = elementCount; [all...] |
/external/swiftshader/src/OpenGL/libGL/ |
utilities.cpp | 643 bool ConvertPrimitiveType(GLenum primitiveType, GLsizei elementCount, gl::PrimitiveType &swPrimitiveType, int &primitiveCount) 649 primitiveCount = elementCount; 653 primitiveCount = elementCount / 2; 657 primitiveCount = elementCount; 661 primitiveCount = elementCount - 1; 665 primitiveCount = elementCount / 3; 669 primitiveCount = elementCount - 2; 673 primitiveCount = elementCount - 2; 677 primitiveCount = (elementCount / 4) * 2;
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/ |
SmaliInstruction.java | 181 int elementCount = getArrayDataElements().size(); 183 return 8 + (elementWidth * elementCount + 1);
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
utilities.cpp | 442 bool ConvertPrimitiveType(GLenum primitiveType, GLsizei elementCount, GLenum elementType, sw::DrawType &drawType, int &primitiveCount) 448 primitiveCount = elementCount; 452 primitiveCount = elementCount / 2; 456 primitiveCount = elementCount; 460 primitiveCount = elementCount - 1; 464 primitiveCount = elementCount / 3; 468 primitiveCount = elementCount - 2; 472 primitiveCount = elementCount - 2;
|
/frameworks/base/libs/hwui/renderstate/ |
OffscreenBufferPool.h | 78 GLsizei elementCount = 0;
|