/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/wpa_supplicant_8/src/crypto/ |
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/mesa3d/src/mesa/main/ |
D | accum.c | 177 GLint xpos, GLint ypos, GLint width, GLint height, in accum_scale_or_bias() argument 187 ctx->Driver.MapRenderbuffer(ctx, accRb, xpos, ypos, width, height, in accum_scale_or_bias() 235 GLint xpos, GLint ypos, GLint width, GLint height, in accum_or_load() argument 257 ctx->Driver.MapRenderbuffer(ctx, accRb, xpos, ypos, width, height, in accum_or_load() 265 ctx->Driver.MapRenderbuffer(ctx, colorRb, xpos, ypos, width, height, in accum_or_load() 329 GLint xpos, GLint ypos, GLint width, GLint height) in accum_return() argument 338 ctx->Driver.MapRenderbuffer(ctx, accRb, xpos, ypos, width, height, in accum_return() 359 ctx->Driver.MapRenderbuffer(ctx, colorRb, xpos, ypos, width, height, in accum_return() 442 GLint xpos, ypos, width, height; in _mesa_accum() local 452 xpos = ctx->DrawBuffer->_Xmin; in _mesa_accum() [all …]
|
/external/skia/tests/ |
D | SVGDeviceTest.cpp | 54 SkAutoTMalloc<SkScalar> xpos(xposCount); in check_text_node() local 55 SkParse::FindScalars(x, xpos.get(), xposCount); in check_text_node() 57 REPORTER_ASSERT(reporter, xpos[0] == offset.x()); in check_text_node() 60 REPORTER_ASSERT(reporter, xpos[i] == SkIntToScalar(expected[i])); in check_text_node() 100 SkAutoTMalloc<SkScalar> xpos(len); in test_whitespace_pos() local 102 xpos[i] = SkIntToScalar(txt[i]); in test_whitespace_pos() 107 svgCanvas->drawPosTextH(txt, len, xpos, offset.y(), paint); in test_whitespace_pos()
|
/external/skia/src/core/ |
D | SkBitmapProcState_matrixProcs.cpp | 301 int xpos = nofilter_trans_preamble(s, &xy, x, y); in clampx_nofilter_trans() local 313 if (xpos < 0) { in clampx_nofilter_trans() 314 n = -xpos; in clampx_nofilter_trans() 324 xpos = 0; in clampx_nofilter_trans() 328 if (xpos < width) { in clampx_nofilter_trans() 329 n = width - xpos; in clampx_nofilter_trans() 333 fill_sequential(xptr, xpos, n); in clampx_nofilter_trans() 349 int xpos = nofilter_trans_preamble(s, &xy, x, y); in repeatx_nofilter_trans() local 358 int start = sk_int_mod(xpos, width); in repeatx_nofilter_trans() 389 int xpos = nofilter_trans_preamble(s, &xy, x, y); in mirrorx_nofilter_trans() local [all …]
|
D | SkPicturePlayback.cpp | 521 const SkScalar* xpos = (const SkScalar*)reader->skip(xCount * sizeof(SkScalar)); in handleOp() local 525 canvas->drawPosTextH(text.text(), text.length(), xpos, constY, *paint); in handleOp() 533 const SkScalar* xpos = (const SkScalar*)reader->skip((3 + xCount) * sizeof(SkScalar)); in handleOp() local 536 const SkScalar top = *xpos++; in handleOp() 537 const SkScalar bottom = *xpos++; in handleOp() 538 const SkScalar constY = *xpos++; in handleOp() 541 canvas->drawPosTextH(text.text(), text.length(), xpos, constY, *paint); in handleOp()
|
D | SkRecordDraw.cpp | 117 DRAW(DrawPosTextH, drawPosTextH(r.text, r.byteLength, r.xpos, r.y, r.paint)); 486 SkScalar left = op.xpos[0], right = op.xpos[0]; in bounds() 488 left = SkMinScalar(left, op.xpos[i]); in bounds() 489 right = SkMaxScalar(right, op.xpos[i]); in bounds()
|
D | SkTextToPathIter.h | 48 bool next(const SkPath** path, SkScalar* xpos);
|
/external/regex-re2/util/ |
D | stringpiece.cc | 48 const size_type xpos = result - ptr_; in find() local 49 return xpos + s.length_ <= length_ ? xpos : npos; in find()
|
/external/skia/samplecode/ |
D | SampleText.cpp | 45 SkScalar xpos = x; in DrawTheText() local 48 pts[i].set(xpos, y); in DrawTheText() 49 xpos += paint.getTextSize(); in DrawTheText()
|
/external/trappy/trappy/plotter/js/ |
D | EventPlot.js | 649 var checkGuiderRange = function (ePlot, xpos) { 651 if (xpos >= ePlot.zoomScale.domain()[0] && 652 xpos <= ePlot.zoomScale.domain()[1]) 662 var xpos = ePlot.endGuider._x_pos; 665 if (checkGuiderRange(ePlot, xpos)) { 666 ePlot.endGuider = drawVerticalLine(ePlot, ePlot.zoomScale(xpos), 668 ePlot.endGuider._x_pos = xpos; 674 var xpos = ePlot.startGuider._x_pos; 677 if (checkGuiderRange(ePlot, xpos)) { 678 ePlot.startGuider = drawVerticalLine(ePlot, ePlot.zoomScale(xpos), [all …]
|
/external/toybox/toys/posix/ |
D | ls.c | 234 unsigned columns, unsigned *xpos) in next_column() argument 241 *xpos = ul % columns; in next_column() 253 *xpos = columns; in next_column() 262 *xpos = ul % columns; in next_column() 263 return (*xpos*height) + (ul/columns); in next_column() 267 *xpos = ul % (columns-1); in next_column() 269 return (*xpos*height) + widecols + (ul/(columns-1)); in next_column()
|
/external/libhevc/decoder/ |
D | ihevcd_decode.c | 531 WORD32 xpos = ps_codec->i4_disp_wd - 32 - LOGO_WD; in ihevcd_decode() local 537 if(xpos < 0) in ihevcd_decode() 538 xpos = 0; in ihevcd_decode() 543 xpos, in ihevcd_decode() 914 WORD32 xpos = ps_codec->i4_disp_wd - 32 - LOGO_WD; in ihevcd_decode() local 920 if(xpos < 0) in ihevcd_decode() 921 xpos = 0; in ihevcd_decode() 926 xpos, in ihevcd_decode()
|
/external/webrtc/webrtc/modules/video_render/test/testAPI/ |
D | testAPI.cc | 166 int screen, xpos = 10, ypos = 10; in WebRtcCreateWindow() local 196 xpos = 200; in WebRtcCreateWindow() 200 xpos = 300; in WebRtcCreateWindow() 209 xpos, ypos, in WebRtcCreateWindow()
|
/external/pdfium/third_party/libtiff/ |
D | tif_jpeg.c | 1445 int xpos; in JPEGDecodeRaw() local 1449 for (xpos = 0; xpos < hsamp; xpos++) in JPEGDecodeRaw() 1450 outptr[xpos] = *inptr++; in JPEGDecodeRaw() 1967 int clumpoffset, ci, xpos, ypos; in JPEGEncodeRaw() local 2013 for (xpos = 0; xpos < hsamp; xpos++) in JPEGEncodeRaw() 2014 *outptr++ = inptr[xpos]; in JPEGEncodeRaw() 2019 for (xpos = 0; xpos < padding; xpos++) { in JPEGEncodeRaw()
|
/external/pdfium/third_party/libjpeg/ |
D | fpdfapi_jccoefct.c | 150 JDIMENSION ypos, xpos; in compress_data() local 172 xpos = MCU_col_num * compptr->MCU_sample_width; in compress_data() 180 ypos, xpos, (JDIMENSION) blockcnt); in compress_data()
|
/external/libjpeg-turbo/ |
D | jccoefct.c | 150 JDIMENSION ypos, xpos; in compress_data() local 172 xpos = MCU_col_num * compptr->MCU_sample_width; in compress_data() 180 ypos, xpos, (JDIMENSION) blockcnt); in compress_data()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_cb_bitmap.c | 89 GLint xpos, ypos; member 441 cache->xpos, cache->ypos); in st_flush_bitmap_cache() 457 cache->xpos, in st_flush_bitmap_cache() 495 px = x - cache->xpos; /* pos in buffer */ in accum_bitmap() 513 cache->xpos = x; in accum_bitmap()
|
/external/skia/src/gpu/text/ |
D | GrTextUtils.cpp | 519 SkScalar xpos, prevXPos = 0; in DrawTextAsPath() local 521 while (iter.next(&iterPath, &xpos)) { in DrawTextAsPath() 522 matrix.postTranslate(xpos - prevXPos, 0); in DrawTextAsPath() 528 prevXPos = xpos; in DrawTextAsPath()
|
/external/python/cpython2/Mac/Modules/ |
D | MacOS.c | 512 short xpos, ypos, width, height, swidth, sheight; in MacOS_splash() 530 xpos = (swidth-width)/2; in MacOS_splash() 532 MoveWindow(theWindow, xpos, ypos, 0); in MacOS_splash()
|
/external/libchrome/base/strings/ |
D | string_piece.cc | 114 const size_t xpos = in findT() local 116 return xpos + s.size() <= self.size() ? xpos : BasicStringPiece<STR>::npos; in findT()
|
/external/skia/src/utils/ |
D | SkPaintFilterCanvas.cpp | 191 void SkPaintFilterCanvas::onDrawPosTextH(const void* text, size_t byteLength, const SkScalar xpos[], in onDrawPosTextH() argument 195 this->INHERITED::onDrawPosTextH(text, byteLength, xpos, constY, *apf.paint()); in onDrawPosTextH()
|