Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/webrtc/modules/audio_device/mac/portaudio/
Dpa_ringbuffer.c66 …Buffer *rbuf, ring_buffer_size_t elementSizeBytes, ring_buffer_size_t elementCount, void *dataPtr ) in PaUtil_InitializeRingBuffer() argument
68 if( ((elementCount-1) & elementCount) != 0) return -1; /* Not Power of two. */ in PaUtil_InitializeRingBuffer()
69 rbuf->bufferSize = elementCount; in PaUtil_InitializeRingBuffer()
72 rbuf->bigMask = (elementCount*2)-1; in PaUtil_InitializeRingBuffer()
73 rbuf->smallMask = (elementCount)-1; in PaUtil_InitializeRingBuffer()
106 …r_size_t PaUtil_GetRingBufferWriteRegions( PaUtilRingBuffer *rbuf, ring_buffer_size_t elementCount, in PaUtil_GetRingBufferWriteRegions() argument
112 if( elementCount > available ) elementCount = available; in PaUtil_GetRingBufferWriteRegions()
115 if( (index + elementCount) > rbuf->bufferSize ) in PaUtil_GetRingBufferWriteRegions()
122 *sizePtr2 = elementCount - firstHalf; in PaUtil_GetRingBufferWriteRegions()
127 *sizePtr1 = elementCount; in PaUtil_GetRingBufferWriteRegions()
[all …]
Dpa_ringbuffer.h114 …Buffer *rbuf, ring_buffer_size_t elementSizeBytes, ring_buffer_size_t elementCount, void *dataPtr …
148 …aUtil_WriteRingBuffer( PaUtilRingBuffer *rbuf, const void *data, ring_buffer_size_t elementCount );
160 …ize_t PaUtil_ReadRingBuffer( PaUtilRingBuffer *rbuf, void *data, ring_buffer_size_t elementCount );
182 …r_size_t PaUtil_GetRingBufferWriteRegions( PaUtilRingBuffer *rbuf, ring_buffer_size_t elementCount,
194 …ze_t PaUtil_AdvanceRingBufferWriteIndex( PaUtilRingBuffer *rbuf, ring_buffer_size_t elementCount );
216 …er_size_t PaUtil_GetRingBufferReadRegions( PaUtilRingBuffer *rbuf, ring_buffer_size_t elementCount,
228 …ize_t PaUtil_AdvanceRingBufferReadIndex( PaUtilRingBuffer *rbuf, ring_buffer_size_t 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/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/
DInputLayoutCache.cpp115 …programBinary->getActiveAttribute(ilKey.elementCount, 0, NULL, &attributeSize, &ilKey.elements[ilK… in applyVertexBuffers()
117 ilKey.elements[ilKey.elementCount].desc.SemanticName = semanticName; in applyVertexBuffers()
118 ilKey.elements[ilKey.elementCount].desc.SemanticIndex = sortedSemanticIndices[i]; in applyVertexBuffers()
119 ilKey.elements[ilKey.elementCount].desc.Format = vertexFormatInfo.nativeFormat; in applyVertexBuffers()
120 ilKey.elements[ilKey.elementCount].desc.InputSlot = i; in applyVertexBuffers()
121 ilKey.elements[ilKey.elementCount].desc.AlignedByteOffset = 0; in applyVertexBuffers()
122 ilKey.elements[ilKey.elementCount].desc.InputSlotClass = inputClass; in applyVertexBuffers()
123 ilKey.elements[ilKey.elementCount].desc.InstanceDataStepRate = attributes[i].divisor; in applyVertexBuffers()
124 ilKey.elementCount++; in applyVertexBuffers()
143 for (unsigned int j = 0; j < ilKey.elementCount; ++j) in applyVertexBuffers()
[all …]
DInputLayoutCache.h55 unsigned int elementCount; member
60 return reinterpret_cast<const char*>(&elementCount); in begin()
65 return reinterpret_cast<const char*>(&elements[elementCount]); in end()
DVertexBuffer11.cpp125 unsigned int elementCount = 0; in getSpaceRequired() local
130 elementCount = count; in getSpaceRequired()
135elementCount = rx::UnsignedCeilDivide(static_cast<unsigned int>(instances), attrib.divisor); in getSpaceRequired()
142 if (elementSize <= std::numeric_limits<unsigned int>::max() / elementCount) in getSpaceRequired()
146 *outSpaceRequired = elementSize * elementCount; in getSpaceRequired()
/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; }
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; }
DDexBackedArrayPayload.java47 public final int elementCount; field in DexBackedArrayPayload
58 elementCount = dexFile.readSmallUint(instructionStart + ELEMENT_COUNT_OFFSET); in DexBackedArrayPayload()
69 @Override public int size() { return elementCount; } in getArrayElements()
112 return 4 + (elementWidth*elementCount + 1) / 2;
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d9/
DVertexBuffer9.cpp198 unsigned int elementCount = 0; in spaceRequired() local
201 elementCount = count; in spaceRequired()
206elementCount = rx::UnsignedCeilDivide(static_cast<unsigned int>(instances), attrib.divisor); in spaceRequired()
209 … if (d3d9VertexInfo.outputElementSize <= std::numeric_limits<unsigned int>::max() / elementCount) in spaceRequired()
213 *outSpaceRequired = d3d9VertexInfo.outputElementSize * elementCount; in spaceRequired()
/external/chromium_org/third_party/angle/src/compiler/translator/
DValidateOutputs.cpp48 const int elementCount = type.isArray() ? type.getArraySize() : 1; in visitSymbol() local
49 if (location + elementCount > mMaxDrawBuffers) in visitSymbol()
54 for (int elementIndex = 0; elementIndex < elementCount; elementIndex++) in visitSymbol()
DVariablePacker.cpp164 if (variable.elementCount() > maxVectors / GetNumRows(variable.type)) { in CheckVariablesWithinPackingLimits()
182 topNonFullRow_ += GetNumRows(variable.type) * variable.elementCount(); in CheckVariablesWithinPackingLimits()
196 num3ColumnRows += GetNumRows(variable.type) * variable.elementCount(); in CheckVariablesWithinPackingLimits()
215 int numRows = GetNumRows(variable.type) * variable.elementCount(); in CheckVariablesWithinPackingLimits()
237 int numRows = GetNumRows(variable.type) * variable.elementCount(); in CheckVariablesWithinPackingLimits()
/external/chromium_org/third_party/angle/src/libGLESv2/
DUniform.cpp36 registerCount = VariableRowCount(type) * elementCount(); in LinkedUniform()
50 unsigned int LinkedUniform::elementCount() const in elementCount() function in gl::LinkedUniform
73 return VariableInternalSize(type) * elementCount(); in dataSize()
DUniform.h31 unsigned int elementCount() const;
DProgramBinary.cpp551 int elementCount = targetUniform->elementCount(); in setUniform() local
553 count = std::min(elementCount - (int)mUniformIndex[location].element, count); in setUniform()
713 int elementCount = targetUniform->elementCount(); in setUniformMatrixfv() local
715 count = std::min(elementCount - (int)mUniformIndex[location].element, count); in setUniformMatrixfv()
933 int count = targetUniform->elementCount(); in updateSamplerMapping()
1930 for (unsigned int elementIndex = 0; elementIndex < uniform.elementCount(); elementIndex++) in defineUniform()
2049 …for (unsigned int arrayElementIndex = 0; arrayElementIndex < uniform.elementCount(); arrayElementI… in indexUniforms()
2264 for (unsigned int arrayElement = 0; arrayElement < field.elementCount(); arrayElement++) in defineUniformBlockMembers()
2339 const unsigned int elementCount = std::max(1u, interfaceBlock.arraySize); in defineUniformBlock() local
2341 ASSERT(blockIndex + elementCount <= mUniformBlocks.size()); in defineUniformBlock()
[all …]
/external/deqp/modules/glshared/
DglsDrawTest.cpp1546 …static char* generateArray (int seed, int elementCount, int componentCount, int offset, int st…
1547 …static char* generateIndices (int seed, int elementCount, DrawTestSpec::IndexType type, int of…
1552 …static char* createIndices (int seed, int elementCount, int offset, int min, int max, int inde…
1555 …static char* generateBasicArray (int seed, int elementCount, int componentCount, int offset, in…
1557 …static char* createBasicArray (int seed, int elementCount, int componentCount, int offset, int …
1558 …static char* generatePackedArray (int seed, int elementCount, int componentCount, int offset, i…
1625 char* RandomArrayGenerator::generateArray (int seed, int elementCount, int componentCount, int offs… in generateArray() argument
1628 return generatePackedArray(seed, elementCount, componentCount, offset, stride); in generateArray()
1630 return generateBasicArray(seed, elementCount, componentCount, offset, stride, type); in generateArray()
1633 char* RandomArrayGenerator::generateBasicArray (int seed, int elementCount, int componentCount, int… in generateBasicArray() argument
[all …]
/external/chromium_org/third_party/icu/source/tools/gensprep/
Dstore.c243 int32_t elementCount = 0; in storeMappingData() local
253 elementCount = uhash_count(hashTable); in storeMappingData()
258 while(writtenElementCount < elementCount){ in storeMappingData()
/external/icu/icu4c/source/tools/gensprep/
Dstore.c243 int32_t elementCount = 0; in storeMappingData() local
253 elementCount = uhash_count(hashTable); in storeMappingData()
258 while(writtenElementCount < elementCount){ in storeMappingData()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/generators/
DErrorTracker.java73 int elementCount = elements.getLength(); in loadFile() local
74 for (int i = 0; i < elementCount; i++) { in loadFile()
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/
DDynamicHLSL.cpp106 … HLSLVariableRegisterCount(*varying) : VariableRowCount(transposedType)) * varying->elementCount(); in packVarying()
322 … for (unsigned int elementIndex = 0; elementIndex < varying.elementCount(); elementIndex++) in generateVaryingHLSL()
658 … linkedVaryings->push_back(LinkedVarying(varying.name, varying.type, varying.elementCount(), in storeUserLinkedVaryings()
660 variableRows * varying.elementCount())); in storeUserLinkedVaryings()
769 … for (unsigned int elementIndex = 0; elementIndex < varying.elementCount(); elementIndex++) in generateShaderLinkHLSL()
917 … for (unsigned int elementIndex = 0; elementIndex < varying.elementCount(); elementIndex++) in generateShaderLinkHLSL()
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
DAnnotationsDirectoryItem.java277 int elementCount = listSize(fieldAnnotations) in place0() local
279 setWriteSize(HEADER_SIZE + (elementCount * ELEMENT_SIZE)); in place0()
/external/chromium_org/third_party/WebKit/public/platform/
DWebHTTPBody.h79 BLINK_PLATFORM_EXPORT size_t elementCount() const;
/external/chromium_org/content/renderer/
Dhistory_serialization.cc107 state->http_body.elements.resize(http_body.elementCount()); in GenerateFrameStateFromItem()
108 for (size_t i = 0; i < http_body.elementCount(); ++i) { in GenerateFrameStateFromItem()
/external/chromium_org/third_party/angle/include/GLSLANG/
DShaderVars.h52 unsigned int elementCount() const { return std::max(1u, arraySize); } in elementCount() function

12