Home
last modified time | relevance | path

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

123

/third_party/node/deps/npm/lib/utils/
Dformat-search-stream.js81 const maxWidth = process.stdout.isTTY ? process.stdout.getWindowSize()[0] : Infinity
90 name: { minWidth: 25, maxWidth: 25, truncate: false, truncateMarker: '' }, property
91 description: { minWidth: 20, maxWidth: 20 }, property
92 author: { minWidth: 15, maxWidth: 15 }, property
93 date: { maxWidth: 11 }, property
94 version: { minWidth: 8, maxWidth: 8 }, property
95 keywords: { maxWidth: Infinity }, property
98 ).split('\n').map(line => line.slice(0, maxWidth)).join('\n')
/third_party/vk-gl-cts/modules/egl/
DteglMemoryStressTests.cpp72 …ig config, int seed, ObjectType types, int minWidth, int minHeight, int maxWidth, int maxHeight, b…
105 …ig config, int seed, ObjectType types, int minWidth, int minHeight, int maxWidth, int maxHeight, b… in MemoryAllocator() argument
116 , m_maxWidth (maxWidth) in MemoryAllocator()
322 int maxWidth; member
401 …config, m_seed, m_spec.types, m_spec.minWidth, m_spec.minHeight, m_spec.maxWidth, m_spec.maxHeight… in iterate()
481 spec.maxWidth = 256; in init()
495 spec.maxWidth = 256; in init()
509 spec.maxWidth = 1024; in init()
523 spec.maxWidth = 1024; in init()
537 spec.maxWidth = 1024; in init()
[all …]
/third_party/skia/modules/skparagraph/src/
DTextWrapper.cpp14 LineBreakerWithLittleRounding(SkScalar maxWidth, bool applyRoundingHack) in LineBreakerWithLittleRounding()
15 : fLower(maxWidth - 0.25f) in LineBreakerWithLittleRounding()
16 , fMaxWidth(maxWidth) in LineBreakerWithLittleRounding()
17 , fUpper(maxWidth + 0.25f) in LineBreakerWithLittleRounding()
56 void TextWrapper::lookAhead(SkScalar maxWidth, Cluster* endOfClusters, bool applyRoundingHack, Word… in lookAhead() argument
66 LineBreakerWithLittleRounding breaker(maxWidth, applyRoundingHack); in lookAhead()
93 if (cluster->width() > maxWidth && fWords.empty()) { in lookAhead()
117 … if (nextWordLength > 0 && nextWordLength <= maxWidth && further->isIntraWordBreak()) { in lookAhead()
123 if (maxWidth == 0) { in lookAhead()
130 if (nextWordLength > maxWidth) { in lookAhead()
[all …]
DTextLine.h107 void format(TextAlign align, SkScalar maxWidth, EllipsisModal ellipsisModal);
113 …void createTailEllipsis(SkScalar maxWidth, const SkString& ellipsis, bool ltr, WordBreakType wordB…
114 void createHeadEllipsis(SkScalar maxWidth, const SkString& ellipsis, bool ltr);
161 void justify(SkScalar maxWidth);
DTextWrapper.h184 SkScalar maxWidth,
217 …void lookAhead(SkScalar maxWidth, Cluster* endOfClusters, bool applyRoundingHack, WordBreakType wo…
223 SkScalar maxWidth, ParagraphImpl* parent, size_t maxLines);
DTextLine.cpp392 void TextLine::format(TextAlign align, SkScalar maxWidth, EllipsisModal ellipsisModal) { in format() argument
393 SkScalar delta = maxWidth - this->width(); in format()
404 this->justify(maxWidth); in format()
606 void TextLine::justify(SkScalar maxWidth) { in justify() argument
630 SkScalar step = (maxWidth - textLen) / whitespacePatches; in justify()
634 auto ghostShift = maxWidth - this->fAdvance.fX; in justify()
660 SkAssertResult(nearlyEqual(shift, maxWidth - textLen)); in justify()
664 this->fAdvance.fX = maxWidth; in justify()
688 void TextLine::createTailEllipsis(SkScalar maxWidth, const SkString& ellipsis, bool ltr, WordBreakT… in createTailEllipsis() argument
725 if (width + ellipsisRun->advance().fX > maxWidth) { in createTailEllipsis()
[all …]
DParagraphImpl.cpp917 void ParagraphImpl::breakShapedTextIntoLines(SkScalar maxWidth) { in GetLineFontMetrics() argument
922 fRuns.size() == 1 && fRuns[0].fAdvance.fX <= maxWidth - (this->detectIndents(0))) { in GetLineFontMetrics()
976 fWidth = maxWidth; in GetLineFontMetrics()
988 maxWidth, in GetLineFontMetrics()
1004 … line.createTailEllipsis(maxWidth, this->getEllipsis(), true, this->getWordBreakType()); in GetLineFontMetrics()
1006 line.createHeadEllipsis(maxWidth, this->getEllipsis(), true); in GetLineFontMetrics()
1012 fWidth = maxWidth; in GetLineFontMetrics()
1020 void ParagraphImpl::formatLines(SkScalar maxWidth) { in GetLineFontMetrics() argument
1025 if (!SkScalarIsFinite(maxWidth) && !isLeftAligned) { in GetLineFontMetrics()
1033 line.format(effectiveAlign, maxWidth, this->paragraphStyle().getEllipsisMod()); in GetLineFontMetrics()
/third_party/node/deps/npm/node_modules/columnify/
Dindex.js18 maxWidth: Infinity, property
73 column.maxWidth = Math.ceil(column.maxWidth)
139 if (min >= column.maxWidth) return min
140 return Math.max(min, Math.min(column.maxWidth, Math.max(column.minWidth, wcwidth(cur))))
176 if (min >= column.maxWidth) return min
177 return Math.max(min, Math.min(column.maxWidth, Math.max(column.minWidth, wcwidth(cur))))
180 if (min >= column.maxWidth) return min
181 return Math.max(min, Math.min(column.maxWidth, Math.max(column.minWidth, cur)))
Dcolumnify.js22 maxWidth: Infinity, property
79 column.maxWidth = Math.ceil(column.maxWidth);
149 if (min >= column.maxWidth) return min;
150 return Math.max(min, Math.min(column.maxWidth, Math.max(column.minWidth, wcwidth(cur))));
186 if (min >= column.maxWidth) return min;
187 return Math.max(min, Math.min(column.maxWidth, Math.max(column.minWidth, wcwidth(cur))));
190 if (min >= column.maxWidth) return min;
191 return Math.max(min, Math.min(column.maxWidth, Math.max(column.minWidth, cur)));
/third_party/typescript/tests/baselines/reference/
DunknownSymbolOffContextualType1.js19 var maxWidth = widths.reduce(function (a, b) {
22 return maxWidth;
37 var maxWidth = widths.reduce(function (a, b) {
40 return maxWidth;
DunknownSymbolOffContextualType1.symbols62 var maxWidth = widths.reduce(function (a, b) {
63 >maxWidth : Symbol(maxWidth, Decl(unknownSymbolOffContextualType1.ts, 17, 7))
77 return maxWidth;
78 >maxWidth : Symbol(maxWidth, Decl(unknownSymbolOffContextualType1.ts, 17, 7))
DunknownSymbolOffContextualType1.types66 var maxWidth = widths.reduce(function (a, b) {
67 >maxWidth : any
85 return maxWidth;
86 >maxWidth : any
DunknownSymbolOffContextualType1.errors.txt24 var maxWidth = widths.reduce(function (a, b) {
27 return maxWidth;
/third_party/vk-gl-cts/external/openglcts/modules/common/subgroups/
DglcSubgroupsTestsUtils.cpp1082 const deUint32 maxWidth = getMaxWidth(); in makeTessellationEvaluationFrameBufferTest() local
1137 const deUint64 vertexBufferSize = 2ull * maxWidth * sizeof(tcu::Vec4); in makeTessellationEvaluationFrameBufferTest()
1141 Image discardableImage (context, maxWidth, 1u, format); in makeTessellationEvaluationFrameBufferTest()
1145 std::vector<tcu::Vec4> data (2u * maxWidth, tcu::Vec4(1.0f, 0.0f, 1.0f, 1.0f)); in makeTessellationEvaluationFrameBufferTest()
1146 const float pixelSize = 2.0f / static_cast<float>(maxWidth); in makeTessellationEvaluationFrameBufferTest()
1164 gl.viewport(0, 0, maxWidth, 1u); in makeTessellationEvaluationFrameBufferTest()
1167 const deUint64 imageResultSize = getFormatSizeInBytes(format) * maxWidth; in makeTessellationEvaluationFrameBufferTest()
1171 for (deUint32 width = 1u; width < maxWidth; width = getNextWidth(width)) in makeTessellationEvaluationFrameBufferTest()
1267 const deUint32 maxWidth = getMaxWidth(); in makeGeometryFrameBufferTest() local
1321 const deUint64 vertexBufferSize = maxWidth * sizeof(tcu::Vec4); in makeGeometryFrameBufferTest()
[all …]
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/
DHdmxTests.java45 assertEquals(7, hdmxTable.maxWidth(0)); in testBasicHdmx()
46 assertEquals(28, hdmxTable.maxWidth(18)); in testBasicHdmx()
78 int x = hdmxTable.maxWidth(19); in testHdmxBounds()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/subgroups/
DvktSubgroupsTestsUtils.cpp2658 const deUint32 maxWidth = getMaxWidth(); in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize() local
2763 const vk::VkDeviceSize vertexBufferSize = 2ull * maxWidth * sizeof(tcu::Vec4); in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
2767 …Image discardableImage (context, maxWidth, 1u, format, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BI… in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
2771 std::vector<tcu::Vec4> data (2u * maxWidth, Vec4(1.0f, 0.0f, 1.0f, 1.0f)); in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
2772 const float pixelSize = 2.0f / static_cast<float>(maxWidth); in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
2786 …buffer (makeFramebuffer(vk, device, *renderPass, discardableImage.getImageView(), maxWidth, 1u)); in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
2787 const VkViewport viewport = makeViewport(maxWidth, 1u); in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
2788 const VkRect2D scissor = makeRect2D(maxWidth, 1u); in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
2789 const vk::VkDeviceSize imageResultSize = tcu::getPixelSize(vk::mapVkFormat(format)) * maxWidth; in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
2793 for (deUint32 width = 1u; width < maxWidth; width = getNextWidth(width)) in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsTestsUtils.cpp2658 const deUint32 maxWidth = getMaxWidth(); in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize() local
2763 const vk::VkDeviceSize vertexBufferSize = 2ull * maxWidth * sizeof(tcu::Vec4); in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
2767 …Image discardableImage (context, maxWidth, 1u, format, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BI… in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
2771 std::vector<tcu::Vec4> data (2u * maxWidth, Vec4(1.0f, 0.0f, 1.0f, 1.0f)); in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
2772 const float pixelSize = 2.0f / static_cast<float>(maxWidth); in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
2786 …buffer (makeFramebuffer(vk, device, *renderPass, discardableImage.getImageView(), maxWidth, 1u)); in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
2787 const VkViewport viewport = makeViewport(maxWidth, 1u); in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
2788 const VkRect2D scissor = makeRect2D(maxWidth, 1u); in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
2789 const vk::VkDeviceSize imageResultSize = tcu::getPixelSize(vk::mapVkFormat(format)) * maxWidth; in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
2793 for (deUint32 width = 1u; width < maxWidth; width = getNextWidth(width)) in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
[all …]
/third_party/typescript/tests/cases/compiler/
DunknownSymbolOffContextualType1.ts18 var maxWidth = widths.reduce(function (a, b) { variable
21 return maxWidth;
/third_party/node/deps/npm/node_modules/cli-table3/src/
Dlayout-manager.js37 function maxWidth(table) { function
129 let w_max = maxWidth(table);
186 maxWidth: maxWidth, property
/third_party/node/deps/npm/node_modules/jackspeak/dist/esm/
Dindex.js620 const { rows, maxWidth } = this.#usageRows(start);
628 if (row.left.length > maxWidth - 3) {
630 ui.div({ text: row.text, padding: [0, 0, 0, maxWidth] });
636 width: maxWidth,
733 let maxWidth = 8;
772 if (len > maxWidth && len < maxMax) {
773 maxWidth = len;
777 return { rows, maxWidth };
/third_party/node/deps/npm/node_modules/jackspeak/dist/commonjs/
Dindex.js628 const { rows, maxWidth } = this.#usageRows(start);
636 if (row.left.length > maxWidth - 3) {
638 ui.div({ text: row.text, padding: [0, 0, 0, maxWidth] });
644 width: maxWidth,
741 let maxWidth = 8;
780 if (len > maxWidth && len < maxMax) {
781 maxWidth = len;
785 return { rows, maxWidth };
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-hdmx-table.hh58 this->maxWidth = in serialize()
76 HBUINT8 maxWidth; /* Maximum width. */ member
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/
DIcuTextWriter.java217 int maxWidth = Math.max(68, 80 - Math.min(4, rbPath.length()) * INDENT.length()); in appendValues() local
218 if (onlyElement.length() <= maxWidth) { in appendValues()
226 end = goodBreak(onlyElement, i + maxWidth); in appendValues()
/third_party/typescript/tests/cases/fourslash/etslib/
Dcommon.d.ts57 …constraintSize(value: { minWidth?: number | string, maxWidth?: number | string, minHeight?: number…
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/
DHdmxEncoder.java64 result.writeByte(HEADER_SIZE + RECORD_SIZE * i + 1, (byte) hdmx.maxWidth(i)); in encode()

123