Home
last modified time | relevance | path

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

/external/chromium_org/third_party/icu/source/common/
Dubidiwrt.c63 UChar *dest, int32_t destSize, in doWriteForward() argument
71 if(destSize<length) { in doWriteForward()
85 if(destSize<srcLength) { in doWriteForward()
98 int32_t remaining=destSize; in doWriteForward()
113 return destSize-remaining; in doWriteForward()
118 return destSize-remaining; in doWriteForward()
122 int32_t remaining=destSize; in doWriteForward()
143 return destSize-remaining; in doWriteForward()
156 UChar *dest, int32_t destSize, in doWriteReverse() argument
189 if(destSize<srcLength) { in doWriteReverse()
[all …]
Dushape.cpp612 int32_t destSize,uint32_t options) { in calculateSize() argument
618 destSize = sourceLength; in calculateSize()
634 destSize--; in calculateSize()
640 destSize--; in calculateSize()
650 destSize++; in calculateSize()
655 return destSize; in calculateSize()
707 int32_t destSize, in handleGeneratedSpaces() argument
759 destSize = u_strlen(dest); in handleGeneratedSpaces()
779 destSize = sourceLength; in handleGeneratedSpaces()
817 destSize = sourceLength; in handleGeneratedSpaces()
[all …]
/external/icu/icu4c/source/common/
Dubidiwrt.c63 UChar *dest, int32_t destSize, in doWriteForward() argument
71 if(destSize<length) { in doWriteForward()
85 if(destSize<srcLength) { in doWriteForward()
98 int32_t remaining=destSize; in doWriteForward()
113 return destSize-remaining; in doWriteForward()
118 return destSize-remaining; in doWriteForward()
122 int32_t remaining=destSize; in doWriteForward()
143 return destSize-remaining; in doWriteForward()
156 UChar *dest, int32_t destSize, in doWriteReverse() argument
189 if(destSize<srcLength) { in doWriteReverse()
[all …]
Dushape.cpp636 int32_t destSize,uint32_t options) { in calculateSize() argument
642 destSize = sourceLength; in calculateSize()
658 destSize--; in calculateSize()
664 destSize--; in calculateSize()
674 destSize++; in calculateSize()
679 return destSize; in calculateSize()
731 int32_t destSize, in handleGeneratedSpaces() argument
783 destSize = u_strlen(dest); in handleGeneratedSpaces()
803 destSize = sourceLength; in handleGeneratedSpaces()
841 destSize = sourceLength; in handleGeneratedSpaces()
[all …]
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/
DPixelTransfer11.cpp116 …etBufferToTextureCopyParams(const gl::Box &destArea, const gl::Extents &destSize, GLenum internalF… in setBufferToTextureCopyParams() argument
121 float texelCenterX = 0.5f / static_cast<float>(destSize.width - 1); in setBufferToTextureCopyParams()
122 float texelCenterY = 0.5f / static_cast<float>(destSize.height - 1); in setBufferToTextureCopyParams()
132 …parametersOut->PositionOffset[0] = texelCenterX + (destArea.x / float(destSize.width)) * 2.0f -… in setBufferToTextureCopyParams()
133 …metersOut->PositionOffset[1] = texelCenterY + ((destSize.height - destArea.y - 1) / float(destS… in setBufferToTextureCopyParams()
134 parametersOut->PositionScale[0] = 2.0f / static_cast<float>(destSize.width); in setBufferToTextureCopyParams()
135 parametersOut->PositionScale[1] = -2.0f / static_cast<float>(destSize.height); in setBufferToTextureCopyParams()
141 gl::Extents destSize = destRenderTarget->getExtents(); in copyBufferToTexture() local
143 if (destArea.x < 0 || destArea.x + destArea.width > destSize.width || in copyBufferToTexture()
144 destArea.y < 0 || destArea.y + destArea.height > destSize.height || in copyBufferToTexture()
[all …]
DBlit11.h37 … ID3D11RenderTargetView *dest, const gl::Box &destArea, const gl::Extents &destSize,
41 …Resource *dest, unsigned int destSubresource, const gl::Box &destArea, const gl::Extents &destSize,
45 … ID3D11DepthStencilView *dest, const gl::Box &destArea, const gl::Extents &destSize,
49 …Resource *dest, unsigned int destSubresource, const gl::Box &destArea, const gl::Extents &destSize,
63 …Resource *dest, unsigned int destSubresource, const gl::Box &destArea, const gl::Extents &destSize,
69 const gl::Box &destArea, const gl::Extents &destSize,
DBlit11.cpp110 const gl::Box &destArea, const gl::Extents &destSize, in GenerateVertexCoords() argument
114 *x1 = (destArea.x / float(destSize.width)) * 2.0f - 1.0f; in GenerateVertexCoords()
115 *y1 = ((destSize.height - destArea.y - destArea.height) / float(destSize.height)) * 2.0f - 1.0f; in GenerateVertexCoords()
116 *x2 = ((destArea.x + destArea.width) / float(destSize.width)) * 2.0f - 1.0f; in GenerateVertexCoords()
117 *y2 = ((destSize.height - destArea.y) / float(destSize.height)) * 2.0f - 1.0f; in GenerateVertexCoords()
126 const gl::Box &destArea, const gl::Extents &destSize, in Write2DVertices() argument
131 …GenerateVertexCoords(sourceArea, sourceSize, destArea, destSize, &x1, &y1, &x2, &y2, &u1, &v1, &u2… in Write2DVertices()
146 const gl::Box &destArea, const gl::Extents &destSize, in Write3DVertices() argument
150 ASSERT(sourceSize.depth > 0 && destSize.depth > 0); in Write3DVertices()
153 …GenerateVertexCoords(sourceArea, sourceSize, destArea, destSize, &x1, &y1, &x2, &y2, &u1, &v1, &u2… in Write3DVertices()
[all …]
DPixelTransfer11.h65 …static void setBufferToTextureCopyParams(const gl::Box &destArea, const gl::Extents &destSize, GLe…
DRenderer11.cpp1994 gl::Extents destSize(destRenderTarget->getWidth(), destRenderTarget->getHeight(), 1); in copyImage2D() local
1998 bool ret = mBlit->copyTexture(source, sourceArea, sourceSize, dest, destArea, destSize, NULL, in copyImage2D()
2056 gl::Extents destSize(destRenderTarget->getWidth(), destRenderTarget->getHeight(), 1); in copyImageCube() local
2060 bool ret = mBlit->copyTexture(source, sourceArea, sourceSize, dest, destArea, destSize, NULL, in copyImageCube()
2118 gl::Extents destSize(destRenderTarget->getWidth(), destRenderTarget->getHeight(), 1); in copyImage3D() local
2122 bool ret = mBlit->copyTexture(source, sourceArea, sourceSize, dest, destArea, destSize, NULL, in copyImage3D()
2182 gl::Extents destSize(destRenderTarget->getWidth(), destRenderTarget->getHeight(), 1); in copyImage2DArray() local
2186 bool ret = mBlit->copyTexture(source, sourceArea, sourceSize, dest, destArea, destSize, NULL, in copyImage2DArray()
DTextureStorage11.cpp379 gl::Extents destSize(dest->getWidth(), dest->getHeight(), dest->getDepth()); in generateMipmapLayer() local
383 … blitter->copyTexture(sourceSRV, sourceArea, sourceSize, destRTV, destArea, destSize, NULL, in generateMipmapLayer()
/external/chromium_org/chrome/browser/resources/chromeos/
Duser_images_grid.js503 captureFrame_: function(video, ctx, destSize) { argument
506 if (width < destSize.width || height < destSize.height) {
511 if (width / destSize.width > height / destSize.height) {
514 src.width = height * destSize.width / destSize.height;
518 src.height = width * destSize.height / destSize.width;
523 0, 0, destSize.width, destSize.height);
/external/lzma/C/
DLzma2Enc.c310 static SRes MtCallbackImp_Code(void *pp, unsigned index, Byte *dest, size_t *destSize, in MtCallbackImp_Code() argument
319 size_t destLim = *destSize; in MtCallbackImp_Code()
320 *destSize = 0; in MtCallbackImp_Code()
331 size_t packSize = destLim - *destSize; in MtCallbackImp_Code()
332 res = Lzma2EncInt_EncodeSubblock(p, dest + *destSize, &packSize, NULL); in MtCallbackImp_Code()
335 *destSize += packSize; in MtCallbackImp_Code()
343 if (MtProgress_Set(&mainEncoder->mtCoder.mtProgress, index, p->srcPos, *destSize) != SZ_OK) in MtCallbackImp_Code()
355 if (*destSize == destLim) in MtCallbackImp_Code()
357 dest[(*destSize)++] = 0; in MtCallbackImp_Code()
DMtCoder.c204 size_t destSize = p->outBufSize; in MtThread_Process() local
212 p->outBuf, &destSize, p->inBuf, size, *stop)); in MtThread_Process()
220 if (p->mtCoder->outStream->Write(p->mtCoder->outStream, p->outBuf, destSize) != destSize) in MtThread_Process()
DMtCoder.h69 SRes (*Code)(void *p, unsigned index, Byte *dest, size_t *destSize,
/external/chromium_org/third_party/icu/source/test/cintltst/
Dcbiditst.c733 int32_t destSize = srcSize*2; in testReorder() local
746 destSize = ubidi_writeReordered(bidi,dest,0,UBIDI_DO_MIRRORING,&ec); in testReorder()
749 }else if(destSize!=srcSize){ in testReorder()
750 … log_err("Pre-flighting did not give expected size: Expected: %d. Got: %d \n",srcSize,destSize); in testReorder()
754 destSize=ubidi_writeReordered(bidi,dest,destSize+1,UBIDI_DO_MIRRORING,&ec); in testReorder()
755 u16ToPseudo(destSize,dest,chars); in testReorder()
756 if(destSize!=srcSize){ in testReorder()
768 int32_t destSize = srcSize*2; in testReorder() local
781 destSize = ubidi_writeReordered(bidi,dest,0,UBIDI_DO_MIRRORING+UBIDI_OUTPUT_REVERSE,&ec); in testReorder()
784 }else if(destSize!=srcSize){ in testReorder()
[all …]
Dcbiapts.c85 int32_t destSize; in toUChar() local
106 destSize = (numUChars+1) * sizeof(UChar) + sizeof(struct StringStruct); in toUChar()
107 dest = (StringStruct *)malloc(destSize); in toUChar()
/external/icu/icu4c/source/test/cintltst/
Dcbiditst.c735 int32_t destSize = srcSize*2; in testReorder() local
748 destSize = ubidi_writeReordered(bidi,dest,0,UBIDI_DO_MIRRORING,&ec); in testReorder()
751 }else if(destSize!=srcSize){ in testReorder()
752 … log_err("Pre-flighting did not give expected size: Expected: %d. Got: %d \n",srcSize,destSize); in testReorder()
756 destSize=ubidi_writeReordered(bidi,dest,destSize+1,UBIDI_DO_MIRRORING,&ec); in testReorder()
757 u16ToPseudo(destSize,dest,chars); in testReorder()
758 if(destSize!=srcSize){ in testReorder()
770 int32_t destSize = srcSize*2; in testReorder() local
783 destSize = ubidi_writeReordered(bidi,dest,0,UBIDI_DO_MIRRORING+UBIDI_OUTPUT_REVERSE,&ec); in testReorder()
786 }else if(destSize!=srcSize){ in testReorder()
[all …]
Dcbiapts.c85 int32_t destSize; in toUChar() local
106 destSize = (numUChars+1) * sizeof(UChar) + sizeof(struct StringStruct); in toUChar()
107 dest = (StringStruct *)malloc(destSize); in toUChar()
/external/chromium_org/third_party/angle/src/compiler/translator/
DVariablePacker.cpp100 bool VariablePacker::searchColumn(int column, int numRows, int* destRow, int* destSize) in searchColumn() argument
145 if (destSize) { in searchColumn()
146 *destSize = smallestGoodSize; in searchColumn()
DVariablePacker.h33 bool searchColumn(int column, int numRows, int* destRow, int* destSize);
/external/icu/icu4c/source/common/unicode/
Dushape.h101 UChar *dest, int32_t destSize,
Dubidi.h2127 UChar *dest, int32_t destSize,
2179 UChar *dest, int32_t destSize,
/external/chromium_org/third_party/icu/source/common/unicode/
Dushape.h101 UChar *dest, int32_t destSize,
Dubidi.h2127 UChar *dest, int32_t destSize,
2179 UChar *dest, int32_t destSize,
/external/llvm/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp628 uint64_t destSize = DL->getTypeAllocSize(A->getAllocatedType()) * in performCallSlotOptzn() local
631 if (destSize < srcSize) in performCallSlotOptzn()
647 uint64_t destSize = DL->getTypeAllocSize(StructTy); in performCallSlotOptzn() local
648 if (destSize < srcSize) in performCallSlotOptzn()