Home
last modified time | relevance | path

Searched refs:ypos (Results 1 – 25 of 35) 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/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/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()
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
411 ypos = ctx->DrawBuffer->_Ymin; in accum()
[all …]
/external/llvm-project/libclc/generic/lib/math/
Dclc_pown.cl76 int ypos = iy == ay;
193 ret = ((ax == 0) & !ypos & (inty == 1)) ? xinf : ret;
194 ret = ((ax == 0) & !ypos & (inty == 2)) ? PINFBITPATT_SP32 : ret;
195 ret = ((ax == 0) & ypos & (inty == 2)) ? 0 : ret;
197 ret = ((ax == 0) & ypos & (inty == 1)) ? xzero : ret;
198 ret = ((ix == NINFBITPATT_SP32) & !ypos & (inty == 1)) ? 0x80000000 : ret;
199 ret = ((ix == NINFBITPATT_SP32) & !ypos & (inty != 1)) ? 0 : ret;
200 ret = ((ix == NINFBITPATT_SP32) & ypos & (inty == 1)) ? NINFBITPATT_SP32 : ret;
201 ret = ((ix == NINFBITPATT_SP32) & ypos & (inty != 1)) ? PINFBITPATT_SP32 : ret;
202 ret = ((ix == PINFBITPATT_SP32) & !ypos) ? 0 : ret;
[all …]
Dclc_pow.cl77 int ypos = iy == ay;
207 ret = ((ax == 0) & !ypos & (inty == 1)) ? xinf : ret;
208 ret = ((ax == 0) & !ypos & (inty != 1)) ? PINFBITPATT_SP32 : ret;
210 ret = ((ax == 0) & ypos & (inty == 1)) ? xzero : ret;
211 ret = ((ax == 0) & ypos & (inty != 1)) ? 0 : ret;
214 ret = ((ix == NINFBITPATT_SP32) & !ypos & (inty == 1)) ? 0x80000000 : ret;
215 ret = ((ix == NINFBITPATT_SP32) & !ypos & (inty != 1)) ? 0 : ret;
216 ret = ((ix == NINFBITPATT_SP32) & ypos & (inty == 1)) ? NINFBITPATT_SP32 : ret;
217 ret = ((ix == NINFBITPATT_SP32) & ypos & (inty != 1)) ? PINFBITPATT_SP32 : ret;
218 ret = ((ix == PINFBITPATT_SP32) & !ypos) ? 0 : ret;
[all …]
Dclc_rootn.cl76 int ypos = iy == ay;
198 ret = ((ax == 0) & !ypos & (inty == 1)) ? xinf : ret;
199 ret = ((ax == 0) & !ypos & (inty == 2)) ? PINFBITPATT_SP32 : ret;
200 ret = ((ax == 0) & ypos & (inty == 2)) ? 0 : ret;
202 ret = ((ax == 0) & ypos & (inty == 1)) ? xzero : ret;
203 ret = ((ix == NINFBITPATT_SP32) & ypos & (inty == 1)) ? NINFBITPATT_SP32 : ret;
204 ret = ((ix == NINFBITPATT_SP32) & !ypos & (inty == 1)) ? 0x80000000 : ret;
205 ret = ((ix == PINFBITPATT_SP32) & !ypos) ? 0 : ret;
206 ret = ((ix == PINFBITPATT_SP32) & ypos) ? PINFBITPATT_SP32 : ret;
229 int ypos = ay == uy;
[all …]
Dclc_powr.cl74 int ypos = iy == ay;
203 ret = ((ax == PINFBITPATT_SP32) & !ypos) ? 0 : ret;
204 ret = ((ax == PINFBITPATT_SP32) & ypos) ? PINFBITPATT_SP32 : ret;
207 ret = ((ax == 0) & !ypos) ? PINFBITPATT_SP32 : ret;
208 ret = ((ax == 0) & ypos) ? 0 : ret;
230 int ypos = ay == uy;
367 ret = ((ax == PINFBITPATT_DP64) & !ypos) ? 0L : ret;
368 ret = ((ax == PINFBITPATT_DP64) & ypos) ? PINFBITPATT_DP64 : ret;
371 ret = ((ax == 0L) & !ypos) ? PINFBITPATT_DP64 : ret;
372 ret = ((ax == 0L) & ypos) ? 0L : ret;
/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/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.c540 WORD32 ypos = ps_codec->i4_disp_ht - 32 - LOGO_HT; in ihevcd_decode() local
542 if(ypos < 0) in ihevcd_decode()
543 ypos = 0; in ihevcd_decode()
552 ypos, in ihevcd_decode()
944 WORD32 ypos = ps_codec->i4_disp_ht - 32 - LOGO_HT; in ihevcd_decode() local
946 if(ypos < 0) in ihevcd_decode()
947 ypos = 0; in ihevcd_decode()
956 ypos, in ihevcd_decode()
/external/swiftshader/src/Device/
DASTC_Decoder.cpp39 int xpos, int ypos, int zpos) in write_imageblock() argument
51 int yi = ypos + y; in write_imageblock()
/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/
DGrRectanizerSkyline.cpp52 bool GrRectanizerSkyline::rectangleFits(int skylineIndex, int width, int height, int* ypos) const { in rectangleFits()
71 *ypos = y; in rectangleFits()
/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/swiftshader/third_party/astc-encoder/Source/
Dastc_codec_internals.h133 int xpos, ypos, zpos; member
323 int ypos,
Dastc_decompress_symbolic.cpp89 int ypos, in decompress_symbolic_block() argument
95 blk->ypos = ypos; in decompress_symbolic_block()
/external/pdfium/third_party/libtiff/
Dtif_jpeg.c1565 int ypos; in JPEGDecodeRaw() local
1567 for (ypos = 0; ypos < vsamp; ypos++) { in JPEGDecodeRaw()
1568 JSAMPLE *inptr = sp->ds_buffer[ci][sp->scancount*vsamp + ypos]; in JPEGDecodeRaw()
2124 int clumpoffset, ci, xpos, ypos; in JPEGEncodeRaw() local
2158 for (ypos = 0; ypos < vsamp; ypos++) { in JPEGEncodeRaw()
2160 outptr = sp->ds_buffer[ci][sp->scancount*vsamp + ypos]; in JPEGEncodeRaw()
2210 int ci, ypos, n; in JPEGPostEncode() local
2219 for (ypos = sp->scancount * vsamp; in JPEGPostEncode()
2220 ypos < DCTSIZE * vsamp; ypos++) { in JPEGPostEncode()
2221 _TIFFmemcpy((void*)sp->ds_buffer[ci][ypos], in JPEGPostEncode()
[all …]
/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/libkmsxx/kms++util/src/
Ddrawing.cpp471 static void draw_char(IFramebuffer& buf, uint32_t xpos, uint32_t ypos, char c, RGB color) in draw_char() argument
494 draw_rgb_pixel(buf, xpos + x, ypos + y, b ? color : RGB()); in draw_char()
505 draw_yuv444_pixel(buf, xpos + x, ypos + y, b ? yuvcolor : YUV(RGB())); in draw_char()
523 draw_yuv422_macropixel(buf, xpos + x, ypos + y, in draw_char()
540 draw_yuv420_macropixel(buf, xpos + x, ypos + y, in draw_char()
/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/skia/tests/
DSVGDeviceTest.cpp106 SkAutoTMalloc<SkScalar> ypos(yposCount); in check_text_node() local
107 SkParse::FindScalars(y, ypos.get(), yposCount); in check_text_node()
109 REPORTER_ASSERT(reporter, ypos[0] == offset.y()); in check_text_node()
112 REPORTER_ASSERT(reporter, ypos[i] == 150 - SkIntToScalar(expected[i])); in check_text_node()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_bitmap.c424 cache->xpos, cache->ypos); in st_flush_bitmap_cache()
441 cache->ypos, in st_flush_bitmap_cache()
479 py = y - cache->ypos; in accum_bitmap()
497 cache->ypos = y - py; in accum_bitmap()
Dst_context.h62 GLint xpos, ypos; member

12