/third_party/rust/crates/unicode-width/scripts/ |
D | unicode.py | 189 self.widths = [] 194 self.widths.append(width) 200 (less, more) = (self.widths, attempt.widths) 201 if len(self.widths) > len(attempt.widths): 202 (less, more) = (attempt.widths, self.widths) 206 self.widths = more 218 if len(self.widths) == 0: 220 potential_width = self.widths[0] 221 for width in self.widths[1:]:
|
/third_party/python/Doc/library/ |
D | asyncio-llapi-index.rst | 15 :widths: 50 50 44 :widths: 50 50 71 :widths: 50 50 83 :widths: 50 50 101 :widths: 50 50 114 :widths: 50 50 134 :widths: 50 50 146 :widths: 50 50 183 :widths: 50 50 219 :widths: 50 50 [all …]
|
D | asyncio-api-index.rst | 18 :widths: 50 50 84 :widths: 50 50 111 :widths: 50 50 135 :widths: 50 50 171 :widths: 50 50 202 :widths: 50 50
|
/third_party/flutter/skia/docs/examples/ |
D | Paint_getTextWidths.cpp | 14 std::vector<SkScalar> widths; 16 widths.resize(count); 19 (void) paint.getTextWidths(str, count, &widths.front(), &bounds.front()); 28 canvas->drawLine(loc.fX, advanceY, loc.fX + widths[index], advanceY, paint); 29 loc.fX += widths[index];
|
/third_party/skia/docs/examples/ |
D | Paint_getTextWidths.cpp | 14 std::vector<SkScalar> widths; 16 widths.resize(count); 19 (void) paint.getTextWidths(str, count, &widths.front(), &bounds.front()); 28 canvas->drawLine(loc.fX, advanceY, loc.fX + widths[index], advanceY, paint); 29 loc.fX += widths[index];
|
/third_party/flutter/skia/include/core/ |
D | SkFont.h | 368 void getWidths(const SkGlyphID glyphs[], int count, SkScalar widths[], SkRect bounds[]) const { in getWidths() argument 369 this->getWidthsBounds(glyphs, count, widths, bounds, nullptr); in getWidths() 373 void getWidths(const SkGlyphID glyphs[], int count, SkScalar widths[], std::nullptr_t) const { in getWidths() argument 374 this->getWidths(glyphs, count, widths); in getWidths() 386 void getWidths(const SkGlyphID glyphs[], int count, SkScalar widths[]) const { in getWidths() argument 387 this->getWidthsBounds(glyphs, count, widths, nullptr, nullptr); in getWidths() 401 void getWidthsBounds(const SkGlyphID glyphs[], int count, SkScalar widths[], SkRect bounds[],
|
/third_party/skia/include/core/ |
D | SkFont.h | 366 void getWidths(const SkGlyphID glyphs[], int count, SkScalar widths[], SkRect bounds[]) const { in getWidths() argument 367 this->getWidthsBounds(glyphs, count, widths, bounds, nullptr); in getWidths() 371 void getWidths(const SkGlyphID glyphs[], int count, SkScalar widths[], std::nullptr_t) const { in getWidths() argument 372 this->getWidths(glyphs, count, widths); in getWidths() 384 void getWidths(const SkGlyphID glyphs[], int count, SkScalar widths[]) const { in getWidths() argument 385 this->getWidthsBounds(glyphs, count, widths, nullptr, nullptr); in getWidths() 399 void getWidthsBounds(const SkGlyphID glyphs[], int count, SkScalar widths[], SkRect bounds[],
|
/third_party/node/deps/npm/node_modules/cliui/ |
D | index.js | 208 var widths = this._columnWidths(row) 215 col.width = widths[c] 254 var widths = [] 263 widths[i] = col.width 266 widths[i] = undefined 272 widths.forEach(function (w, i) { 273 if (!_this.wrap) widths[i] = row[i].width || stringWidth(row[i].text) 274 else if (w === undefined) widths[i] = Math.max(unsetWidth, _minWidth(row[i])) 277 return widths
|
/third_party/typescript/tests/baselines/reference/ |
D | unknownSymbolOffContextualType1.js | 16 var widths = enabled.map(function (e) { 19 var maxWidth = widths.reduce(function (a, b) { 34 var widths = enabled.map(function (e) { 37 var maxWidth = widths.reduce(function (a, b) {
|
D | unknownSymbolOffContextualType1.symbols | 51 var widths = enabled.map(function (e) { 52 >widths : Symbol(widths, Decl(unknownSymbolOffContextualType1.ts, 14, 7)) 62 var maxWidth = widths.reduce(function (a, b) { 64 >widths.reduce : Symbol(Array.reduce, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(… 65 >widths : Symbol(widths, Decl(unknownSymbolOffContextualType1.ts, 14, 7))
|
D | unknownSymbolOffContextualType1.types | 51 var widths = enabled.map(function (e) { 52 >widths : any[] 66 var maxWidth = widths.reduce(function (a, b) { 68 >widths.reduce(function (a, b) { return a > b ? a : b; }) : any 69 >widths.reduce : { (callbackfn: (previousValue: any, currentValue: any, currentIndex: number, array… 70 >widths : any[]
|
/third_party/flutter/skia/third_party/externals/spirv-tools/test/opt/ |
D | types_test.cpp | 223 std::vector<uint32_t> widths = {1, 2, 4, 8, 16, 32, 48, 64, 128}; in TEST() local 225 for (uint32_t w : widths) { in TEST() 228 for (size_t i = 0; i < widths.size(); i++) { in TEST() 229 EXPECT_EQ(widths[i], types[i]->width()); in TEST() 234 std::vector<uint32_t> widths = {1, 2, 4, 8, 16, 32, 48, 64, 128}; in TEST() local 236 for (uint32_t w : widths) { in TEST() 239 for (size_t i = 0; i < widths.size(); i++) { in TEST() 240 EXPECT_EQ(widths[i], types[i]->width()); in TEST()
|
/third_party/flutter/flutter/packages/flutter/lib/src/rendering/ |
D | table.dart | 227 /// Creates a column width that is the maximum of two other column widths. 278 /// Creates a column width that is the minimum of two other column widths. 480 /// How to determine with widths of columns that don't have an explicit sizing algorithm. 752 final List<double> widths = _computeColumnWidths(BoxConstraints.tightForFinite(width: width)); 760 rowHeight = math.max(rowHeight, child.getMaxIntrinsicHeight(widths[x])); 810 // We apply the constraints to the column widths in the order of 812 // 1. apply the ideal widths (maxIntrinsicWidth) 818 // necessary, applying minimum column widths as we go 820 // 1. apply ideal widths, and collect information we'll need later 821 final List<double> widths = List<double>(columns); [all …]
|
/third_party/skia/third_party/externals/spirv-tools/test/opt/ |
D | types_test.cpp | 281 std::vector<uint32_t> widths = {1, 2, 4, 8, 16, 32, 48, 64, 128}; in TEST() local 283 for (uint32_t w : widths) { in TEST() 286 for (size_t i = 0; i < widths.size(); i++) { in TEST() 287 EXPECT_EQ(widths[i], types[i]->width()); in TEST() 292 std::vector<uint32_t> widths = {1, 2, 4, 8, 16, 32, 48, 64, 128}; in TEST() local 294 for (uint32_t w : widths) { in TEST() 297 for (size_t i = 0; i < widths.size(); i++) { in TEST() 298 EXPECT_EQ(widths[i], types[i]->width()); in TEST()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/ |
D | types_test.cpp | 281 std::vector<uint32_t> widths = {1, 2, 4, 8, 16, 32, 48, 64, 128}; in TEST() local 283 for (uint32_t w : widths) { in TEST() 286 for (size_t i = 0; i < widths.size(); i++) { in TEST() 287 EXPECT_EQ(widths[i], types[i]->width()); in TEST() 292 std::vector<uint32_t> widths = {1, 2, 4, 8, 16, 32, 48, 64, 128}; in TEST() local 294 for (uint32_t w : widths) { in TEST() 297 for (size_t i = 0; i < widths.size(); i++) { in TEST() 298 EXPECT_EQ(widths[i], types[i]->width()); in TEST()
|
/third_party/skia/gm/ |
D | getpostextpath.cpp | 56 SkAutoTArray<SkScalar> widths(count); 57 font.getWidths(atg.glyphs(), count, &widths[0]); 64 x += widths[i];
|
D | rsxtext.cpp | 38 float widths[16]; in onOnceBeforeDraw() local 41 font.getWidths(glyphs, glyph_count, widths); in onOnceBeforeDraw() 53 x += widths[i]; in onOnceBeforeDraw()
|
/third_party/flutter/skia/gm/ |
D | getpostextpath.cpp | 56 SkAutoTArray<SkScalar> widths(count); 57 font.getWidths(atg.glyphs(), count, &widths[0]); 64 x += widths[i];
|
D | atlastext.cpp | 61 std::unique_ptr<SkScalar[]> widths(new SkScalar[cnt]); in draw_string() local 62 font.getWidths(glyphs.get(), cnt, widths.get()); in draw_string() 67 positions[i] = {positions[i - 1].fX + widths[i - 1], y}; in draw_string() 73 return positions[cnt - 1].fX + widths[cnt - 1] - positions[0].fX; in draw_string()
|
/third_party/spirv-tools/test/opt/ |
D | types_test.cpp | 342 std::vector<uint32_t> widths = {1, 2, 4, 8, 16, 32, 48, 64, 128}; in TEST() local 344 for (uint32_t w : widths) { in TEST() 347 for (size_t i = 0; i < widths.size(); i++) { in TEST() 348 EXPECT_EQ(widths[i], types[i]->width()); in TEST() 353 std::vector<uint32_t> widths = {1, 2, 4, 8, 16, 32, 48, 64, 128}; in TEST() local 355 for (uint32_t w : widths) { in TEST() 358 for (size_t i = 0; i < widths.size(); i++) { in TEST() 359 EXPECT_EQ(widths[i], types[i]->width()); in TEST()
|
/third_party/freetype/src/autofit/ |
D | aflatin.h | 94 AF_WidthRec widths[AF_LATIN_MAX_WIDTHS]; /* widths array */ member 174 AF_WidthRec* widths, 184 AF_WidthRec* widths,
|
/third_party/skia/third_party/externals/freetype/src/autofit/ |
D | aflatin.h | 94 AF_WidthRec widths[AF_LATIN_MAX_WIDTHS]; /* widths array */ member 174 AF_WidthRec* widths, 184 AF_WidthRec* widths,
|
/third_party/flutter/skia/third_party/externals/freetype/src/autofit/ |
D | aflatin.h | 94 AF_WidthRec widths[AF_LATIN_MAX_WIDTHS]; /* widths array */ member 174 AF_WidthRec* widths, 184 AF_WidthRec* widths,
|
/third_party/typescript/tests/cases/compiler/ |
D | unknownSymbolOffContextualType1.ts | 15 var widths = enabled.map(function (e) { variable 18 var maxWidth = widths.reduce(function (a, b) {
|
/third_party/skia/modules/canvaskit/ |
D | font.js | 87 var widths = new Float32Array(CanvasKit.HEAPU8.buffer, widthPtr, glyphs.length); 90 optionalOutputArray.set(widths); 94 var rv = Float32Array.from(widths); 196 var widths = font.getGlyphWidths(ids); 204 var width = widths[i];
|