Home
last modified time | relevance | path

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

/external/v8/src/parsing/
Dscanner-character-streams.cc20 size_t* src_pos, size_t src_length, in CopyCharsHelper() argument
28 dest, length, src, src_pos, src_length); in CopyCharsHelper()
32 if (to_fill > src_length - *src_pos) to_fill = src_length - *src_pos; in CopyCharsHelper()
35 v8::internal::CopyChars<uint8_t, uint16_t>(dest, src + *src_pos, to_fill); in CopyCharsHelper()
39 dest, reinterpret_cast<const uint16_t*>(src + *src_pos), to_fill); in CopyCharsHelper()
41 *src_pos += to_fill; in CopyCharsHelper()
194 const byte* src, size_t* src_pos, in CopyChars() argument
203 if (*src_pos == src_length) break; in CopyChars()
204 unibrow::uchar c = src[*src_pos]; in CopyChars()
206 *src_pos = *src_pos + 1; in CopyChars()
[all …]
Dscanner-character-streams.h73 size_t* src_pos, size_t src_length);
/external/webrtc/webrtc/base/
Dwin32.cc165 const char* src_pos = src; in inet_pton_v4() local
168 while (*src_pos != '\0') { in inet_pton_v4()
171 if (!isdigit(*src_pos)) { in inet_pton_v4()
175 long value = strtol(src_pos, &end_pos, 10); in inet_pton_v4()
176 if (value < 0 || value > 255 || src_pos == end_pos) { in inet_pton_v4()
184 src_pos = end_pos; in inet_pton_v4()
185 if (*src_pos == '.') { in inet_pton_v4()
187 ++src_pos; in inet_pton_v4()
188 } else if (*src_pos != '\0') { in inet_pton_v4()
/external/webrtc/webrtc/modules/desktop_capture/x11/
Dx_server_pixel_buffer.cc271 uint8_t* src_pos = image; in FastBlit() local
281 memcpy(dst_pos, src_pos, row_bytes); in FastBlit()
282 src_pos += src_stride; in FastBlit()
305 uint8_t* src_pos = image; in SlowBlit() local
313 uint32_t* src_pos_32 = reinterpret_cast<uint32_t*>(src_pos); in SlowBlit()
314 uint16_t* src_pos_16 = reinterpret_cast<uint16_t*>(src_pos); in SlowBlit()
323 pixel = src_pos[x]; in SlowBlit()
333 src_pos += src_stride; in SlowBlit()
/external/pdfium/core/src/fxge/dib/
Dfx_dib_transform.cpp914 const uint8_t* src_pos = in Continue() local
919 dest_pos[0] = src_pos[0]; in Continue()
920 dest_pos[1] = src_pos[1]; in Continue()
921 dest_pos[2] = src_pos[2]; in Continue()
924 src_pos[0], src_pos[1], src_pos[2], src_pos[3])); in Continue()
928 src_pos[3], src_pos[2], src_pos[1], src_pos[0])); in Continue()
933 src_pos[0], src_pos[1], src_pos[2], src_pos[3])); in Continue()
936 FXARGB_MAKE(0xff, src_pos[2], src_pos[1], src_pos[0])); in Continue()
Dfx_dib_main.cpp759 const uint8_t* src_pos = pSrcClone->GetScanline(row) + srcOffset; local
761 *dest_pos = *src_pos;
763 src_pos += srcBytes;
922 uint8_t* src_pos = m_pBuffer + row * m_Pitch; local
925 if (src_pos[col / 8] & (1 << (7 - col % 8))) {
953 uint8_t* src_pos = m_pBuffer + row * m_Pitch; local
955 *dest_pos++ = gray[*src_pos++];
969 uint8_t* src_pos = m_pBuffer + row * m_Pitch; local
972 *dest_pos++ = FXRGB2GRAY(src_pos[2], src_pos[1], *src_pos);
973 src_pos += 3;
[all …]
Dfx_dib_engine.cpp45 double src_pos = dest_pixel * scale + scale / 2 + base; in Calc() local
48 (int)FXSYS_floor((FX_FLOAT)src_pos - 1.0f / 2); in Calc()
49 pixel_weights.m_SrcEnd = (int)FXSYS_floor((FX_FLOAT)src_pos + 1.0f / 2); in Calc()
60 (FX_FLOAT)(src_pos - pixel_weights.m_SrcStart - 1.0f / 2) * in Calc()
66 (int)FXSYS_floor((FX_FLOAT)src_pos - 1.0f / 2); in Calc()
67 pixel_weights.m_SrcEnd = (int)FXSYS_floor((FX_FLOAT)src_pos + 1.0f / 2); in Calc()
77 src_pos += src_min - pixel_weights.m_SrcStart; in Calc()
85 (FX_FLOAT)(src_pos - pixel_weights.m_SrcStart - 1.0f / 2) * 256); in Calc()
150 (int)FXSYS_floor((FX_FLOAT)src_pos); in Calc()
/external/webrtc/webrtc/modules/desktop_capture/
Ddesktop_frame.cc44 const DesktopVector& src_pos, in CopyPixelsFrom() argument
47 DesktopRect::MakeOriginSize(src_pos, dest_rect.size()))); in CopyPixelsFrom()
49 CopyPixelsFrom(src_frame.GetFrameDataAtPos(src_pos), in CopyPixelsFrom()
Ddesktop_frame.h67 const DesktopVector& src_pos,
/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.cpp968 const uint8_t* src_pos = src_scan; in TranslateScanline24bpp() local
972 *dest_scan++ = src_pos[4]; in TranslateScanline24bpp()
973 *dest_scan++ = src_pos[2]; in TranslateScanline24bpp()
974 *dest_scan++ = *src_pos; in TranslateScanline24bpp()
975 src_pos += 6; in TranslateScanline24bpp()
980 *dest_scan++ = src_pos[2]; in TranslateScanline24bpp()
981 *dest_scan++ = src_pos[1]; in TranslateScanline24bpp()
982 *dest_scan++ = *src_pos; in TranslateScanline24bpp()
983 src_pos += 3; in TranslateScanline24bpp()
Dfpdf_render_image.cpp978 uint8_t* src_pos = src_buf + row * src_pitch; in LoadSMask() local
980 *dest_pos++ = transfers[FXRGB2GRAY(src_pos[2], src_pos[1], *src_pos)]; in LoadSMask()
981 src_pos += Bpp; in LoadSMask()
/external/pdfium/core/src/fpdfapi/fpdf_font/
Dfpdf_font.cpp170 int src_pos = 0; in DecodeString() local
171 while (src_pos < src_len) { in DecodeString()
172 FX_DWORD charcode = GetNextChar(src_buf, src_len, src_pos); in DecodeString()
188 for (int src_pos = 0; src_pos < src_len; src_pos++) { in EncodeString() local
189 FX_DWORD charcode = CharCodeFromUnicode(src_buf[src_pos]); in EncodeString()
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_progress.cpp38 double src_pos = dest_pixel * scale + scale / 2 + base; in Calc() local
41 (int)FXSYS_floor((FX_FLOAT)src_pos - 1.0f / 2); in Calc()
42 pixel_weights.m_SrcEnd = (int)FXSYS_floor((FX_FLOAT)src_pos + 1.0f / 2); in Calc()
53 (FX_FLOAT)(src_pos - pixel_weights.m_SrcStart - 1.0f / 2) * in Calc()
59 (int)FXSYS_floor((FX_FLOAT)src_pos); in Calc()