/external/chromium_org/v8/test/mjsunit/harmony/ |
D | typedarrays.js | 120 function TestTypedArray(constr, elementSize, typicalElement) { argument 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, aOverBufferLen0.byteOffset); [all …]
|
/external/chromium_org/third_party/mesa/src/src/glx/ |
D | pixel.c | 176 GLint components, elementSize, rowSize, padding, groupsPerRow, groupSize; in __glFillImage() local 199 elementSize = __glBytesPerElement(type); in __glFillImage() 200 groupSize = elementSize * components; in __glFillImage() 201 if (elementSize == 1) in __glFillImage() 222 for (k = 1; k <= elementSize; k++) { in __glFillImage() 223 iter2[k - 1] = iterc[elementSize - k]; in __glFillImage() 225 iter2 += elementSize; in __glFillImage() 226 iterc += elementSize; in __glFillImage() 236 if (rowSize == elementsPerRow * elementSize) { in __glFillImage() 239 elementsPerRow * elementSize * height); in __glFillImage() [all …]
|
/external/mesa3d/src/glx/ |
D | pixel.c | 176 GLint components, elementSize, rowSize, padding, groupsPerRow, groupSize; in __glFillImage() local 199 elementSize = __glBytesPerElement(type); in __glFillImage() 200 groupSize = elementSize * components; in __glFillImage() 201 if (elementSize == 1) in __glFillImage() 222 for (k = 1; k <= elementSize; k++) { in __glFillImage() 223 iter2[k - 1] = iterc[elementSize - k]; in __glFillImage() 225 iter2 += elementSize; in __glFillImage() 226 iterc += elementSize; in __glFillImage() 236 if (rowSize == elementsPerRow * elementSize) { in __glFillImage() 239 elementsPerRow * elementSize * height); in __glFillImage() [all …]
|
/external/chromium_org/mojo/public/js/bindings/ |
D | validator.js | 165 offset, elementSize, expectedElementCount, elementType, nullable) { argument 175 arrayOffset, elementSize, expectedElementCount, elementType); 200 function (offset, elementSize, expectedElementCount, elementType) { argument 213 Math.ceil(numElements / 8) : (elementSize * numElements); 250 var elementSize = codec.Handle.encodedSize; 252 var elementOffset = offset + i * elementSize; 263 var elementSize = codec.PointerTo.prototype.encodedSize; 265 var elementOffset = offset + i * elementSize; 276 var elementSize = codec.PointerTo.prototype.encodedSize; 278 var elementOffset = offset + i * elementSize;
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/ |
D | VertexBuffer11.cpp | 141 unsigned int elementSize = dxgiFormatInfo.pixelBytes; in getSpaceRequired() local 142 if (elementSize <= std::numeric_limits<unsigned int>::max() / elementCount) in getSpaceRequired() 146 *outSpaceRequired = elementSize * elementCount; in getSpaceRequired() 157 const unsigned int elementSize = 4; in getSpaceRequired() local 160 *outSpaceRequired = elementSize * 4; in getSpaceRequired()
|
/external/deqp/framework/delibs/depool/ |
D | dePoolArray.c | 43 dePoolArray* dePoolArray_create (deMemPool* pool, int elementSize) in dePoolArray_create() argument 53 arr->elementSize = elementSize; in dePoolArray_create() 100 int pageAllocSize = arr->elementSize << DE_ARRAY_ELEMENTS_PER_PAGE_LOG2; in dePoolArray_reserve()
|
D | dePoolArray.h | 42 int elementSize; /*!< Size of the element (in bytes). */ member 52 dePoolArray* dePoolArray_create (deMemPool* pool, int elementSize); 98 int elementSize; \
|
/external/chromium_org/third_party/icu/source/i18n/ |
D | ucol_sit.cpp | 608 int32_t elementSize = 0; in ucol_getShortDefinitionString() local 616 …elementSize = ucol_getFunctionalEquivalent(locBuff, internalBufferSize, "collation", locale, &isAv… in ucol_getShortDefinitionString() 618 if(elementSize) { in ucol_getShortDefinitionString() 620 elementSize = uloc_getLanguage(locBuff, tempbuff, internalBufferSize, status); in ucol_getShortDefinitionString() 621 …appendShortStringElement(tempbuff, elementSize, buffer, &resultSize, /*capacity*/internalBufferSiz… in ucol_getShortDefinitionString() 622 elementSize = uloc_getCountry(locBuff, tempbuff, internalBufferSize, status); in ucol_getShortDefinitionString() 623 …appendShortStringElement(tempbuff, elementSize, buffer, &resultSize, /*capacity*/internalBufferSiz… in ucol_getShortDefinitionString() 624 elementSize = uloc_getScript(locBuff, tempbuff, internalBufferSize, status); in ucol_getShortDefinitionString() 625 …appendShortStringElement(tempbuff, elementSize, buffer, &resultSize, /*capacity*/internalBufferSiz… in ucol_getShortDefinitionString() 626 elementSize = uloc_getVariant(locBuff, tempbuff, internalBufferSize, status); in ucol_getShortDefinitionString() [all …]
|
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d9/ |
D | VertexBuffer9.cpp | 76 int elementSize = gl::ComputeVertexAttributeTypeSize(attrib); in storeVertexAttributes() local 122 if (!needsConversion && inputStride == elementSize) in storeVertexAttributes() 224 const unsigned int elementSize = 4; in spaceRequired() local 227 *outSpaceRequired = elementSize * 4; in spaceRequired()
|
/external/deqp/framework/opengl/ |
D | gluDrawUtil.cpp | 278 const int elementSize = getVtxCompSize(va.pointer.componentType)*va.pointer.numComponents; in appendAttributeNonStrided() local 279 const int size = elementSize*va.pointer.numElements; in appendAttributeNonStrided() 307 const int elementSize = getVtxCompSize(dstVA.componentType)*dstVA.numComponents; in copyToLayout() local 308 const bool srcHasCustomStride = srcPtr.stride != 0 && srcPtr.stride != elementSize; in copyToLayout() 309 const bool dstHasCustomStride = dstVA.stride != 0 && dstVA.stride != elementSize; in copyToLayout() 313 const int dstStride = dstVA.stride != 0 ? dstVA.stride : elementSize; in copyToLayout() 314 const int srcStride = srcPtr.stride != 0 ? srcPtr.stride : elementSize; in copyToLayout() 317 …deUintptr)dstVA.pointer + ndx*dstStride, (const deUint8*)srcPtr.data + ndx*srcStride, elementSize); in copyToLayout() 320 …deMemcpy((deUint8*)dstBasePtr + (deUintptr)dstVA.pointer, srcPtr.data, elementSize*dstVA.numElemen… in copyToLayout()
|
/external/skia/src/core/ |
D | SkValidatingReadBuffer.cpp | 174 bool SkValidatingReadBuffer::readArray(void* value, size_t size, size_t elementSize) { in readArray() argument 178 const size_t byteLength = count * elementSize; in readArray()
|
D | SkReadBuffer.cpp | 157 bool SkReadBuffer::readArray(void* value, size_t size, size_t elementSize) { in readArray() argument 161 const size_t byteLength = count * elementSize; in readArray()
|
D | SkValidatingReadBuffer.h | 70 bool readArray(void* value, size_t size, size_t elementSize);
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkValidatingReadBuffer.cpp | 174 bool SkValidatingReadBuffer::readArray(void* value, size_t size, size_t elementSize) { in readArray() argument 178 const size_t byteLength = count * elementSize; in readArray()
|
D | SkReadBuffer.cpp | 155 bool SkReadBuffer::readArray(void* value, size_t size, size_t elementSize) { in readArray() argument 159 const size_t byteLength = count * elementSize; in readArray()
|
D | SkValidatingReadBuffer.h | 70 bool readArray(void* value, size_t size, size_t elementSize);
|
D | SkReadBuffer.h | 212 bool readArray(void* value, size_t size, size_t elementSize);
|
/external/chromium_org/third_party/skia/src/animator/ |
D | SkDisplayable.cpp | 106 size_t elementSize = SkMemberInfo::GetSize(elementType); in deepCopy() local 107 size_t byteSize = elementSize * arrayCount; in deepCopy()
|
/external/skia/src/animator/ |
D | SkDisplayable.cpp | 106 size_t elementSize = SkMemberInfo::GetSize(elementType); in deepCopy() local 107 size_t byteSize = elementSize * arrayCount; in deepCopy()
|
/external/skia/include/core/ |
D | SkReadBuffer.h | 209 bool readArray(void* value, size_t size, size_t elementSize);
|
/external/mesa3d/src/mesa/main/ |
D | varray.c | 133 GLsizei elementSize; in update_array() local 254 elementSize = _mesa_sizeof_type(type) * size; in update_array() 261 array->StrideB = stride ? stride : elementSize; in update_array() 265 array->_ElementSize = elementSize; in update_array()
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
D | varray.c | 133 GLsizei elementSize; in update_array() local 254 elementSize = _mesa_sizeof_type(type) * size; in update_array() 261 array->StrideB = stride ? stride : elementSize; in update_array() 265 array->_ElementSize = elementSize; in update_array()
|
/external/deqp/framework/delibs/decpp/ |
D | dePoolArray.hpp | 315 deUintptr elementSize = (deUintptr)deAlignPtr((void*)(deUintptr)sizeof(T), Alignment); in reserve() local 316 deUintptr pageAllocSize = elementSize << ELEMENTS_PER_PAGE_LOG2; in reserve()
|
/external/chromium_org/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
D | Decoder.java | 612 private DataHeader readDataHeaderForArray(long elementSize, int expectedLength) { in readDataHeaderForArray() argument 614 if (dataHeader.size < (DataHeader.HEADER_SIZE + elementSize * dataHeader.numFields)) { in readDataHeaderForArray()
|
/external/deqp/modules/glshared/ |
D | glsDrawTest.cpp | 1673 const size_t elementSize = componentSize * componentCount; in createBasicArray() local 1674 const size_t bufferSize = offset + (elementCount - 1) * stride + elementSize; in createBasicArray() 1723 const size_t elementSize = 4; in generatePackedArray() local 1724 const size_t bufferSize = offset + (elementCount - 1) * stride + elementSize; in generatePackedArray() 1776 const size_t elementSize = sizeof(T); in createIndices() local 1777 const size_t bufferSize = offset + elementCount * elementSize; in createIndices() 1815 alignmentSafeAssignment<T>(writePtr + elementSize * elementNdx, T(ndx)); in createIndices() 3286 …const size_t elementSize = attribSpec.componentCount * DrawTestSpec::inputTypeSize(attribSpe… in iterate() local 3287 const size_t stride = (attribSpec.stride == 0) ? (elementSize) : (attribSpec.stride); in iterate() 3290 … size_t bufferSize = attribSpec.offset + stride * (referencedElementCount - 1) + elementSize; in iterate()
|