Home
last modified time | relevance | path

Searched refs:xpos (Results 1 – 25 of 76) sorted by relevance

1234

/external/wpa_supplicant_8/src/crypto/
Daes-gcm.c106 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 …]
Dfips_prf_internal.c22 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()
Dfips_prf_openssl.c53 u8 *xpos = x; in fips186_2_prf() local
84 os_memcpy(xpos, _t, 20); in fips186_2_prf()
89 carry += xkey[k] + xpos[k]; in fips186_2_prf()
94 xpos += 20; in fips186_2_prf()
/external/opencv3/samples/android/15-puzzle/src/org/opencv/samples/puzzle15/
DPuzzle15Activity.java125 int xpos, ypos; in onTouch() local
127 xpos = (view.getWidth() - mGameWidth) / 2; in onTouch()
128 xpos = (int)event.getX() - xpos; in onTouch()
133 if (xpos >=0 && xpos <= mGameWidth && ypos >=0 && ypos <= mGameHeight) { in onTouch()
135 mPuzzle15.deliverTouchEvent(xpos, ypos); in onTouch()
/external/mesa3d/src/mesa/main/
Daccum.c190 GLint xpos, GLint ypos, GLint width, GLint height, in accum_scale_or_bias() argument
200 ctx->Driver.MapRenderbuffer(ctx, accRb, xpos, ypos, width, height, in accum_scale_or_bias()
248 GLint xpos, GLint ypos, GLint width, GLint height, in accum_or_load() argument
270 ctx->Driver.MapRenderbuffer(ctx, accRb, xpos, ypos, width, height, in accum_or_load()
278 ctx->Driver.MapRenderbuffer(ctx, colorRb, xpos, ypos, width, height, in accum_or_load()
342 GLint xpos, GLint ypos, GLint width, GLint height) in accum_return() argument
351 ctx->Driver.MapRenderbuffer(ctx, accRb, xpos, ypos, width, height, in accum_return()
372 ctx->Driver.MapRenderbuffer(ctx, colorRb, xpos, ypos, width, height, in accum_return()
455 GLint xpos, ypos, width, height; in _mesa_accum() local
465 xpos = ctx->DrawBuffer->_Xmin; in _mesa_accum()
[all …]
/external/skia/tests/
DSVGDeviceTest.cpp54 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()
101 SkAutoTMalloc<SkScalar> xpos(len); in test_whitespace_pos() local
103 xpos[i] = SkIntToScalar(txt[i]); in test_whitespace_pos()
109 svgCanvas->drawPosTextH(txt, len, xpos, offset.y(), paint); in test_whitespace_pos()
/external/skia/src/core/
DSkBitmapProcState_matrixProcs.cpp342 int xpos = nofilter_trans_preamble(s, &xy, x, y); in clampx_nofilter_trans() local
354 if (xpos < 0) { in clampx_nofilter_trans()
355 n = -xpos; in clampx_nofilter_trans()
365 xpos = 0; in clampx_nofilter_trans()
369 if (xpos < width) { in clampx_nofilter_trans()
370 n = width - xpos; in clampx_nofilter_trans()
374 fill_sequential(xptr, xpos, n); in clampx_nofilter_trans()
390 int xpos = nofilter_trans_preamble(s, &xy, x, y); in repeatx_nofilter_trans() local
399 int start = sk_int_mod(xpos, width); in repeatx_nofilter_trans()
430 int xpos = nofilter_trans_preamble(s, &xy, x, y); in mirrorx_nofilter_trans() local
[all …]
DSkPicturePlayback.cpp362 const SkScalar* xpos = (const SkScalar*)reader->skip(xCount * sizeof(SkScalar)); in handleOp() local
363 canvas->drawPosTextH(text.text(), text.length(), xpos, constY, paint); in handleOp()
370 const SkScalar* xpos = (const SkScalar*)reader->skip((3 + xCount) * sizeof(SkScalar)); in handleOp() local
371 const SkScalar top = *xpos++; in handleOp()
372 const SkScalar bottom = *xpos++; in handleOp()
373 const SkScalar constY = *xpos++; in handleOp()
375 canvas->drawPosTextH(text.text(), text.length(), xpos, constY, paint); in handleOp()
DSkRecordDraw.cpp111 DRAW(DrawPosTextH, drawPosTextH(r.text, r.byteLength, r.xpos, r.y, r.paint));
485 SkScalar left = op.xpos[0], right = op.xpos[0]; in bounds()
487 left = SkMinScalar(left, op.xpos[i]); in bounds()
488 right = SkMaxScalar(right, op.xpos[i]); in bounds()
DSkDevice.cpp382 SkScalar xpos; in drawTextOnPath() local
388 while (iter.next(&iterPath, &xpos)) { in drawTextOnPath()
394 m.postTranslate(xpos + hOffset, 0); in drawTextOnPath()
/external/opencv3/modules/features2d/src/kaze/
Dnldiffusion_functions.cpp379 float xpos = (c_curr[j] + c_curr[j+1])*(ld_curr[j+1] - ld_curr[j]); in operator ()() local
383 dst[j] = 0.5f*stepsize*(xpos - xneg + ypos - yneg); in operator ()()
409 float xneg, xpos, yneg, ypos; in nld_step_scalar() local
418 xpos = (ccur[j] + ccur[j+1]) * (ldcur[j+1] - ldcur[j]); in nld_step_scalar()
421 dst[j] = 0.5f*stepsize*(xpos - xneg + ypos); in nld_step_scalar()
431 xpos = (ccur[j] + ccur[j+1]) * (ldcur[j+1] - ldcur[j]); in nld_step_scalar()
434 dst[j] = 0.5f*stepsize*(xpos - xneg - yneg); in nld_step_scalar()
450 xpos = (ccur[0] + ccur[1]) * (ldcur[1] - ldcur[0]); in nld_step_scalar()
453 dst[0] = 0.5f*stepsize*(xpos + ypos - yneg); in nld_step_scalar()
/external/regex-re2/util/
Dstringpiece.cc48 const size_type xpos = result - ptr_; in find() local
49 return xpos + s.length_ <= length_ ? xpos : npos; in find()
/external/skia/samplecode/
DSampleText.cpp49 SkScalar xpos = x; in DrawTheText() local
52 pts[i].set(xpos, y), xpos += paint.getTextSize(); in DrawTheText()
/external/pdfium/core/src/fpdftext/
Dfpdf_text.cpp485 CTextColumn* CTextPage::FindColumn(FX_FLOAT xpos) { in FindColumn() argument
488 if (pColumn->m_AvgPos < xpos + 1 && pColumn->m_AvgPos > xpos - 1) { in FindColumn()
645 int xpos; in WriteOutput() local
647 xpos = in WriteOutput()
650 xpos -= pText->m_Text.GetLength(); in WriteOutput()
652 xpos = (int)((pText->m_Left - leftx) * iTextWidth / pagewidth + 0.5); in WriteOutput()
654 if (xpos <= lastpos) { in WriteOutput()
655 xpos = lastpos + 1; in WriteOutput()
657 for (int j = lastpos + 1; j < xpos; j++) { in WriteOutput()
664 lastpos = xpos + pText->m_Text.GetLength(); in WriteOutput()
/external/libhevc/decoder/
Dihevcd_decode.c489 WORD32 xpos = ps_codec->i4_disp_wd - 32 - LOGO_WD; in ihevcd_decode() local
495 if(xpos < 0) in ihevcd_decode()
496 xpos = 0; in ihevcd_decode()
501 xpos, in ihevcd_decode()
865 WORD32 xpos = ps_codec->i4_disp_wd - 32 - LOGO_WD; in ihevcd_decode() local
871 if(xpos < 0) in ihevcd_decode()
872 xpos = 0; in ihevcd_decode()
877 xpos, in ihevcd_decode()
/external/toybox/toys/posix/
Dls.c231 unsigned columns, unsigned *xpos) in next_column() argument
238 *xpos = ul % columns; in next_column()
250 *xpos = columns; in next_column()
259 *xpos = ul % columns; in next_column()
260 return (*xpos*height) + (ul/columns); in next_column()
264 *xpos = ul % (columns-1); in next_column()
266 return (*xpos*height) + widecols + (ul/(columns-1)); in next_column()
/external/webrtc/webrtc/modules/video_render/test/testAPI/
DtestAPI.cc166 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/opencv3/3rdparty/libtiff/
Dtif_jpeg.c1374 int xpos; in JPEGDecodeRaw() local
1378 for (xpos = 0; xpos < hsamp; xpos++) in JPEGDecodeRaw()
1379 outptr[xpos] = *inptr++; in JPEGDecodeRaw()
1845 int clumpoffset, ci, xpos, ypos; in JPEGEncodeRaw() local
1891 for (xpos = 0; xpos < hsamp; xpos++) in JPEGEncodeRaw()
1892 *outptr++ = inptr[xpos]; in JPEGEncodeRaw()
1897 for (xpos = 0; xpos < padding; xpos++) { in JPEGEncodeRaw()
/external/pdfium/third_party/libtiff/
Dtif_jpeg.c1445 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/
Dfpdfapi_jccoefct.c150 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/libweave/third_party/chromium/base/strings/
Dstring_piece.cc101 const size_t xpos = in findT() local
103 return xpos + s.size() <= self.size() ? xpos : BasicStringPiece<STR>::npos; in findT()
/external/libjpeg-turbo/
Djccoefct.c149 JDIMENSION ypos, xpos; in compress_data() local
171 xpos = MCU_col_num * compptr->MCU_sample_width; in compress_data()
179 ypos, xpos, (JDIMENSION) blockcnt); in compress_data()
/external/opencv3/3rdparty/libjpeg/
Djccoefct.c151 JDIMENSION ypos, xpos; in compress_data() local
175 xpos = MCU_col_num * compptr->MCU_sample_width; in compress_data()
184 ypos, xpos, (JDIMENSION) blockcnt); in compress_data()
/external/skia/src/gpu/text/
DGrTextUtils.cpp478 SkScalar xpos, prevXPos = 0; in DrawTextAsPath() local
480 while (iter.next(&iterPath, &xpos)) { in DrawTextAsPath()
481 matrix.postTranslate(xpos - prevXPos, 0); in DrawTextAsPath()
487 prevXPos = xpos; in DrawTextAsPath()
/external/libchrome/base/strings/
Dstring_piece.cc114 const size_t xpos = in findT() local
116 return xpos + s.size() <= self.size() ? xpos : BasicStringPiece<STR>::npos; in findT()

1234