/external/webrtc/modules/third_party/portaudio/ |
D | pa_ringbuffer.c | 68 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 …]
|
D | pa_ringbuffer.h | 116 PaRingBufferSize elementCount, 153 PaRingBufferSize elementCount); 167 PaRingBufferSize elementCount); 190 PaRingBufferSize elementCount, 206 PaRingBufferSize elementCount); 229 PaRingBufferSize elementCount, 245 PaRingBufferSize elementCount);
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/ |
D | ASN1EncodableVector.java | 15 private int elementCount; field in ASN1EncodableVector 31 this.elementCount = 0; in ASN1EncodableVector() 43 int minCapacity = elementCount + 1; in add() 49 this.elements[elementCount] = element; in add() 50 this.elementCount = minCapacity; in add() 67 int minCapacity = elementCount + otherElementCount; in addAll() 82 this.elements[elementCount + i] = otherElement; in addAll() 86 this.elementCount = minCapacity; in addAll() 97 if (i >= elementCount) in get() 99 throw new ArrayIndexOutOfBoundsException(i + " >= " + elementCount); in get() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
D | ASN1EncodableVector.java | 13 private int elementCount; field in ASN1EncodableVector 29 this.elementCount = 0; in ASN1EncodableVector() 41 int minCapacity = elementCount + 1; in add() 47 this.elements[elementCount] = element; in add() 48 this.elementCount = minCapacity; in add() 65 int minCapacity = elementCount + otherElementCount; in addAll() 80 this.elements[elementCount + i] = otherElement; in addAll() 84 this.elementCount = minCapacity; in addAll() 95 if (i >= elementCount) in get() 97 throw new ArrayIndexOutOfBoundsException(i + " >= " + elementCount); in get() [all …]
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/ |
D | ASN1EncodableVector.java | 15 private int elementCount; field in ASN1EncodableVector 32 this.elementCount = 0; in ASN1EncodableVector() 45 int minCapacity = elementCount + 1; in add() 51 this.elements[elementCount] = element; in add() 52 this.elementCount = minCapacity; in add() 69 int minCapacity = elementCount + otherElementCount; in addAll() 84 this.elements[elementCount + i] = otherElement; in addAll() 88 this.elementCount = minCapacity; in addAll() 99 if (i >= elementCount) in get() 101 throw new ArrayIndexOutOfBoundsException(i + " >= " + elementCount); in get() [all …]
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/value/ |
D | DexBackedArrayEncodedValue.java | 46 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()
|
D | DexBackedAnnotationEncodedValue.java | 47 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/ |
D | DexBackedSparseSwitchPayload.java | 44 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; }
|
D | DexBackedArrayPayload.java | 47 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;
|
D | DexBackedPackedSwitchPayload.java | 44 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/angle/src/compiler/translator/ |
D | ValidateOutputs.cpp | 101 const size_t elementCount = in validate() local 115 if (location + elementCount <= validOutputsToUse->size()) in validate() 117 for (size_t elementIndex = 0; elementIndex < elementCount; elementIndex++) in validate() 135 if (elementCount > 0) in validate() 138 elementCount > 1 ? "output array locations would exceed MAX_DRAW_BUFFERS" in validate()
|
D | ValidateVaryingLocations.cpp | 145 int elementCount, in MarkVaryingLocations() argument 148 for (int elementIndex = 0; elementIndex < elementCount; ++elementIndex) in MarkVaryingLocations() 269 const int elementCount = GetLocationCount(varying->getType(), ignoreVaryingArraySize); in ValidateShaderInterfaceAndAssignLocations() local 270 MarkVaryingLocations(diagnostics, varying, nullptr, location, elementCount, in ValidateShaderInterfaceAndAssignLocations()
|
/external/conscrypt/testing/src/main/java/org/conscrypt/tlswire/util/ |
D | IoUtils.java | 33 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/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/tlswire/util/ |
D | IoUtils.java | 37 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/OpenCL-CTS/test_conformance/basic/ |
D | test_hiloeo.cpp | 51 static int CheckResults( void *in, void *out, size_t elementCount, int type, int vectorSize, int op… 80 size_t elementCount = length / kSizes[type]; in test_hiloeo() local 213 size_t size = elementCount / (vector_aligns[vectorSize]); in test_hiloeo() 267 static int CheckResults( void *in, void *out, size_t elementCount, int type, int vectorSize, int op… in CheckResults() argument 295 for( k = 0; k < elementCount; k++ ) in CheckResults() 325 for( k = 0; k < elementCount; k++ ) in CheckResults() 355 for( k = 0; k < elementCount; k++ ) in CheckResults() 389 for( k = 0; k < elementCount; k++ ) in CheckResults()
|
/external/deqp/external/openglcts/modules/common/ |
D | glcPackedPixelsTests.cpp | 754 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/angle/src/libANGLE/renderer/ |
D | renderer_utils.cpp | 191 unsigned int elementCount, in SetFloatUniformMatrix() argument 197 std::min(elementCount - arrayElementOffset, static_cast<unsigned int>(countIn)); in SetFloatUniformMatrix() 214 unsigned int elementCount, in SetFloatUniformMatrixFast() argument 221 std::min(elementCount - arrayElementOffset, static_cast<unsigned int>(countIn)); in SetFloatUniformMatrixFast() 716 unsigned int elementCount, 737 unsigned int elementCount, 752 unsigned int elementCount, in Run() argument 764 SetFloatUniformMatrixFast(arrayElementOffset, elementCount, countIn, srcMatrixSize, value, in Run() 770 SetFloatUniformMatrix<false, cols, 4, true, cols, 4>(arrayElementOffset, elementCount, in Run() 777 unsigned int elementCount, in Run() argument [all …]
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | utilities.cpp | 754 …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()
|
/external/deqp/modules/glshared/ |
D | glsDrawTest.cpp | 1514 …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/guava/android/guava/src/com/google/common/collect/ |
D | CompactHashSet.java | 665 int elementCount = stream.readInt(); in readObject() local 666 if (elementCount < 0) { in readObject() 667 throw new InvalidObjectException("Invalid size: " + elementCount); in readObject() 669 init(elementCount); in readObject() 670 for (int i = 0; i < elementCount; i++) { in readObject()
|
/external/llvm-project/mlir/lib/Dialect/SPIRV/ |
D | SPIRVTypes.cpp | 113 return key == KeyTy(elementType, elementCount, stride); in operator ==() 117 : elementType(std::get<0>(key)), elementCount(std::get<1>(key)), in ArrayTypeStorage() 121 unsigned elementCount; member 125 ArrayType ArrayType::get(Type elementType, unsigned elementCount) { in get() argument 126 assert(elementCount && "ArrayType needs at least one element"); in get() 127 return Base::get(elementType.getContext(), elementType, elementCount, in get() 131 ArrayType ArrayType::get(Type elementType, unsigned elementCount, in get() argument 133 assert(elementCount && "ArrayType needs at least one element"); in get() 134 return Base::get(elementType.getContext(), elementType, elementCount, stride); in get() 137 unsigned ArrayType::getNumElements() const { return getImpl()->elementCount; } in getNumElements()
|
/external/guava/guava/src/com/google/common/collect/ |
D | CompactHashSet.java | 694 int elementCount = stream.readInt(); in readObject() local 695 if (elementCount < 0) { in readObject() 696 throw new InvalidObjectException("Invalid size: " + elementCount); in readObject() 698 init(elementCount); in readObject() 699 for (int i = 0; i < elementCount; i++) { in readObject()
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/ |
D | SmaliInstruction.java | 181 int elementCount = getArrayDataElements().size(); in getInstructionSize() local 183 return 8 + (elementWidth * elementCount + 1); in getInstructionSize()
|
/external/angle/src/libANGLE/ |
D | ProgramLinkedResources.cpp | 510 unsigned int elementCount = variable.getBasicTypeElementCount(); in visitNamedVariable() local 517 mUniformCount.vectorCount += VariableRegisterCount(variable.type) * elementCount; in visitNamedVariable() 520 mUniformCount.samplerCount += (isSampler ? elementCount : 0); in visitNamedVariable() 521 mUniformCount.imageCount += (isImage ? elementCount : 0); in visitNamedVariable() 522 mUniformCount.atomicCounterCount += (isAtomicCounter ? elementCount : 0); in visitNamedVariable() 523 mUniformCount.fragmentInOutCount += (isFragmentInOut ? elementCount : 0); in visitNamedVariable() 527 mLocation += elementCount; in visitNamedVariable() 916 unsigned int elementCount = uniform.getBasicTypeElementCount(); in indexUniforms() local 917 for (unsigned int arrayIndex = 0; arrayIndex < elementCount; arrayIndex++) in indexUniforms() 991 unsigned int elementCount = uniform.getBasicTypeElementCount(); in gatherUniformLocationsAndCheckConflicts() local [all …]
|
/external/icu/icu4c/source/tools/gensprep/ |
D | store.c | 246 int32_t elementCount = 0; in storeMappingData() local 256 elementCount = uhash_count(hashTable); in storeMappingData() 261 while(writtenElementCount < elementCount){ in storeMappingData()
|