Home
last modified time | relevance | path

Searched refs:boxes (Results 1 - 25 of 76) sorted by relevance

1234

/third_party/skia/modules/skparagraph/tests/
H A DSkParagraphTest.cpp342 auto boxes = paragraph->getRectsForRange(0, 3, rect_height_style, rect_width_style); in UNIX_ONLY_TEST() local
343 canvas.drawRects(SK_ColorRED, boxes); in UNIX_ONLY_TEST()
344 REPORTER_ASSERT(reporter, boxes.size() == 1); in UNIX_ONLY_TEST()
346 boxes = paragraph->getRectsForRange(0, 3, rect_height_style, rect_width_style); in UNIX_ONLY_TEST()
347 canvas.drawRects(SK_ColorGREEN, boxes); in UNIX_ONLY_TEST()
348 REPORTER_ASSERT(reporter, boxes.size() == 1); in UNIX_ONLY_TEST()
350 boxes = paragraph->getRectsForPlaceholders(); in UNIX_ONLY_TEST()
351 canvas.drawRects(SK_ColorRED, boxes); in UNIX_ONLY_TEST()
353 boxes = paragraph->getRectsForRange(4, 17, rect_height_style, rect_width_style); in UNIX_ONLY_TEST()
354 canvas.drawRects(SK_ColorBLUE, boxes); in UNIX_ONLY_TEST()
413 auto boxes = paragraph->getRectsForPlaceholders(); UNIX_ONLY_TEST() local
469 auto boxes = paragraph->getRectsForPlaceholders(); UNIX_ONLY_TEST() local
525 auto boxes = paragraph->getRectsForPlaceholders(); UNIX_ONLY_TEST() local
584 auto boxes = paragraph->getRectsForPlaceholders(); UNIX_ONLY_TEST() local
638 auto boxes = paragraph->getRectsForPlaceholders(); UNIX_ONLY_TEST() local
692 auto boxes = paragraph->getRectsForPlaceholders(); UNIX_ONLY_TEST() local
745 auto boxes = paragraph->getRectsForPlaceholders(); UNIX_ONLY_TEST() local
863 auto boxes = paragraph->getRectsForRange(0, 3, rect_height_style, rect_width_style); UNIX_ONLY_TEST() local
986 auto boxes = paragraph->getRectsForPlaceholders(); UNIX_ONLY_TEST() local
1314 std::vector<TextBox> boxes = paragraph->getRectsForRange(0, 0, rect_height_style, rect_width_style); UNIX_ONLY_TEST() local
1366 std::vector<TextBox> boxes = paragraph->getRectsForRange(0, len, RectHeightStyle::kTight, rect_width_style); UNIX_ONLY_TEST() local
1435 std::vector<TextBox> boxes = paragraph->getRectsForRange(0, len, RectHeightStyle::kTight, rect_width_style); UNIX_ONLY_TEST() local
1527 std::vector<TextBox> boxes = paragraph->getRectsForRange(0, len, RectHeightStyle::kTight, rect_width_style); UNIX_ONLY_TEST() local
1584 std::vector<TextBox> boxes = paragraph->getRectsForRange(0, len, RectHeightStyle::kTight, rect_width_style); UNIX_ONLY_TEST() local
1920 auto boxes = paragraph->getRectsForRange(0, 100, rect_height_style, rect_width_style); UNIX_ONLY_TEST() local
2011 auto boxes = paragraph->getRectsForRange(0, 100, rect_height_style, rect_width_style); UNIX_ONLY_TEST() local
2065 auto boxes = paragraph->getRectsForRange(0, 30, rect_height_style, rect_width_style); UNIX_ONLY_TEST() local
2136 auto boxes = paragraph->getRectsForRange(0, 100, rect_height_style, rect_width_style); UNIX_ONLY_TEST() local
2458 std::vector<TextBox> boxes = paragraph->getRectsForRange(0, 100, rect_height_style, rect_width_style); UNIX_ONLY_TEST() local
2510 std::vector<TextBox> boxes = paragraph->getRectsForRange(36, 40, rect_height_style, rect_width_style); UNIX_ONLY_TEST() local
2557 std::vector<TextBox> boxes = UNIX_ONLY_TEST() local
3613 auto boxes = paragraph->getRectsForRange(5, 6, RectHeightStyle::kMax, RectWidthStyle::kTight); UNIX_ONLY_TEST() local
4412 auto boxes = paragraph->getRectsForRange(0, 0, rect_height_style, rect_width_style); UNIX_ONLY_TEST() local
4416 auto boxes = paragraph->getRectsForRange(0, 1, rect_height_style, rect_width_style); UNIX_ONLY_TEST() local
4425 auto boxes = paragraph->getRectsForRange(0, 1, rect_height_max_style, rect_width_style); UNIX_ONLY_TEST() local
4434 auto boxes = paragraph->getRectsForRange(6, 10, rect_height_style, rect_width_style); UNIX_ONLY_TEST() local
4443 auto boxes = paragraph->getRectsForRange(6, 10, rect_height_max_style, rect_width_style); UNIX_ONLY_TEST() local
4452 auto boxes = paragraph->getRectsForRange(14, 16, rect_height_max_style, rect_width_style); UNIX_ONLY_TEST() local
4461 auto boxes = paragraph->getRectsForRange(20, 25, rect_height_max_style, rect_width_style); UNIX_ONLY_TEST() local
4519 auto boxes = paragraph->getRectsForRange(0, 0, rect_height_style, rect_width_style); UNIX_ONLY_TEST() local
4523 auto boxes = paragraph->getRectsForRange(0, 1, rect_height_style, rect_width_style); UNIX_ONLY_TEST() local
4532 auto boxes = paragraph->getRectsForRange(0, 1, rect_height_max_style, rect_width_style); UNIX_ONLY_TEST() local
4541 auto boxes = paragraph->getRectsForRange(6, 10, rect_height_style, rect_width_style); UNIX_ONLY_TEST() local
4550 auto boxes = paragraph->getRectsForRange(6, 10, rect_height_max_style, rect_width_style); UNIX_ONLY_TEST() local
4559 auto boxes = paragraph->getRectsForRange(14, 16, rect_height_max_style, rect_width_style); UNIX_ONLY_TEST() local
4568 auto boxes = paragraph->getRectsForRange(20, 25, rect_height_max_style, rect_width_style); UNIX_ONLY_TEST() local
4627 auto boxes = paragraph->getRectsForRange(0, 0, rect_height_style, rect_width_style); UNIX_ONLY_TEST() local
4631 auto boxes = paragraph->getRectsForRange(0, 1, rect_height_style, rect_width_style); UNIX_ONLY_TEST() local
4640 auto boxes = paragraph->getRectsForRange(0, 1, rect_height_max_style, rect_width_style); UNIX_ONLY_TEST() local
4649 auto boxes = paragraph->getRectsForRange(6, 10, rect_height_style, rect_width_style); UNIX_ONLY_TEST() local
4658 auto boxes = paragraph->getRectsForRange(6, 10, rect_height_max_style, rect_width_style); UNIX_ONLY_TEST() local
4667 auto boxes = paragraph->getRectsForRange(14, 16, rect_height_max_style, rect_width_style); UNIX_ONLY_TEST() local
4676 auto boxes = paragraph->getRectsForRange(20, 25, rect_height_max_style, rect_width_style); UNIX_ONLY_TEST() local
4826 auto boxes = paragraph->getRectsForRange(0, 0, rect_height_style, rect_width_style); UNIX_ONLY_TEST() local
4830 auto boxes = paragraph->getRectsForRange(0, 1, rect_height_style, rect_width_style); UNIX_ONLY_TEST() local
4839 auto boxes = paragraph->getRectsForRange(0, 2, rect_height_strut_style, rect_width_style); UNIX_ONLY_TEST() local
6488 auto boxes = paragraph->getRectsForRange(0, 100, RectHeightStyle::kTight, RectWidthStyle::kTight); UNIX_ONLY_TEST() local
6640 auto boxes = paragraph->getRectsForRange( UNIX_ONLY_TEST() local
6708 auto boxes = paragraph->getRectsForRange(0, 60, RectHeightStyle::kIncludeLineSpacingTop, RectWidthStyle::kMax); UNIX_ONLY_TEST() local
6754 auto boxes = paragraph->getRectsForRange(0, 60, RectHeightStyle::kIncludeLineSpacingTop, RectWidthStyle::kMax); UNIX_ONLY_TEST() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/text_overlay/
H A Dtext_overlay_manager.cpp93 auto boxes = paragraph_->GetRectsForRange(0, textValue_.GetWideText().length(), local
96 auto boxes = paragraph_->GetTextRectsByBoundary(0, textValue_.GetWideText().length(), local
99 if (boxes.empty()) {
103 double leftBoundaryOfParagraph = boxes.front().rect.fLeft;
104 double rightBoundaryOfParagraph = boxes.front().rect.fLeft;
105 double bottomBoundaryOfParagraph = boxes.front().rect.fBottom;
107 double leftBoundaryOfParagraph = boxes.front().rect.GetLeft();
108 double rightBoundaryOfParagraph = boxes.front().rect.GetLeft();
109 double bottomBoundaryOfParagraph = boxes.front().rect.GetBottom();
111 for (const auto& box : boxes) {
153 auto boxes = paragraph_->GetRectsForRange( global() local
156 auto boxes = paragraph_->GetTextRectsByBoundary( global() local
237 auto boxes = paragraph_->GetRectsForRange( global() local
240 auto boxes = paragraph_->GetTextRectsByBoundary( global() local
455 const auto& boxes = paragraph_->GetRectsForRange(selection.GetStart(), selection.GetEnd(), global() local
458 const auto& boxes = paragraph_->GetTextRectsByBoundary(selection.GetStart(), selection.GetEnd(), global() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Dtxt_paragraph.cpp300 auto boxes = paragrah->GetRectsForRange( in GetCharacterWidth() local
303 auto boxes = paragrah->GetTextRectsByBoundary( in GetCharacterWidth() local
306 if (boxes.empty()) { in GetCharacterWidth()
309 const auto& textBox = *boxes.begin(); in GetCharacterWidth()
430 auto boxes = paragrah->GetRectsForRange( in AdjustIndexForward() local
433 auto boxes = paragrah->GetTextRectsByBoundary( in AdjustIndexForward() local
436 if (boxes.empty()) { in AdjustIndexForward()
441 const auto& textBox = *boxes.begin(); in AdjustIndexForward()
495 auto boxes = paragrah->GetRectsForRange( in ComputeOffsetForCaretUpstream() local
498 auto boxes in ComputeOffsetForCaretUpstream() local
615 auto boxes = getTextRects(extent, extent + 1); ComputeOffsetForCaretDownstream() local
685 const auto& boxes = paragrah->GetRectsForRange(start, end, heightStyle, txt::Paragraph::RectWidthStyle::kTight); GetRectsForRangeInner() local
690 const auto& boxes = paragrah->GetTextRectsByBoundary(start, end, heightStyle, Rosen::TextRectWidthStyle::TIGHT); GetRectsForRangeInner() local
710 const auto& boxes = paragrah->GetRectsForRange( TxtGetRectsForRange() local
713 const auto& boxes = paragrah->GetTextRectsByBoundary( TxtGetRectsForRange() local
765 const auto& boxes = paragrah->GetRectsForPlaceholders(); GetRectsForPlaceholders() local
767 const auto& boxes = paragrah->GetTextRectsOfPlaceholders(); GetRectsForPlaceholders() local
892 auto boxes = paragrah->GetRectsForRange(0, 1, txt::Paragraph::RectHeightStyle::kMax, HandleCaretWhenEmpty() local
895 auto boxes = paragrah->GetTextRectsByBoundary(0, 1, Rosen::TextRectHeightStyle::TIGHT, HandleCaretWhenEmpty() local
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/mpp_help/src/
H A Dvgs_img.c444 * Superimpose one or more rectangular boxes in the frame
447 const RectBox *boxes, int boxesNum, uint32_t color, int thick) in MppFrmDrawRects()
461 lines[RECT_LINES * i].stStartPoint.s32X = IntToOven(boxes[i].xmin); in MppFrmDrawRects()
462 lines[RECT_LINES * i].stStartPoint.s32Y = IntToOven(boxes[i].ymin); in MppFrmDrawRects()
463 lines[RECT_LINES * i].stEndPoint.s32X = IntToOven(boxes[i].xmax); in MppFrmDrawRects()
464 lines[RECT_LINES * i].stEndPoint.s32Y = IntToOven(boxes[i].ymin); in MppFrmDrawRects()
467 lines[RECT_LINES * i + RECT_LINE1].stStartPoint.s32X = IntToOven(boxes[i].xmax); in MppFrmDrawRects()
468 lines[RECT_LINES * i + RECT_LINE1].stStartPoint.s32Y = IntToOven(boxes[i].ymin); in MppFrmDrawRects()
469 lines[RECT_LINES * i + RECT_LINE1].stEndPoint.s32X = IntToOven(boxes[i].xmax); in MppFrmDrawRects()
470 lines[RECT_LINES * i + RECT_LINE1].stEndPoint.s32Y = IntToOven(boxes[ in MppFrmDrawRects()
446 MppFrmDrawRects(VIDEO_FRAME_INFO_S *frm, const RectBox *boxes, int boxesNum, uint32_t color, int thick) MppFrmDrawRects() argument
[all...]
/third_party/mesa3d/src/gallium/frontends/xa/
H A Dxa_context.c102 int to_surface, struct xa_box *boxes, unsigned int num_boxes) in xa_surface_dma()
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 in xa_surface_dma()
98 xa_surface_dma(struct xa_context *ctx, struct xa_surface *srf, void *data, unsigned int pitch, int to_surface, struct xa_box *boxes, unsigned int num_boxes) xa_surface_dma() argument
[all...]
H A Dxa_context.h79 int to_surface, struct xa_box *boxes,
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_drag/
H A Dtext_drag_pattern.cpp39 const RectF GetFirstBoxRect(const std::vector<RectF>& boxes, const RectF& contentRect, const float textStartY) in GetFirstBoxRect() argument
41 for (const auto& box : boxes) { in GetFirstBoxRect()
46 return boxes.front(); in GetFirstBoxRect()
49 const RectF GetLastBoxRect(const std::vector<RectF>& boxes, const RectF& contentRect, const float textStartY) in GetLastBoxRect() argument
54 for (const auto& box : boxes) { in GetLastBoxRect()
68 return boxes.back(); in GetLastBoxRect()
107 auto boxes = pattern->GetTextBoxes(); in CalculateTextDragData() local
108 CHECK_NULL_RETURN(!boxes.empty(), {}); in CalculateTextDragData()
110 RectF leftHandler = GetHandler(true, boxes, contentRect, globalOffset, textStartOffset); in CalculateTextDragData()
111 RectF rightHandler = GetHandler(false, boxes, contentRec in CalculateTextDragData()
145 GetHandler(const bool isLeftHandler, const std::vector<RectF> boxes, const RectF contentRect, const OffsetF globalOffset, const OffsetF textStartOffset) GetHandler() argument
[all...]
/third_party/ffmpeg/libavfilter/
H A Dvf_palettegen.c76 struct range_box boxes[256]; // define the segmentation of the colorspace (the final palette) member
77 int nb_boxes; // number of boxes (increase will segmenting them)
172 struct range_box *box = &s->boxes[box_id]; in get_next_box_id_to_split()
174 if (s->boxes[box_id].len >= 2) { in get_next_box_id_to_split()
238 struct range_box *new_box = &s->boxes[s->nb_boxes++]; in split_box()
267 pal[x] = s->boxes[box_id++].color; in write_palette()
343 box = &s->boxes[box_id]; in get_palette_frame()
400 /* if you have 2 boxes, the maximum is actually #0: you must have at in get_palette_frame()
411 box = box_id >= 0 ? &s->boxes[box_id] : NULL; in get_palette_frame()
418 qsort(s->boxes, in get_palette_frame()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/text_field/
H A Drosen_render_text_field.cpp218 const auto& boxes = paragraph_->GetRectsForRange(selection.GetStart(), selection.GetEnd(), in PaintSelectCaret() local
221 const auto& boxes = paragraph_->GetTextRectsByBoundary(selection.GetStart(), selection.GetEnd(), in PaintSelectCaret() local
224 if (!boxes.empty()) { in PaintSelectCaret()
227 boxes.back().rect.fRight - boxes.front().rect.fLeft, boxes.back().rect.fTop - boxes.front().rect.fTop); in PaintSelectCaret()
229 Offset startCaretOffset = Offset(boxes.back().rect.GetRight() - boxes.front().rect.GetLeft(), in PaintSelectCaret()
230 boxes in PaintSelectCaret()
336 const auto& boxes = paragraph_->GetRectsForRange(selection.GetStart(), selection.GetEnd(), global() local
339 const auto& boxes = paragraph_->GetTextRectsByBoundary(selection.GetStart(), selection.GetEnd(), global() local
1306 auto boxes = paragraph_->GetRectsForRange(0, GetEditingValue().GetWideText().length(), global() local
1309 auto boxes = paragraph_->GetTextRectsByBoundary(0, GetEditingValue().GetWideText().length(), global() local
1366 auto boxes = paragraph_->GetRectsForRange( global() local
1369 auto boxes = paragraph_->GetTextRectsByBoundary( global() local
1449 auto boxes = paragraph_->GetRectsForRange( global() local
1452 auto boxes = paragraph_->GetTextRectsByBoundary( global() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/savage/
H A Dsavage_state.c806 const struct drm_clip_rect *boxes) in savage_dispatch_clear()
835 x = boxes[i].x1, y = boxes[i].y1; in savage_dispatch_clear()
836 w = boxes[i].x2 - boxes[i].x1; in savage_dispatch_clear()
837 h = boxes[i].y2 - boxes[i].y1; in savage_dispatch_clear()
875 unsigned int nbox, const struct drm_clip_rect *boxes) in savage_dispatch_swap()
893 DMA_WRITE(BCI_X_Y(boxes[i].x1, boxes[ in savage_dispatch_swap()
802 savage_dispatch_clear(drm_savage_private_t * dev_priv, const drm_savage_cmd_header_t * cmd_header, const drm_savage_cmd_header_t *data, unsigned int nbox, const struct drm_clip_rect *boxes) savage_dispatch_clear() argument
874 savage_dispatch_swap(drm_savage_private_t * dev_priv, unsigned int nbox, const struct drm_clip_rect *boxes) savage_dispatch_swap() argument
903 savage_dispatch_draw(drm_savage_private_t * dev_priv, const drm_savage_cmd_header_t *start, const drm_savage_cmd_header_t *end, const struct drm_buf * dmabuf, const unsigned int *vtxbuf, unsigned int vb_size, unsigned int vb_stride, unsigned int nbox, const struct drm_clip_rect *boxes) savage_dispatch_draw() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/r128/
H A Dr128_state.c47 struct drm_clip_rect *boxes, int count) in r128_emit_clip_rects()
57 OUT_RING(boxes[0].x1); in r128_emit_clip_rects()
58 OUT_RING(boxes[0].x2 - 1); in r128_emit_clip_rects()
59 OUT_RING(boxes[0].y1); in r128_emit_clip_rects()
60 OUT_RING(boxes[0].y2 - 1); in r128_emit_clip_rects()
66 OUT_RING(boxes[1].x1); in r128_emit_clip_rects()
67 OUT_RING(boxes[1].x2 - 1); in r128_emit_clip_rects()
68 OUT_RING(boxes[1].y1); in r128_emit_clip_rects()
69 OUT_RING(boxes[1].y2 - 1); in r128_emit_clip_rects()
75 OUT_RING(boxes[ in r128_emit_clip_rects()
46 r128_emit_clip_rects(drm_r128_private_t *dev_priv, struct drm_clip_rect *boxes, int count) r128_emit_clip_rects() argument
[all...]
/third_party/ffmpeg/libavutil/
H A Ddetection_bbox.c26 AVDetectionBBox boxes; in av_detection_bbox_alloc() member
28 const size_t bboxes_offset = offsetof(struct BBoxContext, boxes); in av_detection_bbox_alloc()
/third_party/skia/modules/canvaskit/
H A Dparagraph_bindings.cpp258 Float32Array TextBoxesToFloat32Array(std::vector<para::TextBox> boxes) { in TextBoxesToFloat32Array() argument
259 // Pack these text boxes into an array of n groups of 5 SkScalar (floats) in TextBoxesToFloat32Array()
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(); GetRectsForPlaceholders() local
[all...]
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/skia_txt/
H A Dtypography.cpp214 std::vector<TextRect> boxes; in GetTextRectsByBoundary() local
216 boxes.push_back(Convert(rect)); in GetTextRectsByBoundary()
218 return boxes; in GetTextRectsByBoundary()
226 std::vector<TextRect> boxes; in GetTextRectsOfPlaceholders() local
228 boxes.push_back(Convert(rect)); in GetTextRectsOfPlaceholders()
230 return boxes; in GetTextRectsOfPlaceholders()
/third_party/python/Tools/demo/
H A Dredemo.py75 self.boxes = []
81 if len(self.boxes) % 3 == 0:
92 self.boxes.append(box)
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor_drag/
H A Drich_editor_drag_pattern.cpp86 auto boxes = hostPattern->GetTextBoxes(); in CreateDragNode() local
94 for (const auto& box : boxes) { in CreateDragNode()
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/impl/
H A Dparagraph_impl.cpp53 std::vector<TextBox> boxes; in GetTxtTextBoxes() local
55 boxes.emplace_back(box.rect, static_cast<TextDirection>(box.direction)); in GetTxtTextBoxes()
57 return boxes; in GetTxtTextBoxes()
235 std::vector<skt::TextBox> boxes = in GetRectsForRange() local
238 return GetTxtTextBoxes(boxes); in GetRectsForRange()
/kernel/linux/linux-5.10/arch/x86/events/intel/
H A Duncore.c113 return dieid < uncore_max_dies() ? pmu->boxes[dieid] : NULL; in uncore_pmu_to_box()
285 * handle boxes with an active event list as opposed to active in uncore_pmu_hrtimer()
888 kfree(pmu->boxes[die]); in uncore_free_boxes()
889 kfree(pmu->boxes); in uncore_free_boxes()
934 pmus[i].boxes = kzalloc(size, GFP_KERNEL); in uncore_type_init()
935 if (!pmus[i].boxes) in uncore_type_init()
974 kfree(pmus[i].boxes); in uncore_type_init()
1060 if (WARN_ON_ONCE(pmu->boxes[die] != NULL)) in uncore_pci_pmu_register()
1079 pmu->boxes[die] = box; in uncore_pci_pmu_register()
1086 pmu->boxes[di in uncore_pci_pmu_register()
[all...]
/kernel/linux/linux-6.6/arch/x86/events/intel/
H A Duncore.c145 return dieid < uncore_max_dies() ? pmu->boxes[dieid] : NULL; in uncore_pmu_to_box()
317 * handle boxes with an active event list as opposed to active in uncore_pmu_hrtimer()
952 kfree(pmu->boxes[die]); in uncore_free_boxes()
953 kfree(pmu->boxes); in uncore_free_boxes()
1002 pmus[i].boxes = kzalloc(size, GFP_KERNEL); in uncore_type_init()
1003 if (!pmus[i].boxes) in uncore_type_init()
1042 kfree(pmus[i].boxes); in uncore_type_init()
1150 if (WARN_ON_ONCE(pmu->boxes[die] != NULL)) in uncore_pci_pmu_register()
1168 pmu->boxes[die] = box; in uncore_pci_pmu_register()
1175 pmu->boxes[di in uncore_pci_pmu_register()
[all...]
/third_party/mesa3d/src/gallium/drivers/svga/
H A Dsvga_resource_buffer_upload.c580 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()
H A Dsvga_cmd.c421 * than specified. For example, it may round copy boxes outwards
431 const SVGA3dCopyBox *boxes, // IN in SVGA3D_SurfaceDMA()
438 uint32 boxesSize = sizeof *boxes * numBoxes; in SVGA3D_SurfaceDMA()
474 memcpy(&cmd[1], boxes, boxesSize); in SVGA3D_SurfaceDMA()
1050 * Asynchronously copies a list of boxes from surface to surface.
1059 SVGA3dCopyBox **boxes, // OUT in SVGA3D_BeginSurfaceCopy()
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()
428 SVGA3D_SurfaceDMA(struct svga_winsys_context *swc, struct svga_transfer *st, SVGA3dTransferType transfer, const SVGA3dCopyBox *boxes, uint32 numBoxes, SVGA3dSurfaceDMAFlags flags) SVGA3D_SurfaceDMA() argument
1056 SVGA3D_BeginSurfaceCopy(struct svga_winsys_context *swc, struct pipe_surface *src, struct pipe_surface *dest, SVGA3dCopyBox **boxes, uint32 numBoxes) SVGA3D_BeginSurfaceCopy() argument
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/mpp_help/include/
H A Dvgs_img.h74 * Superimpose one or more rectangular boxes in the frame
77 const RectBox *boxes, int boxesNum, uint32_t color, int thick);
/kernel/linux/linux-5.10/tools/vm/
H A Dslabinfo-gnuplot.sh94 plot "$file" $range u 2$xtic title 'SIZE' with boxes,\
95 '' $range u 3 title 'LOSS' with boxes
/kernel/linux/linux-6.6/tools/mm/
H A Dslabinfo-gnuplot.sh94 plot "$file" $range u 2$xtic title 'SIZE' with boxes,\
95 '' $range u 3 title 'LOSS' with boxes
/third_party/skia/tests/
H A DGrMeshTest.cpp91 * GrOpsRenderPass::draw*. The test works by drawing checkerboards of colored boxes, reading back
92 * the pixels, and comparing with expected results. The boxes are drawn on integer boundaries and
120 SkTArray<Box> boxes; local
137 const Box box = boxes.push_back() = {
176 // Draw boxes one line at a time to exercise base vertex.
223 // Draw boxes one line at a time to exercise base vertex. drawIndexPattern does
250 helper->fInstBuffer = helper->makeVertexBuffer(boxes);
260 // Draw boxes one line at a time to exercise base instance, base vertex, and
320 helper->fInstBuffer = helper->makeVertexBuffer(boxes);
351 // Draw boxes on
[all...]

Completed in 28 milliseconds

1234