/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/libmojo/mojo/public/js/ |
D | validator.js | 187 offset, elementSize, elementType, nullable, expectedDimensionSizes, argument 197 return this.validateArray(arrayOffset, elementSize, elementType, 303 function (offset, elementSize, elementType, expectedDimensionSizes, argument 317 Math.ceil(numElements / 8) : (elementSize * numElements); 360 var elementSize = codec.Handle.encodedSize; 362 var elementOffset = offset + i * elementSize; 372 var elementSize = codec.Interface.encodedSize; 374 var elementOffset = offset + i * elementSize; 386 var elementSize = codec.PointerTo.prototype.encodedSize; 388 var elementOffset = offset + i * elementSize; [all …]
|
/external/dng_sdk/source/ |
D | dng_memory.cpp | 46 dng_memory_data::dng_memory_data (uint32 count, std::size_t elementSize) in dng_memory_data() argument 52 Allocate (count, elementSize); in dng_memory_data() 90 void dng_memory_data::Allocate (uint32 count, std::size_t elementSize) in Allocate() argument 94 const uint32 elementSizeAsUint32 = static_cast<uint32> (elementSize); in Allocate() 95 if (static_cast<std::size_t> (elementSizeAsUint32) != elementSize) in Allocate()
|
D | dng_memory.h | 66 dng_memory_data (uint32 count, std::size_t elementSize); 86 void Allocate (uint32 count, std::size_t elementSize);
|
/external/skia/src/gpu/vk/ |
D | GrVkVaryingHandler.cpp | 73 int elementSize = grsltype_to_location_size(var.getType()); in finalize_helper() local 74 SkASSERT(elementSize > 0); in finalize_helper() 80 locationIndex += elementSize * numElements; in finalize_helper()
|
D | GrVkUniformHandler.cpp | 131 uint32_t elementSize = SkTMax<uint32_t>(16, grsltype_to_vk_size(type)); in get_ubo_aligned_offset() local 132 SkASSERT(0 == (elementSize & 0xF)); in get_ubo_aligned_offset() 133 *currentOffset = *uniformOffset + elementSize * arrayCount; in get_ubo_aligned_offset()
|
/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/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/swiftshader/src/OpenGL/libGLES_CM/ |
D | VertexDataManager.cpp | 65 int elementSize = attribute.typeSize(); in writeAttributeData() local 96 if(inputStride == elementSize) in writeAttributeData() 104 memcpy(output, input, elementSize); in writeAttributeData() 105 output += elementSize; in writeAttributeData()
|
D | utilities.cpp | 478 sw::DrawType elementSize; in ConvertPrimitiveType() local 481 case GL_NONE: elementSize = sw::DRAW_NONINDEXED; break; in ConvertPrimitiveType() 482 case GL_UNSIGNED_BYTE: elementSize = sw::DRAW_INDEXED8; break; in ConvertPrimitiveType() 483 case GL_UNSIGNED_SHORT: elementSize = sw::DRAW_INDEXED16; break; in ConvertPrimitiveType() 484 case GL_UNSIGNED_INT: elementSize = sw::DRAW_INDEXED32; break; in ConvertPrimitiveType() 488 drawType = sw::DrawType(drawType | elementSize); in ConvertPrimitiveType()
|
/external/swiftshader/src/OpenGL/libGL/ |
D | VertexDataManager.cpp | 64 int elementSize = attribute.typeSize(); in writeAttributeData() local 95 if(inputStride == elementSize) in writeAttributeData() 103 memcpy(output, input, elementSize); in writeAttributeData() 104 output += elementSize; in writeAttributeData()
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | VertexDataManager.cpp | 64 int elementSize = attribute.typeSize(); in writeAttributeData() local 93 if(inputStride == elementSize) in writeAttributeData() 101 memcpy(output, input, elementSize); in writeAttributeData() 102 output += elementSize; in writeAttributeData()
|
D | utilities.cpp | 1513 sw::DrawType elementSize; in ConvertPrimitiveType() local 1516 case GL_NONE: elementSize = sw::DRAW_NONINDEXED; break; in ConvertPrimitiveType() 1517 case GL_UNSIGNED_BYTE: elementSize = sw::DRAW_INDEXED8; break; in ConvertPrimitiveType() 1518 case GL_UNSIGNED_SHORT: elementSize = sw::DRAW_INDEXED16; break; in ConvertPrimitiveType() 1519 case GL_UNSIGNED_INT: elementSize = sw::DRAW_INDEXED32; break; in ConvertPrimitiveType() 1523 drawType = sw::DrawType(drawType | elementSize); in ConvertPrimitiveType()
|
/external/skia/src/core/ |
D | SkValidatingReadBuffer.cpp | 198 bool SkValidatingReadBuffer::readArray(void* value, size_t size, size_t elementSize) { in readArray() argument 202 const uint64_t byteLength64 = sk_64_mul(count, elementSize); in readArray() 203 const size_t byteLength = count * elementSize; in readArray()
|
D | SkValidatingReadBuffer.h | 74 bool readArray(void* value, size_t size, size_t elementSize);
|
D | SkReadBuffer.cpp | 184 bool SkReadBuffer::readArray(void* value, size_t size, size_t elementSize) { in readArray() argument 188 const size_t byteLength = count * elementSize; in readArray()
|
D | SkReadBuffer.h | 249 bool readArray(void* value, size_t size, size_t elementSize);
|
/external/clang/include/clang/AST/ |
D | CharUnits.h | 197 CharUnits alignmentOfArrayElement(CharUnits elementSize) const { in alignmentOfArrayElement() argument 201 return alignmentAtOffset(elementSize); in alignmentOfArrayElement()
|
/external/r8/src/main/java/com/android/tools/r8/ir/optimize/ |
D | CodeRewriter.java | 976 NewArrayEmpty newArray, int size, BasicBlock block, int elementSize) { in computeArrayFilledData() argument 981 if (elementSize == 1) { in computeArrayFilledData() 992 assert elementSize == 2 || elementSize == 4 || elementSize == 8; in computeArrayFilledData() local 993 int shortsPerConstant = elementSize / 2; in computeArrayFilledData() 1096 int elementSize = newArray.type.elementSizeForPrimitiveArrayType(); 1097 short[] contents = computeArrayFilledData(newArray, size, block, elementSize); 1104 newArray.outValue(), elementSize, arraySize, contents);
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkNullDriver.cpp | 938 const deUint32 elementSize = desc.planes[planeNdx].elementSizeBytes; in getYCbCrImageDataSize() local 940 totalSize = (VkDeviceSize)deAlign64((deInt64)totalSize, elementSize); in getYCbCrImageDataSize() 941 totalSize += planeW * planeH * elementSize; in getYCbCrImageDataSize() 978 const deUint32 elementSize = formatDesc.planes[planeNdx].elementSizeBytes; in getImageMemoryRequirements2KHR() local 982 pMemoryRequirements->memoryRequirements.size = planeW * planeH * elementSize; in getImageMemoryRequirements2KHR()
|
/external/deqp/framework/delibs/decpp/ |
D | dePoolArray.hpp | 324 deUintptr elementSize = (deUintptr)deAlignPtr((void*)(deUintptr)sizeof(T), Alignment); in reserve() local 325 deUintptr pageAllocSize = elementSize << ELEMENTS_PER_PAGE_LOG2; in reserve()
|
/external/libmojo/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
D | Decoder.java | 728 private DataHeader readDataHeaderForArray(long elementSize, int expectedLength) { in readDataHeaderForArray() argument 731 < (DataHeader.HEADER_SIZE + elementSize * dataHeader.elementsOrVersion)) { in readDataHeaderForArray()
|
/external/deqp/modules/glshared/ |
D | glsDrawTest.cpp | 1575 const size_t elementSize = componentSize * componentCount; in createBasicArray() local 1576 const size_t bufferSize = offset + (elementCount - 1) * stride + elementSize; in createBasicArray() 1625 const size_t elementSize = 4; in generatePackedArray() local 1626 const size_t bufferSize = offset + (elementCount - 1) * stride + elementSize; in generatePackedArray() 1678 const size_t elementSize = sizeof(T); in createIndices() local 1679 const size_t bufferSize = offset + elementCount * elementSize; in createIndices() 1717 alignmentSafeAssignment<T>(writePtr + elementSize * elementNdx, T(ndx)); in createIndices() 3210 …const size_t elementSize = attribSpec.componentCount * DrawTestSpec::inputTypeSize(attribSpe… in iterate() local 3211 const size_t stride = (attribSpec.stride == 0) ? (elementSize) : (attribSpec.stride); in iterate() 3214 … size_t bufferSize = attribSpec.offset + stride * (referencedElementCount - 1) + elementSize; in iterate()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderExecutor.cpp | 650 int elementSize = 0; in bindAttributes() local 654 elementSize = sizeof(float); in bindAttributes() 656 elementSize = sizeof(int); in bindAttributes() 658 elementSize = sizeof(deUint32); in bindAttributes() 664 elementSize = numRows * numCols * (int)sizeof(float); in bindAttributes() 673 …addAttribute((deUint32)m_vertexBindingDescriptions.size(), format, elementSize * vecSize, numValue… in bindAttributes()
|