/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/include/linux/kernel/ |
D | kernel.h | 36 #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/ |
D | sparse_defs.h | 42 #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/core/base/include/base/ |
D | logging.h | 139 #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) argument 140 #define CHECK_NE(x, y) CHECK_OP(x, y, != ) argument 141 #define CHECK_LE(x, y) CHECK_OP(x, y, <= ) argument 142 #define CHECK_LT(x, y) CHECK_OP(x, y, < ) argument 143 #define CHECK_GE(x, y) CHECK_OP(x, y, >= ) argument 144 #define CHECK_GT(x, y) CHECK_OP(x, y, > ) argument 192 #define DCHECK_EQ(x, y) \ argument 193 if (::android::base::kEnableDChecks) CHECK_EQ(x, y) 194 #define DCHECK_NE(x, y) \ argument 195 if (::android::base::kEnableDChecks) CHECK_NE(x, y) [all …]
|
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/include/linux/kernel/ |
D | kernel.h | 34 #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/bt/stack/smp/ |
D | p_256_curvepara.c | 70 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()
|
D | p_256_ecc_pp.c | 62 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/include/private/pixelflinger/ |
D | ggl_fixed.h | 86 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/core/libpixelflinger/tests/gglmul/ |
D | gglmul_test.cpp | 103 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/ |
D | fixedfft.cpp | 129 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/ |
D | raster.cpp | 27 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 …]
|
D | buffer.cpp | 27 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 …]
|
D | raster.h | 28 void gglCopyPixels(void* c, GGLint x, GGLint y, GGLsizei width, GGLsizei height, GGLenum type); 29 void gglRasterPos2d(void* c, GGLint x, GGLint y);
|
D | scanline.cpp | 698 uint32_t y = c->iterators.y; in scanline() local 736 v = (((tx.shade.it0>>16) + y)<<16) + FIXED_HALF; in scanline() 875 uint16_t* p = (uint16_t*)(cb->data)+(x+(cb->stride*y)); in scanline() 919 &(c->state.buffers.color), c, x, y, &fb); in scanline() 925 &(c->state.buffers.color), c, x, y, &fragment); in scanline() 963 const int y = c->iterators.y; in horz_iterator32() local 966 const int32_t v = (tx.shade.it0>>16) + y; in horz_iterator32() 980 const int y = c->iterators.y; in horz_iterator16() local 983 const int32_t v = (tx.shade.it0>>16) + y; in horz_iterator16() 1124 const int y = c->iterators.y; in ditherer() local [all …]
|
D | trap.cpp | 177 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/bt/embdrv/sbc/decoder/include/ |
D | oi_stddefs.h | 156 #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/ |
D | synthesis-dct8.c | 50 #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
|
D | dequant.c | 118 #define SCALE(x, y) (((x) + (1 <<((y)-1))) >> (y)) argument
|
/system/extras/ext4_utils/ |
D | ext4_utils.h | 64 #define DIV_ROUND_UP(x, y) (((x) + (y) - 1)/(y)) argument 65 #define EXT4_ALIGN(x, y) ((y) * DIV_ROUND_UP((x), (y))) argument
|
D | sha1.c | 53 #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/bt/device/src/classic/ |
D | peer.c | 43 static bool bdaddr_equality_fn(const void *x, const void *y); 118 static bool bdaddr_equality_fn(const void *x, const void *y) { in bdaddr_equality_fn() argument 119 return bdaddr_equals((bt_bdaddr_t *)x, (bt_bdaddr_t *)y); in bdaddr_equality_fn()
|
/system/core/healthd/ |
D | healthd_mode_charger.cpp | 258 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/extras/slideshow/ |
D | slideshow.cpp | 58 int w, h, x, y; in draw() local 68 y = (gr_fb_height() - h) / 2; in draw() 70 gr_blit(surface, 0, 0, w, h, x, y); in draw()
|
/system/extras/tests/framebuffer/ |
D | minui.h | 28 void gr_fill(int x, int y, int w, int h); 29 int gr_text(int x, int y, const char *s);
|
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/ |
D | perf.h | 135 #define min(x,y) ({ typeof(x) _min1 = (x); typeof(y) _min2 = (y); (void) (& _min1 == & _min2); _min… argument
|
/system/core/adf/libadf/tests/ |
D | adf_test.cpp | 78 for (uint32_t y = 0; y < h / 2; y++) { in drawCheckerboard() local 79 uint32_t *scanline = reinterpret_cast<uint32_t *>(buf8 + y * pitch); in drawCheckerboard() 85 for (uint32_t y = h / 2; y < h; y++) { in drawCheckerboard() local 86 uint32_t *scanline = reinterpret_cast<uint32_t *>(buf8 + y * pitch); in drawCheckerboard()
|