Home
last modified time | relevance | path

Searched refs:elementCount (Results 1 – 23 of 23) sorted by relevance

/external/webrtc/webrtc/modules/audio_device/mac/portaudio/
Dpa_ringbuffer.c68 PaRingBufferSize elementCount, in PaUtil_InitializeRingBuffer() argument
70 if( ((elementCount-1) & elementCount) != 0) return -1; /* Not Power of two. */ in PaUtil_InitializeRingBuffer()
71 rbuf->bufferSize = elementCount; in PaUtil_InitializeRingBuffer()
74 rbuf->bigMask = (elementCount*2)-1; in PaUtil_InitializeRingBuffer()
75 rbuf->smallMask = (elementCount)-1; in PaUtil_InitializeRingBuffer()
109 PaRingBufferSize elementCount, in PaUtil_GetRingBufferWriteRegions() argument
116 if( elementCount > available ) elementCount = available; in PaUtil_GetRingBufferWriteRegions()
119 if( (index + elementCount) > rbuf->bufferSize ) in PaUtil_GetRingBufferWriteRegions()
126 *sizePtr2 = elementCount - firstHalf; in PaUtil_GetRingBufferWriteRegions()
131 *sizePtr1 = elementCount; in PaUtil_GetRingBufferWriteRegions()
[all …]
Dpa_ringbuffer.h114 …RingBuffer *rbuf, PaRingBufferSize elementSizeBytes, PaRingBufferSize elementCount, void *dataPtr …
148 … PaUtil_WriteRingBuffer( PaUtilRingBuffer *rbuf, const void *data, PaRingBufferSize elementCount );
160 …ferSize PaUtil_ReadRingBuffer( PaUtilRingBuffer *rbuf, void *data, PaRingBufferSize elementCount );
182 …BufferSize PaUtil_GetRingBufferWriteRegions( PaUtilRingBuffer *rbuf, PaRingBufferSize elementCount,
194 …erSize PaUtil_AdvanceRingBufferWriteIndex( PaUtilRingBuffer *rbuf, PaRingBufferSize elementCount );
216 …gBufferSize PaUtil_GetRingBufferReadRegions( PaUtilRingBuffer *rbuf, PaRingBufferSize elementCount,
228 …ferSize PaUtil_AdvanceRingBufferReadIndex( PaUtilRingBuffer *rbuf, PaRingBufferSize elementCount );
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/value/
DDexBackedArrayEncodedValue.java46 private final int elementCount; field in DexBackedArrayEncodedValue
51 this.elementCount = reader.readSmallUleb128(); in DexBackedArrayEncodedValue()
53 skipElementsFrom(reader, elementCount); in DexBackedArrayEncodedValue()
57 int elementCount = reader.readSmallUleb128(); in skipFrom() local
58 skipElementsFrom(reader, elementCount); in skipFrom()
61 private static void skipElementsFrom(@Nonnull DexReader reader, int elementCount) { in skipElementsFrom() argument
62 for (int i=0; i<elementCount; i++) { in skipElementsFrom()
70 return new VariableSizeList<EncodedValue>(dexFile, encodedArrayOffset, elementCount) { in getValue()
DDexBackedAnnotationEncodedValue.java47 private final int elementCount; field in DexBackedAnnotationEncodedValue
53 this.elementCount = reader.readSmallUleb128(); in DexBackedAnnotationEncodedValue()
55 skipElements(reader, elementCount); in DexBackedAnnotationEncodedValue()
60 int elementCount = reader.readSmallUleb128(); in skipFrom() local
61 skipElements(reader, elementCount); in skipFrom()
64 private static void skipElements(@Nonnull DexReader reader, int elementCount) { in skipElements() argument
65 for (int i=0; i<elementCount; i++) { in skipElements()
76 … return new VariableSizeSet<DexBackedAnnotationElement>(dexFile, elementsOffset, elementCount) { in getElements()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/instruction/
DDexBackedSparseSwitchPayload.java44 public final int elementCount; field in DexBackedSparseSwitchPayload
53 elementCount = dexFile.readUshort(instructionStart + ELEMENT_COUNT_OFFSET); in DexBackedSparseSwitchPayload()
71 … return dexFile.readInt(instructionStart + KEYS_OFFSET + elementCount*4 + index*4); in getSwitchElements()
76 @Override public int size() { return elementCount; } in getSwitchElements()
80 @Override public int getCodeUnits() { return 2 + elementCount*4; }
DDexBackedArrayPayload.java47 public final int elementCount; field in DexBackedArrayPayload
58 elementCount = dexFile.readSmallUint(instructionStart + ELEMENT_COUNT_OFFSET); in DexBackedArrayPayload()
59 if (((long)elementWidth) * elementCount > Integer.MAX_VALUE) { in DexBackedArrayPayload()
72 @Override public int size() { return elementCount; } in getArrayElements()
115 return 4 + (elementWidth*elementCount + 1) / 2;
DDexBackedPackedSwitchPayload.java44 public final int elementCount; field in DexBackedPackedSwitchPayload
54 elementCount = dexFile.readUshort(instructionStart + ELEMENT_COUNT_OFFSET); in DexBackedPackedSwitchPayload()
78 @Override public int size() { return elementCount; } in getSwitchElements()
82 @Override public int getCodeUnits() { return 4 + elementCount*2; }
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/tlswire/util/
DIoUtils.java37 int elementCount = sizeBytes / 2; in readTlsVariableLengthUnsignedShortVector() local
38 int[] result = new int[elementCount]; in readTlsVariableLengthUnsignedShortVector()
39 for (int i = 0; i < elementCount; i++) { in readTlsVariableLengthUnsignedShortVector()
/external/conscrypt/testing/src/main/java/org/conscrypt/tlswire/util/
DIoUtils.java33 int elementCount = sizeBytes / 2; in readTlsVariableLengthUnsignedShortVector() local
34 int[] result = new int[elementCount]; in readTlsVariableLengthUnsignedShortVector()
35 for (int i = 0; i < elementCount; i++) { in readTlsVariableLengthUnsignedShortVector()
/external/deqp/external/openglcts/modules/common/
DglcPackedPixelsTests.cpp754 int elementCount, std::vector<FloatPixel>& result) const;
759 …fer(const GLvoid* gradient, const PixelFormat& format, int samplerIsIntUintFloat, int elementCount,
763 void makeBufferPackedInt(const GLvoid* gradient, const PixelFormat& format, int elementCount,
767 void makeBufferPackedUint(const GLvoid* gradient, const PixelFormat& format, int elementCount,
771 void makeBufferPackedFloat(const GLvoid* gradient, const PixelFormat& format, int elementCount,
2608 const PixelType& type, int elementCount, std::vector<FloatPixel>& result) const in getFloatBuffer() argument
2614 …makeBuffer(gradient, format, samplerIsIntUintFloat, elementCount, componentCount, pack_UNSIGNED_BY… in getFloatBuffer()
2617 …makeBuffer(gradient, format, samplerIsIntUintFloat, elementCount, componentCount, pack_BYTE, resul… in getFloatBuffer()
2620 …makeBuffer(gradient, format, samplerIsIntUintFloat, elementCount, componentCount, pack_UNSIGNED_SH… in getFloatBuffer()
2623 …makeBuffer(gradient, format, samplerIsIntUintFloat, elementCount, componentCount, pack_SHORT, resu… in getFloatBuffer()
[all …]
/external/swiftshader/src/OpenGL/libGLES_CM/
Dutilities.cpp754 …bool ConvertPrimitiveType(GLenum primitiveType, GLsizei elementCount, GLenum elementType, sw::Dra… in ConvertPrimitiveType() argument
760 primitiveCount = elementCount; in ConvertPrimitiveType()
764 primitiveCount = elementCount / 2; in ConvertPrimitiveType()
768 primitiveCount = elementCount; in ConvertPrimitiveType()
772 primitiveCount = elementCount - 1; in ConvertPrimitiveType()
776 primitiveCount = elementCount / 3; in ConvertPrimitiveType()
780 primitiveCount = elementCount - 2; in ConvertPrimitiveType()
784 primitiveCount = elementCount - 2; in ConvertPrimitiveType()
Dutilities.h74 …bool ConvertPrimitiveType(GLenum primitiveType, GLsizei elementCount, GLenum elementType, sw::Dra…
/external/deqp/modules/glshared/
DglsDrawTest.cpp1514 …static char* generateArray (int seed, int elementCount, int componentCount, int offset, int st…
1515 …static char* generateIndices (int seed, int elementCount, DrawTestSpec::IndexType type, int of…
1520 …static char* createIndices (int seed, int elementCount, int offset, int min, int max, int inde…
1522 …static char* generateBasicArray (int seed, int elementCount, int componentCount, int offset, in…
1524 …static char* createBasicArray (int seed, int elementCount, int componentCount, int offset, int …
1525 …static char* generatePackedArray (int seed, int elementCount, int componentCount, int offset, i…
1528 char* RandomArrayGenerator::generateArray (int seed, int elementCount, int componentCount, int offs… in generateArray() argument
1531 return generatePackedArray(seed, elementCount, componentCount, offset, stride); in generateArray()
1533 return generateBasicArray(seed, elementCount, componentCount, offset, stride, type); in generateArray()
1536 char* RandomArrayGenerator::generateBasicArray (int seed, int elementCount, int componentCount, int… in generateBasicArray() argument
[all …]
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/
DSmaliInstruction.java181 int elementCount = getArrayDataElements().size(); in getInstructionSize() local
183 return 8 + (elementWidth * elementCount + 1); in getInstructionSize()
/external/icu/icu4c/source/tools/gensprep/
Dstore.c245 int32_t elementCount = 0; in storeMappingData() local
255 elementCount = uhash_count(hashTable); in storeMappingData()
260 while(writtenElementCount < elementCount){ in storeMappingData()
/external/cldr/tools/java/org/unicode/cldr/test/
DCheckForCopy.java178 int elementCount = parts.size(); in handleCheck() local
179 for (int i = 2; i < elementCount; ++i) { in handleCheck()
/external/swiftshader/src/OpenGL/libGLESv2/
Dutilities.cpp2301 …bool ConvertPrimitiveType(GLenum primitiveType, GLsizei elementCount, GLenum elementType, sw::Draw… in ConvertPrimitiveType() argument
2307 primitiveCount = elementCount; in ConvertPrimitiveType()
2312 primitiveCount = elementCount / 2; in ConvertPrimitiveType()
2317 primitiveCount = elementCount; in ConvertPrimitiveType()
2322 primitiveCount = elementCount - 1; in ConvertPrimitiveType()
2327 primitiveCount = elementCount / 3; in ConvertPrimitiveType()
2332 primitiveCount = elementCount - 2; in ConvertPrimitiveType()
2337 primitiveCount = elementCount - 2; in ConvertPrimitiveType()
Dutilities.h106 …bool ConvertPrimitiveType(GLenum primitiveType, GLsizei elementCount, GLenum elementType, sw::Dra…
/external/mesa3d/src/mesa/main/
Dtexstore.c762 int elementCount = srcWidth * srcHeight * srcDepth; in texstore_rgba() local
763 tempRGBA = malloc(4 * elementCount * sizeof(float)); in texstore_rgba()
782 _mesa_apply_rgba_transfer_ops(ctx, ctx->_ImageTransferState, elementCount, in texstore_rgba()
/external/clang/lib/CodeGen/
DCGDecl.cpp1081 llvm::Value *elementCount; in EmitAutoVarAlloca() local
1083 std::tie(elementCount, elementType) = getVLASize(Ty); in EmitAutoVarAlloca()
1088 llvm::AllocaInst *vla = Builder.CreateAlloca(llvmTy, elementCount, "vla"); in EmitAutoVarAlloca()
/external/llvm/bindings/go/llvm/
Dir.go604 func ArrayType(elementType Type, elementCount int) (t Type) {
605 t.C = C.LLVMArrayType(elementType.C, C.unsigned(elementCount))
612 func VectorType(elementType Type, elementCount int) (t Type) {
613 t.C = C.LLVMVectorType(elementType.C, C.unsigned(elementCount))
/external/swiftshader/third_party/llvm-7.0/llvm/bindings/go/llvm/
Dir.go637 func ArrayType(elementType Type, elementCount int) (t Type) {
638 t.C = C.LLVMArrayType(elementType.C, C.unsigned(elementCount))
645 func VectorType(elementType Type, elementCount int) (t Type) {
646 t.C = C.LLVMVectorType(elementType.C, C.unsigned(elementCount))
/external/swiftshader/src/Reactor/
DLLVMReactor.cpp779 static unsigned int elementCount(Type *type) in elementCount() function
1580 …const int numConstants = elementCount(type); // Number of pr… in createConstantVector()
1596 …const int numConstants = elementCount(type); // Number of pr… in createConstantVector()