Home
last modified time | relevance | path

Searched refs:pSrc (Results 1 – 25 of 83) sorted by relevance

1234

/external/icu/icu4c/source/common/
Dustrtrns.cpp411 const uint8_t* pSrc = (const uint8_t*) src; in u_strFromUTF8WithSub() local
452 while(((ch = *pSrc) != 0) && (pDest < pDestLimit)) { in u_strFromUTF8WithSub()
455 ++pSrc; in u_strFromUTF8WithSub()
460 (t1 = (uint8_t)(pSrc[1] - 0x80)) <= 0x3f && in u_strFromUTF8WithSub()
461 (t2 = (uint8_t)(pSrc[2] - 0x80)) <= 0x3f in u_strFromUTF8WithSub()
465 pSrc += 3; in u_strFromUTF8WithSub()
471 (t1 = (uint8_t)(pSrc[1] - 0x80)) <= 0x3f in u_strFromUTF8WithSub()
474 pSrc += 2; in u_strFromUTF8WithSub()
480 ++pSrc; /* continue after the lead byte */ in u_strFromUTF8WithSub()
481 ch=utf8_nextCharSafeBodyTerminated(&pSrc, ch); in u_strFromUTF8WithSub()
[all …]
Dustr_wcs.cpp81 const UChar *pSrc = src; in _strToWCS() local
90 srcLength = u_strlen(pSrc); in _strToWCS()
93 pSrcLimit = pSrc + srcLength; in _strToWCS()
100 …ucnv_fromUnicode(conv,&tempBuf,tempBufLimit,&pSrc,pSrcLimit,NULL,(UBool)(pSrc==pSrcLimit),pErrorCo… in _strToWCS()
306 const wchar_t* pSrc = src; in _strFromWCS() local
346 while(nulLen<srcLength && pSrc[nulLen++]!=0){ in _strFromWCS()
349 if((pSrc+nulLen) < pSrcLimit){ in _strFromWCS()
367 retVal = uprv_wcstombs(pCSrc,pSrc,remaining); in _strFromWCS()
377 pSrc += nulLen; /* skip past the null */ in _strFromWCS()
398 uprv_memcpy(pWStack,pSrc,nulLen*sizeof(wchar_t)); in _strFromWCS()
[all …]
/external/pdfium/xfa/src/fgas/src/crt/
Dfx_algorithm.cpp52 int32_t FX_Base64EncodeA(const uint8_t* pSrc, int32_t iSrcLen, FX_CHAR* pDst) { in FX_Base64EncodeA() argument
53 FXSYS_assert(pSrc != NULL); in FX_Base64EncodeA()
69 ((uint8_t*)&srcData)[0] = *pSrc++; in FX_Base64EncodeA()
70 ((uint8_t*)&srcData)[1] = *pSrc++; in FX_Base64EncodeA()
71 ((uint8_t*)&srcData)[2] = *pSrc++; in FX_Base64EncodeA()
75 ((uint8_t*)&srcData)[0] = *pSrc++; in FX_Base64EncodeA()
77 ((uint8_t*)&srcData)[1] = *pSrc++; in FX_Base64EncodeA()
140 int32_t FX_Base64DecodeA(const FX_CHAR* pSrc, int32_t iSrcLen, uint8_t* pDst) { in FX_Base64DecodeA() argument
141 FXSYS_assert(pSrc != NULL); in FX_Base64DecodeA()
145 while (iSrcLen > 0 && pSrc[iSrcLen - 1] == '=') { in FX_Base64DecodeA()
[all …]
Dfx_encode.cpp29 void FX_SwapByteOrderCopy(const FX_WCHAR* pSrc, in FX_SwapByteOrderCopy() argument
32 FXSYS_assert(pSrc != NULL && pDst != NULL); in FX_SwapByteOrderCopy()
34 iLength = FXSYS_wcslen(pSrc); in FX_SwapByteOrderCopy()
39 wch = (FX_WORD)*pSrc++; in FX_SwapByteOrderCopy()
46 wch = (FX_WORD)*pSrc++; in FX_SwapByteOrderCopy()
57 FX_WORD* pSrc = (FX_WORD*)pBuffer; in FX_UTF16ToWChar() local
60 pDst[iLength] = (FX_WCHAR)pSrc[iLength]; in FX_UTF16ToWChar()
80 const FX_WCHAR* pSrc = (const FX_WCHAR*)pBuffer; in FX_WCharToUTF16() local
83 *pDst++ = (FX_WORD)*pSrc++; in FX_WCharToUTF16()
105 const FX_CHAR* pSrc, in FX_DecodeString() argument
[all …]
Dfx_system.cpp145 void FX_memcpy(void* pDst, const void* pSrc, size_t size) { in FX_memcpy() argument
146 FXSYS_assert(pDst != NULL && pSrc != NULL && size > 0 && (size & 0x03) == 0); in FX_memcpy()
147 FXSYS_assert((((size_t)pDst) & 0x03) == 0 && (((size_t)pSrc) & 0x03) == 0); in FX_memcpy()
150 FX_DWORD* pValue = (FX_DWORD*)pSrc; in FX_memcpy()
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DOAEPParameterSpecTest.java50 PSource pSrc = PSource.PSpecified.DEFAULT; in testOAEPParameterSpec() local
53 new OAEPParameterSpec(null, mgfName, mgfSpec, pSrc); in testOAEPParameterSpec()
60 new OAEPParameterSpec(mdName, null, mgfSpec, pSrc); in testOAEPParameterSpec()
100 PSource pSrc = PSource.PSpecified.DEFAULT; in testGetDigestAlgorithm() local
103 mgfSpec, pSrc); in testGetDigestAlgorithm()
116 PSource pSrc = PSource.PSpecified.DEFAULT; in testGetMGFAlgorithm() local
119 mgfSpec, pSrc); in testGetMGFAlgorithm()
132 PSource pSrc = PSource.PSpecified.DEFAULT; in testGetMGFParameters() local
135 mgfSpec, pSrc); in testGetMGFParameters()
148 PSource pSrc = PSource.PSpecified.DEFAULT; in testGetPSource() local
[all …]
/external/aac/libFDK/src/
Dfft.cpp217 const FIXP_DBL *pSrc = pInput; in fft15() local
222 pDst[k+0] = pSrc[l]; in fft15()
223 pDst[k+1] = pSrc[l+1]; in fft15()
228 pDst[k+2] = pSrc[l]; in fft15()
229 pDst[k+3] = pSrc[l+1]; in fft15()
233 pDst[k+4] = pSrc[l]; in fft15()
234 pDst[k+5] = pSrc[l+1]; in fft15()
269 const FIXP_DBL *pSrc = aDst; in fft15() local
274 pDst[k+0] = pSrc[l+0]; in fft15()
275 pDst[k+1] = pSrc[l+1]; in fft15()
[all …]
/external/libvncserver/common/
Dzywrletemplate.c101 #define ZYWRLE_LOAD_PIXEL15(pSrc,R,G,B) { \ argument
102 R = (((unsigned char*)pSrc)[S_1]<< 1)& 0xF8; \
103 G = ((((unsigned char*)pSrc)[S_1]<< 6)|(((unsigned char*)pSrc)[S_0]>> 2))& 0xF8; \
104 B = (((unsigned char*)pSrc)[S_0]<< 3)& 0xF8; \
115 #define ZYWRLE_LOAD_PIXEL16(pSrc,R,G,B) { \ argument
116 R = ((unsigned char*)pSrc)[S_1] & 0xF8; \
117 G = ((((unsigned char*)pSrc)[S_1]<< 5)|(((unsigned char*)pSrc)[S_0]>> 3))& 0xFC; \
118 B = (((unsigned char*)pSrc)[S_0]<< 3)& 0xF8; \
129 #define ZYWRLE_LOAD_PIXEL32(pSrc,R,G,B) { \ argument
130 R = ((unsigned char*)pSrc)[L_2]; \
[all …]
/external/lzma/CPP/Windows/
DPropVariant.cpp201 HRESULT CPropVariant::Copy(const PROPVARIANT* pSrc) throw() in Copy() argument
204 switch(pSrc->vt) in Copy()
222 memmove((PROPVARIANT*)this, pSrc, sizeof(PROPVARIANT)); in Copy()
225 return ::VariantCopy((tagVARIANT *)this, (tagVARIANT *)const_cast<PROPVARIANT *>(pSrc)); in Copy()
229 HRESULT CPropVariant::Attach(PROPVARIANT *pSrc) throw() in Attach() argument
234 memcpy(this, pSrc, sizeof(PROPVARIANT)); in Attach()
235 pSrc->vt = VT_EMPTY; in Attach()
265 void CPropVariant::InternalCopy(const PROPVARIANT *pSrc) in InternalCopy() argument
267 HRESULT hr = Copy(pSrc); in InternalCopy()
DPropVariant.h95 HRESULT Copy(const PROPVARIANT *pSrc) throw();
96 HRESULT Attach(PROPVARIANT *pSrc) throw();
100 void InternalCopy(const PROPVARIANT *pSrc);
/external/mesa3d/src/gallium/state_trackers/xorg/
Dxorg_composite.c233 picture_format_fixups(struct exa_pixmap_priv *pSrc, PicturePtr pSrcPicture, boolean mask, in picture_format_fixups() argument
240 if (pSrc && pSrc->picture_format == pSrcPicture->format) { in picture_format_fixups()
241 if (pSrc->picture_format == PICT_a8) { in picture_format_fixups()
255 if (pSrc && pSrc->picture_format != PICT_a8r8g8b8) { in picture_format_fixups()
297 struct exa_pixmap_priv *pSrc, struct exa_pixmap_priv *pMask) in bind_shaders() argument
324 fs_traits |= picture_format_fixups(pSrc, pSrcPicture, FALSE, pDstPicture); in bind_shaders()
354 struct exa_pixmap_priv *pSrc, in bind_samplers() argument
369 if (pSrcPicture && pSrc) { in bind_samplers()
390 pSrc->tex, in bind_samplers()
391 pSrc->tex->format); in bind_samplers()
[all …]
/external/opencv/cv/src/
D_cvipp.h52 ( const void* pSrc, int srcStep, CvSize srcRoiSize, void* pDst, int dstStep, \
57 ( const void* pSrc, int srcDstStep, CvSize srcRoiSize, \
172 ( const void* pSrc, int srcStep, void* pDst, int dstStep, \
178 ( const void* pSrc, int srcStep, void* pDst, int dstStep, \
571 ( const arrtype* pSrc, int srcStep, CvSize srcRoiSize, \
577 ( const arrtype* pSrc, int srcStep, CvSize srcRoiSize, \
583 ( const arrtype* pSrc, int srcStep, CvSize srcRoiSize, \
596 ( const uchar* pSrc, int srcStep, float* pDst,
601 ( const uchar* pSrc, int srcStep, float* pDst,
606 ( uchar* pSrc, int srcStep, CvSize roiSize, const int* pMetrics ))
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_cache.cpp225 CPDF_DIBSource* pSrc = new CPDF_DIBSource; in GetCachedBitmap() local
227 if (!pSrc->Load(m_pDocument, m_pStream, &pMaskSrc, &MatteColor, in GetCachedBitmap()
230 delete pSrc; in GetCachedBitmap()
235 if (pSrc->GetPitch() * pSrc->GetHeight() < FPDF_HUGE_IMAGE_SIZE) { in GetCachedBitmap()
236 m_pCachedBitmap = pSrc->Clone(); in GetCachedBitmap()
237 delete pSrc; in GetCachedBitmap()
239 m_pCachedBitmap = pSrc; in GetCachedBitmap()
/external/pdfium/xfa/src/fgas/include/
Dfx_alg.h13 int32_t FX_Base64EncodeA(const uint8_t* pSrc, int32_t iSrcLen, FX_CHAR* pDst);
14 int32_t FX_Base64DecodeA(const FX_CHAR* pSrc, int32_t iSrcLen, uint8_t* pDst);
15 int32_t FX_Base64DecodeW(const FX_WCHAR* pSrc, int32_t iSrcLen, uint8_t* pDst);
Dfx_cpg.h139 void FX_SwapByteOrderCopy(const FX_WCHAR* pSrc,
151 const FX_CHAR* pSrc,
156 int32_t FX_UTF8Decode(const FX_CHAR* pSrc,
/external/llvm/test/Transforms/LoopStrengthReduce/AArch64/
Dlsr-memcpy.ll21 %pSrc.04 = phi i64* [ inttoptr (i64 4294967296 to i64*), %entry ], [ %incdec.ptr, %while.body ]
22 %incdec.ptr = getelementptr inbounds i64, i64* %pSrc.04, i64 1
23 %tmp = load volatile i64, i64* %pSrc.04, align 8
/external/pdfium/core/src/fpdfapi/fpdf_parser/
Dfpdf_parser_utility.cpp284 const FX_CHAR* pSrc = bstr.GetCStr(); in PDF_NameDecode() local
285 if (!FXSYS_memchr(pSrc, '#', size)) { in PDF_NameDecode()
292 if (pSrc[i] == '#' && i < size - 2) { in PDF_NameDecode()
294 FXSYS_toHexDigit(pSrc[i + 1]) * 16 + FXSYS_toHexDigit(pSrc[i + 2]); in PDF_NameDecode()
297 *pDest++ = pSrc[i]; in PDF_NameDecode()
/external/pdfium/core/src/fxge/dib/
Dfx_dib_main.cpp116 FX_BOOL CFX_DIBitmap::Copy(const CFX_DIBSource* pSrc) { in Copy() argument
120 if (!Create(pSrc->GetWidth(), pSrc->GetHeight(), pSrc->GetFormat())) { in Copy()
123 CopyPalette(pSrc->GetPalette()); in Copy()
124 CopyAlphaMask(pSrc->m_pAlphaMask); in Copy()
125 for (int row = 0; row < pSrc->GetHeight(); row++) { in Copy()
126 FXSYS_memcpy(m_pBuffer + row * m_Pitch, pSrc->GetScanline(row), m_Pitch); in Copy()
542 void CFX_DIBSource::CopyPalette(const FX_DWORD* pSrc, FX_DWORD size) { in CopyPalette() argument
543 if (!pSrc || GetBPP() > 8) { in CopyPalette()
554 FXSYS_memcpy(m_pPalette, pSrc, pal_size * sizeof(FX_DWORD)); in CopyPalette()
1491 CFX_DIBExtractor::CFX_DIBExtractor(const CFX_DIBSource* pSrc) { argument
[all …]
/external/pdfium/core/src/fxge/win32/
Dfx_win32_print.cpp138 static CFX_DIBitmap* Transform1bppBitmap(const CFX_DIBSource* pSrc, in Transform1bppBitmap() argument
140 ASSERT(pSrc->GetFormat() == FXDIB_1bppRgb || in Transform1bppBitmap()
141 pSrc->GetFormat() == FXDIB_1bppMask || in Transform1bppBitmap()
142 pSrc->GetFormat() == FXDIB_1bppCmyk); in Transform1bppBitmap()
143 CFX_DIBExtractor src_bitmap(pSrc); in Transform1bppBitmap()
173 if (!pTempBitmap->Create(result_width, result_height, pSrc->GetFormat())) { in Transform1bppBitmap()
180 pTempBitmap->CopyPalette(pSrc->GetPalette()); in Transform1bppBitmap()
183 FXSYS_memset(dest_buf, pSrc->IsAlphaMask() ? 0 : 0xff, in Transform1bppBitmap()
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page.cpp33 void CPDF_PageObject::Copy(const CPDF_PageObject* pSrc) { in Copy() argument
34 if (m_Type != pSrc->m_Type) { in Copy()
37 CopyData(pSrc); in Copy()
38 CopyStates(*pSrc); in Copy()
39 m_Left = pSrc->m_Left; in Copy()
40 m_Right = pSrc->m_Right; in Copy()
41 m_Top = pSrc->m_Top; in Copy()
42 m_Bottom = pSrc->m_Bottom; in Copy()
187 void CPDF_TextObject::CopyData(const CPDF_PageObject* pSrc) { in CopyData() argument
188 const CPDF_TextObject* pSrcObj = (const CPDF_TextObject*)pSrc; in CopyData()
[all …]
Dfpdf_page_path.cpp13 void CPDF_PathObject::CopyData(const CPDF_PageObject* pSrc) { in CopyData() argument
14 const CPDF_PathObject* pSrcObj = (const CPDF_PathObject*)pSrc; in CopyData()
Dfpdf_page_image.cpp27 void CPDF_ImageObject::CopyData(const CPDF_PageObject* pSrc) { in CopyData() argument
28 const CPDF_ImageObject* pSrcObj = (const CPDF_ImageObject*)pSrc; in CopyData()
/external/pdfium/core/src/fxcodec/jbig2/
DJBig2_Image.cpp134 CJBig2_Image* pSrc, in composeFrom() argument
139 return pSrc->composeTo(this, x, y, op); in composeFrom()
143 CJBig2_Image* pSrc, in composeFrom() argument
149 return pSrc->composeTo(this, x, y, op, pSrcRect); in composeFrom()
160 uint8_t *pSrc, *pSrcEnd, *pDst, *pDstEnd; in subImage() local
178 pSrc = pLineSrc + m; in subImage()
182 for (; pDst < pDstEnd; pSrc += 4, pDst += 4) { in subImage()
183 *((FX_DWORD*)pDst) = *((FX_DWORD*)pSrc); in subImage()
190 pSrc = pLineSrc + m; in subImage()
194 for (; pDst < pDstEnd; pSrc += 4, pDst += 4) { in subImage()
[all …]
DJBig2_Image.h61 CJBig2_Image* pSrc,
65 CJBig2_Image* pSrc,
/external/sonivox/arm-wt-22k/lib_src/
Deas_chorus.c42 static void ChorusProcess (EAS_VOID_PTR pInstData, EAS_PCM *pSrc, EAS_PCM *pDst, EAS_I32 numSamples…
252 static void ChorusProcess (EAS_VOID_PTR pInstData, EAS_PCM *pSrc, EAS_PCM *pDst, EAS_I32 numSamples) in ChorusProcess() argument
275 if (pSrc != pDst) in ChorusProcess()
276 EAS_HWMemCpy(pSrc, pDst, numSamples * NUM_OUTPUT_CHANNELS * (EAS_I32) sizeof(EAS_PCM)); in ChorusProcess()
288 pIn = pSrc + nChannelNumber; in ChorusProcess()

1234