Home
last modified time | relevance | path

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

123

/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/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/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/pfr/
Dpfrsbit.c363 FT_Long xpos, ypos, advance; in pfr_load_bitmap_metrics() local
370 xpos = 0; in pfr_load_bitmap_metrics()
381 xpos = c >> 4; in pfr_load_bitmap_metrics()
387 xpos = PFR_NEXT_INT8( p ); in pfr_load_bitmap_metrics()
393 xpos = PFR_NEXT_SHORT( p ); in pfr_load_bitmap_metrics()
399 xpos = PFR_NEXT_LONG( p ); in pfr_load_bitmap_metrics()
465 *axpos = xpos; in pfr_load_bitmap_metrics()
603 FT_Long xpos = 0, ypos = 0, advance = 0; in pfr_slot_load_bitmap() local
630 &xpos, &ypos, in pfr_slot_load_bitmap()
686 if ( xpos > FT_INT_MAX || in pfr_slot_load_bitmap()
[all …]
/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()
DSkDevice.cpp382 SkScalar xpos; in drawTextOnPath() local
388 while (iter.next(&iterPath, &xpos)) { in drawTextOnPath()
394 m.postTranslate(xpos + hOffset, 0); in drawTextOnPath()
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()
/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()
Dtxtproc.h77 CTextColumn* FindColumn(FX_FLOAT xpos);
/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()
866 WORD32 xpos = ps_codec->i4_disp_wd - 32 - LOGO_WD; in ihevcd_decode() local
872 if(xpos < 0) in ihevcd_decode()
873 xpos = 0; in ihevcd_decode()
878 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/jmonkeyengine/engine/src/test/jme3test/batching/
DTestBatchNodeCluster.java193 int xpos = xPosition.get(xPosition.size() - 1); in randomize() local
206 if (xpos >= lineLength * 2) { in randomize()
314 float xpos = 0; field in TestBatchNodeCluster
/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/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/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/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/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/skia/src/utils/
DSkPaintFilterCanvas.cpp191 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()
/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()

123