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

12

/external/dng_sdk/source/
H A Ddng_memory.cpp46 dng_memory_data::dng_memory_data (uint32 count, std::size_t elementSize) argument
52 Allocate (count, elementSize);
90 void dng_memory_data::Allocate (uint32 count, std::size_t elementSize) argument
93 // Convert elementSize to a uint32.
94 const uint32 elementSizeAsUint32 = static_cast<uint32> (elementSize);
95 if (static_cast<std::size_t> (elementSizeAsUint32) != elementSize)
H A Ddng_memory.h62 /// Construct memory buffer of count elements of elementSize bytes each.
64 /// \param elementSize Size of each element.
66 dng_memory_data (uint32 count, std::size_t elementSize);
82 /// elements of elementSize bytes each.
84 /// \param elementSize Size of each element.
86 void Allocate (uint32 count, std::size_t elementSize);
/external/v8/test/mjsunit/harmony/
H A Dsharedarraybuffer.js90 function TestTypedArray(constr, elementSize, typicalElement) {
91 assertSame(elementSize, constr.BYTES_PER_ELEMENT);
93 var sab = new SharedArrayBuffer(256*elementSize);
102 assertSame(elementSize, a0.BYTES_PER_ELEMENT);
104 assertSame(30*elementSize, a0.byteLength);
106 assertSame(30*elementSize, a0.buffer.byteLength);
108 var aOverBufferLen0 = new constr(sab, 128*elementSize, 0);
110 assertSame(elementSize, aOverBufferLen0.BYTES_PER_ELEMENT);
113 assertSame(128*elementSize, aOverBufferLen0.byteOffset);
115 var a1 = new constr(sab, 128*elementSize, 12
[all...]
/external/v8/test/mjsunit/es6/
H A Dtypedarray.js122 function TestTypedArray(constr, elementSize, typicalElement) {
123 assertSame(elementSize, constr.BYTES_PER_ELEMENT);
125 var ab = new ArrayBuffer(256*elementSize);
132 assertSame(elementSize, a0.BYTES_PER_ELEMENT);
134 assertSame(30*elementSize, a0.byteLength);
136 assertSame(30*elementSize, a0.buffer.byteLength);
139 assertSame(elementSize, aLen0.BYTES_PER_ELEMENT);
145 var aOverBufferLen0 = new constr(ab, 128*elementSize, 0);
147 assertSame(elementSize, aOverBufferLen0.BYTES_PER_ELEMENT);
150 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/clang/include/clang/AST/
H A DCharUnits.h190 CharUnits alignmentOfArrayElement(CharUnits elementSize) const {
194 return alignmentAtOffset(elementSize);
/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.cpp157 bool SkReadBuffer::readArray(void* value, size_t size, size_t elementSize) { argument
161 const size_t byteLength = count * elementSize;
H A DSkReadBuffer.h225 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/deqp/external/vulkancts/modules/vulkan/query_pool/
H A DvktQueryPoolOcclusionTests.cpp1170 const vk::VkDeviceSize elementSize = (testVector.queryResultsAvailability ? resultSize * 2 : resultSize); local
1172 if (elementSize > testVector.queryResultsStride)
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
H A DvktShaderExecutor.cpp657 int elementSize = 0; local
661 elementSize = sizeof(float);
663 elementSize = sizeof(int);
665 elementSize = sizeof(deUint32);
671 elementSize = numRows * numCols * (int)sizeof(float);
680 addAttribute(ctx, memAlloc, (deUint32)m_vertexBindingDescriptions.size(), format, elementSize * vecSize, numValues, ptr);
/external/clang/lib/CodeGen/
H A DCGExprAgg.cpp415 CharUnits elementSize = CGF.getContext().getTypeSizeInChars(elementType); local
417 DestPtr.getAlignment().alignmentOfArrayElement(elementSize);
H A DCGExprScalar.cpp2684 CharUnits elementSize; local
2688 elementSize = CharUnits::One();
2690 elementSize = CGF.getContext().getTypeSizeInChars(elementType);
2693 if (elementSize.isOne())
2696 divisor = CGF.CGM.getSize(elementSize);
H A DCGExprCXX.cpp1675 CharUnits elementSize = CGF.getContext().getTypeSizeInChars(elementType); local
1677 deletedPtr.getAlignment().alignmentOfArrayElement(elementSize);
/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 ...
/external/icu/tools/srcgen/currysrc/libs/
H A Dorg.eclipse.equinox.common_3.7.0.v20150402-1709.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_.RSA META ...
/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;

Completed in 579 milliseconds

12