| /xsrc/external/mit/brotli/dist/c/enc/ |
| H A D | 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)); 22 HistogramPairIsLess(const HistogramPair * p1,const HistogramPair * p2) argument
|
| /xsrc/external/mit/xlogo/dist/ |
| H A D | 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 [all...] |
| /xsrc/external/mit/xorg-server.old/dist/os/ |
| H A D | timingsafe_memcmp.c | 26 const unsigned char *p1 = b1, *p2 = b2; local in function:timingsafe_memcmp 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/dist/os/ |
| H A D | timingsafe_memcmp.c | 26 const unsigned char *p1 = b1, *p2 = b2; local in function:timingsafe_memcmp 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/ |
| H A D | linear-gradient.c | 22 pixman_point_fixed_t p1, p2; local in function:main 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/ |
| H A D | Alloc.c | 422 void *p, *p2; local in function:test_XtRealloc_normal 437 p2 = XtMalloc(73); 438 g_assert_nonnull(p2); 452 XtFree(p2); 459 void *p, *p2; local in function:test_XtRealloc_zero 466 p2 = XtRealloc(p, 0); 473 XtFree(p2); 480 void *p, *p2; local in function:test_XtRealloc_oversize 490 p2 = XtRealloc(p, ALLOC_LIMIT + 1); 491 g_assert_null(p2); 575 void *p, *p2; local in function:test_XtReallocArray_normal 611 void *p, *p2; local in function:test_XtReallocArray_zero 632 void *p, *p2; local in function:test_XtReallocArray_oversize [all...] |
| /xsrc/external/mit/xf86-video-intel/dist/src/sna/ |
| H A D | 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 in function:gen4_channel_init_linear 136 p2.v[0] = pixman_fixed_to_double(linear->p2 [all...] |
| H A D | 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, 189 mono_add_line(struct mono * mono,int dst_x,int dst_y,xFixed top,xFixed bottom,const xPointFixed * p1,const xPointFixed * p2,int dir) argument 964 xPointFixed p1, p2; local in function:mono_trapezoids_span_converter 1253 xPointFixed p1, p2; local in function:mono_trapezoid_span_inplace 1327 xPointFixed p1, p2; local in function:mono_trap_span_converter 1453 xPointFixed p1, p2; local in function:mono_triangles_span_converter 1598 xPointFixed p1, p2; local in function:mono_tristrip_span_converter [all...] |
| /xsrc/external/mit/xf86-video-intel-2014/dist/src/sna/ |
| H A D | 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 in function:gen4_channel_init_linear 136 p2.v[0] = pixman_fixed_to_double(linear->p2 [all...] |
| H A D | 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, 188 mono_add_line(struct mono * mono,int dst_x,int dst_y,xFixed top,xFixed bottom,const xPointFixed * p1,const xPointFixed * p2,int dir) argument 902 xPointFixed p1, p2; local in function:mono_trapezoids_span_converter 1188 xPointFixed p1, p2; local in function:mono_trapezoid_span_inplace 1262 xPointFixed p1, p2; local in function:mono_trap_span_converter 1387 xPointFixed p1, p2; local in function:mono_triangles_span_converter 1531 xPointFixed p1, p2; local in function:mono_tristrip_span_converter [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/ |
| H A D | lp_perf.c | 49 float p1, p2, p3, p4, p5, p6; local in function:lp_print_counters 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/ |
| H A D | lp_perf.c | 49 float p1, p2, p3, p4, p5, p6; local in function:lp_print_counters 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/ |
| H A D | alp_hwcurs.c | 53 unsigned char *p1, *p2; local in function:AlpLoadSkewedCursor 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/ |
| H A D | 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 [all...] |
| /xsrc/external/mit/xorg-server.old/dist/Xi/ |
| H A D | closedev.c | 121 WindowPtr p2; local in function:DeleteEventsFromChildren 124 p2 = p1->firstChild; 126 DeleteEventsFromChildren(dev, p2, client);
|
| H A D | getfctl.c | 126 xPtrFeedbackState *p2; local in function:CopySwapPtrFeedback 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 [all...] |
| /xsrc/external/mit/xorg-server/dist/Xi/ |
| H A D | closedev.c | 119 WindowPtr p2; local in function:DeleteEventsFromChildren 122 p2 = p1->firstChild; 124 DeleteEventsFromChildren(dev, p2, client);
|
| H A D | getfctl.c | 122 xPtrFeedbackState *p2; local in function:CopySwapPtrFeedback 124 p2 = (xPtrFeedbackState *) * buf; 125 p2->class = PtrFeedbackClass; 126 p2->length = sizeof(xPtrFeedbackState); 127 p2->id = p->ctrl.id; 128 p2->accelNum = p->ctrl.num; 129 p2->accelDenom = p->ctrl.den; 130 p2->threshold = p->ctrl.threshold; 132 swaps(&p2->length); 133 swaps(&p2 [all...] |
| /xsrc/external/mit/mesa-demos/dist/src/samples/ |
| H A D | tri.c | 62 float p2[3] = { 172, 0, 0}; variable in typeref:typename:float[3] 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/ |
| H A D | fcdbg.c | 222 FcPattern *p1, *p2; local in function:FcPatternPrint2 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 [all...] |
| /xsrc/external/mit/xorg-server.old/dist/fb/ |
| H A D | 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.old/dist/src/gallium/drivers/nouveau/codegen/lib/ |
| H A D | 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 suldg [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/codegen/lib/ |
| H A D | 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 suldg [all...] |
| /xsrc/external/mit/pixman/dist/pixman/ |
| H A D | 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; 264 pixman_image_create_linear_gradient(const pixman_point_fixed_t * p1,const pixman_point_fixed_t * p2,const pixman_gradient_stop_t * stops,int n_stops) argument
|
| /xsrc/external/mit/xf86-video-intel/dist/test/ |
| H A D | 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 [all...] |