/external/python/cpython2/Demo/curses/ |
D | rain.py | 44 xpos = [0] * c 47 xpos[j] = randrange(0, c) + 2 57 stdscr.addch(ypos[j], xpos[j], ord('o')) 60 stdscr.addch(ypos[j], xpos[j], ord('O')) 63 stdscr.addch( ypos[j] - 1, xpos[j], ord('-')) 64 stdscr.addstr(ypos[j], xpos[j] - 1, "|.|") 65 stdscr.addch( ypos[j] + 1, xpos[j], ord('-')) 68 stdscr.addch( ypos[j] - 2, xpos[j], ord('-')) 69 stdscr.addstr(ypos[j] - 1, xpos[j] - 1, "/ \\") 70 stdscr.addstr(ypos[j], xpos[j] - 2, "| O |") [all …]
|
D | life.py | 161 xpos, ypos = board.X//2, board.Y//2 165 stdscr.move(1+ypos, 1+xpos) # Move the cursor 170 board.toggle(ypos, xpos) 204 elif c == curses.KEY_LEFT and xpos>0: xpos -= 1 205 elif c == curses.KEY_RIGHT and xpos<board.X-1: xpos += 1
|
/external/libkmsxx/kms++util/src/ |
D | colorbar.cpp | 38 static void drm_draw_color_bar_rgb888(IFramebuffer& buf, int old_xpos, int xpos, int width) in drm_draw_color_bar_rgb888() argument 49 for (int x = xpos; x < xpos + width; ++x) in drm_draw_color_bar_rgb888() 54 static void drm_draw_color_bar_rgb565(IFramebuffer& buf, int old_xpos, int xpos, int width) in drm_draw_color_bar_rgb565() argument 67 for (int x = xpos; x < xpos + width; ++x) in drm_draw_color_bar_rgb565() 72 static void drm_draw_color_bar_semiplanar_yuv(IFramebuffer& buf, int old_xpos, int xpos, int width) in drm_draw_color_bar_semiplanar_yuv() argument 95 for (int x = xpos; x < xpos + width; ++x) in drm_draw_color_bar_semiplanar_yuv() 100 void draw_color_bar(IFramebuffer& buf, int old_xpos, int xpos, int width) in draw_color_bar() argument 106 drm_draw_color_bar_semiplanar_yuv(buf, old_xpos, xpos, width); in draw_color_bar() 112 drm_draw_color_bar_rgb565(buf, old_xpos, xpos, width); in draw_color_bar() 116 drm_draw_color_bar_rgb565(buf, old_xpos, xpos, width); in draw_color_bar() [all …]
|
/external/wpa_supplicant_8/src/crypto/ |
D | fips_prf_wolfssl.c | 41 u8 *xpos = x; in fips186_2_prf() local 67 WPA_PUT_BE32(xpos, _t[0]); in fips186_2_prf() 68 WPA_PUT_BE32(xpos + 4, _t[1]); in fips186_2_prf() 69 WPA_PUT_BE32(xpos + 8, _t[2]); in fips186_2_prf() 70 WPA_PUT_BE32(xpos + 12, _t[3]); in fips186_2_prf() 71 WPA_PUT_BE32(xpos + 16, _t[4]); in fips186_2_prf() 76 carry += xkey[k] + xpos[k]; in fips186_2_prf() 81 xpos += 20; in fips186_2_prf()
|
D | fips_prf_openssl.c | 53 u8 *xpos = x; in fips186_2_prf() local 79 WPA_PUT_BE32(xpos, _t[0]); in fips186_2_prf() 80 WPA_PUT_BE32(xpos + 4, _t[1]); in fips186_2_prf() 81 WPA_PUT_BE32(xpos + 8, _t[2]); in fips186_2_prf() 82 WPA_PUT_BE32(xpos + 12, _t[3]); in fips186_2_prf() 83 WPA_PUT_BE32(xpos + 16, _t[4]); in fips186_2_prf() 88 carry += xkey[k] + xpos[k]; in fips186_2_prf() 93 xpos += 20; in fips186_2_prf()
|
D | aes-gcm.c | 106 const u8 *xpos = x; in ghash() local 113 xor_block(y, xpos); in ghash() 114 xpos += 16; in ghash() 123 if (x + xlen > xpos) { in ghash() 125 size_t last = x + xlen - xpos; in ghash() 126 os_memcpy(tmp, xpos, last); in ghash() 147 const u8 *xpos = x; in aes_gctr() local 159 xor_block(ypos, xpos); in aes_gctr() 160 xpos += AES_BLOCK_SIZE; in aes_gctr() 165 last = x + xlen - xpos; in aes_gctr() [all …]
|
D | fips_prf_internal.c | 22 u8 *xpos = x; in fips186_2_prf() local 53 os_memcpy(xpos, _t, 20); in fips186_2_prf() 58 carry += xkey[k] + xpos[k]; in fips186_2_prf() 63 xpos += SHA1_MAC_LEN; in fips186_2_prf()
|
/external/skqp/gm/ |
D | skinning.cpp | 116 int xpos = kCellSize; in onDraw() local 126 drawPermutations(canvas, xpos, ypos, bones, 1); in onDraw() 131 int& xpos, in drawPermutations() argument 146 canvas->translate(xpos, ypos); in drawPermutations() 170 xpos += kCellSize; in drawPermutations() 171 if (xpos > kCellSize * kColumnSize) { in drawPermutations() 172 xpos = kCellSize; in drawPermutations() 185 drawPermutations(canvas, xpos, ypos, bones, start + 1); in drawPermutations()
|
D | texteffects.cpp | 150 SkAutoTArray<SkScalar> xpos(count); in make_posh() local 151 font.getXPos(glyphs, count, xpos.get()); in make_posh() 153 xpos[i] += spacing * i; in make_posh() 155 return SkTextBlob::MakeFromPosTextH(glyphs, count * sizeof(SkGlyphID), xpos.get(), 0, font, in make_posh()
|
/external/mesa3d/src/mesa/main/ |
D | accum.c | 129 GLint xpos, GLint ypos, GLint width, GLint height, in accum_scale_or_bias() argument 139 ctx->Driver.MapRenderbuffer(ctx, accRb, xpos, ypos, width, height, in accum_scale_or_bias() 188 GLint xpos, GLint ypos, GLint width, GLint height, in accum_or_load() argument 210 ctx->Driver.MapRenderbuffer(ctx, accRb, xpos, ypos, width, height, in accum_or_load() 219 ctx->Driver.MapRenderbuffer(ctx, colorRb, xpos, ypos, width, height, in accum_or_load() 284 GLint xpos, GLint ypos, GLint width, GLint height) in accum_return() argument 293 ctx->Driver.MapRenderbuffer(ctx, accRb, xpos, ypos, width, height, in accum_return() 314 ctx->Driver.MapRenderbuffer(ctx, colorRb, xpos, ypos, width, height, in accum_return() 398 GLint xpos, ypos, width, height; in accum() local 410 xpos = ctx->DrawBuffer->_Xmin; in accum() [all …]
|
/external/python/cpython3/Tools/demo/ |
D | life.py | 192 xpos, ypos = board.X // 2, board.Y // 2 196 stdscr.move(1 + ypos, 1 + xpos) # Move the cursor 201 board.toggle(ypos, xpos) 239 elif c == curses.KEY_LEFT and xpos > 0: 240 xpos -= 1 241 elif c == curses.KEY_RIGHT and xpos + 1 < board.X: 242 xpos += 1 247 xpos = mouse_x - 1 249 board.toggle(ypos, xpos)
|
/external/freetype/src/pfr/ |
D | pfrsbit.c | 412 FT_Long xpos, ypos, advance; in pfr_load_bitmap_metrics() local 419 xpos = 0; in pfr_load_bitmap_metrics() 430 xpos = (FT_Char)b >> 4; in pfr_load_bitmap_metrics() 436 xpos = PFR_NEXT_INT8( p ); in pfr_load_bitmap_metrics() 442 xpos = PFR_NEXT_SHORT( p ); in pfr_load_bitmap_metrics() 448 xpos = PFR_NEXT_LONG( p ); in pfr_load_bitmap_metrics() 514 *axpos = xpos; in pfr_load_bitmap_metrics() 656 FT_Long xpos = 0, ypos = 0, advance = 0; in pfr_slot_load_bitmap() local 683 &xpos, &ypos, in pfr_slot_load_bitmap() 741 if ( xpos > FT_INT_MAX || in pfr_slot_load_bitmap() [all …]
|
/external/skia/src/core/ |
D | SkBitmapProcState_matrixProcs.cpp | 324 int xpos = mapper.intX(); in clampx_nofilter_trans() local 337 if (xpos < 0) { in clampx_nofilter_trans() 338 n = -xpos; in clampx_nofilter_trans() 348 xpos = 0; in clampx_nofilter_trans() 352 if (xpos < width) { in clampx_nofilter_trans() 353 n = width - xpos; in clampx_nofilter_trans() 357 fill_sequential(xptr, xpos, n); in clampx_nofilter_trans() 376 int xpos = mapper.intX(); in repeatx_nofilter_trans() local 386 int start = sk_int_mod(xpos, width); in repeatx_nofilter_trans() 413 int xpos = mapper.intX(); in mirrorx_nofilter_trans() local [all …]
|
/external/mesa3d/src/imgui/ |
D | imstb_rectpack.h | 413 int xpos = tail->x - width; in stbrp__skyline_find_best_pos() local 415 STBRP_ASSERT(xpos >= 0); in stbrp__skyline_find_best_pos() 417 while (node->next->x <= xpos) { in stbrp__skyline_find_best_pos() 421 STBRP_ASSERT(node->next->x > xpos && node->x <= xpos); in stbrp__skyline_find_best_pos() 422 y = stbrp__skyline_find_min_y(c, node, xpos, width, &waste); in stbrp__skyline_find_best_pos() 425 if (y < best_y || waste < best_waste || (waste==best_waste && xpos < best_x)) { in stbrp__skyline_find_best_pos() 426 best_x = xpos; in stbrp__skyline_find_best_pos()
|
/external/skia/docs/examples/ |
D | Canvas_drawPosTextH.cpp | 8 SkScalar xpos[] = { 20, 40, 80, 160 }; 10 canvas->drawPosTextH("XXXX", 4, xpos, 20, paint);
|
/external/skqp/tests/ |
D | SVGDeviceTest.cpp | 78 SkAutoTMalloc<SkScalar> xpos(xposCount); 79 SkParse::FindScalars(x, xpos.get(), xposCount); 81 REPORTER_ASSERT(reporter, xpos[0] == offset.x()); 84 if (xpos[i] != SkIntToScalar(expected[i])) { 85 SkDebugf("Bad xs %g == %g\n", xpos[i], SkIntToScalar(expected[i])); 87 REPORTER_ASSERT(reporter, xpos[i] == SkIntToScalar(expected[i])); 129 SkAutoTMalloc<SkScalar> xpos(len); 131 xpos[i] = SkIntToScalar(txt[i]); 136 auto blob = SkTextBlob::MakeFromPosTextH(txt, len, &xpos[0], offset.y(), font);
|
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/ |
D | stringpiece.cc | 33 size_type xpos = result - data_; in find() local 34 return xpos + s.size_ <= size_ ? xpos : npos; in find()
|
/external/skqp/src/core/ |
D | SkBitmapProcState_matrixProcs.cpp | 651 int xpos = mapper.intX(); in clampx_nofilter_trans() local 664 if (xpos < 0) { in clampx_nofilter_trans() 665 n = -xpos; in clampx_nofilter_trans() 675 xpos = 0; in clampx_nofilter_trans() 679 if (xpos < width) { in clampx_nofilter_trans() 680 n = width - xpos; in clampx_nofilter_trans() 684 fill_sequential(xptr, xpos, n); in clampx_nofilter_trans() 702 int xpos = mapper.intX(); in repeatx_nofilter_trans() local 712 int start = sk_int_mod(xpos, width); in repeatx_nofilter_trans() 738 int xpos = mapper.intX(); in mirrorx_nofilter_trans() local [all …]
|
/external/python/cpython3/Lib/turtledemo/ |
D | sorting_animate.py | 59 xpos, _ = b.pos() 60 b.setx(xpos - 34) 64 xpos, _ = b.pos() 65 b.setx(xpos + 34)
|
/external/llvm-project/libclc/generic/lib/math/ |
D | clc_rootn.cl | 72 int xpos = ix == ax; 192 expylogx = ((inty == 1) & !xpos) ? signval : expylogx; 196 ret = (!xpos & (inty == 2)) ? QNANBITPATT_SP32 : ret; 197 int xinf = xpos ? PINFBITPATT_SP32 : NINFBITPATT_SP32; 201 int xzero = xpos ? 0 : 0x80000000; 225 int xpos = ax == ux; 349 expv *= ((inty == 1) & !xpos) ? -1.0 : 1.0; 354 ret = (!xpos & (inty == 2)) ? QNANBITPATT_DP64 : ret; 355 long xinf = xpos ? PINFBITPATT_DP64 : NINFBITPATT_DP64; 359 long xzero = xpos ? 0L : 0x8000000000000000L;
|
D | clc_pow.cl | 73 int xpos = ix == ax; 197 expylogx = ((inty == 1) & !xpos) ? signval : expylogx; 201 ret = (!xpos & (inty == 0)) ? QNANBITPATT_SP32 : ret; 206 int xinf = xpos ? PINFBITPATT_SP32 : NINFBITPATT_SP32; 209 int xzero = xpos ? 0 : 0x80000000; 237 int xpos = ax == ux; 366 expv *= (inty == 1) & !xpos ? -1.0 : 1.0; 371 ret = !xpos & (inty == 0) ? QNANBITPATT_DP64 : ret; 376 long xinf = xpos ? PINFBITPATT_DP64 : NINFBITPATT_DP64; 379 long xzero = xpos ? 0L : 0x8000000000000000L;
|
D | clc_pown.cl | 72 int xpos = ix == ax; 188 expylogx = ((inty == 1) & !xpos) ? signval : expylogx; 192 int xinf = xpos ? PINFBITPATT_SP32 : NINFBITPATT_SP32; 196 int xzero = !xpos ? 0x80000000 : 0L; 221 int xpos = ax == ux; 347 expv *= ((inty == 1) & !xpos) ? -1.0 : 1.0; 352 long xinf = xpos ? PINFBITPATT_DP64 : NINFBITPATT_DP64; 356 long xzero = !xpos ? 0x8000000000000000L : 0L;
|
/external/libhevc/decoder/ |
D | ihevcd_decode.c | 539 WORD32 xpos = ps_codec->i4_disp_wd - 32 - LOGO_WD; in ihevcd_decode() local 545 if(xpos < 0) in ihevcd_decode() 546 xpos = 0; in ihevcd_decode() 551 xpos, in ihevcd_decode() 943 WORD32 xpos = ps_codec->i4_disp_wd - 32 - LOGO_WD; in ihevcd_decode() local 949 if(xpos < 0) in ihevcd_decode() 950 xpos = 0; in ihevcd_decode() 955 xpos, in ihevcd_decode()
|
/external/skia/gm/ |
D | texteffects.cpp | 158 SkAutoTArray<SkScalar> xpos(count); in make_posh() local 159 font.getXPos(glyphs, count, xpos.get()); in make_posh() 161 xpos[i] += spacing * i; in make_posh() 163 return SkTextBlob::MakeFromPosTextH(glyphs, count * sizeof(SkGlyphID), xpos.get(), 0, font, in make_posh()
|
/external/swiftshader/src/Device/ |
D | ASTC_Decoder.cpp | 39 int xpos, int ypos, int zpos) in write_imageblock() argument 50 int xi = xpos + x; in write_imageblock()
|