Home
last modified time | relevance | path

Searched refs:elementSize (Results 1 – 25 of 26) sorted by relevance

12

/external/chromium_org/v8/test/mjsunit/harmony/
Dtypedarrays.js120 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/
Dpixel.c176 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/
Dpixel.c176 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/third_party/icu/source/i18n/
Ducol_sit.cpp567 int32_t elementSize = 0; in ucol_getShortDefinitionString() local
575elementSize = ucol_getFunctionalEquivalent(locBuff, internalBufferSize, "collation", locale, &isAv… in ucol_getShortDefinitionString()
577 if(elementSize) { in ucol_getShortDefinitionString()
579 elementSize = uloc_getLanguage(locBuff, tempbuff, internalBufferSize, status); in ucol_getShortDefinitionString()
580 …appendShortStringElement(tempbuff, elementSize, buffer, &resultSize, /*capacity*/internalBufferSiz… in ucol_getShortDefinitionString()
581 elementSize = uloc_getCountry(locBuff, tempbuff, internalBufferSize, status); in ucol_getShortDefinitionString()
582 …appendShortStringElement(tempbuff, elementSize, buffer, &resultSize, /*capacity*/internalBufferSiz… in ucol_getShortDefinitionString()
583 elementSize = uloc_getScript(locBuff, tempbuff, internalBufferSize, status); in ucol_getShortDefinitionString()
584 …appendShortStringElement(tempbuff, elementSize, buffer, &resultSize, /*capacity*/internalBufferSiz… in ucol_getShortDefinitionString()
585 elementSize = uloc_getVariant(locBuff, tempbuff, internalBufferSize, status); in ucol_getShortDefinitionString()
[all …]
/external/chromium_org/v8/src/
Dtypedarray.js149 function CreateSubArray(elementSize, constructor) { argument
170 %TypedArrayGetByteOffset(this) + beginInt * elementSize;
278 function SetupTypedArray(constructor, fun, elementSize) { argument
283 %SetProperty(constructor, "BYTES_PER_ELEMENT", elementSize,
288 "BYTES_PER_ELEMENT", elementSize,
296 "subarray", CreateSubArray(elementSize, constructor),
/external/icu4c/i18n/
Ducol_sit.cpp608 int32_t elementSize = 0; in ucol_getShortDefinitionString() local
616elementSize = 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/
DVertexBuffer9.cpp92 int elementSize = attrib.typeSize(); in storeVertexAttributes() local
129 if (converter.identity && inputStride == elementSize) in storeVertexAttributes()
484 unsigned int elementSize = formatConverter(attrib).outputElementSize; in spaceRequired() local
506 if (elementSize <= std::numeric_limits<unsigned int>::max() / elementCount) in spaceRequired()
510 *outSpaceRequired = elementSize * elementCount; in spaceRequired()
521 const unsigned int elementSize = 4; in spaceRequired() local
524 *outSpaceRequired = elementSize * 4; in spaceRequired()
DVertexBuffer11.cpp158 unsigned int elementSize = getVertexConversion(attrib).outputElementSize; in getSpaceRequired() local
178 if (elementSize <= std::numeric_limits<unsigned int>::max() / elementCount) in getSpaceRequired()
182 *outSpaceRequired = elementSize * elementCount; in getSpaceRequired()
/external/chromium_org/third_party/WebKit/Source/wtf/
DFastMalloc.h32 WTF_EXPORT void* fastCalloc(size_t numElements, size_t elementSize);
/external/chromium_org/third_party/skia/src/core/
DSkValidatingReadBuffer.cpp174 bool SkValidatingReadBuffer::readArray(void* value, size_t size, size_t elementSize) { in readArray() argument
178 const size_t byteLength = count * elementSize; in readArray()
DSkOrderedReadBuffer.cpp140 bool SkOrderedReadBuffer::readArray(void* value, size_t size, size_t elementSize) { in readArray() argument
144 const size_t byteLength = count * elementSize; in readArray()
DSkValidatingReadBuffer.h67 bool readArray(void* value, size_t size, size_t elementSize);
DSkOrderedReadBuffer.h116 bool readArray(void* value, size_t size, size_t elementSize);
/external/skia/src/core/
DSkValidatingReadBuffer.cpp174 bool SkValidatingReadBuffer::readArray(void* value, size_t size, size_t elementSize) { in readArray() argument
178 const size_t byteLength = count * elementSize; in readArray()
DSkOrderedReadBuffer.cpp140 bool SkOrderedReadBuffer::readArray(void* value, size_t size, size_t elementSize) { in readArray() argument
144 const size_t byteLength = count * elementSize; in readArray()
DSkValidatingReadBuffer.h67 bool readArray(void* value, size_t size, size_t elementSize);
DSkOrderedReadBuffer.h116 bool readArray(void* value, size_t size, size_t elementSize);
/external/skia/src/animator/
DSkDisplayable.cpp106 size_t elementSize = SkMemberInfo::GetSize(elementType); in deepCopy() local
107 size_t byteSize = elementSize * arrayCount; in deepCopy()
/external/chromium_org/third_party/skia/src/animator/
DSkDisplayable.cpp106 size_t elementSize = SkMemberInfo::GetSize(elementType); in deepCopy() local
107 size_t byteSize = elementSize * arrayCount; in deepCopy()
/external/mesa3d/src/mesa/main/
Dvarray.c133 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/
Dvarray.c133 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/WebKit/Source/core/rendering/
DRenderLayerScrollableArea.cpp1217 IntSize elementSize = layer()->size(); in offsetFromResizeCorner() local
1219 elementSize.setWidth(0); in offsetFromResizeCorner()
1220 IntPoint resizerPoint = IntPoint(elementSize); in offsetFromResizeCorner()
/external/clang/lib/CodeGen/
DCGExprScalar.cpp2461 CharUnits elementSize; in EmitSub() local
2465 elementSize = CharUnits::One(); in EmitSub()
2467 elementSize = CGF.getContext().getTypeSizeInChars(elementType); in EmitSub()
2470 if (elementSize.isOne()) in EmitSub()
2473 divisor = CGF.CGM.getSize(elementSize); in EmitSub()
DItaniumCXXABI.cpp1016 llvm::Value *elementSize = llvm::ConstantInt::get(CGF.SizeTy, in InitializeArrayCookie() local
1018 CGF.Builder.CreateStore(elementSize, cookie); in InitializeArrayCookie()
/external/chromium_org/third_party/angle/src/compiler/
DOutputHLSL.cpp137 int elementSize = type.isMatrix() ? type.getNominalSize() : 1; in vectorSize() local
140 return elementSize * arraySize; in vectorSize()

12