Home
last modified time | relevance | path

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

12

/third_party/flutter/flutter/packages/flutter/lib/src/painting/
Dbox_fit.dart82 /// that is being fitted, and the `outputSize` gives the size of the rectangle
93 /// The [FittedSizes.destination] size is the subpart of the `outputSize` in
95 /// [FittedSizes.destination] size is smaller than the `outputSize` then the
128 FittedSizes applyBoxFit(BoxFit fit, Size inputSize, Size outputSize) {
129 …if (inputSize.height <= 0.0 || inputSize.width <= 0.0 || outputSize.height <= 0.0 || outputSize.wi…
136 destinationSize = outputSize;
140 if (outputSize.width / outputSize.height > sourceSize.width / sourceSize.height)
141 …destinationSize = Size(sourceSize.width * outputSize.height / sourceSize.height, outputSize.height…
143 … destinationSize = Size(outputSize.width, sourceSize.height * outputSize.width / sourceSize.width);
146 if (outputSize.width / outputSize.height > inputSize.width / inputSize.height) {
[all …]
Ddecoration_image.dart386 Size outputSize = rect.size;
394 outputSize -= sliceBorder;
399 final FittedSizes fittedSizes = applyBoxFit(fit, inputSize / scale, outputSize);
403 outputSize += sliceBorder;
409 if (repeat != ImageRepeat.noRepeat && destinationSize == outputSize) {
421 final double halfWidthDelta = (outputSize.width - destinationSize.width) / 2.0;
422 final double halfHeightDelta = (outputSize.height - destinationSize.height) / 2.0;
/third_party/skia/third_party/externals/brotli/java/org/brotli/wrapper/dec/
DBrotliDecoderChannel.java60 int outputSize = decode(); in read() local
61 if (outputSize <= 0) { in read()
62 return result == 0 ? outputSize : result; in read()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DArabicShaping.java1869 int outputSize = sourceLength; in internalShape() local
1873 outputSize = shapeUnicode(temp, 0, sourceLength, destSize, 1); in internalShape()
1880 outputSize = shapeUnicode(temp, 0, sourceLength, destSize, 2); in internalShape()
1883 outputSize = shapeUnicode(temp, 0, sourceLength, destSize, 0); in internalShape()
1887 outputSize = handleTashkeelWithTatweel(temp,sourceLength); in internalShape()
1893 outputSize = deShapeUnicode(temp, 0, sourceLength, destSize); in internalShape()
1900 if (outputSize > destSize) { in internalShape()
1923 for (int i = 0; i < outputSize; ++i) { in internalShape()
1936 for (int i = 0; i < outputSize; ++i) { in internalShape()
1946 shapeToArabicDigitsWithContext(temp, 0, outputSize, digitBase, false); in internalShape()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DArabicShaping.java1821 int outputSize = sourceLength; in internalShape() local
1825 outputSize = shapeUnicode(temp, 0, sourceLength, destSize, 1); in internalShape()
1832 outputSize = shapeUnicode(temp, 0, sourceLength, destSize, 2); in internalShape()
1835 outputSize = shapeUnicode(temp, 0, sourceLength, destSize, 0); in internalShape()
1839 outputSize = handleTashkeelWithTatweel(temp,sourceLength); in internalShape()
1845 outputSize = deShapeUnicode(temp, 0, sourceLength, destSize); in internalShape()
1852 if (outputSize > destSize) { in internalShape()
1875 for (int i = 0; i < outputSize; ++i) { in internalShape()
1888 for (int i = 0; i < outputSize; ++i) { in internalShape()
1898 shapeToArabicDigitsWithContext(temp, 0, outputSize, digitBase, false); in internalShape()
[all …]
/third_party/node/lib/
D_http_outgoing.js98 this.outputSize = 0;
137 this.outputSize === 0 &&
151 return this.outputSize + (this.socket ? this.socket.writableLength : 0);
322 this.outputSize += header.length;
355 this.outputSize += data.length;
357 return this.outputSize < HIGH_WATER_MARK;
938 this._onPendingData(-this.outputSize);
939 this.outputSize = 0;
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dushape.cpp1498 int32_t outputSize, spacesCountl=0, spacesCountr=0; in u_shapeArabic() local
1541 outputSize=calculateSize(source,sourceLength,destCapacity,options); in u_shapeArabic()
1543 outputSize=sourceLength; in u_shapeArabic()
1546 if(outputSize>destCapacity) { in u_shapeArabic()
1549 return outputSize; in u_shapeArabic()
1556 if(sourceLength>outputSize) { in u_shapeArabic()
1557 outputSize=sourceLength; in u_shapeArabic()
1561 if(outputSize<=UPRV_LENGTHOF(buffer)) { in u_shapeArabic()
1562 outputSize=UPRV_LENGTHOF(buffer); in u_shapeArabic()
1565 tempbuffer = (UChar *)uprv_malloc(outputSize*U_SIZEOF_UCHAR); in u_shapeArabic()
[all …]
/third_party/icu/icu4c/source/common/
Dushape.cpp1498 int32_t outputSize, spacesCountl=0, spacesCountr=0; in u_shapeArabic() local
1541 outputSize=calculateSize(source,sourceLength,destCapacity,options); in u_shapeArabic()
1543 outputSize=sourceLength; in u_shapeArabic()
1546 if(outputSize>destCapacity) { in u_shapeArabic()
1549 return outputSize; in u_shapeArabic()
1556 if(sourceLength>outputSize) { in u_shapeArabic()
1557 outputSize=sourceLength; in u_shapeArabic()
1561 if(outputSize<=UPRV_LENGTHOF(buffer)) { in u_shapeArabic()
1562 outputSize=UPRV_LENGTHOF(buffer); in u_shapeArabic()
1565 tempbuffer = (UChar *)uprv_malloc(outputSize*U_SIZEOF_UCHAR); in u_shapeArabic()
[all …]
/third_party/node/deps/icu-small/source/common/
Dushape.cpp1498 int32_t outputSize, spacesCountl=0, spacesCountr=0; in u_shapeArabic() local
1541 outputSize=calculateSize(source,sourceLength,destCapacity,options); in u_shapeArabic()
1543 outputSize=sourceLength; in u_shapeArabic()
1546 if(outputSize>destCapacity) { in u_shapeArabic()
1549 return outputSize; in u_shapeArabic()
1556 if(sourceLength>outputSize) { in u_shapeArabic()
1557 outputSize=sourceLength; in u_shapeArabic()
1561 if(outputSize<=UPRV_LENGTHOF(buffer)) { in u_shapeArabic()
1562 outputSize=UPRV_LENGTHOF(buffer); in u_shapeArabic()
1565 tempbuffer = (UChar *)uprv_malloc(outputSize*U_SIZEOF_UCHAR); in u_shapeArabic()
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Dushape.cpp1498 int32_t outputSize, spacesCountl=0, spacesCountr=0; in u_shapeArabic() local
1541 outputSize=calculateSize(source,sourceLength,destCapacity,options); in u_shapeArabic()
1543 outputSize=sourceLength; in u_shapeArabic()
1546 if(outputSize>destCapacity) { in u_shapeArabic()
1549 return outputSize; in u_shapeArabic()
1556 if(sourceLength>outputSize) { in u_shapeArabic()
1557 outputSize=sourceLength; in u_shapeArabic()
1561 if(outputSize<=UPRV_LENGTHOF(buffer)) { in u_shapeArabic()
1562 outputSize=UPRV_LENGTHOF(buffer); in u_shapeArabic()
1565 tempbuffer = (UChar *)uprv_malloc(outputSize*U_SIZEOF_UCHAR); in u_shapeArabic()
[all …]
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/audio/
DNDKExtractor.cpp160 size_t outputSize; in decode() local
161 … uint8_t *outputBuffer = AMediaCodec_getOutputBuffer(codec, outputIndex, &outputSize); in decode()
/third_party/node/test/parallel/
Dtest-http-outgoing-buffer.js19 assert(msg.outputSize >= highwatermark);
Dtest-http-pipeline-socket-parser-typeerror.js37 size += res.outputSize;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/shaders/src/
DOverlayDraw.comp71 uvec2 outputSize;
174 if (any(greaterThanEqual(imageCoords, params.outputSize)))
267 imageCoords.x = params.outputSize.y - 1 - imageCoords.x;
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
DvktSpvAsmComputeShaderTestUtil.hpp105 size_t outputSize = m_numOutputElements * sizeof(deInt32); in getBytes() local
106 bytes.resize(outputSize, 0xffu); in getBytes()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmComputeShaderTestUtil.hpp105 size_t outputSize = m_numOutputElements * sizeof(deInt32); in getBytes() local
106 bytes.resize(outputSize, 0xffu); in getBytes()
/third_party/libsnd/src/ALAC/
Dalac_encoder.c964 uint32_t outputSize ; in alac_encode() local
1083 outputSize = BitBufferGetPosition (&bitstream) / 8 ; in alac_encode()
1088 *ioNumBytes = outputSize ; in alac_encode()
1092 p->mTotalBytesGenerated += outputSize ; in alac_encode()
1093 p->mMaxFrameBytes = MAX (p->mMaxFrameBytes, outputSize) ; in alac_encode()
/third_party/flutter/skia/third_party/externals/libwebp/swig/
Dlibwebp.swig365 private static int outputSize[] = { 0 };
374 rgb, UNUSED, UNUSED, outputSize, width, height, stride, quality_factor);
384 rgb, UNUSED, UNUSED, outputSize, width, height, stride);
/third_party/skia/third_party/externals/libwebp/swig/
Dlibwebp.swig368 private static int outputSize[] = { 0 };
377 rgb, UNUSED, UNUSED, outputSize, width, height, stride, quality_factor);
387 rgb, UNUSED, UNUSED, outputSize, width, height, stride);
/third_party/lz4/lib/
Dlz4.c1941 … int outputSize, /* If endOnInput==endOnInputSize, this value is `dstCapacity` */ in LZ4_decompress_generic() argument
1950 if ((src == NULL) || (outputSize < 0)) { return -1; } in LZ4_decompress_generic()
1956 BYTE* const oend = op + outputSize; in LZ4_decompress_generic()
1974 DEBUGLOG(5, "LZ4_decompress_generic (srcSize:%i, dstSize:%i)", srcSize, outputSize); in LZ4_decompress_generic()
1978 if (unlikely(outputSize==0)) { in LZ4_decompress_generic()
2688 int LZ4_uncompress (const char* source, char* dest, int outputSize) in LZ4_uncompress() argument
2690 return LZ4_decompress_fast(source, dest, outputSize); in LZ4_uncompress()
Dlz4.h773 …ss_fast() instead") LZ4LIB_API int LZ4_uncompress (const char* source, char* dest, int outputSize);
/third_party/skia/third_party/externals/tint/test/bug/tint/
D948.wgsl.expected.glsl11 vec2 outputSize;
D948.wgsl7 outputSize : vec2<f32>;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/shaders/gen/
DOverlayDraw.comp.00000000.inc227 // uvec2 outputSize;
315 // if(any(greaterThanEqual(imageCoords, params . outputSize)))
400 // imageCoords . x = params . outputSize . y - 1 - imageCoords . x;
DOverlayDraw.comp.00000001.inc227 // uvec2 outputSize;
315 // if(any(greaterThanEqual(imageCoords, params . outputSize)))
400 // imageCoords . x = params . outputSize . y - 1 - imageCoords . x;

12