Home
last modified time | relevance | path

Searched refs:pt (Results 1 – 25 of 1328) sorted by relevance

12345678910>>...54

/external/deqp/doc/testlog-stylesheet/
Dtestlog.css3 font-size: 10pt;
9 font-size: 16pt;
12 padding: 4pt 0pt 6pt 0pt;
13 margin: 0px 0px 10pt 0px;
18 font-size: 14pt;
22 padding: 2pt 0pt 4pt 0pt;
23 margin: 0pt 0pt 2pt 0pt;
28 font-size: 12pt;
31 padding: 2pt 0pt 4pt 0pt;
32 margin: 0pt 0pt 0pt 0pt;
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt.c92 draw->clip_user) && !draw->pt.test_fse) { in draw_pt_arrays()
99 if (draw->pt.middle.llvm) { in draw_pt_arrays()
100 middle = draw->pt.middle.llvm; in draw_pt_arrays()
103 middle = draw->pt.middle.fetch_emit; in draw_pt_arrays()
104 else if (opt == PT_SHADE && !draw->pt.no_fse) in draw_pt_arrays()
105 middle = draw->pt.middle.fetch_shade_emit; in draw_pt_arrays()
107 middle = draw->pt.middle.general; in draw_pt_arrays()
110 frontend = draw->pt.frontend; in draw_pt_arrays()
113 if (draw->pt.prim != prim || draw->pt.opt != opt) { in draw_pt_arrays()
121 } else if (draw->pt.eltSize != draw->pt.user.eltSize) { in draw_pt_arrays()
[all …]
Ddraw_pt_fetch.c83 assert(draw->pt.nr_vertex_elements + num_extra_inputs >= vs_input_count); in draw_pt_fetch_prepare()
85 nr_inputs = MIN2(vs_input_count, draw->pt.nr_vertex_elements + num_extra_inputs); in draw_pt_fetch_prepare()
95 } else if (util_format_is_pure_sint(draw->pt.vertex_element[i].src_format)) { in draw_pt_fetch_prepare()
97 key.element[nr].input_format = draw->pt.vertex_element[ei].src_format; in draw_pt_fetch_prepare()
98 key.element[nr].input_buffer = draw->pt.vertex_element[ei].vertex_buffer_index; in draw_pt_fetch_prepare()
99 key.element[nr].input_offset = draw->pt.vertex_element[ei].src_offset; in draw_pt_fetch_prepare()
100 key.element[nr].instance_divisor = draw->pt.vertex_element[ei].instance_divisor; in draw_pt_fetch_prepare()
106 } else if (util_format_is_pure_uint(draw->pt.vertex_element[i].src_format)) { in draw_pt_fetch_prepare()
108 key.element[nr].input_format = draw->pt.vertex_element[ei].src_format; in draw_pt_fetch_prepare()
109 key.element[nr].input_buffer = draw->pt.vertex_element[ei].vertex_buffer_index; in draw_pt_fetch_prepare()
[all …]
/external/skia/src/pathops/
DSkPathOpsBounds.h36 void add(const SkPoint& pt) { in add()
37 if (pt.fX < fLeft) fLeft = pt.fX; in add()
38 if (pt.fY < fTop) fTop = pt.fY; in add()
39 if (pt.fX > fRight) fRight = pt.fX; in add()
40 if (pt.fY > fBottom) fBottom = pt.fY; in add()
43 void add(const SkDPoint& pt) { in add()
44 if (pt.fX < fLeft) fLeft = SkDoubleToScalar(pt.fX); in add()
45 if (pt.fY < fTop) fTop = SkDoubleToScalar(pt.fY); in add()
46 if (pt.fX > fRight) fRight = SkDoubleToScalar(pt.fX); in add()
47 if (pt.fY > fBottom) fBottom = SkDoubleToScalar(pt.fY); in add()
[all …]
/external/skqp/src/pathops/
DSkPathOpsBounds.h36 void add(const SkPoint& pt) { in add()
37 if (pt.fX < fLeft) fLeft = pt.fX; in add()
38 if (pt.fY < fTop) fTop = pt.fY; in add()
39 if (pt.fX > fRight) fRight = pt.fX; in add()
40 if (pt.fY > fBottom) fBottom = pt.fY; in add()
43 void add(const SkDPoint& pt) { in add()
44 if (pt.fX < fLeft) fLeft = SkDoubleToScalar(pt.fX); in add()
45 if (pt.fY < fTop) fTop = SkDoubleToScalar(pt.fY); in add()
46 if (pt.fX > fRight) fRight = SkDoubleToScalar(pt.fX); in add()
47 if (pt.fY > fBottom) fBottom = SkDoubleToScalar(pt.fY); in add()
[all …]
/external/skqp/tests/
DPathOpsDPointTest.cpp25 const SkDPoint& pt = tests[index]; in DEF_TEST() local
26 SkASSERT(ValidPoint(pt)); in DEF_TEST()
27 SkDPoint p = pt; in DEF_TEST()
28 REPORTER_ASSERT(reporter, p == pt); in DEF_TEST()
29 REPORTER_ASSERT(reporter, !(pt != pt)); in DEF_TEST()
30 SkDVector v = p - pt; in DEF_TEST()
32 REPORTER_ASSERT(reporter, p == pt); in DEF_TEST()
34 REPORTER_ASSERT(reporter, p == pt); in DEF_TEST()
35 REPORTER_ASSERT(reporter, p.approximatelyEqual(pt)); in DEF_TEST()
36 SkPoint sPt = pt.asSkPoint(); in DEF_TEST()
[all …]
/external/skia/tests/
DPathOpsDPointTest.cpp25 const SkDPoint& pt = tests[index]; in DEF_TEST() local
26 SkASSERT(ValidPoint(pt)); in DEF_TEST()
27 SkDPoint p = pt; in DEF_TEST()
28 REPORTER_ASSERT(reporter, p == pt); in DEF_TEST()
29 REPORTER_ASSERT(reporter, !(pt != pt)); in DEF_TEST()
30 SkDVector v = p - pt; in DEF_TEST()
32 REPORTER_ASSERT(reporter, p == pt); in DEF_TEST()
34 REPORTER_ASSERT(reporter, p == pt); in DEF_TEST()
35 REPORTER_ASSERT(reporter, p.approximatelyEqual(pt)); in DEF_TEST()
36 SkPoint sPt = pt.asSkPoint(); in DEF_TEST()
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_miptree.c168 const struct pipe_resource *pt = &mt->base.base; in nvc0_miptree_init_layout_video() local
169 const unsigned blocksize = util_format_get_blocksize(pt->format); in nvc0_miptree_init_layout_video()
171 assert(pt->last_level == 0); in nvc0_miptree_init_layout_video()
173 assert(!util_format_is_compressed(pt->format)); in nvc0_miptree_init_layout_video()
175 mt->layout_3d = pt->target == PIPE_TEXTURE_3D; in nvc0_miptree_init_layout_video()
178 mt->level[0].pitch = align(pt->width0 * blocksize, 64); in nvc0_miptree_init_layout_video()
179 mt->total_size = align(pt->height0, 16) * mt->level[0].pitch * (mt->layout_3d ? pt->depth0 : 1); in nvc0_miptree_init_layout_video()
181 if (pt->array_size > 1) { in nvc0_miptree_init_layout_video()
183 mt->total_size = mt->layer_stride * pt->array_size; in nvc0_miptree_init_layout_video()
190 struct pipe_resource *pt = &mt->base.base; in nvc0_miptree_init_layout_tiled() local
[all …]
/external/libvpx/libvpx/vp8/encoder/
Dtokenize.c103 int pt; /* near block/prev token context index */ in tokenize2nd_order_b() local
118 VP8_COMBINEENTROPYCONTEXTS(pt, *a, *l); in tokenize2nd_order_b()
123 t->context_tree = cpi->common.fc.coef_probs[1][0][pt]; in tokenize2nd_order_b()
126 ++x->coef_counts[1][0][pt][DCT_EOB_TOKEN]; in tokenize2nd_order_b()
138 t->context_tree = cpi->common.fc.coef_probs[1][0][pt]; in tokenize2nd_order_b()
140 ++x->coef_counts[1][0][pt][token]; in tokenize2nd_order_b()
141 pt = vp8_prev_token_class[token]; in tokenize2nd_order_b()
154 t->context_tree = cpi->common.fc.coef_probs[1][band][pt]; in tokenize2nd_order_b()
156 t->skip_eob_node = ((pt == 0)); in tokenize2nd_order_b()
158 ++x->coef_counts[1][band][pt][token]; in tokenize2nd_order_b()
[all …]
/external/skia/src/core/
DSkPointPriv.h26 static const SkScalar* AsScalars(const SkPoint& pt) { return &pt.fX; } in AsScalars() argument
32 static SkScalar DistanceToLineBetweenSqd(const SkPoint& pt, const SkPoint& a,
35 static SkScalar DistanceToLineBetween(const SkPoint& pt, const SkPoint& a,
37 return SkScalarSqrt(DistanceToLineBetweenSqd(pt, a, b, side));
40 static SkScalar DistanceToLineSegmentBetweenSqd(const SkPoint& pt, const SkPoint& a,
43 static SkScalar DistanceToLineSegmentBetween(const SkPoint& pt, const SkPoint& a, in DistanceToLineSegmentBetween() argument
45 return SkScalarSqrt(DistanceToLineSegmentBetweenSqd(pt, a, b)); in DistanceToLineSegmentBetween()
48 static SkScalar DistanceToSqd(const SkPoint& pt, const SkPoint& a) { in DistanceToSqd() argument
49 SkScalar dx = pt.fX - a.fX; in DistanceToSqd()
50 SkScalar dy = pt.fY - a.fY; in DistanceToSqd()
[all …]
/external/skqp/src/core/
DSkPointPriv.h26 static const SkScalar* AsScalars(const SkPoint& pt) { return &pt.fX; } in AsScalars() argument
36 static SkScalar DistanceToLineBetweenSqd(const SkPoint& pt, const SkPoint& a,
39 static SkScalar DistanceToLineBetween(const SkPoint& pt, const SkPoint& a,
41 return SkScalarSqrt(DistanceToLineBetweenSqd(pt, a, b, side));
44 static SkScalar DistanceToLineSegmentBetweenSqd(const SkPoint& pt, const SkPoint& a,
47 static SkScalar DistanceToLineSegmentBetween(const SkPoint& pt, const SkPoint& a, in DistanceToLineSegmentBetween() argument
49 return SkScalarSqrt(DistanceToLineSegmentBetweenSqd(pt, a, b)); in DistanceToLineSegmentBetween()
52 static SkScalar DistanceToSqd(const SkPoint& pt, const SkPoint& a) { in DistanceToSqd() argument
53 SkScalar dx = pt.fX - a.fX; in DistanceToSqd()
54 SkScalar dy = pt.fY - a.fY; in DistanceToSqd()
[all …]
/external/mesa3d/src/gallium/drivers/i915/
Di915_resource_texture.c205 struct pipe_resource *pt = &tex->b.b; in i9x5_scanout_layout() local
207 if (pt->last_level > 0 || util_format_get_blocksize(pt->format) != 4) in i9x5_scanout_layout()
213 if (pt->width0 >= 240) { in i9x5_scanout_layout()
214 tex->stride = align(util_format_get_stride(pt->format, pt->width0), 64); in i9x5_scanout_layout()
215 tex->total_nblocksy = align_nblocksy(pt->format, pt->height0, 8); in i9x5_scanout_layout()
218 } else if (pt->width0 == 64 && pt->height0 == 64) { in i9x5_scanout_layout()
219 tex->stride = get_pot_stride(pt->format, pt->width0); in i9x5_scanout_layout()
220 tex->total_nblocksy = align_nblocksy(pt->format, pt->height0, 8); in i9x5_scanout_layout()
227 pt->width0, pt->height0, util_format_get_blocksize(pt->format), in i9x5_scanout_layout()
240 struct pipe_resource *pt = &tex->b.b; in i9x5_display_target_layout() local
[all …]
/external/u-boot/fs/yaffs2/
Dyaffs_packedtags1.c25 void yaffs_pack_tags1(struct yaffs_packed_tags1 *pt, in yaffs_pack_tags1() argument
28 pt->chunk_id = t->chunk_id; in yaffs_pack_tags1()
29 pt->serial_number = t->serial_number; in yaffs_pack_tags1()
30 pt->n_bytes = t->n_bytes; in yaffs_pack_tags1()
31 pt->obj_id = t->obj_id; in yaffs_pack_tags1()
32 pt->ecc = 0; in yaffs_pack_tags1()
33 pt->deleted = (t->is_deleted) ? 0 : 1; in yaffs_pack_tags1()
34 pt->unused_stuff = 0; in yaffs_pack_tags1()
35 pt->should_be_ff = 0xffffffff; in yaffs_pack_tags1()
39 const struct yaffs_packed_tags1 *pt) in yaffs_unpack_tags1() argument
[all …]
/external/skqp/docs/
DSkIPoint_Reference.bmh95 SkIPoint pt = { 0, -0};
96 SkDebugf("pt.isZero() == %s\n", pt.isZero() ? "true" : "false");
98 pt.isZero() == true
141 for (const SkIPoint& pt : test) {
142 SkIPoint negPt = -pt;
143 SkDebugf("pt: %d, %d negate: %d, %d\n", pt.fX, pt.fY, negPt.fX, negPt.fY);
146 pt: 0, 0 negate: 0, 0
147 pt: -1, -2 negate: 1, 2
148 pt: 2147483647, -2147483647 negate: -2147483647, 2147483647
149 pt: -2147483648, -2147483648 negate: -2147483648, -2147483648
[all …]
/external/skia/docs/
DSkIPoint_Reference.bmh95 SkIPoint pt = { 0, -0};
96 SkDebugf("pt.isZero() == %s\n", pt.isZero() ? "true" : "false");
98 pt.isZero() == true
141 for (const SkIPoint& pt : test) {
142 SkIPoint negPt = -pt;
143 SkDebugf("pt: %d, %d negate: %d, %d\n", pt.fX, pt.fY, negPt.fX, negPt.fY);
146 pt: 0, 0 negate: 0, 0
147 pt: -1, -2 negate: 1, 2
148 pt: 2147483647, -2147483647 negate: -2147483647, 2147483647
149 pt: -2147483648, -2147483648 negate: -2147483648, -2147483648
[all …]
/external/fonttools/Lib/fontTools/pens/
DpointPen.py41 def addPoint(self, pt, segmentType=None, smooth=False, name=None, argument
104 pt, segmentType, smooth, name, kwargs = points[0]
105 segments = [("move", [(pt, smooth, name, kwargs)])]
112 pt, segmentType, smooth, name, kwargs = points[0]
113 segments.append(("move", [(pt, smooth, name, kwargs)]))
134 for pt, segmentType, smooth, name, kwargs in points:
135 currentSegment.append((pt, smooth, name, kwargs))
143 def addPoint(self, pt, segmentType=None, smooth=False, name=None, argument
145 self.currentPath.append((pt, segmentType, smooth, name, kwargs))
186 points = [pt for pt, smooth, name, kwargs in points]
[all …]
/external/syzkaller/dashboard/app/static/
Dstyle.css71 width: 100pt;
72 max-width: 100pt;
76 width: 350pt;
77 max-width: 350pt;
82 font-size: 8pt;
83 width: 200pt;
84 max-width: 200pt;
88 width: 40pt;
89 max-width: 40pt;
93 width: 250pt;
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_tile.c48 pipe_get_tile_raw(struct pipe_transfer *pt, in pipe_get_tile_raw() argument
54 dst_stride = util_format_get_stride(pt->resource->format, w); in pipe_get_tile_raw()
56 if (u_clip_tile(x, y, &w, &h, &pt->box)) in pipe_get_tile_raw()
59 util_copy_rect(dst, pt->resource->format, dst_stride, 0, 0, w, h, src, pt->stride, x, y); in pipe_get_tile_raw()
67 pipe_put_tile_raw(struct pipe_transfer *pt, in pipe_put_tile_raw() argument
72 enum pipe_format format = pt->resource->format; in pipe_put_tile_raw()
77 if (u_clip_tile(x, y, &w, &h, &pt->box)) in pipe_put_tile_raw()
80 util_copy_rect(dst, format, pt->stride, x, y, w, h, src, src_stride, 0, 0); in pipe_put_tile_raw()
428 pipe_get_tile_rgba(struct pipe_transfer *pt, in pipe_get_tile_rgba() argument
433 pipe_get_tile_rgba_format(pt, src, x, y, w, h, pt->resource->format, p); in pipe_get_tile_rgba()
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_miptree.c162 nv50_miptree_destroy(struct pipe_screen *pscreen, struct pipe_resource *pt) in nv50_miptree_destroy() argument
164 struct nv50_miptree *mt = nv50_miptree(pt); in nv50_miptree_destroy()
183 struct pipe_resource *pt, in nv50_miptree_get_handle() argument
186 struct nv50_miptree *mt = nv50_miptree(pt); in nv50_miptree_get_handle()
241 struct pipe_resource *pt = &mt->base.base; in nv50_miptree_init_layout_linear() local
242 const unsigned blocksize = util_format_get_blocksize(pt->format); in nv50_miptree_init_layout_linear()
243 unsigned h = pt->height0; in nv50_miptree_init_layout_linear()
245 if (util_format_is_depth_or_stencil(pt->format)) in nv50_miptree_init_layout_linear()
248 if ((pt->last_level > 0) || (pt->depth0 > 1) || (pt->array_size > 1)) in nv50_miptree_init_layout_linear()
253 mt->level[0].pitch = align(pt->width0 * blocksize, pitch_align); in nv50_miptree_init_layout_linear()
[all …]
/external/u-boot/disk/
Dpart_dos.c126 dos_partition_t *pt; in print_partition_extended() local
146 pt = (dos_partition_t *) (buffer + DOS_PART_TBL_OFFSET); in print_partition_extended()
147 for (i = 0; i < 4; i++, pt++) { in print_partition_extended()
153 if ((pt->sys_ind != 0) && in print_partition_extended()
154 (ext_part_sector == 0 || !is_extended (pt->sys_ind)) ) { in print_partition_extended()
155 print_one_part(pt, ext_part_sector, part_num, disksig); in print_partition_extended()
160 (pt->sys_ind != 0 && !is_extended (pt->sys_ind)) ) { in print_partition_extended()
166 pt = (dos_partition_t *) (buffer + DOS_PART_TBL_OFFSET); in print_partition_extended()
167 for (i = 0; i < 4; i++, pt++) { in print_partition_extended()
168 if (is_extended (pt->sys_ind)) { in print_partition_extended()
[all …]
/external/libdrm/exynos/
Dexynos_fimg2d.c451 union g2d_point_val pt; in g2d_solid_fill() local
466 pt.data.x = x; in g2d_solid_fill()
467 pt.data.y = y; in g2d_solid_fill()
468 g2d_add_cmd(ctx, DST_LEFT_TOP_REG, pt.val); in g2d_solid_fill()
470 pt.data.x = x + w; in g2d_solid_fill()
471 pt.data.y = y + h; in g2d_solid_fill()
472 g2d_add_cmd(ctx, DST_RIGHT_BOTTOM_REG, pt.val); in g2d_solid_fill()
505 union g2d_point_val pt; in g2d_copy() local
543 pt.data.x = src_x; in g2d_copy()
544 pt.data.y = src_y; in g2d_copy()
[all …]
/external/swiftshader/third_party/subzero/tests_lit/reader_tests/
Dselect.ll61 define internal i32 @Seli32(i32 %pc, i32 %pt, i32 %pe) {
64 %r = select i1 %vc, i32 %pt, i32 %pe
68 ; CHECK-NEXT: define internal i32 @Seli32(i32 %pc, i32 %pt, i32 %pe) {
71 ; CHECK-NEXT: %r = select i1 %vc, i32 %pt, i32 %pe
75 define internal i64 @Seli64(i64 %pc, i64 %pt, i64 %pe) {
78 %r = select i1 %vc, i64 %pt, i64 %pe
82 ; CHECK-NEXT: define internal i64 @Seli64(i64 %pc, i64 %pt, i64 %pe) {
85 ; CHECK-NEXT: %r = select i1 %vc, i64 %pt, i64 %pe
89 define internal float @SelFloat(i32 %pc, float %pt, float %pe) {
92 %r = select i1 %vc, float %pt, float %pe
[all …]
/external/llvm/docs/_static/
Dllvm.css17 tr, td { border: 2px solid gray; padding: 4pt 4pt 2pt 2pt; }
33 padding-left: 8pt;
38 h1, .doc_title, .title { text-align: left; font-size: 25pt }
40 h2, .doc_section { text-align: center; font-size: 22pt;
41 margin: 20pt 0pt 5pt 0pt; }
44 text-align: left; font-size: 12pt;
45 padding: 4pt 4pt 4pt 4pt;
50 border-bottom: 1px solid #999999; font-size: 12pt;
53 .doc_author { text-align: left; font-weight: bold; padding-left: 20pt }
54 .doc_text { text-align: left; padding-left: 20pt; padding-right: 10pt }
[all …]
/external/swiftshader/third_party/LLVM/docs/
Dllvm.css17 tr, td { border: 2px solid gray; padding: 4pt 4pt 2pt 2pt; }
33 padding-left: 8pt;
38 h1, .doc_title, .title { text-align: left; font-size: 25pt }
40 h2, .doc_section { text-align: center; font-size: 22pt;
41 margin: 20pt 0pt 5pt 0pt; }
44 text-align: left; font-size: 12pt;
45 padding: 4pt 4pt 4pt 4pt;
50 border-bottom: 1px solid #999999; font-size: 12pt;
53 .doc_author { text-align: left; font-weight: bold; padding-left: 20pt }
54 .doc_text { text-align: left; padding-left: 20pt; padding-right: 10pt }
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/docs/_static/
Dllvm.css17 tr, td { border: 2px solid gray; padding: 4pt 4pt 2pt 2pt; }
33 padding-left: 8pt;
38 h1, .doc_title, .title { text-align: left; font-size: 25pt }
40 h2, .doc_section { text-align: center; font-size: 22pt;
41 margin: 20pt 0pt 5pt 0pt; }
44 text-align: left; font-size: 12pt;
45 padding: 4pt 4pt 4pt 4pt;
50 border-bottom: 1px solid #999999; font-size: 12pt;
53 .doc_author { text-align: left; font-weight: bold; padding-left: 20pt }
54 .doc_text { text-align: left; padding-left: 20pt; padding-right: 10pt }
[all …]

12345678910>>...54