Home
last modified time | relevance | path

Searched refs:ypos (Results 1 – 25 of 29) sorted by relevance

12

/external/python/cpython2/Demo/curses/
Drain.py45 ypos = [0] * r
48 ypos[j] = randrange(0, r) + 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 …]
Dlife.py161 xpos, ypos = board.X//2, board.Y//2
165 stdscr.move(1+ypos, 1+xpos) # Move the cursor
170 board.toggle(ypos, xpos)
202 elif c == curses.KEY_UP and ypos>0: ypos -= 1
203 elif c == curses.KEY_DOWN and ypos<board.Y-1: ypos += 1
/external/mesa3d/src/mesa/main/
Daccum.c129 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()
187 GLint xpos, GLint ypos, GLint width, GLint height, in accum_or_load() argument
209 ctx->Driver.MapRenderbuffer(ctx, accRb, xpos, ypos, width, height, in accum_or_load()
217 ctx->Driver.MapRenderbuffer(ctx, colorRb, xpos, ypos, width, height, in accum_or_load()
281 GLint xpos, GLint ypos, GLint width, GLint height) in accum_return() argument
290 ctx->Driver.MapRenderbuffer(ctx, accRb, xpos, ypos, width, height, in accum_return()
311 ctx->Driver.MapRenderbuffer(ctx, colorRb, xpos, ypos, width, height, in accum_return()
394 GLint xpos, ypos, width, height; in accum() local
407 ypos = ctx->DrawBuffer->_Ymin; in accum()
[all …]
/external/skia/gm/
Dskinning.cpp117 int ypos = kCellSize; in onDraw() local
126 drawPermutations(canvas, xpos, ypos, bones, 1); in onDraw()
132 int& ypos, in drawPermutations() argument
146 canvas->translate(xpos, ypos); in drawPermutations()
173 ypos += kCellSize; in drawPermutations()
185 drawPermutations(canvas, xpos, ypos, bones, start + 1); in drawPermutations()
/external/skqp/gm/
Dskinning.cpp117 int ypos = kCellSize; in onDraw() local
126 drawPermutations(canvas, xpos, ypos, bones, 1); in onDraw()
132 int& ypos, in drawPermutations() argument
146 canvas->translate(xpos, ypos); in drawPermutations()
173 ypos += kCellSize; in drawPermutations()
185 drawPermutations(canvas, xpos, ypos, bones, start + 1); in drawPermutations()
/external/python/cpython3/Tools/demo/
Dlife.py192 xpos, ypos = board.X // 2, board.Y // 2
196 stdscr.move(1 + ypos, 1 + xpos) # Move the cursor
201 board.toggle(ypos, xpos)
235 elif c == curses.KEY_UP and ypos > 0:
236 ypos -= 1
237 elif c == curses.KEY_DOWN and ypos + 1 < board.Y:
238 ypos += 1
248 ypos = mouse_y - 1
249 board.toggle(ypos, xpos)
/external/freetype/src/pfr/
Dpfrsbit.c412 FT_Long xpos, ypos, advance; in pfr_load_bitmap_metrics() local
420 ypos = 0; in pfr_load_bitmap_metrics()
431 ypos = ( (FT_Char)( b << 4 ) ) >> 4; in pfr_load_bitmap_metrics()
437 ypos = PFR_NEXT_INT8( p ); in pfr_load_bitmap_metrics()
443 ypos = PFR_NEXT_SHORT( p ); in pfr_load_bitmap_metrics()
449 ypos = PFR_NEXT_LONG( p ); in pfr_load_bitmap_metrics()
515 *aypos = ypos; 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()
744 ypos > FT_INT_MAX - (FT_Long)ysize || in pfr_slot_load_bitmap()
[all …]
/external/u-boot/drivers/video/
Dconsole_truetype.c85 int ypos; member
184 priv->pos[i].ypos -= diff; in console_truetype_move_rows()
236 pos->ypos = vc_priv->ycur; in console_truetype_putc_xy()
397 if (pos->ypos == vc_priv->ycur) in console_truetype_backspace()
402 console_truetype_erase(dev, VID_TO_PIXEL(pos->xpos_frac), pos->ypos, in console_truetype_backspace()
403 xend, pos->ypos + vc_priv->y_charsize, in console_truetype_backspace()
408 vc_priv->ycur = pos->ypos; in console_truetype_backspace()
Dstb_truetype.h486 … float *xpos, float *ypos, // pointers to current position in screen pixel space
586 … float *xpos, float *ypos, // pointers to current position in screen pixel space
2560 …_bakedchar *chardata, int pw, int ph, int char_index, float *xpos, float *ypos, stbtt_aligned_quad… in stbtt_GetBakedQuad() argument
2566 int round_y = STBTT_ifloor((*ypos + b->yoff) + 0.5f); in stbtt_GetBakedQuad()
3010 …packedchar *chardata, int pw, int ph, int char_index, float *xpos, float *ypos, stbtt_aligned_quad… in stbtt_GetPackedQuad() argument
3017 float y = (float) STBTT_ifloor((*ypos + b->yoff) + 0.5f); in stbtt_GetPackedQuad()
3024 q->y0 = *ypos + b->yoff; in stbtt_GetPackedQuad()
3026 q->y1 = *ypos + b->yoff2; in stbtt_GetPackedQuad()
/external/wpa_supplicant_8/src/crypto/
Daes-gcm.c148 u8 *ypos = y; in aes_gctr() local
158 aes_encrypt(aes, cb, ypos); in aes_gctr()
159 xor_block(ypos, xpos); in aes_gctr()
161 ypos += AES_BLOCK_SIZE; in aes_gctr()
170 *ypos++ = *xpos++ ^ tmp[i]; in aes_gctr()
/external/libhevc/decoder/
Dihevcd_decode.c536 WORD32 ypos = ps_codec->i4_disp_ht - 32 - LOGO_HT; in ihevcd_decode() local
538 if(ypos < 0) in ihevcd_decode()
539 ypos = 0; in ihevcd_decode()
548 ypos, in ihevcd_decode()
919 WORD32 ypos = ps_codec->i4_disp_ht - 32 - LOGO_HT; in ihevcd_decode() local
921 if(ypos < 0) in ihevcd_decode()
922 ypos = 0; in ihevcd_decode()
931 ypos, in ihevcd_decode()
/external/libkmsxx/kms++util/src/
Ddrawing.cpp211 static void draw_char(IFramebuffer& buf, uint32_t xpos, uint32_t ypos, char c, RGB color) in draw_char() argument
229 draw_rgb_pixel(buf, xpos + x, ypos + y, b ? color : RGB()); in draw_char()
243 draw_yuv422_macropixel(buf, xpos + x, ypos + y, in draw_char()
258 draw_yuv420_macropixel(buf, xpos + x, ypos + y, in draw_char()
/external/libjpeg-turbo/
Djccoefct.c148 JDIMENSION ypos, xpos; in compress_data() local
171 ypos = yoffset * DCTSIZE; /* ypos == (yoffset+yindex) * DCTSIZE */ in compress_data()
178 ypos, xpos, (JDIMENSION)blockcnt); in compress_data()
198 ypos += DCTSIZE; in compress_data()
/external/pdfium/third_party/libtiff/
Dtif_jpeg.c1424 int ypos; in JPEGDecodeRaw() local
1426 for (ypos = 0; ypos < vsamp; ypos++) { in JPEGDecodeRaw()
1427 JSAMPLE *inptr = sp->ds_buffer[ci][sp->scancount*vsamp + ypos]; in JPEGDecodeRaw()
1983 int clumpoffset, ci, xpos, ypos; in JPEGEncodeRaw() local
2017 for (ypos = 0; ypos < vsamp; ypos++) { in JPEGEncodeRaw()
2019 outptr = sp->ds_buffer[ci][sp->scancount*vsamp + ypos]; in JPEGEncodeRaw()
2069 int ci, ypos, n; in JPEGPostEncode() local
2078 for (ypos = sp->scancount * vsamp; in JPEGPostEncode()
2079 ypos < DCTSIZE * vsamp; ypos++) { in JPEGPostEncode()
2080 _TIFFmemcpy((void*)sp->ds_buffer[ci][ypos], in JPEGPostEncode()
[all …]
/external/skqp/src/gpu/
DGrRectanizer_skyline.cpp50 bool GrRectanizerSkyline::rectangleFits(int skylineIndex, int width, int height, int* ypos) const { in rectangleFits()
69 *ypos = y; in rectangleFits()
/external/skia/src/gpu/
DGrRectanizer_skyline.cpp50 bool GrRectanizerSkyline::rectangleFits(int skylineIndex, int width, int height, int* ypos) const { in rectangleFits()
69 *ypos = y; in rectangleFits()
/external/webrtc/webrtc/modules/video_render/test/testAPI/
DtestAPI.cc166 int screen, xpos = 10, ypos = 10; in WebRtcCreateWindow() local
197 ypos = 200; in WebRtcCreateWindow()
201 ypos = 200; in WebRtcCreateWindow()
209 xpos, ypos, in WebRtcCreateWindow()
/external/skia/tests/
DSVGDeviceTest.cpp106 SkAutoTMalloc<SkScalar> ypos(yposCount);
107 SkParse::FindScalars(y, ypos.get(), yposCount);
109 REPORTER_ASSERT(reporter, ypos[0] == offset.y());
112 REPORTER_ASSERT(reporter, ypos[i] == -SkIntToScalar(expected[i]));
/external/skqp/tests/
DSVGDeviceTest.cpp98 SkAutoTMalloc<SkScalar> ypos(yposCount);
99 SkParse::FindScalars(y, ypos.get(), yposCount);
101 REPORTER_ASSERT(reporter, ypos[0] == offset.y());
104 REPORTER_ASSERT(reporter, ypos[i] == -SkIntToScalar(expected[i]));
/external/python/cpython2/Mac/Modules/
DMacOS.c512 short xpos, ypos, width, height, swidth, sheight; in MacOS_splash()
531 ypos = (sheight-height)/5 + LMGetMBarHeight(); in MacOS_splash()
532 MoveWindow(theWindow, xpos, ypos, 0); in MacOS_splash()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_bitmap.c421 cache->xpos, cache->ypos); in st_flush_bitmap_cache()
438 cache->ypos, in st_flush_bitmap_cache()
476 py = y - cache->ypos; in accum_bitmap()
494 cache->ypos = y - py; in accum_bitmap()
Dst_context.h65 GLint xpos, ypos; member
/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmwgfx_drm.h530 int32_t ypos; member
/external/libdrm/include/drm/
Dvmwgfx_drm.h533 __s32 ypos; member
/external/kernel-headers/original/uapi/drm/
Dvmwgfx_drm.h524 __s32 ypos; member

12