HomeSort by: relevance | last modified time | path
    Searched refs:p2 (Results 1 - 25 of 181) sorted by relevancy

1 2 3 4 5 6 7 8

  /xsrc/external/mit/brotli/dist/c/enc/
cluster.c 23 const HistogramPair* p1, const HistogramPair* p2) {
24 if (p1->cost_diff != p2->cost_diff) {
25 return TO_BROTLI_BOOL(p1->cost_diff > p2->cost_diff);
27 return TO_BROTLI_BOOL((p1->idx2 - p1->idx1) > (p2->idx2 - p2->idx1));
  /xsrc/external/mit/xlogo/dist/
RenderLogo.c 40 XPointDouble p1, p2; member in struct:_XLineDouble
81 thick_left.p2.x = x + size - thick; thick_left.p2.y = y + size;
84 thick_right.p2.x = x + size; thick_right.p2.y = y + size;
87 thin_left.p2.x = x + 0; thin_left.p2.y = y + size;
90 thin_right.p2.x = x + d31; thin_right.p2.y = y + size;
93 gap_left.p2.x = x + thin; gap_left.p2.y = y + size
    [all...]
  /xsrc/external/mit/xorg-server/dist/os/
timingsafe_memcmp.c 26 const unsigned char *p1 = b1, *p2 = b2; local
31 /* lt is -1 if p1[i] < p2[i]; else 0. */
32 int lt = (p1[i] - p2[i]) >> CHAR_BIT;
34 /* gt is -1 if p1[i] > p2[i]; else 0. */
35 int gt = (p2[i] - p1[i]) >> CHAR_BIT;
37 /* cmp is 1 if p1[i] > p2[i]; -1 if p1[i] < p2[i]; else 0. */
43 /* set done if p1[i] != p2[i]. */
  /xsrc/external/mit/xorg-server.old/dist/os/
timingsafe_memcmp.c 26 const unsigned char *p1 = b1, *p2 = b2; local
31 /* lt is -1 if p1[i] < p2[i]; else 0. */
32 int lt = (p1[i] - p2[i]) >> CHAR_BIT;
34 /* gt is -1 if p1[i] > p2[i]; else 0. */
35 int gt = (p2[i] - p1[i]) >> CHAR_BIT;
37 /* cmp is 1 if p1[i] > p2[i]; -1 if p1[i] < p2[i]; else 0. */
43 /* set done if p1[i] != p2[i]. */
  /xsrc/external/mit/pixman/dist/demos/
linear-gradient.c 22 pixman_point_fixed_t p1, p2; local
31 p2.x = WIDTH << 16;
32 p2.y = HEIGHT << 16;
34 src_img = pixman_image_create_linear_gradient (&p1, &p2, stops, ARRAY_LENGTH (stops));
  /xsrc/external/mit/libXt/dist/test/
Alloc.c 422 void *p, *p2; local
437 p2 = XtMalloc(73);
438 g_assert_nonnull(p2);
452 XtFree(p2);
459 void *p, *p2; local
466 p2 = XtRealloc(p, 0);
473 XtFree(p2);
480 void *p, *p2; local
490 p2 = XtRealloc(p, ALLOC_LIMIT + 1);
491 g_assert_null(p2);
575 void *p, *p2; local
611 void *p, *p2; local
632 void *p, *p2; local
    [all...]
  /xsrc/external/mit/xf86-video-intel/dist/src/sna/
gen4_source.c 75 DBG(("%s: p1=(%f, %f), p2=(%f, %f), src=(%d, %d), dst=(%d, %d), size=(%d, %d)\n",
78 pixman_fixed_to_double(linear->p2.x), pixman_fixed_to_double(linear->p2.y),
81 if (linear->p2.x == linear->p1.x && linear->p2.y == linear->p1.y)
108 dx = pixman_fixed_to_double(linear->p2.x - linear->p1.x);
109 dy = pixman_fixed_to_double(linear->p2.y - linear->p1.y);
119 struct pixman_f_vector p1, p2; local
136 p2.v[0] = pixman_fixed_to_double(linear->p2.x)
    [all...]
sna_trapezoids_mono.c 192 const xPointFixed *p1, const xPointFixed *p2,
202 (int)p1->x, (int)p1->y, (int)p2->x, (int)p2->y,
214 p1 = p2;
215 p2 = t;
237 if (I(p1->x) == I(p2->x)) {
245 int64_t dx = (int64_t)p2->x - p1->x;
246 int64_t dy = (int64_t)p2->y - p1->y;
248 __DBG(("%s: diagonal edge (%d, %d), x:[%d, %d]\n", __FUNCTION__, dx, dy, I(p1->x), I(p2->x)));
799 &t->left.p1, &t->left.p2, 1)
964 xPointFixed p1, p2; local
1253 xPointFixed p1, p2; local
1327 xPointFixed p1, p2; local
1453 xPointFixed p1, p2; local
1598 xPointFixed p1, p2; local
    [all...]
  /xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/
gen4_source.c 75 DBG(("%s: p1=(%f, %f), p2=(%f, %f), src=(%d, %d), dst=(%d, %d), size=(%d, %d)\n",
78 pixman_fixed_to_double(linear->p2.x), pixman_fixed_to_double(linear->p2.y),
81 if (linear->p2.x == linear->p1.x && linear->p2.y == linear->p1.y)
108 dx = pixman_fixed_to_double(linear->p2.x - linear->p1.x);
109 dy = pixman_fixed_to_double(linear->p2.y - linear->p1.y);
119 struct pixman_f_vector p1, p2; local
136 p2.v[0] = pixman_fixed_to_double(linear->p2.x)
    [all...]
sna_trapezoids_mono.c 191 const xPointFixed *p1, const xPointFixed *p2,
201 (int)p1->x, (int)p1->y, (int)p2->x, (int)p2->y,
213 p1 = p2;
214 p2 = t;
236 if (I(p1->x) == I(p2->x)) {
244 int64_t dx = (int64_t)p2->x - p1->x;
245 int64_t dy = (int64_t)p2->y - p1->y;
247 __DBG(("%s: diagonal edge (%d, %d), x:[%d, %d]\n", __FUNCTION__, dx, dy, I(p1->x), I(p2->x)));
740 &t->left.p1, &t->left.p2, 1)
902 xPointFixed p1, p2; local
1188 xPointFixed p1, p2; local
1262 xPointFixed p1, p2; local
1387 xPointFixed p1, p2; local
1531 xPointFixed p1, p2; local
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
lp_perf.c 49 float p1, p2, p3, p4, p5, p6; local
59 p2 = 100.0 * (float) lp_count.nr_fully_covered_64 / (float) total_64;
65 debug_printf("llvmpipe: nr_fully_covered_64x64: %9u (%3.0f%% of %u)\n", lp_count.nr_fully_covered_64, p2, total_64);
78 p2 = 100.0 * (float) lp_count.nr_fully_covered_16 / (float) total_16;
82 debug_printf("llvmpipe: nr_fully_covered_16x16: %9u (%3.0f%% of %u)\n", lp_count.nr_fully_covered_16, p2, total_16);
91 p2 = 100.0 * (float) lp_count.nr_fully_covered_4 / (float) total_4;
96 debug_printf("llvmpipe: nr_fully_covered_4x4: %9u (%3.0f%% of %u)\n", lp_count.nr_fully_covered_4, p2, total_4);
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
lp_perf.c 49 float p1, p2, p3, p4, p5, p6; local
61 p2 = 100.0 * (float) lp_count.nr_fully_covered_64 / (float) total_64;
68 debug_printf("llvmpipe: nr_fully_covered_64x64: %9u (%3.0f%% of %u)\n", lp_count.nr_fully_covered_64, p2, total_64);
83 p2 = 100.0 * (float) lp_count.nr_fully_covered_16 / (float) total_16;
87 debug_printf("llvmpipe: nr_fully_covered_16x16: %9u (%3.0f%% of %u)\n", lp_count.nr_fully_covered_16, p2, total_16);
96 p2 = 100.0 * (float) lp_count.nr_fully_covered_4 / (float) total_4;
101 debug_printf("llvmpipe: nr_fully_covered_4x4: %9u (%3.0f%% of %u)\n", lp_count.nr_fully_covered_4, p2, total_4);
110 p2 = 100.0 * (float) lp_count.nr_rect_fully_covered_4 / (float) total_4;
114 debug_printf("llvmpipe: nr_rect_part_4x4: %9u (%3.0f%% of %u)\n", lp_count.nr_rect_partially_covered_4, p2, total_4);
  /xsrc/external/mit/xf86-video-cirrus/dist/src/
alp_hwcurs.c 53 unsigned char *p1, *p2; local
67 p2 = CursorBits + a;
69 *p1++ = (p2[0] << b) | (p2[1] >> (8-b));
70 p2++;
73 *p1++ = (p2[0] << b);
82 p2 = CursorBits+CURSORSIZE+a;
84 *p1++ = (p2[0] << b) | (p2[1] >> (8-b));
85 p2++
    [all...]
  /xsrc/external/mit/libXrender/dist/src/
Poly.c 49 XFixed dx = line->p2.x - line->p1.x;
51 XFixed dy = line->p2.y - line->p1.y;
59 return (XFixedToDouble (l->p2.x - l->p1.x) /
60 XFixedToDouble (l->p2.y - l->p1.y));
140 en->edge.p2.x < e->edge.p2.x))
177 next_y = active->edge.p2.y;
180 if (e->edge.p2.y < next_y)
181 next_y = e->edge.p2.y;
184 if (en && e->edge.p2.x > en->edge.p2.x
    [all...]
  /xsrc/external/mit/xorg-server/dist/Xi/
closedev.c 119 WindowPtr p2; local
122 p2 = p1->firstChild;
124 DeleteEventsFromChildren(dev, p2, client);
getfctl.c 123 xPtrFeedbackState *p2; local
125 p2 = (xPtrFeedbackState *) * buf;
126 p2->class = PtrFeedbackClass;
127 p2->length = sizeof(xPtrFeedbackState);
128 p2->id = p->ctrl.id;
129 p2->accelNum = p->ctrl.num;
130 p2->accelDenom = p->ctrl.den;
131 p2->threshold = p->ctrl.threshold;
133 swaps(&p2->length);
134 swaps(&p2->accelNum)
    [all...]
  /xsrc/external/mit/xorg-server.old/dist/Xi/
closedev.c 121 WindowPtr p2; local
124 p2 = p1->firstChild;
126 DeleteEventsFromChildren(dev, p2, client);
getfctl.c 126 xPtrFeedbackState *p2; local
128 p2 = (xPtrFeedbackState *) * buf;
129 p2->class = PtrFeedbackClass;
130 p2->length = sizeof(xPtrFeedbackState);
131 p2->id = p->ctrl.id;
132 p2->accelNum = p->ctrl.num;
133 p2->accelDenom = p->ctrl.den;
134 p2->threshold = p->ctrl.threshold;
136 swaps(&p2->length, n);
137 swaps(&p2->accelNum, n)
    [all...]
  /xsrc/external/mit/mesa-demos/dist/src/samples/
tri.c 62 float p2[3] = { 172, 0, 0}; variable
277 glVertex3fv(p2);
286 glRectf(p2[0]-2, p2[1]-2, p2[0]+2, p2[1]+2);
322 glVertex3fv(p2);
336 glVertex3fv(p2);
  /xsrc/external/mit/fontconfig/dist/src/
fcdbg.c 222 FcPattern *p1, *p2; local
227 p2 = FcPatternFilter (pp2, os);
232 p2 = pp2;
235 p1->num, p1->size, p2->num, p2->size);
239 e2 = &FcPatternElts(p2)[j];
242 pos = FcPatternPosition (p2, FcObjectName (e1->object));
247 e2 = &FcPatternElts(p2)[k];
268 e2 = &FcPatternElts(p2)[j];
274 if (j < p2->num
    [all...]
  /xsrc/external/mit/xorg-server.old/dist/fb/
fbtrap.c 107 left = &tris->p2;
134 trap.left.p2 = *left;
136 trap.right.p2 = *right;
147 trap.right.p2 = *left;
154 trap.left.p2 = *right;
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/codegen/lib/
gk104.asm 52 set $p2 0x1 lt s32 $r0 0x0
53 set $p3 0x1 lt s32 $r1 0x0 xor $p2
87 $p2 cvt s32 $r1 neg s32 $r1
94 // $p1, $p2: caching predicate (00: cv, 01: ca, 10: cg)
98 set $p1 0x1 $p1 xor not $p2
99 $p2 suldgb b128 $r0q cg zero u8 g[$r4d] $r2 $p0
105 set $p1 0x1 $p1 xor not $p2
106 $p2 suldgb b128 $r0q cg zero u8 g[$r4d] $r2 $p0
121 set $p1 0x1 $p1 xor not $p2
122 $p2 suldgb b64 $r0d cg zero u8 g[$r4d] $r2 $p
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/codegen/lib/
gk104.asm 52 set $p2 0x1 lt s32 $r0 0x0
53 set $p3 0x1 lt s32 $r1 0x0 xor $p2
87 $p2 cvt s32 $r1 neg s32 $r1
94 // $p1, $p2: caching predicate (00: cv, 01: ca, 10: cg)
98 set $p1 0x1 $p1 xor not $p2
99 $p2 suldgb b128 $r0q cg zero u8 g[$r4d] $r2 $p0
105 set $p1 0x1 $p1 xor not $p2
106 $p2 suldgb b128 $r0q cg zero u8 g[$r4d] $r2 $p0
121 set $p1 0x1 $p1 xor not $p2
122 $p2 suldgb b64 $r0d cg zero u8 g[$r4d] $r2 $p
    [all...]
  /xsrc/external/mit/pixman/dist/pixman/
pixman-linear-gradient.c 68 dx = linear->p2.x - linear->p1.x;
69 dy = linear->p2.y - linear->p1.y;
135 dx = linear->p2.x - linear->p1.x;
136 dy = linear->p2.y - linear->p1.y;
265 const pixman_point_fixed_t * p2,
286 linear->p2 = *p2;
  /xsrc/external/mit/xf86-video-intel/dist/test/
render-trapezoid.c 66 trap.left.p1.x = trap.left.p2.x = (x << 16) + dx;
68 trap.right.p1.x = trap.right.p2.x = ((x + w) << 16) + dx;
69 trap.bottom = trap.left.p2.y = trap.right.p2.y = ((y + h) << 16) + dy;
290 trap->left.p1.x = trap->left.p2.x = x1 << 16;
292 trap->right.p1.x = trap->right.p2.x = x2 << 16;
293 trap->bottom = trap->left.p2.y = trap->right.p2.y = y2 << 16;
305 trap->left.p1.x = trap->left.p2.x = x1;
307 trap->right.p1.x = trap->right.p2.x = x2
    [all...]

Completed in 18 milliseconds

1 2 3 4 5 6 7 8