Home
last modified time | relevance | path

Searched refs:src_pos (Results 1 – 10 of 10) sorted by relevance

/external/v8/src/
Dscanner-character-streams.cc19 unsigned* src_pos, unsigned src_length, in CopyCharsHelper() argument
23 dest, length, src, src_pos, src_length); in CopyCharsHelper()
27 if (to_fill > src_length - *src_pos) to_fill = src_length - *src_pos; in CopyCharsHelper()
30 v8::internal::CopyChars<uint8_t, uint16_t>(dest, src + *src_pos, to_fill); in CopyCharsHelper()
34 dest, reinterpret_cast<const uint16_t*>(src + *src_pos), to_fill); in CopyCharsHelper()
36 *src_pos += to_fill; in CopyCharsHelper()
178 unsigned* src_pos, in CopyChars() argument
186 if (*src_pos == src_length) break; in CopyChars()
187 unibrow::uchar c = src[*src_pos]; in CopyChars()
189 *src_pos = *src_pos + 1; in CopyChars()
[all …]
Dscanner-character-streams.h63 unsigned* src_pos, unsigned src_length);
/external/pdfium/core/src/fxge/dib/
Dfx_dib_transform.cpp759 … FX_LPCBYTE src_pos = stretch_buf + src_row * stretch_pitch + src_col * Bpp; in Continue() local
763 dest_pos[0] = src_pos[0]; in Continue()
764 dest_pos[1] = src_pos[1]; in Continue()
765 dest_pos[2] = src_pos[2]; in Continue()
767 … *(FX_DWORD*)dest_pos = FXCMYK_TODIB(CmykEncode(src_pos[0], src_pos[1], src_pos[2], src_pos[3])); in Continue()
770 … *(FX_DWORD*)dest_pos = FXARGB_TODIB(FXARGB_MAKE(src_pos[3], src_pos[2], src_pos[1], src_pos[0])); in Continue()
774 … *(FX_DWORD*)dest_pos = FXCMYK_TODIB(CmykEncode(src_pos[0], src_pos[1], src_pos[2], src_pos[3])); in Continue()
776 … *(FX_DWORD*)dest_pos = FXARGB_TODIB(FXARGB_MAKE(0xff, src_pos[2], src_pos[1], src_pos[0])); in Continue()
Dfx_dib_main.cpp729 FX_LPCBYTE src_pos = pSrcClone->GetScanline(row) + srcOffset; local
731 *dest_pos = *src_pos;
733 src_pos += srcBytes;
894 FX_LPBYTE src_pos = m_pBuffer + row * m_Pitch; local
897 if (src_pos[col / 8] & (1 << (7 - col % 8))) {
925 FX_LPBYTE src_pos = m_pBuffer + row * m_Pitch; local
927 *dest_pos ++ = gray[*src_pos ++];
941 FX_LPBYTE src_pos = m_pBuffer + row * m_Pitch; local
944 *dest_pos ++ = FXRGB2GRAY(src_pos[2], src_pos[1], *src_pos);
945 src_pos += 3;
[all …]
Dfx_dib_engine.cpp38 double src_pos = dest_pixel * scale + scale / 2 + base; in Calc() local
40 pixel_weights.m_SrcStart = (int)FXSYS_floor((FX_FLOAT)src_pos - 1.0f / 2); in Calc()
41 pixel_weights.m_SrcEnd = (int)FXSYS_floor((FX_FLOAT)src_pos + 1.0f / 2); in Calc()
51 …pixel_weights.m_Weights[1] = FXSYS_round((FX_FLOAT)(src_pos - pixel_weights.m_SrcStart - 1.0f / 2)… in Calc()
55 pixel_weights.m_SrcStart = (int)FXSYS_floor((FX_FLOAT)src_pos - 1.0f / 2); in Calc()
56 pixel_weights.m_SrcEnd = (int)FXSYS_floor((FX_FLOAT)src_pos + 1.0f / 2); in Calc()
66 src_pos += src_min - pixel_weights.m_SrcStart; in Calc()
73 … weight = FXSYS_round((FX_FLOAT)(src_pos - pixel_weights.m_SrcStart - 1.0f / 2) * 256); in Calc()
119 … pixel_weights.m_SrcStart = pixel_weights.m_SrcEnd = (int)FXSYS_floor((FX_FLOAT)src_pos); in Calc()
/external/lldb/source/Core/
DDataExtractor.cpp477 const uint16_t *src_pos = src; in GetU16() local
480 *dst_pos = ReadSwapInt16 (src_pos); in GetU16()
482 ++src_pos; in GetU16()
536 const uint32_t *src_pos = src; in GetU32() local
539 *dst_pos = ReadSwapInt32 (src_pos); in GetU32()
541 ++src_pos; in GetU32()
593 const uint64_t *src_pos = src; in GetU64() local
596 *dst_pos = ReadSwapInt64 (src_pos); in GetU64()
598 ++src_pos; in GetU64()
1257 const uint8_t *src_pos = src; in Skip_LEB128() local
[all …]
/external/squashfs-tools/squashfs-tools/
Dxz_wrapper.c490 size_t src_pos = 0; in xz_uncompress() local
495 src, &src_pos, size, dest, &dest_pos, outsize); in xz_uncompress()
497 if(res == LZMA_OK && size == (int) src_pos) in xz_uncompress()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_loadimage.cpp926 FX_LPCBYTE src_pos = src_scan; in TranslateScanline24bpp() local
930 *dest_scan++ = src_pos[4]; in TranslateScanline24bpp()
931 *dest_scan++ = src_pos[2]; in TranslateScanline24bpp()
932 *dest_scan++ = *src_pos; in TranslateScanline24bpp()
933 src_pos += 6; in TranslateScanline24bpp()
938 *dest_scan++ = src_pos[2]; in TranslateScanline24bpp()
939 *dest_scan++ = src_pos[1]; in TranslateScanline24bpp()
940 *dest_scan++ = *src_pos; in TranslateScanline24bpp()
941 src_pos += 3; in TranslateScanline24bpp()
Dfpdf_render_image.cpp1073 FX_LPBYTE src_pos = src_buf + row * src_pitch; in LoadSMask() local
1075 *dest_pos ++ = pTransfer[FXRGB2GRAY(src_pos[2], src_pos[1], *src_pos)]; in LoadSMask()
1076 src_pos += Bpp; in LoadSMask()
/external/pdfium/core/src/fpdfapi/fpdf_font/
Dfpdf_font.cpp209 int src_pos = 0; in DecodeString() local
210 while (src_pos < src_len) { in DecodeString()
211 FX_DWORD charcode = GetNextChar(src_buf, src_len, src_pos); in DecodeString()
228 for (int src_pos = 0; src_pos < src_len; src_pos ++) { in EncodeString() local
229 FX_DWORD charcode = CharCodeFromUnicode(src_buf[src_pos]); in EncodeString()