Home
last modified time | relevance | path

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

123

/third_party/node/deps/npm/lib/utils/
Dformat-search-stream.js70 const maxWidth = process.stdout.isTTY ? process.stdout.getWindowSize()[0] : Infinity
79 name: { minWidth: 25, maxWidth: 25, truncate: false, truncateMarker: '' }, property
80 description: { minWidth: 20, maxWidth: 20 }, property
81 author: { minWidth: 15, maxWidth: 15 }, property
82 date: { maxWidth: 11 }, property
83 version: { minWidth: 8, maxWidth: 8 }, property
84 keywords: { maxWidth: Infinity }, property
87 ).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.cpp12 LineBreakerWithLittleRounding(SkScalar maxWidth, bool applyRoundingHack) in LineBreakerWithLittleRounding()
13 : fLower(maxWidth - 0.25f) in LineBreakerWithLittleRounding()
14 , fMaxWidth(maxWidth) in LineBreakerWithLittleRounding()
15 , fUpper(maxWidth + 0.25f) in LineBreakerWithLittleRounding()
54 void TextWrapper::lookAhead(SkScalar maxWidth, Cluster* endOfClusters, bool applyRoundingHack, Word… in lookAhead() argument
64 LineBreakerWithLittleRounding breaker(maxWidth, applyRoundingHack); in lookAhead()
91 if (cluster->width() > maxWidth && fWords.empty()) { in lookAhead()
115 … if (nextWordLength > 0 && nextWordLength <= maxWidth && further->isIntraWordBreak()) { in lookAhead()
121 if (maxWidth == 0) { in lookAhead()
128 if (nextWordLength > maxWidth) { in lookAhead()
[all …]
DTextLine.h.rej6 - void createTailEllipsis(SkScalar maxWidth, const SkString& ellipsis, bool ltr, WordBreakType w…
7 + void createEllipsis(SkScalar maxWidth, const SkString& ellipsis, bool ltr, WordBreakType wordB…
8 void createHeadEllipsis(SkScalar maxWidth, const SkString& ellipsis, bool ltr);
DTextLine.h106 void format(TextAlign align, SkScalar maxWidth);
111 …void createEllipsis(SkScalar maxWidth, const SkString& ellipsis, bool ltr, WordBreakType wordBreak…
112 void createHeadEllipsis(SkScalar maxWidth, const SkString& ellipsis, bool ltr);
153 void justify(SkScalar maxWidth);
DTextLine.cpp377 void TextLine::format(TextAlign align, SkScalar maxWidth) { in format() argument
378 SkScalar delta = maxWidth - this->width(); in format()
386 this->justify(maxWidth); in format()
562 void TextLine::justify(SkScalar maxWidth) { in justify() argument
586 SkScalar step = (maxWidth - textLen) / whitespacePatches; in justify()
590 auto ghostShift = maxWidth - this->fAdvance.fX; in justify()
616 SkAssertResult(nearlyEqual(shift, maxWidth - textLen)); in justify()
620 this->fAdvance.fX = maxWidth; in justify()
644 void TextLine::createEllipsis(SkScalar maxWidth, const SkString& ellipsis, bool ltr, WordBreakType … in createEllipsis() argument
670 if (ellipsisRun->advance().fX > maxWidth) { in createEllipsis()
[all …]
DParagraphImpl.cpp757 void ParagraphImpl::breakShapedTextIntoLines(SkScalar maxWidth) { in breakShapedTextIntoLines() argument
762 …fRuns.size() == 1 && fRuns[0].fAdvance.fX <= maxWidth - (this->detectIndents(std::numeric_limits<s… in breakShapedTextIntoLines()
816 fWidth = maxWidth; in breakShapedTextIntoLines()
828 maxWidth, in breakShapedTextIntoLines()
844 … line.createEllipsis(maxWidth, this->getEllipsis(), true, this->getWordBreakType()); in breakShapedTextIntoLines()
846 line.createHeadEllipsis(maxWidth, this->getEllipsis(), true); in breakShapedTextIntoLines()
852 fWidth = maxWidth; in breakShapedTextIntoLines()
860 void ParagraphImpl::formatLines(SkScalar maxWidth) { in formatLines() argument
865 if (!SkScalarIsFinite(maxWidth) && !isLeftAligned) { in formatLines()
873 line.format(effectiveAlign, maxWidth); in formatLines()
DTextWrapper.h184 SkScalar maxWidth,
217 …void lookAhead(SkScalar maxWidth, Cluster* endOfClusters, bool applyRoundingHack, WordBreakType wo…
/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/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/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/vulkan/subgroups/
DvktSubgroupsTestsUtils.cpp2559 const deUint32 maxWidth = getMaxWidth(); in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize() local
2663 const vk::VkDeviceSize vertexBufferSize = 2ull * maxWidth * sizeof(tcu::Vec4); in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
2667 …Image discardableImage (context, maxWidth, 1u, format, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BI… in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
2671 std::vector<tcu::Vec4> data (2u * maxWidth, Vec4(1.0f, 0.0f, 1.0f, 1.0f)); in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
2672 const float pixelSize = 2.0f / static_cast<float>(maxWidth); in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
2686 …buffer (makeFramebuffer(vk, device, *renderPass, discardableImage.getImageView(), maxWidth, 1u)); in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
2687 const VkViewport viewport = makeViewport(maxWidth, 1u); in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
2688 const VkRect2D scissor = makeRect2D(maxWidth, 1u); in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
2689 const vk::VkDeviceSize imageResultSize = tcu::getPixelSize(vk::mapVkFormat(format)) * maxWidth; in makeTessellationEvaluationFrameBufferTestRequiredSubgroupSize()
2693 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/gstreamer/gstplugins_bad/ext/dash/
Dgstmpdadaptationsetnode.c140 if (self->maxWidth) in gst_mpd_adaptation_set_get_xml_node()
142 self->maxWidth); in gst_mpd_adaptation_set_get_xml_node()
230 self->maxWidth = 0; in gst_mpd_adaptation_set_node_init()
Dgstmpdadaptationsetnode.h46 guint maxWidth; member
/third_party/node/deps/npm/node_modules/jackspeak/dist/cjs/
Dindex.js598 let maxWidth = 8;
637 if (len > maxWidth && len < maxMax) {
638 maxWidth = len;
649 if (row.left.length > maxWidth - 2) {
651 ui.div({ text: row.text, padding: [0, 0, 0, maxWidth] });
657 width: maxWidth,
/third_party/node/deps/npm/node_modules/jackspeak/dist/mjs/
Dindex.js590 let maxWidth = 8;
629 if (len > maxWidth && len < maxMax) {
630 maxWidth = len;
641 if (row.left.length > maxWidth - 2) {
643 ui.div({ text: row.text, padding: [0, 0, 0, maxWidth] });
649 width: 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()

123