/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/ |
D | Padder.java | 54 int targetWidth; field in Padder 57 public Padder(String paddingString, int targetWidth, PadPosition position) { in Padder() argument 60 this.targetWidth = targetWidth; in Padder() 68 public static Padder codePoints(int cp, int targetWidth, PadPosition position) { in codePoints() argument 70 if (targetWidth >= 0) { in codePoints() 72 return new Padder(paddingString, targetWidth, position); in codePoints() 85 return targetWidth > 0; in isValid() 95 int requiredPadding = targetWidth - modLength - string.codePointCount(); in padAndApply()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | Padder.java | 47 int targetWidth; field in Padder 50 public Padder(String paddingString, int targetWidth, PadPosition position) { in Padder() argument 53 this.targetWidth = targetWidth; in Padder() 61 public static Padder codePoints(int cp, int targetWidth, PadPosition position) { in codePoints() argument 63 if (targetWidth >= 0) { in codePoints() 65 return new Padder(paddingString, targetWidth, position); in codePoints() 78 return targetWidth > 0; in isValid() 88 int requiredPadding = targetWidth - modLength - string.codePointCount(); in padAndApply()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fColorClearTest.cpp | 106 const int targetWidth = renderTarget.getWidth(); in iterate() local 108 const int numPixels = targetWidth * targetHeight; in iterate() 112 Surface refImage (targetWidth, targetHeight); in iterate() 113 Surface resImage (targetWidth, targetHeight); in iterate() 114 Surface diffImage (targetWidth, targetHeight); in iterate() 132 clearWidth = targetWidth; in iterate() 137 clearX = (rnd.getUint32() % (2*targetWidth)) - targetWidth; in iterate() 139 clearWidth = (rnd.getUint32() % targetWidth); in iterate() 184 while (x < targetWidth) in iterate() 188 int spanLength = (targetWidth - x); in iterate() [all …]
|
D | es2fPrerequisiteTests.cpp | 178 int targetWidth = renderTarget.getWidth(); in iterate() local 194 imageWidth = targetWidth; in iterate() 201 imageWidth = targetWidth / 2; in iterate() 206 x = targetWidth / 2; in iterate() 208 imageWidth = targetWidth - x; in iterate() 212 x = deRandom_getUint32(&rnd) % (targetWidth - 1); in iterate() 214 imageWidth = 1 + (deRandom_getUint32(&rnd) % (targetWidth - x - 1)); in iterate()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fColorClearTest.cpp | 106 const int targetWidth = renderTarget.getWidth(); in iterate() local 108 const int numPixels = targetWidth * targetHeight; in iterate() 112 Surface refImage (targetWidth, targetHeight); in iterate() 113 Surface resImage (targetWidth, targetHeight); in iterate() 114 Surface diffImage (targetWidth, targetHeight); in iterate() 132 clearWidth = targetWidth; in iterate() 137 clearX = (rnd.getUint32() % (2*targetWidth)) - targetWidth; in iterate() 139 clearWidth = (rnd.getUint32() % targetWidth); in iterate() 184 while (x < targetWidth) in iterate() 188 int spanLength = (targetWidth - x); in iterate() [all …]
|
D | es3fPrerequisiteTests.cpp | 178 int targetWidth = renderTarget.getWidth(); in iterate() local 194 imageWidth = targetWidth; in iterate() 201 imageWidth = targetWidth / 2; in iterate() 206 x = targetWidth / 2; in iterate() 208 imageWidth = targetWidth - x; in iterate() 212 x = deRandom_getUint32(&rnd) % (targetWidth - 1); in iterate() 214 imageWidth = 1 + (deRandom_getUint32(&rnd) % (targetWidth - x - 1)); in iterate()
|
/third_party/flutter/engine/flutter/testing/dart/ |
D | image_resize_test.dart | 36 final Codec codec = await instantiateImageCodec(bytes, targetWidth: 1); 46 final Codec codec = await instantiateImageCodec(bytes, targetWidth: 10); 57 await instantiateImageCodec(bytes, targetWidth: 10, targetHeight: 1); 81 final Image resized = await blackSquare.resize(targetWidth: 1); 88 final Image resized = await blackSquare.resize(targetWidth: 10); 96 await blackSquare.resize(targetHeight: 1, targetWidth: 10); 111 Future<Image> resize({int targetWidth, int targetHeight}) async { 115 targetHeight: targetHeight, targetWidth: targetWidth);
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsInteractionTestUtil.cpp | 54 …rState (de::Random& rnd, RenderState& state, glu::ApiType apiType, int targetWidth, int targetHeig… in computeRandomRenderState() argument 157 int minScissorW = deCeilFloatToInt32(minScissorSize * (float)targetWidth); in computeRandomRenderState() 159 int maxScissorW = targetWidth + 2*maxScissorOutOfBounds; in computeRandomRenderState() 164 int scissorX = rnd.getInt(-maxScissorOutOfBounds, targetWidth+maxScissorOutOfBounds-scissorW); in computeRandomRenderState() 220 void computeRandomQuad (de::Random& rnd, gls::FragmentOpUtil::IntegerQuad& quad, int targetWidth, i… in computeRandomQuad() argument 230 int minW = deCeilFloatToInt32(minSize * (float)targetWidth); in computeRandomQuad() 232 int maxW = targetWidth + 2*maxOutOfBounds; in computeRandomQuad() 237 int x = rnd.getInt(-maxOutOfBounds, targetWidth+maxOutOfBounds-width); in computeRandomQuad()
|
D | glsInteractionTestUtil.hpp | 121 …State (de::Random& rnd, RenderState& state, glu::ApiType apiType, int targetWidth, int targetHeig… 122 …mQuad (de::Random& rnd, gls::FragmentOpUtil::IntegerQuad& quad, int targetWidth, int targetHeig…
|
/third_party/node/deps/icu-small/source/i18n/ |
D | number_padding.cpp | 43 Padder Padder::codePoints(UChar32 cp, int32_t targetWidth, UNumberFormatPadPosition position) { in codePoints() argument 45 if (targetWidth >= 0) { in codePoints() 46 return {cp, targetWidth, position}; in codePoints()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | number_padding.cpp | 43 Padder Padder::codePoints(UChar32 cp, int32_t targetWidth, UNumberFormatPadPosition position) { in codePoints() argument 45 if (targetWidth >= 0) { in codePoints() 46 return {cp, targetWidth, position}; in codePoints()
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/ |
D | number_padding.cpp | 43 Padder Padder::codePoints(UChar32 cp, int32_t targetWidth, UNumberFormatPadPosition position) { in codePoints() argument 45 if (targetWidth >= 0) { in codePoints() 46 return {cp, targetWidth, position}; in codePoints()
|
D | measfmt.cpp | 363 UMeasureFormatWidth targetWidth = widthFromAlias(value, errorCode); in consumeAlias() local 364 if (targetWidth == UMEASFMT_WIDTH_COUNT) { in consumeAlias() 370 if (cacheData.widthFallback[targetWidth] != UMEASFMT_WIDTH_COUNT) { in consumeAlias() 374 cacheData.widthFallback[sourceWidth] = targetWidth; in consumeAlias()
|
/third_party/icu/icu4c/source/i18n/ |
D | number_padding.cpp | 43 Padder Padder::codePoints(UChar32 cp, int32_t targetWidth, UNumberFormatPadPosition position) { in codePoints() argument 45 if (targetWidth >= 0) { in codePoints() 46 return {cp, targetWidth, position}; in codePoints()
|
/third_party/vk-gl-cts/modules/egl/ |
D | teglNativeCoordMappingTests.cpp | 229 void render (const glw::Functions& gl, deUint32 program, int targetWidth, int targetHeight, int x, … in render() argument 233 toGLCoord(targetWidth, targetHeight, x, y), in render() 234 toGLCoord(targetWidth, targetHeight, x+width, y), in render() 235 toGLCoord(targetWidth, targetHeight, x+width, y+height), in render() 237 toGLCoord(targetWidth, targetHeight, x+width, y+height), in render() 238 toGLCoord(targetWidth, targetHeight, x, y+height), in render() 239 toGLCoord(targetWidth, targetHeight, x, y) in render() 250 gl.viewport(0, 0, targetWidth, targetHeight); in render()
|
/third_party/flutter/engine/flutter/lib/ui/painting/ |
D | codec.cc | 191 const int targetWidth = in InstantiateImageCodec() local 215 if (targetWidth != kDoNotResizeDimension) { in InstantiateImageCodec() 216 descriptor.target_width = targetWidth; in InstantiateImageCodec()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
D | vktImageMismatchedWriteOpTests.cpp | 427 bool comparePixels (const tcu::Vector<T,N>& res, const tcu::Vector<T,N>& ref, const int targetWidth… in comparePixels() argument 431 for (int i = 0; ok && i < targetWidth; ++i) 958 const int targetWidth = getNumUsedChannels(texFormat.order); in compare() local 969 …doContinue = ut::comparePixels(result.getPixelInt(x,y), reference.getPixelInt(x,y), targetWidth ); in compare() 972 …oContinue = ut::comparePixels(result.getPixelUint(x,y), reference.getPixelUint(x,y), targetWidth ); in compare() 975 …ue = ut::comparePixels(result.getPixel(x,y), reference.getPixel(x,y), targetWidth, 0.0005f); in compare()
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl4cShaderViewportLayerArrayTests.cpp | 273 const GLfloat targetWidth = (GLfloat)renderTarget.getWidth(); in createMaxViewports() local 290 if (x > (targetWidth - viewportWidth)) in createMaxViewports()
|
/third_party/flutter/flutter/packages/flutter/lib/src/rendering/ |
D | table.dart | 862 double targetWidth; 864 targetWidth = maxWidthConstraint; 866 targetWidth = minWidthConstraint; 868 if (tableWidth < targetWidth) { 869 final double remainingWidth = targetWidth - unflexedTableWidth; 884 assert(tableWidth + precisionErrorTolerance >= targetWidth);
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcCompressedFormatTests.cpp | 1242 const auto targetWidth = image[0].width / compressedInfo->blockSize[0]; in __anon399be5113e02() local 1248 …<< " to " << getTextureFormatStr(uncompressedFormat).toString() << " " << targetWidth << "x" << ta… in __anon399be5113e02() 1252 …gl.texImage2D(GL_TEXTURE_2D, 0, uncompressedFormat, targetWidth, targetHeight, 0, unsizedInfo.form… in __anon399be5113e02()
|
/third_party/flutter/skia/third_party/externals/icu/source/i18n/unicode/ |
D | numberformatter.h | 1351 static Padder codePoints(UChar32 cp, int32_t targetWidth, UNumberFormatPadPosition position);
|
/third_party/skia/third_party/externals/icu/source/i18n/unicode/ |
D | numberformatter.h | 1425 static Padder codePoints(UChar32 cp, int32_t targetWidth, UNumberFormatPadPosition position);
|
/third_party/icu/icu4c/source/i18n/unicode/ |
D | numberformatter.h | 1425 static Padder codePoints(UChar32 cp, int32_t targetWidth, UNumberFormatPadPosition position);
|
/third_party/node/deps/icu-small/source/i18n/unicode/ |
D | numberformatter.h | 1425 static Padder codePoints(UChar32 cp, int32_t targetWidth, UNumberFormatPadPosition position);
|
/third_party/flutter/engine/flutter/lib/ui/ |
D | painting.dart | 1656 /// The [targetWidth] and [targetHeight] arguments specify the size of the output 1666 int targetWidth, 1670 …(_Callback<Codec> callback) => _instantiateImageCodec(list, callback, null, targetWidth ?? _kDoNot… 1676 /// The [targetWidth] and [targetHeight] arguments specify the size of the output 1678 /// If [targetWidth] and [targetHeight] are not equal to the intrinsic dimensions of the 1685 …c(Uint8List list, _Callback<Codec> callback, _ImageInfo imageInfo, int targetWidth, int targetHeig… 1711 /// The [targetWidth] and [targetHeight] arguments specify the size of the output 1723 {int rowBytes, int targetWidth, int targetHeight} 1727 …(_Callback<Codec> callback) => _instantiateImageCodec(pixels, callback, imageInfo, targetWidth ?? …
|