| /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));
|
| alpha-test.c | 26 pixman_point_fixed_t p2 = { pixman_double_to_fixed (WIDTH), local 93 grad_img = pixman_image_create_linear_gradient (&p1, &p2,
|
| gradient-test.c | 22 pixman_point_fixed_t p2 = { pixman_double_to_fixed (200), 0 }; local 72 src_img = pixman_image_create_linear_gradient (&p1, &p2,
|
| composite-test.c | 99 pixman_point_fixed_t p2 = { (WIDTH + 10) << 16, (HEIGHT - 10) << 16 }; local 124 gradient = pixman_image_create_linear_gradient (&p1, &p2, stops, G_N_ELEMENTS (stops));
|
| /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/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/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/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_gradient.c | 120 pixman_point_fixed_t p1, p2; local 157 p2.x = width << 16; 158 p2.y = 0; 160 gradient = pixman_image_create_linear_gradient(&p1, &p2,
|
| /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_gradient.c | 120 pixman_point_fixed_t p1, p2; local 157 p2.x = width << 16; 158 p2.y = 0; 160 gradient = pixman_image_create_linear_gradient(&p1, &p2,
|
| /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/MesaLib/dist/src/mesa/tnl/ |
| t_vb_points.c | 60 const GLfloat p2 = ctx->Point.Params[2]; local 67 const GLfloat q = p0 + dist * (p1 + dist * p2);
|
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/tnl/ |
| t_vb_points.c | 60 const GLfloat p2 = ctx->Point.Params[2]; local 67 const GLfloat q = p0 + dist * (p1 + dist * p2);
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/program/ |
| prog_parameter_layout.c | 126 const struct gl_program_parameter *p2 = local 130 if (p1->StateIndexes[i] != p2->StateIndexes[i]) 131 return p1->StateIndexes[i] - p2->StateIndexes[i];
|
| program.c | 560 const struct gl_program_parameter *p2 = local 564 if (p1->StateIndexes[i] != p2->StateIndexes[i]) 565 return p1->StateIndexes[i] - p2->StateIndexes[i];
|
| /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/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/mesa-demos/dist/src/util/ |
| trackball.c | 154 * product of P1 P2 and O P1 (O is the center of the ball, 0,0,0) 168 float p1[3], p2[3], d[3]; local 179 * First, figure out z-coordinates for projection of P1 and P2 to 183 vset(p2,p2x,p2y,tb_project_to_sphere(TRACKBALLSIZE,p2x,p2y)); 186 * Now, we want the cross product of P1 and P2 188 vcross(p2,p1,a); 193 vsub(p1,p2,d);
|
| /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/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...] |