Home
last modified time | relevance | path

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

12345

/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/include/linux/kernel/
Dkernel.h36 #define max(x,y) ({ typeof(x) _max1 = (x); typeof(y) _max2 = (y); (void) (& _max1 == & _max2); _max… argument
40 #define min(x,y) ({ typeof(x) _min1 = (x); typeof(y) _min2 = (y); (void) (& _min1 == & _min2); _min… argument
43 #define roundup(x,y) (\ argument
44 { const typeof(y) __y = y; (((x) + (__y - 1)) / __y) * __y; \
74 #define __round_mask(x,y) ((__typeof__(x)) ((y) - 1)) argument
75 #define round_up(x,y) ((((x) - 1) | __round_mask(x, y)) + 1) argument
76 #define round_down(x,y) ((x) & ~__round_mask(x, y)) argument
/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/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/include/linux/kernel/
Dkernel.h34 #define max(x, y) ({ \ argument
36 typeof(y) _max2 = (y); \
42 #define min(x, y) ({ \ argument
44 typeof(y) _min2 = (y); \
50 #define roundup(x, y) ( \ argument
52 const typeof(y) __y = y; \
130 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) argument
131 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) argument
132 #define round_down(x, y) ((x) & ~__round_mask(x, y)) argument
/system/core/base/include/android-base/
Dlogging.h178 #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) argument
179 #define CHECK_NE(x, y) CHECK_OP(x, y, != ) argument
180 #define CHECK_LE(x, y) CHECK_OP(x, y, <= ) argument
181 #define CHECK_LT(x, y) CHECK_OP(x, y, < ) argument
182 #define CHECK_GE(x, y) CHECK_OP(x, y, >= ) argument
183 #define CHECK_GT(x, y) CHECK_OP(x, y, > ) argument
233 #define DCHECK_EQ(x, y) \ argument
234 if (::android::base::kEnableDChecks) CHECK_EQ(x, y)
235 #define DCHECK_NE(x, y) \ argument
236 if (::android::base::kEnableDChecks) CHECK_NE(x, y)
[all …]
/system/bt/stack/smp/
Dp_256_curvepara.c70 ec->G.y[7] = 0x4fe342e2; in p_256_init_curve()
71 ec->G.y[6] = 0xfe1a7f9b; in p_256_init_curve()
72 ec->G.y[5] = 0x8ee7eb4a; in p_256_init_curve()
73 ec->G.y[4] = 0x7c0f9e16; in p_256_init_curve()
74 ec->G.y[3] = 0x2bce3357; in p_256_init_curve()
75 ec->G.y[2] = 0x6b315ece; in p_256_init_curve()
76 ec->G.y[1] = 0xcbb64068; in p_256_init_curve()
77 ec->G.y[0] = 0x37bf51f5; in p_256_init_curve()
Dp_256_ecc_pp.c62 x1=p->x; y1=p->y; z1=p->z; in ECC_Double()
63 x3=q->x; y3=q->y; z3=q->z; in ECC_Double()
105 x1=p->x; y1=p->y; z1=p->z; in ECC_Add()
106 x2=q->x; y2=q->y; z2=q->z; in ECC_Add()
107 x3=r->x; y3=r->y; z3=r->z; in ECC_Add()
228 multiprecision_sub(minus_p.y, modp, p->y, keyLength); in ECC_PointMult_Bin_NAF()
259 multiprecision_mersenns_mult_mod(q->y, q->y, q->z, keyLength); in ECC_PointMult_Bin_NAF()
/system/core/libpixelflinger/tests/gglmul/
Dgglmul_test.cpp103 GGLfixed y; member
130 test->x, test->y, test->shift); in gglMulx_test()
131 actual = gglMulx(test->x, test->y, test->shift); in gglMulx_test()
133 ((int64_t)test->x * test->y + (1 << (test->shift-1))) >> test->shift; in gglMulx_test()
145 GGLfixed y; member
173 test->x, test->y, test->shift, test->a); in gglMulAddx_test()
174 actual = gglMulAddx(test->x, test->y,test->a, test->shift); in gglMulAddx_test()
175 expected = (((int64_t)test->x * test->y) >> test->shift) + test->a; in gglMulAddx_test()
188 GGLfixed y; member
216 test->x, test->y, test->shift, test->a); in gglMulSubx_test()
[all …]
/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/extras/libfec/include/fec/
Decc.h39 inline uint64_t fec_div_round_up(uint64_t x, uint64_t y) in fec_div_round_up() argument
41 return (x / y) + (x % y > 0 ? 1 : 0); in fec_div_round_up()
45 inline uint64_t fec_round_up(uint64_t x, uint64_t y) in fec_round_up() argument
47 return fec_div_round_up(x, y) * y; in fec_round_up()
/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 …]
Dscanline.cpp705 uint32_t y = c->iterators.y; in scanline() local
743 v = (((tx.shade.it0>>16) + y)<<16) + FIXED_HALF; in scanline()
882 uint16_t* p = (uint16_t*)(cb->data)+(x+(cb->stride*y)); in scanline()
926 &(c->state.buffers.color), c, x, y, &fb); in scanline()
932 &(c->state.buffers.color), c, x, y, &fragment); in scanline()
970 const int y = c->iterators.y; in horz_iterator32() local
973 const int32_t v = (tx.shade.it0>>16) + y; in horz_iterator32()
987 const int y = c->iterators.y; in horz_iterator16() local
990 const int32_t v = (tx.shade.it0>>16) + y; in horz_iterator16()
1131 const int y = c->iterators.y; in ditherer() local
[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);
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/core/libpixelflinger/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 …]
/system/bt/embdrv/sbc/decoder/include/
Doi_stddefs.h156 #define OI_BIT_TEST(x,y) ((x) & (y)) argument
159 #define OI_BIT_CLEAR_TEST(x,y) (((x) & (y)) == 0) argument
162 #define OI_BIT_SET(x,y) ((x) |= (y)) argument
165 #define OI_BIT_CLEAR(x,y) ((x) &= ~(y)) argument
/system/bt/embdrv/sbc/decoder/srce/
Dsynthesis-dct8.c50 #define SCALE(x, y) (((x) + (1 <<((y)-1))) >> (y)) argument
85 #define FLOAT_BUTTERFLY(x,y) x += y; y = x - (y*2); OI_ASSERT(VALID_INT32(x)); OI_ASSERT(VALID_INT3… in float_dct2_8() argument
87 #define FLOAT_SCALE(x, y) (((x) / (double)(1 << (y)))) in float_dct2_8() argument
211 #define BUTTERFLY(x,y) x += y; y = x - (y<<1); in dct2_8() argument
Ddequant.c118 #define SCALE(x, y) (((x) + (1 <<((y)-1))) >> (y)) argument
/system/extras/ext4_utils/
Dext4_utils.h64 #define DIV_ROUND_UP(x, y) (((x) + (y) - 1)/(y)) argument
65 #define EXT4_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/extras/pagecache/
Dpagecache.py92 y = 1
99 pad.addstr(y, 2, filename)
100 pad.addstr(y, 70, self.pages_to_mb(added).rjust(10))
101 pad.addstr(y, 80, self.pages_to_mb(removed).rjust(14))
102 pad.addstr(y, 96, self.bytes_to_mb(filesize).rjust(9))
103 y += 1
104 if y == height - 2:
105 pad.addstr(y, 4, "<more...>")
107 y += 1
108 pad.addstr(y, 2, 'TOTAL'.ljust(74), curses.A_REVERSE)
[all …]
/system/core/healthd/
Dhealthd_mode_charger.cpp258 static int draw_text(const char *str, int x, int y) in draw_text() argument
264 if (y < 0) in draw_text()
265 y = (gr_fb_height() - char_height) / 2; in draw_text()
266 gr_text(x, y, str, 0); in draw_text()
268 return y + char_height; in draw_text()
282 int y; in draw_surface_centered() local
287 y = (gr_fb_height() - h) / 2 ; in draw_surface_centered()
289 LOGV("drawing surface %dx%d+%d+%d\n", w, h, x, y); in draw_surface_centered()
290 gr_blit(surface, 0, 0, w, h, x, y); in draw_surface_centered()
291 return y + h; in draw_surface_centered()
[all …]
/system/bt/device/src/classic/
Dpeer.c44 static bool bdaddr_equality_fn(const void *x, const void *y);
119 static bool bdaddr_equality_fn(const void *x, const void *y) { in bdaddr_equality_fn() argument
120 return bdaddr_equals((bt_bdaddr_t *)x, (bt_bdaddr_t *)y); in bdaddr_equality_fn()
/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/slideshow/
Dslideshow.cpp59 int w, h, x, y; in draw() local
69 y = (gr_fb_height() - h) / 2; in draw()
71 gr_blit(surface, 0, 0, w, h, x, y); in draw()

12345