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

12

/external/chromium_org/third_party/icu/source/common/
H A Dubidiwrt.c63 UChar *dest, int32_t destSize,
71 if(destSize<length) {
85 if(destSize<srcLength) {
98 int32_t remaining=destSize;
113 return destSize-remaining;
118 return destSize-remaining;
122 int32_t remaining=destSize;
143 return destSize-remaining;
156 UChar *dest, int32_t destSize,
189 if(destSize<srcLengt
62 doWriteForward(const UChar *src, int32_t srcLength, UChar *dest, int32_t destSize, uint16_t options, UErrorCode *pErrorCode) argument
155 doWriteReverse(const UChar *src, int32_t srcLength, UChar *dest, int32_t destSize, uint16_t options, UErrorCode *pErrorCode) argument
312 ubidi_writeReverse(const UChar *src, int32_t srcLength, UChar *dest, int32_t destSize, uint16_t options, UErrorCode *pErrorCode) argument
353 ubidi_writeReordered(UBiDi *pBiDi, UChar *dest, int32_t destSize, uint16_t options, UErrorCode *pErrorCode) argument
[all...]
H A Dushape.cpp604 *Function : This function calculates the destSize to be used in preflighting
605 * when the destSize is equal to 0
612 int32_t destSize,uint32_t options) {
618 destSize = sourceLength;
634 destSize--;
640 destSize--;
650 destSize++;
655 return destSize;
669 int32_t /*destSize*/, uint32_t /*options*/,
707 int32_t destSize,
611 calculateSize(const UChar *source, int32_t sourceLength, int32_t destSize,uint32_t options) argument
706 handleGeneratedSpaces(UChar *dest, int32_t sourceLength, int32_t destSize, uint32_t options, UErrorCode *pErrorCode,struct uShapeVariables shapeVars ) argument
881 expandCompositCharAtBegin(UChar *dest, int32_t sourceLength, int32_t destSize,UErrorCode *pErrorCode) argument
941 expandCompositCharAtEnd(UChar *dest, int32_t sourceLength, int32_t destSize,UErrorCode *pErrorCode) argument
1008 expandCompositCharAtNear(UChar *dest, int32_t sourceLength, int32_t destSize,UErrorCode *pErrorCode, int yehHamzaOption, int seenTailOption, int lamAlefOption, struct uShapeVariables shapeVars) argument
1061 expandCompositChar(UChar *dest, int32_t sourceLength, int32_t destSize,uint32_t options, UErrorCode *pErrorCode, int shapingMode,struct uShapeVariables shapeVars) argument
1174 shapeUnicode(UChar *dest, int32_t sourceLength, int32_t destSize,uint32_t options, UErrorCode *pErrorCode, int tashkeelFlag, struct uShapeVariables shapeVars) argument
1346 deShapeUnicode(UChar *dest, int32_t sourceLength, int32_t destSize,uint32_t options, UErrorCode *pErrorCode, struct uShapeVariables shapeVars) argument
[all...]
/external/icu/icu4c/source/common/
H A Dubidiwrt.c63 UChar *dest, int32_t destSize,
71 if(destSize<length) {
85 if(destSize<srcLength) {
98 int32_t remaining=destSize;
113 return destSize-remaining;
118 return destSize-remaining;
122 int32_t remaining=destSize;
143 return destSize-remaining;
156 UChar *dest, int32_t destSize,
189 if(destSize<srcLengt
62 doWriteForward(const UChar *src, int32_t srcLength, UChar *dest, int32_t destSize, uint16_t options, UErrorCode *pErrorCode) argument
155 doWriteReverse(const UChar *src, int32_t srcLength, UChar *dest, int32_t destSize, uint16_t options, UErrorCode *pErrorCode) argument
312 ubidi_writeReverse(const UChar *src, int32_t srcLength, UChar *dest, int32_t destSize, uint16_t options, UErrorCode *pErrorCode) argument
353 ubidi_writeReordered(UBiDi *pBiDi, UChar *dest, int32_t destSize, uint16_t options, UErrorCode *pErrorCode) argument
[all...]
H A Dushape.cpp628 *Function : This function calculates the destSize to be used in preflighting
629 * when the destSize is equal to 0
636 int32_t destSize,uint32_t options) {
642 destSize = sourceLength;
658 destSize--;
664 destSize--;
674 destSize++;
679 return destSize;
693 int32_t /*destSize*/, uint32_t /*options*/,
731 int32_t destSize,
635 calculateSize(const UChar *source, int32_t sourceLength, int32_t destSize,uint32_t options) argument
730 handleGeneratedSpaces(UChar *dest, int32_t sourceLength, int32_t destSize, uint32_t options, UErrorCode *pErrorCode,struct uShapeVariables shapeVars ) argument
905 expandCompositCharAtBegin(UChar *dest, int32_t sourceLength, int32_t destSize,UErrorCode *pErrorCode) argument
965 expandCompositCharAtEnd(UChar *dest, int32_t sourceLength, int32_t destSize,UErrorCode *pErrorCode) argument
1032 expandCompositCharAtNear(UChar *dest, int32_t sourceLength, int32_t destSize,UErrorCode *pErrorCode, int yehHamzaOption, int seenTailOption, int lamAlefOption, struct uShapeVariables shapeVars) argument
1085 expandCompositChar(UChar *dest, int32_t sourceLength, int32_t destSize,uint32_t options, UErrorCode *pErrorCode, int shapingMode,struct uShapeVariables shapeVars) argument
1198 shapeUnicode(UChar *dest, int32_t sourceLength, int32_t destSize,uint32_t options, UErrorCode *pErrorCode, int tashkeelFlag, struct uShapeVariables shapeVars) argument
1370 deShapeUnicode(UChar *dest, int32_t sourceLength, int32_t destSize,uint32_t options, UErrorCode *pErrorCode, struct uShapeVariables shapeVars) argument
[all...]
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/
H A DPixelTransfer11.cpp116 void PixelTransfer11::setBufferToTextureCopyParams(const gl::Box &destArea, const gl::Extents &destSize, GLenum internalFormat, argument
121 float texelCenterX = 0.5f / static_cast<float>(destSize.width - 1);
122 float texelCenterY = 0.5f / static_cast<float>(destSize.height - 1);
132 parametersOut->PositionOffset[0] = texelCenterX + (destArea.x / float(destSize.width)) * 2.0f - 1.0f;
133 parametersOut->PositionOffset[1] = texelCenterY + ((destSize.height - destArea.y - 1) / float(destSize.height)) * 2.0f - 1.0f;
134 parametersOut->PositionScale[0] = 2.0f / static_cast<float>(destSize.width);
135 parametersOut->PositionScale[1] = -2.0f / static_cast<float>(destSize.height);
141 gl::Extents destSize = destRenderTarget->getExtents(); local
143 if (destArea.x < 0 || destArea.x + destArea.width > destSize
[all...]
H A DBlit11.h37 ID3D11RenderTargetView *dest, const gl::Box &destArea, const gl::Extents &destSize,
41 ID3D11Resource *dest, unsigned int destSubresource, const gl::Box &destArea, const gl::Extents &destSize,
45 ID3D11DepthStencilView *dest, const gl::Box &destArea, const gl::Extents &destSize,
49 ID3D11Resource *dest, unsigned int destSubresource, const gl::Box &destArea, const gl::Extents &destSize,
63 ID3D11Resource *dest, unsigned int destSubresource, const gl::Box &destArea, const gl::Extents &destSize,
69 const gl::Box &destArea, const gl::Extents &destSize,
H A DBlit11.cpp110 const gl::Box &destArea, const gl::Extents &destSize,
114 *x1 = (destArea.x / float(destSize.width)) * 2.0f - 1.0f;
115 *y1 = ((destSize.height - destArea.y - destArea.height) / float(destSize.height)) * 2.0f - 1.0f;
116 *x2 = ((destArea.x + destArea.width) / float(destSize.width)) * 2.0f - 1.0f;
117 *y2 = ((destSize.height - destArea.y) / float(destSize.height)) * 2.0f - 1.0f;
126 const gl::Box &destArea, const gl::Extents &destSize,
131 GenerateVertexCoords(sourceArea, sourceSize, destArea, destSize, &x1, &y1, &x2, &y2, &u1, &v1, &u2, &v2);
146 const gl::Box &destArea, const gl::Extents &destSize,
109 GenerateVertexCoords(const gl::Box &sourceArea, const gl::Extents &sourceSize, const gl::Box &destArea, const gl::Extents &destSize, float *x1, float *y1, float *x2, float *y2, float *u1, float *v1, float *u2, float *v2) argument
125 Write2DVertices(const gl::Box &sourceArea, const gl::Extents &sourceSize, const gl::Box &destArea, const gl::Extents &destSize, void *outVertices, unsigned int *outStride, unsigned int *outVertexCount, D3D11_PRIMITIVE_TOPOLOGY *outTopology) argument
145 Write3DVertices(const gl::Box &sourceArea, const gl::Extents &sourceSize, const gl::Box &destArea, const gl::Extents &destSize, void *outVertices, unsigned int *outStride, unsigned int *outVertexCount, D3D11_PRIMITIVE_TOPOLOGY *outTopology) argument
509 copyTexture(ID3D11ShaderResourceView *source, const gl::Box &sourceArea, const gl::Extents &sourceSize, ID3D11RenderTargetView *dest, const gl::Box &destArea, const gl::Extents &destSize, const gl::Rectangle *scissor, GLenum destFormat, GLenum filter) argument
635 copyStencil(ID3D11Resource *source, unsigned int sourceSubresource, const gl::Box &sourceArea, const gl::Extents &sourceSize, ID3D11Resource *dest, unsigned int destSubresource, const gl::Box &destArea, const gl::Extents &destSize, const gl::Rectangle *scissor) argument
644 copyDepth(ID3D11ShaderResourceView *source, const gl::Box &sourceArea, const gl::Extents &sourceSize, ID3D11DepthStencilView *dest, const gl::Box &destArea, const gl::Extents &destSize, const gl::Rectangle *scissor) argument
741 copyDepthStencil(ID3D11Resource *source, unsigned int sourceSubresource, const gl::Box &sourceArea, const gl::Extents &sourceSize, ID3D11Resource *dest, unsigned int destSubresource, const gl::Box &destArea, const gl::Extents &destSize, const gl::Rectangle *scissor) argument
750 copyDepthStencil(ID3D11Resource *source, unsigned int sourceSubresource, const gl::Box &sourceArea, const gl::Extents &sourceSize, ID3D11Resource *dest, unsigned int destSubresource, const gl::Box &destArea, const gl::Extents &destSize, const gl::Rectangle *scissor, bool stencilOnly) argument
[all...]
H A DPixelTransfer11.h65 static void setBufferToTextureCopyParams(const gl::Box &destArea, const gl::Extents &destSize, GLenum internalFormat,
H A DRenderer11.cpp1994 gl::Extents destSize(destRenderTarget->getWidth(), destRenderTarget->getHeight(), 1);
1998 bool ret = mBlit->copyTexture(source, sourceArea, sourceSize, dest, destArea, destSize, NULL,
2056 gl::Extents destSize(destRenderTarget->getWidth(), destRenderTarget->getHeight(), 1);
2060 bool ret = mBlit->copyTexture(source, sourceArea, sourceSize, dest, destArea, destSize, NULL,
2118 gl::Extents destSize(destRenderTarget->getWidth(), destRenderTarget->getHeight(), 1);
2122 bool ret = mBlit->copyTexture(source, sourceArea, sourceSize, dest, destArea, destSize, NULL,
2182 gl::Extents destSize(destRenderTarget->getWidth(), destRenderTarget->getHeight(), 1);
2186 bool ret = mBlit->copyTexture(source, sourceArea, sourceSize, dest, destArea, destSize, NULL,
H A DTextureStorage11.cpp379 gl::Extents destSize(dest->getWidth(), dest->getHeight(), dest->getDepth());
383 blitter->copyTexture(sourceSRV, sourceArea, sourceSize, destRTV, destArea, destSize, NULL,
/external/chromium_org/third_party/angle/src/compiler/translator/
H A DVariablePacker.h33 bool searchColumn(int column, int numRows, int* destRow, int* destSize);
H A DVariablePacker.cpp100 bool VariablePacker::searchColumn(int column, int numRows, int* destRow, int* destSize) argument
145 if (destSize) {
146 *destSize = smallestGoodSize;
/external/chromium_org/chrome/browser/resources/chromeos/
H A Duser_images_grid.js500 * @param {{width: number, height: number}} destSize Capture size.
503 captureFrame_: function(video, ctx, destSize) {
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
[all...]
/external/lzma/C/
H A DLzma2Enc.c310 static SRes MtCallbackImp_Code(void *pp, unsigned index, Byte *dest, size_t *destSize, argument
319 size_t destLim = *destSize;
320 *destSize = 0;
331 size_t packSize = destLim - *destSize;
332 res = Lzma2EncInt_EncodeSubblock(p, dest + *destSize, &packSize, NULL);
335 *destSize += packSize;
343 if (MtProgress_Set(&mainEncoder->mtCoder.mtProgress, index, p->srcPos, *destSize) != SZ_OK)
355 if (*destSize == destLim)
357 dest[(*destSize)++] = 0;
H A DMtCoder.h69 SRes (*Code)(void *p, unsigned index, Byte *dest, size_t *destSize,
H A DMtCoder.c204 size_t destSize = p->outBufSize; local
212 p->outBuf, &destSize, p->inBuf, size, *stop));
220 if (p->mtCoder->outStream->Write(p->mtCoder->outStream, p->outBuf, destSize) != destSize)
/external/chromium_org/third_party/icu/source/common/unicode/
H A Dushape.h78 * <code>destSize</code> is 0. The source and destination must not
81 * @param destSize The size (capacity) of the destination buffer in UChars.
82 * If <code>destSize</code> is 0, then no output is produced,
101 UChar *dest, int32_t destSize,
H A Dubidi.h2075 * characters; see the description of the <code>destSize</code>
2088 * The source text and <code>dest[destSize]</code>
2091 * @param destSize The size of the <code>dest</code> buffer,
2127 UChar *dest, int32_t destSize,
2157 * <code>src[srcLength]</code> and <code>dest[destSize]</code>
2160 * @param destSize The size of the <code>dest</code> buffer,
2179 UChar *dest, int32_t destSize,
/external/icu/icu4c/source/common/unicode/
H A Dushape.h78 * <code>destSize</code> is 0. The source and destination must not
81 * @param destSize The size (capacity) of the destination buffer in UChars.
82 * If <code>destSize</code> is 0, then no output is produced,
101 UChar *dest, int32_t destSize,
H A Dubidi.h2075 * characters; see the description of the <code>destSize</code>
2088 * The source text and <code>dest[destSize]</code>
2091 * @param destSize The size of the <code>dest</code> buffer,
2127 UChar *dest, int32_t destSize,
2157 * <code>src[srcLength]</code> and <code>dest[destSize]</code>
2160 * @param destSize The size of the <code>dest</code> buffer,
2179 UChar *dest, int32_t destSize,
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dcbiditst.c733 int32_t destSize = srcSize*2; local
746 destSize = ubidi_writeReordered(bidi,dest,0,UBIDI_DO_MIRRORING,&ec);
749 }else if(destSize!=srcSize){
750 log_err("Pre-flighting did not give expected size: Expected: %d. Got: %d \n",srcSize,destSize);
754 destSize=ubidi_writeReordered(bidi,dest,destSize+1,UBIDI_DO_MIRRORING,&ec);
755 u16ToPseudo(destSize,dest,chars);
756 if(destSize!=srcSize){
757 log_err("ubidi_writeReordered() destSize and srcSize do not match\n");
768 int32_t destSize local
802 int32_t destSize = srcSize*2; local
833 int32_t destSize = srcSize*2; local
867 int32_t destSize = srcSize*2; local
995 int32_t destSize = srcSize*2; local
[all...]
H A Dcbiapts.c85 int32_t destSize; local
106 destSize = (numUChars+1) * sizeof(UChar) + sizeof(struct StringStruct);
107 dest = (StringStruct *)malloc(destSize);
/external/icu/icu4c/source/test/cintltst/
H A Dcbiditst.c735 int32_t destSize = srcSize*2; local
748 destSize = ubidi_writeReordered(bidi,dest,0,UBIDI_DO_MIRRORING,&ec);
751 }else if(destSize!=srcSize){
752 log_err("Pre-flighting did not give expected size: Expected: %d. Got: %d \n",srcSize,destSize);
756 destSize=ubidi_writeReordered(bidi,dest,destSize+1,UBIDI_DO_MIRRORING,&ec);
757 u16ToPseudo(destSize,dest,chars);
758 if(destSize!=srcSize){
759 log_err("ubidi_writeReordered() destSize and srcSize do not match\n");
770 int32_t destSize local
804 int32_t destSize = srcSize*2; local
835 int32_t destSize = srcSize*2; local
869 int32_t destSize = srcSize*2; local
997 int32_t destSize = srcSize*2; local
[all...]
H A Dcbiapts.c85 int32_t destSize; local
106 destSize = (numUChars+1) * sizeof(UChar) + sizeof(struct StringStruct);
107 dest = (StringStruct *)malloc(destSize);
/external/llvm/lib/Transforms/Scalar/
H A DMemCpyOptimizer.cpp628 uint64_t destSize = DL->getTypeAllocSize(A->getAllocatedType()) *
631 if (destSize < srcSize)
647 uint64_t destSize = DL->getTypeAllocSize(StructTy); local
648 if (destSize < srcSize)

Completed in 435 milliseconds

12