/third_party/flutter/engine/flutter/third_party/txt/tests/ |
D | paragraph_unittests.cc | 147 std::vector<txt::Paragraph::TextBox> boxes = in TEST_F() local 149 for (size_t i = 0; i < boxes.size(); ++i) { in TEST_F() 150 GetCanvas()->drawRect(boxes[i].rect, paint); in TEST_F() 153 EXPECT_EQ(boxes.size(), 1ull); in TEST_F() 156 boxes = in TEST_F() 158 for (size_t i = 0; i < boxes.size(); ++i) { in TEST_F() 159 GetCanvas()->drawRect(boxes[i].rect, paint); in TEST_F() 161 EXPECT_EQ(boxes.size(), 1ull); in TEST_F() 164 boxes = paragraph->GetRectsForPlaceholders(); in TEST_F() 165 for (size_t i = 0; i < boxes.size(); ++i) { in TEST_F() [all …]
|
/third_party/skia/modules/skparagraph/tests/ |
D | SkParagraphTest.cpp | 298 auto boxes = paragraph->getRectsForRange(0, 3, rect_height_style, rect_width_style); in UNIX_ONLY_TEST() local 299 canvas.drawRects(SK_ColorRED, boxes); in UNIX_ONLY_TEST() 300 REPORTER_ASSERT(reporter, boxes.size() == 1); in UNIX_ONLY_TEST() 302 boxes = paragraph->getRectsForRange(0, 3, rect_height_style, rect_width_style); in UNIX_ONLY_TEST() 303 canvas.drawRects(SK_ColorGREEN, boxes); in UNIX_ONLY_TEST() 304 REPORTER_ASSERT(reporter, boxes.size() == 1); in UNIX_ONLY_TEST() 306 boxes = paragraph->getRectsForPlaceholders(); in UNIX_ONLY_TEST() 307 canvas.drawRects(SK_ColorRED, boxes); in UNIX_ONLY_TEST() 309 boxes = paragraph->getRectsForRange(4, 17, rect_height_style, rect_width_style); in UNIX_ONLY_TEST() 310 canvas.drawRects(SK_ColorBLUE, boxes); in UNIX_ONLY_TEST() [all …]
|
/third_party/gstreamer/gstplugins_bad/gst/dvbsubenc/libimagequant/ |
D | mediancut.c | 279 best_splittable_box (struct box *bv, unsigned int boxes, const double max_mse) in best_splittable_box() argument 285 for (i = 0; i < boxes; i++) { in best_splittable_box() 319 unsigned int boxes, hist_item * achv); 321 const struct box *bv, unsigned int boxes); 342 unsigned int boxes, const histogram * hist) in total_box_error_below_target() argument 349 for (i = 0; i < boxes; i++) { in total_box_error_below_target() 358 for (i = 0; i < boxes; i++) { in total_box_error_below_target() 382 unsigned int i, boxes, subset_size; in mediancut() local 401 boxes = 1; in mediancut() 409 while (boxes < newcolors) { in mediancut() [all …]
|
/third_party/node/deps/npm/node_modules/cli-boxes/ |
D | readme.md | 1 # cli-boxes [![Build Status](https://travis-ci.org/sindresorhus/cli-boxes.svg?branch=master)](https… 5 The list of boxes is just a [JSON file](boxes.json) and can be used wherever. 11 $ npm install --save cli-boxes 18 const cliBoxes = require('cli-boxes'); 89 - [boxen](https://github.com/sindresorhus/boxen) - Create boxes in the terminal
|
/third_party/flutter/skia/tests/ |
D | SkParagraphTest.cpp | 480 …std::vector<TextBox> boxes = paragraph->getRectsForRange(0, 0, rect_height_style, rect_width_style… in DEF_TEST() local 481 canvas.drawRects(SK_ColorRED, boxes); in DEF_TEST() 482 REPORTER_ASSERT(reporter, boxes.size() == 0ull); in DEF_TEST() 484 boxes = paragraph->getRectsForRange(0, 40, rect_height_style, rect_width_style); in DEF_TEST() 485 canvas.drawRects(SK_ColorBLUE, boxes); in DEF_TEST() 486 REPORTER_ASSERT(reporter, boxes.size() == 3ull); in DEF_TEST() 488 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(boxes[1].rect.left(), 0, EPSILON100)); in DEF_TEST() 489 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(boxes[1].rect.top(), 92.805f, EPSILON5)); in DEF_TEST() 490 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(boxes[1].rect.right(), 43.843f, EPSILON100)); in DEF_TEST() 491 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(boxes[1].rect.bottom(), 165.495f, EPSILON5)); in DEF_TEST() [all …]
|
/third_party/flutter/flutter/packages/flutter/test/rendering/ |
D | paragraph_test.dart | 60 List<ui.TextBox> boxes = paragraph.getBoxesForSelection( 64 expect(boxes.length, equals(1)); 66 boxes = paragraph.getBoxesForSelection( 70 expect(boxes.any((ui.TextBox box) => box.left == 250 && box.top == 0), isTrue); 71 expect(boxes.any((ui.TextBox box) => box.right == 100 && box.top == 10), isTrue); 264 final List<ui.TextBox> boxes = <ui.TextBox>[ 270 expect(boxes.length, equals(4)); 275 expect(boxes[0].toRect().width, anyOf(14.0, 13.0)); 276 expect(boxes[0].toRect().height, closeTo(13.0, 0.0001)); 277 expect(boxes[1].toRect().width, anyOf(27.0, 26.0)); [all …]
|
/third_party/mesa3d/src/gallium/frontends/xa/ |
D | xa_context.c | 102 int to_surface, struct xa_box *boxes, unsigned int num_boxes) in xa_surface_dma() argument 113 for (i = 0; i < num_boxes; ++i, ++boxes) { in xa_surface_dma() 114 w = boxes->x2 - boxes->x1; in xa_surface_dma() 115 h = boxes->y2 - boxes->y1; in xa_surface_dma() 118 transfer_direction, boxes->x1, boxes->y1, in xa_surface_dma() 125 0, 0, w, h, data, pitch, boxes->x1, boxes->y1); in xa_surface_dma() 128 boxes->x1, boxes->y1, w, h, map, transfer->stride, 0, in xa_surface_dma()
|
/third_party/flutter/engine/flutter/lib/ui/text/ |
D | paragraph.cc | 94 std::vector<txt::Paragraph::TextBox> boxes = m_paragraph->GetRectsForRange( in getRectsForRange() local 97 for (const txt::Paragraph::TextBox& box : boxes) { in getRectsForRange() 105 std::vector<txt::Paragraph::TextBox> boxes = in getRectsForPlaceholders() local 107 for (const txt::Paragraph::TextBox& box : boxes) { in getRectsForPlaceholders()
|
/third_party/flutter/txt/src/skia/ |
D | paragraph_skia.cc | 180 std::vector<Paragraph::TextBox> boxes; in GetRectsForRange() local 182 boxes.emplace_back(skia_box.rect, in GetRectsForRange() 186 return boxes; in GetRectsForRange() 192 std::vector<Paragraph::TextBox> boxes; in GetRectsForPlaceholders() local 194 boxes.emplace_back(skia_box.rect, in GetRectsForPlaceholders() 198 return boxes; in GetRectsForPlaceholders()
|
/third_party/ffmpeg/libavfilter/ |
D | vf_palettegen.c | 75 …struct range_box boxes[256]; // define the segmentation of the colorspace (the final pa… member 158 struct range_box *box = &s->boxes[box_id]; in get_next_box_id_to_split() 160 if (s->boxes[box_id].len >= 2) { in get_next_box_id_to_split() 214 struct range_box *new_box = &s->boxes[s->nb_boxes++]; in split_box() 243 pal[x] = s->boxes[box_id++].color; in write_palette() 319 box = &s->boxes[box_id]; in get_palette_frame() 378 box = box_id >= 0 ? &s->boxes[box_id] : NULL; in get_palette_frame() 385 qsort(s->boxes, s->nb_boxes, sizeof(*s->boxes), cmp_color); in get_palette_frame() 505 memset(s->boxes, 0, sizeof(s->boxes)); in filter_frame()
|
/third_party/python/Doc/library/ |
D | tkinter.messagebox.rst | 14 boxes are modal and will return a subset of (True, False, OK, None, Yes, No) based on 28 **Warning message boxes** 33 **Question message boxes**
|
/third_party/flutter/engine/flutter/third_party/txt/src/skia/ |
D | paragraph_skia.cc | 76 std::vector<Paragraph::TextBox> boxes; in GetRectsForRange() local 78 boxes.emplace_back(skia_box.rect, in GetRectsForRange() 82 return boxes; in GetRectsForRange()
|
/third_party/flutter/engine/flutter/third_party/txt/src/txt/ |
D | paragraph_txt.cc | 1544 std::vector<Paragraph::TextBox> boxes; in GetRectsForRange() member 1621 line_metrics[run.line_number].boxes.emplace_back( in GetRectsForRange() 1645 line_metrics[line_number].boxes.emplace_back( in GetRectsForRange() 1652 std::vector<Paragraph::TextBox> boxes; in GetRectsForRange() local 1659 line_metrics[kv.first].boxes.emplace_back( in GetRectsForRange() 1669 line_metrics[kv.first].boxes.emplace_back( in GetRectsForRange() 1683 boxes.insert(boxes.end(), kv.second.boxes.begin(), kv.second.boxes.end()); in GetRectsForRange() 1685 for (const Paragraph::TextBox& box : kv.second.boxes) { in GetRectsForRange() 1686 boxes.emplace_back( in GetRectsForRange() 1709 for (const Paragraph::TextBox& box : kv.second.boxes) { in GetRectsForRange() [all …]
|
/third_party/flutter/txt/src/txt/ |
D | paragraph_txt.cc | 1681 std::vector<Paragraph::TextBox> boxes; in GetRectsForRange() member 1764 line_box_metrics[run.line_number].boxes.emplace_back( in GetRectsForRange() 1790 line_box_metrics[line_number].boxes.emplace_back( in GetRectsForRange() 1797 std::vector<Paragraph::TextBox> boxes; in GetRectsForRange() local 1807 line_box_metrics[kv.first].boxes.emplace_back( in GetRectsForRange() 1815 line_box_metrics[kv.first].boxes.emplace_back( in GetRectsForRange() 1827 boxes.insert(boxes.end(), kv.second.boxes.begin(), kv.second.boxes.end()); in GetRectsForRange() 1829 for (const Paragraph::TextBox& box : kv.second.boxes) { in GetRectsForRange() 1830 boxes.emplace_back( in GetRectsForRange() 1847 for (const Paragraph::TextBox& box : kv.second.boxes) { in GetRectsForRange() [all …]
|
/third_party/skia/modules/canvaskit/ |
D | paragraph_bindings.cpp | 258 Float32Array TextBoxesToFloat32Array(std::vector<para::TextBox> boxes) { in TextBoxesToFloat32Array() argument 260 if (!boxes.size()) { in TextBoxesToFloat32Array() 263 SimpleTextBox* rects = new SimpleTextBox[boxes.size()]; in TextBoxesToFloat32Array() 264 for (int i = 0; i < boxes.size(); i++) { in TextBoxesToFloat32Array() 265 rects[i].rect = boxes[i].rect; in TextBoxesToFloat32Array() 266 if (boxes[i].direction == para::TextDirection::kRtl) { in TextBoxesToFloat32Array() 275 return Float32Array(typed_memory_view(boxes.size() * 5, fPtr)); in TextBoxesToFloat32Array() 283 std::vector<para::TextBox> boxes = self.getRectsForRange(start, end, heightStyle, widthStyle); in GetRectsForRange() local 284 return TextBoxesToFloat32Array(boxes); in GetRectsForRange() 288 std::vector<para::TextBox> boxes = self.getRectsForPlaceholders(); in GetRectsForPlaceholders() local [all …]
|
/third_party/node/deps/npm/docs/src/components/home/ |
D | Footer.js | 2 import boxes from '../../images/background-boxes.svg' 7 background: center / cover no-repeat url(${boxes});
|
/third_party/skia/modules/skparagraph/src/ |
D | TextLine.cpp | 968 std::vector<TextBox>& boxes) in getRectsForRange() argument 971 auto startBox = boxes.size(); in getRectsForRange() 973 [textRange0, rectHeightStyle, rectWidthStyle, &boxes, &lastRun, startBox, this] in getRectsForRange() 977 …[run, runOffsetInLine, textRange0, rectHeightStyle, rectWidthStyle, &boxes, &lastRun, startBox, th… in getRectsForRange() 1091 auto merge = [&lastRun, &context, &boxes](SkRect clip) { in getRectsForRange() 1093 if (!boxes.empty() && in getRectsForRange() 1101 auto& lastBox = boxes.back(); in getRectsForRange() 1117 boxes.emplace_back(clip, context.run->getTextDirection()); in getRectsForRange() 1120 boxes.emplace_back(trailingSpaces, paragraphStyle.getTextDirection()); in getRectsForRange() 1127 auto left = boxes[startBox]; in getRectsForRange() [all …]
|
/third_party/node/deps/npm/node_modules/boxen/ |
D | readme.md | 3 > Create boxes in the terminal 170 - [cli-boxes](https://github.com/sindresorhus/cli-boxes) - Boxes for use in the terminal
|
/third_party/python/Tools/demo/ |
D | redemo.py | 75 self.boxes = [] 81 if len(self.boxes) % 3 == 0: 92 self.boxes.append(box)
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_resource_buffer_upload.c | 580 SVGA3dCopyBox *boxes; in svga_buffer_upload_hb_command() local 605 sizeof *cmd + numBoxes * sizeof *boxes + sizeof *pSuffix, in svga_buffer_upload_hb_command() 619 sbuf->dma.boxes = (SVGA3dCopyBox *)&cmd[1]; in svga_buffer_upload_hb_command() 626 pSuffix = (SVGA3dCmdSurfaceDMASuffix *)((uint8_t*)cmd + sizeof *cmd + numBoxes * sizeof *boxes); in svga_buffer_upload_hb_command() 706 assert(sbuf->dma.boxes); in svga_buffer_upload_flush() 710 SVGA3dCopyBox *box = sbuf->dma.boxes + i; in svga_buffer_upload_flush() 744 sbuf->dma.boxes = NULL; in svga_buffer_upload_flush() 821 assert(!sbuf->dma.boxes); in svga_buffer_add_range()
|
D | svga_cmd.c | 431 const SVGA3dCopyBox *boxes, // IN in SVGA3D_SurfaceDMA() argument 438 uint32 boxesSize = sizeof *boxes * numBoxes; in SVGA3D_SurfaceDMA() 474 memcpy(&cmd[1], boxes, boxesSize); in SVGA3D_SurfaceDMA() 1059 SVGA3dCopyBox **boxes, // OUT in SVGA3D_BeginSurfaceCopy() argument 1063 uint32 boxesSize = sizeof **boxes * numBoxes; in SVGA3D_BeginSurfaceCopy() 1073 *boxes = (SVGA3dCopyBox*) &cmd[1]; in SVGA3D_BeginSurfaceCopy() 1075 memset(*boxes, 0, boxesSize); in SVGA3D_BeginSurfaceCopy()
|
/third_party/flutter/flutter/packages/flutter/test/material/ |
D | mergeable_material_test.dart | 1102 List<Widget> boxes = tester.widgetList(find.byType(DecoratedBox)).toList(); 1105 expect(isDivider(boxes[offset], false, true), isTrue); 1106 expect(isDivider(boxes[offset + 1], true, true), isTrue); 1107 expect(isDivider(boxes[offset + 2], true, true), isTrue); 1108 expect(isDivider(boxes[offset + 3], true, false), isTrue); 1158 boxes = tester.widgetList(find.byType(DecoratedBox)).toList(); 1161 expect(isDivider(boxes[offset], false, true), isTrue); 1162 expect(isDivider(boxes[offset + 1], true, false), isTrue); 1164 expect(isDivider(boxes[offset + 3], false, true), isTrue); 1165 expect(isDivider(boxes[offset + 4], true, false), isTrue);
|
/third_party/vk-gl-cts/doc/testspecs/GLES3/ |
D | functional.occlusion_query.txt | 26 - Scissor boxes 40 boxes, depth writes/clears or stencil writes/clears. Second, a number of
|
/third_party/flutter/flutter/packages/flutter/lib/src/painting/ |
D | text_painter.dart | 624 List<TextBox> boxes = <TextBox>[]; 625 while (boxes.isEmpty && flattenedText != null) { 627 boxes = _paragraph.getBoxesForRange(prevRuneOffset, offset); 628 // When the range does not include a full cluster, no boxes will be returned. 629 if (boxes.isEmpty) { 631 // return empty boxes. We break and try from downstream instead. 645 final TextBox box = boxes.first; 673 List<TextBox> boxes = <TextBox>[]; 674 while (boxes.isEmpty && flattenedText != null) { 676 boxes = _paragraph.getBoxesForRange(offset, nextRuneOffset); [all …]
|
/third_party/flutter/flutter/packages/flutter/lib/ |
D | painting.dart | 11 /// images, interpolating between shadows, painting borders around boxes, etc. 17 /// painting boxes.
|