/system/netd/server/dns/ |
D | DnsTlsServer.cpp | 42 static bool operator <(const in6_addr& x, const in6_addr& y) { in operator <() argument 45 std::begin(y.s6_addr), std::end(y.s6_addr)); in operator <() 48 static bool operator ==(const in6_addr& x, const in6_addr& y) { in operator ==() argument 51 std::begin(y.s6_addr), std::end(y.s6_addr)); in operator ==() 54 static bool operator <(const sockaddr_storage& x, const sockaddr_storage& y) { in operator <() argument 55 if (x.ss_family != y.ss_family) { in operator <() 56 return x.ss_family < y.ss_family; in operator <() 61 const sockaddr_in& y_sin = reinterpret_cast<const sockaddr_in&>(y); in operator <() 65 const sockaddr_in6& y_sin6 = reinterpret_cast<const sockaddr_in6&>(y); in operator <() 71 static bool operator ==(const sockaddr_storage& x, const sockaddr_storage& y) { in operator ==() argument [all …]
|
/system/core/healthd/ |
D | healthd_draw.cpp | 72 int y = (screen_height_ - h) / 2; in draw_surface_centered() local 74 LOGV("drawing surface %dx%d+%d+%d\n", w, h, x, y); in draw_surface_centered() 75 gr_blit(surface, 0, 0, w, h, x, y); in draw_surface_centered() 78 LOGV("drawing surface %dx%d+%d+%d\n", w, h, x, y); in draw_surface_centered() 79 gr_blit(surface, 0, 0, w, h, x, y); in draw_surface_centered() 82 return y + h; in draw_surface_centered() 85 int HealthdDraw::draw_text(const GRFont* font, int x, int y, const char* str) { in draw_text() argument 89 if (y < 0) y = (screen_height_ - char_height_) / 2; in draw_text() 90 gr_text(font, x + kSplitOffset, y, str, false /* bold */); in draw_text() 92 gr_text(font, x - kSplitOffset + screen_width_, y, str, false /* bold */); in draw_text() [all …]
|
D | AnimationParser.cpp | 56 int* y = &field->pos_y; in parse_text_field() local 66 *y = CENTER_VAL; in parse_text_field() 67 } else if (sscanf(in, "c %d %d %d %d %d %n%*s%n", y, r, g, b, a, &start, &end) == 5) { in parse_text_field() 70 *y = CENTER_VAL; in parse_text_field() 71 } else if (sscanf(in, "%d %d %d %d %d %d %n%*s%n", x, y, r, g, b, a, &start, &end) != 6) { in parse_text_field()
|
/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/bt/stack/test/ |
D | stack_smp_test.cc | 246 p.y[7] = 0xdc809c49; in TEST() 247 p.y[6] = 0x652aeb6d; in TEST() 248 p.y[5] = 0x63329abf; in TEST() 249 p.y[4] = 0x5a52155c; in TEST() 250 p.y[3] = 0x766345c2; in TEST() 251 p.y[2] = 0x8fed3024; in TEST() 252 p.y[1] = 0x741c8ed0; in TEST() 253 p.y[0] = 0x1589d28b; in TEST() 267 p.y[7] = 0x91951218; in TEST() 268 p.y[6] = 0x3898dfbe; in TEST() [all …]
|
/system/bt/stack/smp/ |
D | p_256_curvepara.cc | 68 ec->G.y[7] = 0x4fe342e2; in p_256_init_curve() 69 ec->G.y[6] = 0xfe1a7f9b; in p_256_init_curve() 70 ec->G.y[5] = 0x8ee7eb4a; in p_256_init_curve() 71 ec->G.y[4] = 0x7c0f9e16; in p_256_init_curve() 72 ec->G.y[3] = 0x2bce3357; in p_256_init_curve() 73 ec->G.y[2] = 0x6b315ece; in p_256_init_curve() 74 ec->G.y[1] = 0xcbb64068; in p_256_init_curve() 75 ec->G.y[0] = 0x37bf51f5; in p_256_init_curve()
|
D | p_256_ecc_pp.cc | 58 y1 = p->y; in ECC_Double() 61 y3 = q->y; in ECC_Double() 104 y1 = p->y; in ECC_Add() 107 y2 = q->y; in ECC_Add() 110 y3 = r->y; in ECC_Add() 219 multiprecision_sub(minus_p.y, modp, p->y, keyLength); in ECC_PointMult_Bin_NAF() 246 multiprecision_mersenns_mult_mod(q->y, q->y, q->z, keyLength); in ECC_PointMult_Bin_NAF() 257 multiprecision_mersenns_squa_mod(y2_mod, (uint32_t*)pt.y, kl); in ECC_ValidatePoint()
|
/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/extras/libfec/include/fec/ |
D | ecc.h | 39 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/media/audio_utils/ |
D | fixedfft.cpp | 126 int32_t y = half(v[i + p]); in fixed_fft() local 127 v[i] = x + y; in fixed_fft() 128 v[i + p] = x - y; in fixed_fft() 137 int32_t y = mult(w, v[i + p]); in fixed_fft() local 138 v[i] = x - y; in fixed_fft() 139 v[i + p] = x + y; in fixed_fft() 157 int32_t y = z - (x ^ 0xFFFF); in fixed_fft_real() local 159 y = mult(y, ((int32_t) twiddle[i << scale])); in fixed_fft_real() 160 v[i] = x - y; in fixed_fft_real() 161 v[n - i] = (x + y) ^ 0xFFFF; in fixed_fft_real()
|
/system/core/base/include/android-base/ |
D | logging.h | 294 #define CHECK_EQ(x, y) CHECK_OP(x, y, == ) argument 295 #define CHECK_NE(x, y) CHECK_OP(x, y, != ) argument 296 #define CHECK_LE(x, y) CHECK_OP(x, y, <= ) argument 297 #define CHECK_LT(x, y) CHECK_OP(x, y, < ) argument 298 #define CHECK_GE(x, y) CHECK_OP(x, y, >= ) argument 299 #define CHECK_GT(x, y) CHECK_OP(x, y, > ) argument 353 #define DCHECK_EQ(x, y) \ argument 354 if (::android::base::kEnableDChecks) CHECK_EQ(x, y) 355 #define DCHECK_NE(x, y) \ argument 356 if (::android::base::kEnableDChecks) CHECK_NE(x, y) [all …]
|
/system/bt/embdrv/sbc/decoder/include/ |
D | oi_stddefs.h | 191 #define OI_BIT_TEST(x, y) ((x) & (y)) argument 196 #define OI_BIT_CLEAR_TEST(x, y) (((x) & (y)) == 0) argument 199 #define OI_BIT_SET(x, y) ((x) |= (y)) argument 202 #define OI_BIT_CLEAR(x, y) ((x) &= ~(y)) argument
|
/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 175 const GGLint t0 = Vcr - y; in gglBitBlit() 177 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 | 700 uint32_t y = c->iterators.y; in scanline() local 738 v = (((tx.shade.it0>>16) + y)<<16) + FIXED_HALF; in scanline() 877 uint16_t* p = (uint16_t*)(cb->data)+(x+(cb->stride*y)); in scanline() 921 &(c->state.buffers.color), c, x, y, &fb); in scanline() 927 &(c->state.buffers.color), c, x, y, &fragment); in scanline() 965 const int y = c->iterators.y; in horz_iterator32() local 968 const int32_t v = (tx.shade.it0>>16) + y; in horz_iterator32() 982 const int y = c->iterators.y; in horz_iterator16() local 985 const int32_t v = (tx.shade.it0>>16) + y; in horz_iterator16() 1126 const int y = c->iterators.y; in ditherer() local [all …]
|
/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/libutils/include/utils/ |
D | Trace.h | 29 #define _PASTE(x, y) x ## y argument 30 #define PASTE(x, y) _PASTE(x,y) argument
|
/system/bt/embdrv/sbc/decoder/srce/ |
D | synthesis-dct8.c | 51 #define SCALE(x, y) (((x) + (1 << ((y)-1))) >> (y)) argument 86 #define FLOAT_BUTTERFLY(x, y) \ in float_dct2_8() argument 87 x += y; \ in float_dct2_8() 88 y = x - (y * 2); \ in float_dct2_8() 90 OI_ASSERT(VALID_INT32(y)); in float_dct2_8() 92 #define FLOAT_SCALE(x, y) (((x) / (double)(1 << (y)))) in float_dct2_8() argument 251 #define BUTTERFLY(x, y) \ in dct2_8() argument 252 x += (y); \ in dct2_8() 253 (y) = (x) - ((y) << 1); in dct2_8()
|
D | dequant.c | 126 #define SCALE(x, y) (((x) + (1 << ((y)-1))) >> (y)) argument
|
/system/core/libunwindstack/tests/ |
D | ArmExidxDecodeTest.cpp | 479 for (size_t y = 0; y < 16; y++) { in TEST_P() local 482 data_->push_back((x << 4) | y); in TEST_P() 483 ASSERT_FALSE(exidx_->Decode()) << "x, y = " << x << ", " << y; in TEST_P() 484 ASSERT_EQ("", GetFakeLogBuf()) << "x, y = " << x << ", " << y; in TEST_P() 486 ASSERT_EQ("4 unwind Spare\n", GetFakeLogPrint()) << "x, y = " << x << ", " << y; in TEST_P() 490 ASSERT_EQ(0x10000U, exidx_->cfa()) << "x, y = " << x << ", " << y; in TEST_P() 526 for (size_t y = 0; y < 16; y++) { in TEST_P() local 530 ASSERT_FALSE(exidx_->Decode()) << "x, y = " << x << ", " << y; in TEST_P() 531 ASSERT_EQ("", GetFakeLogBuf()) << "x, y = " << x << ", " << y; in TEST_P() 533 ASSERT_EQ("4 unwind Spare\n", GetFakeLogPrint()) << "x, y = " << x << ", " << y; in TEST_P() [all …]
|
/system/extras/ext4_utils/include/ext4_utils/ |
D | ext4_utils.h | 66 #define DIV_ROUND_UP(x, y) (((x) + (y) - 1)/(y)) argument 67 #define EXT4_ALIGN(x, y) ((y) * DIV_ROUND_UP((x), (y))) argument
|
/system/extras/boottime_tools/bootio/ |
D | README.md | 6 CONFIG_TASKSTATS=y 7 CONFIG_TASK_DELAY_ACCT=y 8 CONFIG_TASK_XACCT=y 9 CONFIG_TASK_IO_ACCOUNTING=y
|
/system/media/camera/docs/ |
D | plots.py | 14 def doc_plot(fig, x, y): argument 19 lines, = plt.plot(x,y) 38 def doc_coeff(x,y): argument 39 coeffs = np.vstack((x, y)).reshape(-1,order='F') 53 for y in range(0, np.size(imgMap, 0)): 54 plt.text(x,y, imgMap[y,x,index], color='white')
|
/system/extras/pagecache/ |
D | pagecache.py | 92 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 …]
|