/external/chromium_org/v8/test/mjsunit/harmony/ |
typedarrays.js | 120 function TestTypedArray(constr, elementSize, typicalElement) { 121 assertSame(elementSize, constr.BYTES_PER_ELEMENT); 123 var ab = new ArrayBuffer(256*elementSize); 126 assertSame(elementSize, a0.BYTES_PER_ELEMENT); 128 assertSame(30*elementSize, a0.byteLength); 130 assertSame(30*elementSize, a0.buffer.byteLength); 133 assertSame(elementSize, aLen0.BYTES_PER_ELEMENT); 139 var aOverBufferLen0 = new constr(ab, 128*elementSize, 0); 141 assertSame(elementSize, aOverBufferLen0.BYTES_PER_ELEMENT); 144 assertSame(128*elementSize, aOverBufferLen0.byteOffset) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderVideo.cpp | 146 LayoutSize elementSize; 148 elementSize = m_cachedImageSize; 150 elementSize = intrinsicSize(); 153 if (elementSize.isEmpty() || contentRect.isEmpty()) 157 LayoutUnit ratio = renderBox.width() * elementSize.height() - renderBox.height() * elementSize.width(); 159 LayoutUnit newWidth = renderBox.height() * elementSize.width() / elementSize.height(); 165 LayoutUnit newHeight = renderBox.width() * elementSize.height() / elementSize.width() [all...] |
/external/chromium_org/third_party/mesa/src/src/glx/ |
pixel.c | 176 GLint components, elementSize, rowSize, padding, groupsPerRow, groupSize; 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 * height) [all...] |
/external/mesa3d/src/glx/ |
pixel.c | 176 GLint components, elementSize, rowSize, padding, groupsPerRow, groupSize; 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 * height) [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/ |
FastMalloc.h | 32 WTF_EXPORT void* fastCalloc(size_t numElements, size_t elementSize);
|
/external/chromium_org/v8/src/ |
typedarray.js | 38 function CreateTypedArrayConstructor(name, elementSize, arrayId, constructor) { 42 if (offset % elementSize !== 0) { 44 "start offset", name, elementSize); 54 if (bufferByteLength % elementSize !== 0) { 56 "byte length", name, elementSize); 59 newLength = newByteLength / elementSize; 62 newByteLength = newLength * elementSize; 72 var byteLength = l * elementSize; 119 function CreateSubArray(elementSize, constructor) { 140 %TypedArrayGetByteOffset(this) + beginInt * elementSize; [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
ucol_sit.cpp | 567 int32_t elementSize = 0; 575 elementSize = ucol_getFunctionalEquivalent(locBuff, internalBufferSize, "collation", locale, &isAvailable, status); 577 if(elementSize) { 579 elementSize = uloc_getLanguage(locBuff, tempbuff, internalBufferSize, status); 580 appendShortStringElement(tempbuff, elementSize, buffer, &resultSize, /*capacity*/internalBufferSize, languageArg); 581 elementSize = uloc_getCountry(locBuff, tempbuff, internalBufferSize, status); 582 appendShortStringElement(tempbuff, elementSize, buffer, &resultSize, /*capacity*/internalBufferSize, regionArg); 583 elementSize = uloc_getScript(locBuff, tempbuff, internalBufferSize, status); 584 appendShortStringElement(tempbuff, elementSize, buffer, &resultSize, /*capacity*/internalBufferSize, scriptArg); 585 elementSize = uloc_getVariant(locBuff, tempbuff, internalBufferSize, status) [all...] |
/external/icu4c/i18n/ |
ucol_sit.cpp | 608 int32_t elementSize = 0; 616 elementSize = ucol_getFunctionalEquivalent(locBuff, internalBufferSize, "collation", locale, &isAvailable, status); 618 if(elementSize) { 620 elementSize = uloc_getLanguage(locBuff, tempbuff, internalBufferSize, status); 621 appendShortStringElement(tempbuff, elementSize, buffer, &resultSize, /*capacity*/internalBufferSize, languageArg); 622 elementSize = uloc_getCountry(locBuff, tempbuff, internalBufferSize, status); 623 appendShortStringElement(tempbuff, elementSize, buffer, &resultSize, /*capacity*/internalBufferSize, regionArg); 624 elementSize = uloc_getScript(locBuff, tempbuff, internalBufferSize, status); 625 appendShortStringElement(tempbuff, elementSize, buffer, &resultSize, /*capacity*/internalBufferSize, scriptArg); 626 elementSize = uloc_getVariant(locBuff, tempbuff, internalBufferSize, status) [all...] |
/external/chromium_org/third_party/angle_dx11/src/libGLESv2/renderer/ |
VertexBuffer9.cpp | 92 int elementSize = attrib.typeSize(); 122 if (converter.identity && inputStride == elementSize) 474 unsigned int elementSize = formatConverter(attrib).outputElementSize; 478 return elementSize * count; 482 return elementSize * ((instances + attrib.mDivisor - 1) / attrib.mDivisor);
|
VertexBuffer11.cpp | 158 unsigned int elementSize = getVertexConversion(attrib).outputElementSize; 162 return elementSize * count; 166 return elementSize * ((instances + attrib.mDivisor - 1) / attrib.mDivisor);
|
/dalvik/vm/oo/ |
Array.cpp | 49 size_t elementSize = length << elementShift; 51 size_t totalSize = elementSize + headerSize; 52 if (elementSize >> elementShift != length || totalSize < elementSize) {
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
CameraMetadataNative.java | 384 int elementSize = getTypeSize(nativeType); 388 elementSize = marshaler.getNativeSize(nativeType); 391 if (elementSize != MetadataMarshalClass.NATIVE_SIZE_DYNAMIC) { 393 int arraySize = remaining / elementSize; 400 arraySize, elementSize, remaining, type));
|
/external/chromium_org/third_party/skia/src/animator/ |
SkDisplayable.cpp | 106 size_t elementSize = SkMemberInfo::GetSize(elementType); 107 size_t byteSize = elementSize * arrayCount;
|
/external/skia/src/animator/ |
SkDisplayable.cpp | 106 size_t elementSize = SkMemberInfo::GetSize(elementType); 107 size_t byteSize = elementSize * arrayCount;
|
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/ |
GLClientState.h | 63 unsigned int elementSize;
|
GLClientState.cpp | 94 m_states[location].elementSize = glSizeof(type) * size;
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
varray.c | 133 GLsizei elementSize; 254 elementSize = _mesa_sizeof_type(type) * size; 261 array->StrideB = stride ? stride : elementSize; 265 array->_ElementSize = elementSize; [all...] |
/external/mesa3d/src/mesa/main/ |
varray.c | 133 GLsizei elementSize; 254 elementSize = _mesa_sizeof_type(type) * size; 261 array->StrideB = stride ? stride : elementSize; 265 array->_ElementSize = elementSize; [all...] |
/sdk/emulator/opengl/shared/OpenglCodecCommon/ |
GLClientState.h | 63 unsigned int elementSize;
|
GLClientState.cpp | 94 m_states[location].elementSize = glSizeof(type) * size;
|
/frameworks/rs/driver/ |
rsdShader.cpp | 311 uint32_t elementSize = field->mHal.state.elementSizeBytes / sizeof(float); 349 ALOGV("Element size %u data=%p", elementSize, fd); 350 fd += elementSize;
|
rsdAllocation.cpp | [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
GLES20Canvas.java | [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
GLES11Canvas.java | [all...] |
GLES20Canvas.java | [all...] |