| /xsrc/external/mit/MesaLib.old/dist/src/mesa/vbo/ |
| H A D | vbo_exec.c | 174 * If we return true, it means that we can concatenate p1 onto p0 (and 175 * discard p1). 178 vbo_can_merge_prims(const struct _mesa_prim *p0, const struct _mesa_prim *p1) argument 181 !p1->begin || 183 !p1->end) 187 if (p0->mode != p1->mode) 190 /* p1's vertices must come right after p0 */ 191 if (p0->start + p0->count != p1->start) 194 if (p0->basevertex != p1->basevertex || 195 p0->num_instances != p1 224 vbo_merge_prims(struct _mesa_prim * p0,const struct _mesa_prim * p1) argument [all...] |
| /xsrc/external/mit/xlogo/dist/ |
| H A D | RenderLogo.c | 40 XPointDouble p1, p2; member in struct:_XLineDouble 80 thick_left.p1.x = x; thick_left.p1.y = y; 83 thick_right.p1.x = x + thick; thick_right.p1.y = y; 86 thin_left.p1.x = x + size-d31; thin_left.p1.y = y; 89 thin_right.p1.x = x + size; thin_right.p1.y = y; 92 gap_left.p1 [all...] |
| /xsrc/external/mit/libXfont/dist/src/builtins/ |
| H A D | buildfont | 9 bdftopcf -p1 -u1 $1 |
|
| /xsrc/external/mit/libXfont2/dist/src/builtins/ |
| H A D | buildfont | 9 bdftopcf -p1 -u1 $1 |
|
| /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/xorg-server.old/dist/Xi/ |
| H A D | closedev.c | 119 DeleteEventsFromChildren(DeviceIntPtr dev, WindowPtr p1, ClientPtr client) argument 123 while (p1) { 124 p2 = p1->firstChild; 125 DeleteDeviceEvents(dev, p1, client); 127 p1 = p1->nextSib; 141 WindowPtr pWin, p1; local in function:ProcXCloseDevice 161 p1 = pWin->firstChild; 162 DeleteEventsFromChildren(d, p1, client);
|
| /xsrc/external/mit/xorg-server/dist/Xi/ |
| H A D | closedev.c | 117 DeleteEventsFromChildren(DeviceIntPtr dev, WindowPtr p1, ClientPtr client) argument 121 while (p1) { 122 p2 = p1->firstChild; 123 DeleteDeviceEvents(dev, p1, client); 125 p1 = p1->nextSib; 139 WindowPtr pWin, p1; local in function:ProcXCloseDevice 159 p1 = pWin->firstChild; 160 DeleteEventsFromChildren(d, p1, client);
|
| /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 30 p1.x = p1.y = 0x0000; 34 src_img = pixman_image_create_linear_gradient (&p1, &p2, stops, ARRAY_LENGTH (stops));
|
| /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", 77 pixman_fixed_to_double(linear->p1.x), pixman_fixed_to_double(linear->p1.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); 111 x0 = pixman_fixed_to_double(linear->p1.x); 112 y0 = pixman_fixed_to_double(linear->p1.y); 119 struct pixman_f_vector p1, p local in function:gen4_channel_init_linear [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", 77 pixman_fixed_to_double(linear->p1.x), pixman_fixed_to_double(linear->p1.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); 111 x0 = pixman_fixed_to_double(linear->p1.x); 112 y0 = pixman_fixed_to_double(linear->p1.y); 119 struct pixman_f_vector p1, p local in function:gen4_channel_init_linear [all...] |
| /xsrc/external/mit/libXfont/dist/src/util/ |
| H A D | fontxlfd.c | 78 char buffer[80], *p1, *p2; local in function:readreal 96 for (p1 = ptr, p2 = buffer; 97 *p1 && (p2 - buffer) < sizeof(buffer) - 1; 98 p1++, p2++) 100 switch(*p1) 105 default: *p2 = *p1; 111 *result = strtod(buffer, &p1); 113 return (p1 == buffer) ? (char *)0 : (ptr + (p1 - buffer)); 119 register char *p1; local in function:xlfd_double_to_text 581 char *p1, *p2; local in function:FontParseRanges [all...] |
| /xsrc/external/mit/libXfont2/dist/src/util/ |
| H A D | fontxlfd.c | 74 char buffer[80], *p1, *p2; local in function:readreal 90 for (p1 = ptr, p2 = buffer; 91 *p1 && (p2 - buffer) < sizeof(buffer) - 1; 92 p1++, p2++) 94 switch(*p1) 99 default: *p2 = *p1; 105 *result = strtod(buffer, &p1); 107 return (p1 == buffer) ? (char *)0 : (ptr + (p1 - buffer)); 115 register char *p1; local in function:xlfd_double_to_text 590 char *p1, *p2; local in function:FontParseRanges [all...] |
| /xsrc/external/mit/libdrm/dist/ |
| H A D | xf86drmHash.h | 46 HashBucketPtr p1; member in struct:HashTable
|
| H A D | xf86drmHash.c | 221 if (table->p1) { 222 *key = table->p1->key; 223 *value = table->p1->value; 224 table->p1 = table->p1->next; 227 table->p1 = table->buckets[table->p0]; 240 table->p1 = table->buckets[0];
|
| /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 58 p1 = 100.0 * (float) lp_count.nr_empty_64 / (float) total_64; 71 debug_printf("llvmpipe: nr_empty_64x64: %9u (%3.0f%% of %u)\n", lp_count.nr_empty_64, p1, total_64); 77 p1 = 100.0 * (float) lp_count.nr_empty_16 / (float) total_16; 84 debug_printf("llvmpipe: nr_empty_16x16: %9u (%3.0f%% of %u)\n", lp_count.nr_empty_16, p1, total_16); 90 p1 = 100.0 * (float) lp_count.nr_empty_4 / (float) total_4; 98 debug_printf("llvmpipe: nr_empty_4x4: %9u (%3.0f%% of %u)\n", lp_count.nr_empty_4, p1, total_4);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/codegen/lib/ |
| H A D | gk104.asm | 10 // CLOBBER: $r2 - $r3, $p0 - $p1 94 // $p1, $p2: caching predicate (00: cv, 01: ca, 10: cg) 97 $p1 suldgb b128 $r0q ca zero u8 g[$r4d] $r2 $p0 98 set $p1 0x1 $p1 xor not $p2 100 $p1 suldgb b128 $r0q cv zero u8 g[$r4d] $r2 $p0 104 $p1 suldgb b128 $r0q ca zero u8 g[$r4d] $r2 $p0 105 set $p1 0x1 $p1 xor not $p2 107 $p1 suldg [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/codegen/lib/ |
| H A D | gk104.asm | 10 // CLOBBER: $r2 - $r3, $p0 - $p1 94 // $p1, $p2: caching predicate (00: cv, 01: ca, 10: cg) 97 $p1 suldgb b128 $r0q ca zero u8 g[$r4d] $r2 $p0 98 set $p1 0x1 $p1 xor not $p2 100 $p1 suldgb b128 $r0q cv zero u8 g[$r4d] $r2 $p0 104 $p1 suldgb b128 $r0q ca zero u8 g[$r4d] $r2 $p0 105 set $p1 0x1 $p1 xor not $p2 107 $p1 suldg [all...] |
| /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 60 p1 = 100.0 * (float) lp_count.nr_empty_64 / (float) total_64; 76 debug_printf("llvmpipe: nr_empty_64x64: %9u (%3.0f%% of %u)\n", lp_count.nr_empty_64, p1, total_64); 82 p1 = 100.0 * (float) lp_count.nr_empty_16 / (float) total_16; 89 debug_printf("llvmpipe: nr_empty_16x16: %9u (%3.0f%% of %u)\n", lp_count.nr_empty_16, p1, total_16); 95 p1 = 100.0 * (float) lp_count.nr_empty_4 / (float) total_4; 103 debug_printf("llvmpipe: nr_empty_4x4: %9u (%3.0f%% of %u)\n", lp_count.nr_empty_4, p1, total_4); 109 p1 = 100.0 * (float) lp_count.nr_rect_partially_covered_4 / (float) total_4; 113 debug_printf("llvmpipe: nr_rect_full_4x4: %9u (%3.0f%% of %u)\n", lp_count.nr_rect_fully_covered_4, p1, total_4);
|
| /xsrc/external/mit/libXrender/dist/src/ |
| H A D | Poly.c | 43 return e1->edge.p1.y - e2->edge.p1.y; 49 XFixed dx = line->p2.x - line->p1.x; 50 double ex = (double) (y - line->p1.y) * (double) dx; 51 XFixed dy = line->p2.y - line->p1.y; 53 return (XFixed) line->p1.x + (XFixed) (ex / dy); 59 return (XFixedToDouble (l->p2.x - l->p1.x) / 60 XFixedToDouble (l->p2.y - l->p1.y)); 66 return XFixedToDouble (l->p1.x) - inverse_slope * XFixedToDouble (l->p1 [all...] |
| /xsrc/external/mit/glu/dist/src/libnurbs/internals/ |
| H A D | arc.cc | 200 REAL *p1 = prev->rhead(); local in function:Arc::isDisconnected 202 if( ((p0[0] - p1[0]) > ZERO) || ((p1[0] - p0[0]) > ZERO) || 203 ((p0[1] - p1[1]) > ZERO) || ((p1[1] - p0[1]) > ZERO) ) { 205 _glu_dprintf( "x coord = %f %f %f\n", p0[0], p1[0], p0[0] - p1[0] ); 206 _glu_dprintf( "y coord = %f %f %f\n", p0[1], p1[1], p0[1] - p1[1] ); 211 p0[0] = p1[ [all...] |
| /xsrc/external/mit/xorg-server/dist/render/ |
| H A D | mitrap.c | 40 xFixed dx = l->p2.x - l->p1.x; 41 xFixed_32_32 ex = (xFixed_32_32) (y - l->p1.y) * dx; 42 xFixed dy = l->p2.y - l->p1.y; 46 return l->p1.x + (xFixed) (ex / dy);
|
| /xsrc/external/mit/xf86-video-cirrus/dist/src/ |
| H A D | alp_hwcurs.c | 53 unsigned char *p1, *p2; local in function:AlpLoadSkewedCursor 66 p1 = mem; 69 *p1++ = (p2[0] << b) | (p2[1] >> (8-b)); 73 *p1++ = (p2[0] << b); 77 *p1++ = 0; 81 /* p1 is already right */ 84 *p1++ = (p2[0] << b) | (p2[1] >> (8-b)); 88 *p1++ = (p2[0] << b); 93 *p1++ = 0; 100 p1 [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; 159 (dx * linear->p1.x + dy * linear->p1.y) * v2) * invden; 204 (dx * linear->p1.x + dy * linear->p1.y) * v2) * invden; 264 pixman_image_create_linear_gradient (const pixman_point_fixed_t * p1, argument 285 linear->p1 [all...] |