Home
last modified time | relevance | path

Searched refs:y (Results 1 – 25 of 44) sorted by relevance

12

/system/core/libsparse/
Dsparse_defs.h42 #define DIV_ROUND_UP(x, y) (((x) + (y) - 1)/(y)) argument
43 #define ALIGN(x, y) ((y) * DIV_ROUND_UP((x), (y))) argument
44 #define ALIGN_DOWN(x, y) ((y) * ((x) / (y))) argument
/system/media/audio_utils/
Dfixedfft.cpp129 int32_t y = half(v[i + p]); in fixed_fft() local
130 v[i] = x + y; in fixed_fft()
131 v[i + p] = x - y; in fixed_fft()
140 int32_t y = mult(w, v[i + p]); in fixed_fft() local
141 v[i] = x - y; in fixed_fft()
142 v[i + p] = x + y; in fixed_fft()
160 int32_t y = z - (x ^ 0xFFFF); in fixed_fft_real() local
162 y = mult(y, ((int32_t) twiddle[i << scale])); in fixed_fft_real()
163 v[i] = x - y; in fixed_fft_real()
164 v[n - i] = (x + y) ^ 0xFFFF; in fixed_fft_real()
/system/core/libpixelflinger/
Draster.cpp27 static void ggl_rasterPos2x(void* con, GGLfixed x, GGLfixed y);
28 static void ggl_rasterPos2i(void* con, GGLint x, GGLint y);
40 void ggl_rasterPos2x(void* con, GGLfixed x, GGLfixed y) in ggl_rasterPos2x() argument
45 c->state.raster.y = y; in ggl_rasterPos2x()
48 void ggl_rasterPos2i(void* con, GGLint x, GGLint y) in ggl_rasterPos2i() argument
50 ggl_rasterPos2x(con, gglIntToFixed(x), gglIntToFixed(y)); in ggl_rasterPos2i()
73 GGLint yd = gglFixedToIntRound(c->state.raster.y); in ggl_copyPixels()
151 GGLint y = where[1]; in gglBitBlit() local
176 const GGLint t0 = Vcr - y; in gglBitBlit()
178 c->procs.recti(c, x, y, x+w, y+h); in gglBitBlit()
[all …]
Dbuffer.cpp27 uint32_t x, uint32_t y, pixel_t* pixel);
29 uint32_t x, uint32_t y, const pixel_t* pixel);
31 uint32_t x, uint32_t y, pixel_t* pixel);
33 uint32_t x, uint32_t y, pixel_t* pixel);
112 uint32_t x, uint32_t y, pixel_t* pixel) in read_pixel() argument
114 assert((x < s->width) && (y < s->height)); in read_pixel()
117 int32_t index = x + (s->stride * y); in read_pixel()
134 uint32_t x, uint32_t y, pixel_t* pixel) in readRGB565() argument
136 uint16_t v = *(reinterpret_cast<uint16_t*>(s->data) + (x + (s->stride * y))); in readRGB565()
148 uint32_t x, uint32_t y, pixel_t* pixel) in readABGR8888() argument
[all …]
Draster.h28 void gglCopyPixels(void* c, GGLint x, GGLint y, GGLsizei width, GGLsizei height, GGLenum type);
29 void gglRasterPos2d(void* c, GGLint x, GGLint y);
Dscanline.cpp682 uint32_t y = c->iterators.y; in scanline() local
720 v = (((tx.shade.it0>>16) + y)<<16) + FIXED_HALF; in scanline()
859 uint16_t* p = (uint16_t*)(cb->data)+(x+(cb->stride*y)); in scanline()
903 &(c->state.buffers.color), c, x, y, &fb); in scanline()
909 &(c->state.buffers.color), c, x, y, &fragment); in scanline()
947 const int y = c->iterators.y; in horz_iterator32() local
950 const int32_t v = (tx.shade.it0>>16) + y; in horz_iterator32()
964 const int y = c->iterators.y; in horz_iterator16() local
967 const int32_t v = (tx.shade.it0>>16) + y; in horz_iterator16()
1108 const int y = c->iterators.y; in ditherer() local
[all …]
Dtrap.cpp177 static int32_t coverageNice(GGLcoord x, GGLcoord y, in coverageNice() argument
180 const GGLcoord d2 = x*x + y*y; in coverageNice()
193 int y_sample = y + kCoordOffset; in coverageNice()
239 GGLcoord y = ystart; in aa_nice_pointx() local
247 covPtr[i] = coverageNice(x, y, rmin, rmax, rr); in aa_nice_pointx()
250 y += TRI_ONE; in aa_nice_pointx()
259 static inline int32_t coverageFast(GGLcoord x, GGLcoord y, in coverageFast() argument
262 const GGLcoord d2 = x*x + y*y; in coverageFast()
311 GGLcoord y = ystart; in aa_pointx() local
320 covPtr[i] = coverageFast(x, y, rmin, rmax, scale); in aa_pointx()
[all …]
/system/extras/tests/bionic/libc/bionic/
Dtest_dlclose_destruction.c44 int y = 0; in check_library() local
70 y = 0; in check_library()
71 (*set_y)(&y); in check_library()
79 if (y != 2) { in check_library()
Dlibdlclosetest2.c69 void set_y(int *y) in set_y() argument
71 to_y = y; in set_y()
72 fprintf(stderr, "%s: setting to_y=%p\n", __FUNCTION__, y); in set_y()
Dlibdlclosetest1.cpp78 void set_y(int *y) in set_y() argument
80 to_y = y; in set_y()
81 fprintf(stderr, "%s: setting to_y=%p\n", __FUNCTION__, y); in set_y()
/system/core/include/private/pixelflinger/
Dggl_fixed.h86 GGLfixed gglPowx(GGLfixed x, GGLfixed y) CONST;
110 inline GGLfixed gglMulx(GGLfixed x, GGLfixed y, int shift) CONST;
111 inline GGLfixed gglMulx(GGLfixed x, GGLfixed y, int shift) { in gglMulx() argument
118 : "%[x]"(x), [y]"r"(y), [lshift] "I"(32-shift), [rshift] "I"(shift) in gglMulx()
126 : "%[x]"(x), [y]"r"(y), [lshift] "r"(32-shift), [rshift] "r"(shift) in gglMulx()
133 inline GGLfixed gglMulAddx(GGLfixed x, GGLfixed y, GGLfixed a, int shift) CONST;
134 inline GGLfixed gglMulAddx(GGLfixed x, GGLfixed y, GGLfixed a, int shift) { in gglMulAddx() argument
141 : "%[x]"(x), [y]"r"(y), [a]"r"(a), [lshift] "I"(32-shift), [rshift] "I"(shift) in gglMulAddx()
148 : "%[x]"(x), [y]"r"(y), [a]"r"(a), [lshift] "r"(32-shift), [rshift] "r"(shift) in gglMulAddx()
154 inline GGLfixed gglMulSubx(GGLfixed x, GGLfixed y, GGLfixed a, int shift) CONST;
[all …]
Dggl_context.h356 uint32_t x, uint32_t y, pixel_t* pixel);
358 uint32_t x, uint32_t y, const pixel_t* pixel);
425 GGLfixed y;
442 int32_t y;
540 void (*init_y)(context_t* c, int32_t y);
/system/extras/ext4_utils/
Dext4_utils.h72 #define DIV_ROUND_UP(x, y) (((x) + (y) - 1)/(y)) argument
73 #define ALIGN(x, y) ((y) * DIV_ROUND_UP((x), (y))) argument
Dsha1.c53 #define R0(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk0(i)+0x5A827999+rol(v,5);w=rol(w,30); argument
54 #define R1(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk(i)+0x5A827999+rol(v,5);w=rol(w,30); argument
55 #define R2(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0x6ED9EBA1+rol(v,5);w=rol(w,30); argument
56 #define R3(v,w,x,y,z,i) z+=(((w|x)&y)|(w&x))+blk(i)+0x8F1BBCDC+rol(v,5);w=rol(w,30); argument
57 #define R4(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0xCA62C1D6+rol(v,5);w=rol(w,30); argument
76 #define nR0(v,w,x,y,z,i) R0(*v,*w,*x,*y,*z,i) argument
77 #define nR1(v,w,x,y,z,i) R1(*v,*w,*x,*y,*z,i) argument
78 #define nR2(v,w,x,y,z,i) R2(*v,*w,*x,*y,*z,i) argument
79 #define nR3(v,w,x,y,z,i) R3(*v,*w,*x,*y,*z,i) argument
80 #define nR4(v,w,x,y,z,i) R4(*v,*w,*x,*y,*z,i) argument
/system/core/toolbox/
Dinsmod.c48 #define min(x,y) ((x) < (y) ? (x) : (y)) argument
Ddu.c69 #define howmany(x, y) (((x)+((y)-1))/(y)) argument
/system/extras/tests/framebuffer/
Dminui.h28 void gr_fill(int x, int y, int w, int h);
29 int gr_text(int x, int y, const char *s);
/system/extras/tests/bionic/libc/common/
Dbench_pthread.c50 #define C(x,y) C_(x,y) argument
51 #define C_(x,y) x ## y argument
/system/core/libmemtrack/
Dmemtrack_test.c26 #define DIV_ROUND_UP(x,y) (((x) + (y) - 1) / (y)) argument
/system/core/charger/
Dcharger.c605 static int draw_text(const char *str, int x, int y) in draw_text() argument
611 if (y < 0) in draw_text()
612 y = (gr_fb_height() - char_height) / 2; in draw_text()
613 gr_text(x, y, str, 0); in draw_text()
615 return y + char_height; in draw_text()
629 int y; in draw_surface_centered() local
634 y = (gr_fb_height() - h) / 2 ; in draw_surface_centered()
636 LOGV("drawing surface %dx%d+%d+%d\n", w, h, x, y); in draw_surface_centered()
637 gr_blit(surface, 0, 0, w, h, x, y); in draw_surface_centered()
638 return y + h; in draw_surface_centered()
[all …]
/system/core/gpttool/
Dgpttool.c220 char *y = strchr(x, ':'); in parse_ptn() local
223 if (!y) { in parse_ptn()
227 *y++ = 0; in parse_ptn()
229 if (*y == 0) { in parse_ptn()
232 sz = parse_size(y); in parse_ptn()
/system/core/include/pixelflinger/
Dpixelflinger.h214 void (*scissor)(void* c, GGLint x, GGLint y, GGLsizei width, GGLsizei height);
302 void (*copyPixels)(void* c, GGLint x, GGLint y,
304 void (*rasterPos2x)(void* c, GGLfixed x, GGLfixed y);
305 void (*rasterPos2i)(void* c, GGLint x, GGLint y);
/system/core/libutils/
DLinearAllocator.cpp82 #define min(x,y) (((x) < (y)) ? (x) : (y)) argument
/system/extras/tests/bionic/libc/other/
Dtest_jpeg.c193 unsigned y; in decompress() local
194 for (y = 0; y < cinfo.output_height; y++) { in decompress()
/system/core/include/system/
Dgraphics.h266 void *y; member

12