Searched refs:elementSize (Results 1 - 22 of 22) sorted by relevance

/external/v8/test/mjsunit/harmony/
H A Dtypedarrays.js120 function TestTypedArray(constr, elementSize, typicalElement) {
121 assertSame(elementSize, constr.BYTES_PER_ELEMENT);
123 var ab = new ArrayBuffer(256*elementSize);
127 assertSame(elementSize, a0.BYTES_PER_ELEMENT);
129 assertSame(30*elementSize, a0.byteLength);
131 assertSame(30*elementSize, a0.buffer.byteLength);
134 assertSame(elementSize, aLen0.BYTES_PER_ELEMENT);
140 var aOverBufferLen0 = new constr(ab, 128*elementSize, 0);
142 assertSame(elementSize, aOverBufferLen0.BYTES_PER_ELEMENT);
145 assertSame(128*elementSize, aOverBufferLen
[all...]
/external/mesa3d/src/glx/
H A Dpixel.c176 GLint components, elementSize, rowSize, padding, groupsPerRow, groupSize; local
199 elementSize = __glBytesPerElement(type);
200 groupSize = elementSize * components;
201 if (elementSize == 1)
222 for (k = 1; k <= elementSize; k++) {
223 iter2[k - 1] = iterc[elementSize - k];
225 iter2 += elementSize;
226 iterc += elementSize;
236 if (rowSize == elementsPerRow * elementSize) {
239 elementsPerRow * elementSize * heigh
402 GLint components, elementSize, rowSize, padding, groupsPerRow, groupSize; local
[all...]
/external/deqp/framework/delibs/depool/
H A DdePoolArray.c40 * \param elementSize Size of the element to be put in array.
43 dePoolArray* dePoolArray_create (deMemPool* pool, int elementSize) argument
53 arr->elementSize = elementSize;
100 int pageAllocSize = arr->elementSize << DE_ARRAY_ELEMENTS_PER_PAGE_LOG2;
H A DdePoolArray.h42 int elementSize; /*!< Size of the element (in bytes). */ member in struct:dePoolArray_s
52 dePoolArray* dePoolArray_create (deMemPool* pool, int elementSize);
98 int elementSize; \
/external/deqp/framework/opengl/
H A DgluDrawUtil.cpp278 const int elementSize = getVtxCompSize(va.pointer.componentType)*va.pointer.numComponents; local
279 const int size = elementSize*va.pointer.numElements;
307 const int elementSize = getVtxCompSize(dstVA.componentType)*dstVA.numComponents; local
308 const bool srcHasCustomStride = srcPtr.stride != 0 && srcPtr.stride != elementSize;
309 const bool dstHasCustomStride = dstVA.stride != 0 && dstVA.stride != elementSize;
313 const int dstStride = dstVA.stride != 0 ? dstVA.stride : elementSize;
314 const int srcStride = srcPtr.stride != 0 ? srcPtr.stride : elementSize;
317 deMemcpy((deUint8*)dstBasePtr + (deUintptr)dstVA.pointer + ndx*dstStride, (const deUint8*)srcPtr.data + ndx*srcStride, elementSize);
320 deMemcpy((deUint8*)dstBasePtr + (deUintptr)dstVA.pointer, srcPtr.data, elementSize*dstVA.numElements);
/external/skia/src/core/
H A DSkValidatingReadBuffer.h70 bool readArray(void* value, size_t size, size_t elementSize);
H A DSkValidatingReadBuffer.cpp174 bool SkValidatingReadBuffer::readArray(void* value, size_t size, size_t elementSize) { argument
178 const uint64_t byteLength64 = sk_64_mul(count, elementSize);
179 const size_t byteLength = count * elementSize;
H A DSkReadBuffer.cpp155 bool SkReadBuffer::readArray(void* value, size_t size, size_t elementSize) { argument
159 const size_t byteLength = count * elementSize;
H A DSkReadBuffer.h220 bool readArray(void* value, size_t size, size_t elementSize);
/external/skia/src/animator/
H A DSkDisplayable.cpp106 size_t elementSize = SkMemberInfo::GetSize(elementType); local
107 size_t byteSize = elementSize * arrayCount;
/external/deqp/framework/delibs/decpp/
H A DdePoolArray.hpp315 deUintptr elementSize = (deUintptr)deAlignPtr((void*)(deUintptr)sizeof(T), Alignment); local
316 deUintptr pageAllocSize = elementSize << ELEMENTS_PER_PAGE_LOG2;
/external/mesa3d/src/mesa/main/
H A Dvarray.c133 GLsizei elementSize; local
254 elementSize = _mesa_sizeof_type(type) * size;
261 array->StrideB = stride ? stride : elementSize;
265 array->_ElementSize = elementSize;
/external/deqp/modules/glshared/
H A DglsDrawTest.cpp1659 const size_t elementSize = componentSize * componentCount; local
1660 const size_t bufferSize = offset + (elementCount - 1) * stride + elementSize;
1709 const size_t elementSize = 4; local
1710 const size_t bufferSize = offset + (elementCount - 1) * stride + elementSize;
1762 const size_t elementSize = sizeof(T); local
1763 const size_t bufferSize = offset + elementCount * elementSize;
1801 alignmentSafeAssignment<T>(writePtr + elementSize * elementNdx, T(ndx));
3294 const size_t elementSize = attribSpec.componentCount * DrawTestSpec::inputTypeSize(attribSpec.inputType); local
3295 const size_t stride = (attribSpec.stride == 0) ? (elementSize) : (attribSpec.stride);
3298 const size_t bufferSize = attribSpec.offset + stride * (referencedElementCount - 1) + elementSize;
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.equinox.common_3.6.0.v20100503.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.apache.jasper_5.5.17.v201004212143.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.equinox.preferences_3.3.0.v20100503.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.equinox.registry_3.5.0.v20100503.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.jdt.core_3.6.2.v_A76_R36x.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/clang/lib/CodeGen/
H A DCGExprScalar.cpp2679 CharUnits elementSize; local
2683 elementSize = CharUnits::One();
2685 elementSize = CGF.getContext().getTypeSizeInChars(elementType);
2688 if (elementSize.isOne())
2691 divisor = CGF.CGM.getSize(elementSize);
H A DItaniumCXXABI.cpp1667 llvm::Value *elementSize = llvm::ConstantInt::get(CGF.SizeTy, local
1669 CGF.Builder.CreateStore(elementSize, cookie);
/external/deqp/modules/gles3/functional/
H A Des3fTransformFeedbackTests.cpp536 const int elementSize = (int)sizeof(deUint32); local
547 int offset = attrib.offset+elemNdx*stride+compNdx*elementSize;
/external/deqp/modules/gles31/functional/
H A Des31fProgramInterfaceQueryTestCase.cpp536 const int elementSize = glu::getDataTypeScalarSize(component.getVariableType()->getBasicType()) * getTypeSize(glu::getDataTypeScalarType(component.getVariableType()->getBasicType())); local
537 m_testCtx.getLog() << tcu::TestLog::Message << "Verifying array stride, expecting greater or equal to " << elementSize << tcu::TestLog::EndMessage;
539 if (propValue < elementSize)

Completed in 452 milliseconds