HomeSort by relevance Sort by last modified time
    Searched refs:xpos (Results 1 - 25 of 206) sorted by null

1 2 3 4 5 6 7 8 9

  /external/python/cpython2/Demo/curses/
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...]
life.py 160 # xpos, ypos are the cursor's position
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/
fips_prf_openssl.c 53 u8 *xpos = x; local
79 WPA_PUT_BE32(xpos, _t[0]);
80 WPA_PUT_BE32(xpos + 4, _t[1]);
81 WPA_PUT_BE32(xpos + 8, _t[2]);
82 WPA_PUT_BE32(xpos + 12, _t[3]);
83 WPA_PUT_BE32(xpos + 16, _t[4]);
88 carry += xkey[k] + xpos[k];
93 xpos += 20;
fips_prf_internal.c 22 u8 *xpos = x; local
53 os_memcpy(xpos, _t, 20);
58 carry += xkey[k] + xpos[k];
63 xpos += SHA1_MAC_LEN;
aes-gcm.c 106 const u8 *xpos = x; local
113 xor_block(y, xpos);
114 xpos += 16;
123 if (x + xlen > xpos) {
125 size_t last = x + xlen - xpos;
126 os_memcpy(tmp, xpos, last);
147 const u8 *xpos = x; local
159 xor_block(ypos, xpos);
160 xpos += AES_BLOCK_SIZE;
165 last = x + xlen - xpos;
    [all...]
  /frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
get_pred_outside.cpp 23 xpos = x half-pixel of (x,y) coordinates within a VOP; motion
78 is outside, i.e., left, right, top, bottom. xpos is compared to the left and
242 int xpos, /* i */
264 /* saturate xpos and ypos */
265 if (xpos < -16) xpos = -16;
266 if (xpos > ((width - 1) << 1)) xpos = (width - 1) << 1;
270 if (xpos < 0)
295 ptr = pred + (((ypos >> 1) + 8) << 4) + (xpos >> 1) + 8
    [all...]
mb_motion_comp.cpp 140 int ypos, xpos; local
184 xpos = video->mbnum_col << 4 ;
189 offset = (int32)ypos * width + xpos;
195 /* imv = (xpos/8) + ((ypos/8) * mvwidth) */
196 imv = (offset >> 6) - (xpos >> 6) + (xpos >> 3);
259 /* luminance_pred_mode_inter4v(xpos, ypos, px, py, c_prev,
265 xpred = (int)((xpos << 1) + px[0]);
301 xpred = (int)(((xpos + B_SIZE) << 1) + px[1]);
337 xpred = (int)((xpos << 1) + px[2])
563 int ypos, xpos; local
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/internal/src/
xpos_test.go 34 xpos := tab.XPos(want)
35 got := tab.Pos(xpos)
50 if got := tab.XPos(NoPos); got != NoXPos {
51 t.Errorf("XPos(NoPos): got %v; want %v", got, NoXPos)
60 var p XPos
73 xpos := tab.XPos(orig)
75 pos := tab.Pos(xpos)
78 xpos = tab.XPos(pos
    [all...]
  /prebuilts/go/linux-x86/src/cmd/internal/src/
xpos_test.go 34 xpos := tab.XPos(want)
35 got := tab.Pos(xpos)
50 if got := tab.XPos(NoPos); got != NoXPos {
51 t.Errorf("XPos(NoPos): got %v; want %v", got, NoXPos)
60 var p XPos
73 xpos := tab.XPos(orig)
75 pos := tab.Pos(xpos)
78 xpos = tab.XPos(pos
    [all...]
  /external/skia/tests/
SVGDeviceTest.cpp 58 SkAutoTMalloc<SkScalar> xpos(xposCount);
59 SkParse::FindScalars(x, xpos.get(), xposCount);
61 REPORTER_ASSERT(reporter, xpos[0] == offset.x());
64 REPORTER_ASSERT(reporter, xpos[i] == SkIntToScalar(expected[i]));
104 SkAutoTMalloc<SkScalar> xpos(len);
106 xpos[i] = SkIntToScalar(txt[i]);
111 svgCanvas->drawPosTextH(txt, len, xpos, offset.y(), paint);
  /external/skqp/tests/
SVGDeviceTest.cpp 58 SkAutoTMalloc<SkScalar> xpos(xposCount);
59 SkParse::FindScalars(x, xpos.get(), xposCount);
61 REPORTER_ASSERT(reporter, xpos[0] == offset.x());
64 REPORTER_ASSERT(reporter, xpos[i] == SkIntToScalar(expected[i]));
104 SkAutoTMalloc<SkScalar> xpos(len);
106 xpos[i] = SkIntToScalar(txt[i]);
111 svgCanvas->drawPosTextH(txt, len, xpos, offset.y(), paint);
  /prebuilts/go/darwin-x86/src/cmd/internal/obj/
inl.go 51 Pos src.XPos // position of the inlined call
56 func (tree *InlTree) Add(parent int, pos src.XPos, func_ *LSym) int {
75 func (tree *InlTree) CallPos(inlIndex int) src.XPos {
79 // OutermostPos returns the outermost position corresponding to xpos,
80 // which is where xpos was ultimately inlined to. In the example for
83 func (ctxt *Link) OutermostPos(xpos src.XPos) src.Pos {
84 pos := ctxt.InnermostPos(xpos)
86 outerxpos := xpos
95 // InnermostPos returns the innermost position corresponding to xpos,
    [all...]
line.go 16 func linkgetlineFromPos(ctxt *Link, xpos src.XPos) (f string, l int32) {
17 pos := ctxt.PosTable.Pos(xpos)
  /prebuilts/go/linux-x86/src/cmd/internal/obj/
inl.go 51 Pos src.XPos // position of the inlined call
56 func (tree *InlTree) Add(parent int, pos src.XPos, func_ *LSym) int {
75 func (tree *InlTree) CallPos(inlIndex int) src.XPos {
79 // OutermostPos returns the outermost position corresponding to xpos,
80 // which is where xpos was ultimately inlined to. In the example for
83 func (ctxt *Link) OutermostPos(xpos src.XPos) src.Pos {
84 pos := ctxt.InnermostPos(xpos)
86 outerxpos := xpos
95 // InnermostPos returns the innermost position corresponding to xpos,
    [all...]
line.go 16 func linkgetlineFromPos(ctxt *Link, xpos src.XPos) (f string, l int32) {
17 pos := ctxt.PosTable.Pos(xpos)
  /external/mesa3d/src/mesa/main/
accum.c 177 GLint xpos, GLint ypos, GLint width, GLint height,
187 ctx->Driver.MapRenderbuffer(ctx, accRb, xpos, ypos, width, height,
235 GLint xpos, GLint ypos, GLint width, GLint height,
257 ctx->Driver.MapRenderbuffer(ctx, accRb, xpos, ypos, width, height,
265 ctx->Driver.MapRenderbuffer(ctx, colorRb, xpos, ypos, width, height,
329 GLint xpos, GLint ypos, GLint width, GLint height)
338 ctx->Driver.MapRenderbuffer(ctx, accRb, xpos, ypos, width, height,
359 ctx->Driver.MapRenderbuffer(ctx, colorRb, xpos, ypos, width, height,
442 GLint xpos, ypos, width, height; local
452 xpos = ctx->DrawBuffer->_Xmin
    [all...]
  /external/python/cpython3/Tools/demo/
life.py 191 # xpos, ypos are the cursor's position
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)
    [all...]
  /frameworks/av/cmds/screenrecord/
TextRenderer.cpp 254 float xpos, float ypos, const String8& str) {
255 ALOGV("drawWrappedString %.3f,%.3f '%s'", xpos, ypos, str.string());
265 if (xpos < mBorderWidth) {
266 xpos = mBorderWidth;
272 const size_t maxWidth = (mScreenWidth - mBorderWidth) - xpos;
274 ALOGE("Unable to render text: xpos=%.3f border=%.3f width=%u",
275 xpos, mBorderWidth, mScreenWidth);
281 drawString(texRender, Program::kIdentity, xpos, ypos, str);
289 float xposAdj = (start == mangle) ? xpos : xpos + indentWidth
    [all...]
  /external/skia/src/gpu/text/
GrTextUtils.cpp 79 bool GrTextUtils::PathTextIter::next(const SkGlyph** skGlyph, const SkPath** path, SkScalar* xpos) {
82 SkASSERT(xpos);
102 *xpos = fXPos;
  /external/skqp/src/gpu/text/
GrTextUtils.cpp 95 SkScalar xpos, prevXPos = 0; local
97 while (iter.next(&iterPath, &xpos)) {
98 matrix.postTranslate(xpos - prevXPos, 0);
103 prevXPos = xpos;
  /external/skia/src/core/
SkBitmapProcState_matrixProcs.cpp 291 int xpos = nofilter_trans_preamble(s, &xy, x, y);
303 if (xpos < 0) {
304 n = -xpos;
314 xpos = 0;
318 if (xpos < width) {
319 n = width - xpos;
323 fill_sequential(xptr, xpos, n);
339 int xpos = nofilter_trans_preamble(s, &xy, x, y);
348 int start = sk_int_mod(xpos, width);
379 int xpos = nofilter_trans_preamble(s, &xy, x, y)
    [all...]
  /external/skqp/src/core/
SkBitmapProcState_matrixProcs.cpp 291 int xpos = nofilter_trans_preamble(s, &xy, x, y);
303 if (xpos < 0) {
304 n = -xpos;
314 xpos = 0;
318 if (xpos < width) {
319 n = width - xpos;
323 fill_sequential(xptr, xpos, n);
339 int xpos = nofilter_trans_preamble(s, &xy, x, y);
348 int start = sk_int_mod(xpos, width);
379 int xpos = nofilter_trans_preamble(s, &xy, x, y)
    [all...]
  /frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
findhalfpel.cpp 66 Int xpos, Int ypos, Int *xhmin, Int *yhmin, Int hp_guess)
93 imin = xpos + (mot[0].x >> 1);
95 ilow = xpos - range;
185 UChar *mode, Int xpos, Int ypos, Int *xhmin, Int *yhmin, UChar *hp_mem)
215 imin = xpos + ((comp & 1) << 3) + (mot[comp+1].x >> 1);
217 ilow = xpos + ((comp & 1) << 3) - range;
  /frameworks/base/core/java/android/gesture/
GestureUtils.java 137 float xpos; local
163 xpos = (float) Math.ceil(segmentStartX);
166 while (xpos < segmentEndX) {
167 ypos = slope * (xpos - segmentStartX) + segmentStartY;
168 plot(xpos, ypos, sample, bitmapSize);
169 xpos++;
172 xpos = (float) Math.ceil(segmentEndX);
175 while (xpos < segmentStartX) {
176 ypos = slope * (xpos - segmentStartX) + segmentStartY;
177 plot(xpos, ypos, sample, bitmapSize);
    [all...]
  /external/freetype/src/pfr/
pfrsbit.c 412 FT_Long xpos, ypos, advance; local
419 xpos = 0;
430 xpos = (FT_Char)b >> 4;
436 xpos = PFR_NEXT_INT8( p );
442 xpos = PFR_NEXT_SHORT( p );
448 xpos = PFR_NEXT_LONG( p );
514 *axpos = xpos;
656 FT_Long xpos = 0, ypos = 0, advance = 0; local
683 &xpos, &ypos,
741 if ( xpos > FT_INT_MAX |
    [all...]

Completed in 474 milliseconds

1 2 3 4 5 6 7 8 9