Home
last modified time | relevance | path

Searched refs:pStr (Results 1 – 25 of 48) sorted by relevance

12

/external/epid-sdk/ext/ipp/sources/ippcp/
Dpcpbnu_getoctstr.c76 cpSize cpToOctStr_BNU(Ipp8u* pStr, cpSize strLen, const BNU_CHUNK_T* pA, cpSize nsA) in cpToOctStr_BNU() argument
85 ZEXPAND_BNU(pStr, 0, strLen); in cpToOctStr_BNU()
86 pStr += strLen - BITS2WORD8_SIZE(bnuBitSize); in cpToOctStr_BNU()
92 *pStr++ = EBYTE(x, sizeof(BNU_CHUNK_T)-1-nb); in cpToOctStr_BNU()
97 *pStr++ = EBYTE(x,7); in cpToOctStr_BNU()
98 *pStr++ = EBYTE(x,6); in cpToOctStr_BNU()
99 *pStr++ = EBYTE(x,5); in cpToOctStr_BNU()
100 *pStr++ = EBYTE(x,4); in cpToOctStr_BNU()
102 *pStr++ = EBYTE(x,3); in cpToOctStr_BNU()
103 *pStr++ = EBYTE(x,2); in cpToOctStr_BNU()
[all …]
Dpcpbnu_setoctstr.c69 cpSize cpFromOctStr_BNU(BNU_CHUNK_T* pA, const Ipp8u* pStr, cpSize strLen) in cpFromOctStr_BNU() argument
78 +( (BNU_CHUNK_T)pStr[strLen-8]<<(8*7) ) in cpFromOctStr_BNU()
79 +( (BNU_CHUNK_T)pStr[strLen-7]<<(8*6) ) in cpFromOctStr_BNU()
80 +( (BNU_CHUNK_T)pStr[strLen-6]<<(8*5) ) in cpFromOctStr_BNU()
81 +( (BNU_CHUNK_T)pStr[strLen-5]<<(8*4) ) in cpFromOctStr_BNU()
83 +( (BNU_CHUNK_T)pStr[strLen-4]<<(8*3) ) in cpFromOctStr_BNU()
84 +( (BNU_CHUNK_T)pStr[strLen-3]<<(8*2) ) in cpFromOctStr_BNU()
85 +( (BNU_CHUNK_T)pStr[strLen-2]<<(8*1) ) in cpFromOctStr_BNU()
86 + (BNU_CHUNK_T)pStr[strLen-1]; in cpFromOctStr_BNU()
93 BNU_CHUNK_T d = *pStr++; in cpFromOctStr_BNU()
Dpcpbnu32_getoctstr.c71 cpSize cpToOctStr_BNU32(Ipp8u* pStr, cpSize strLen, const Ipp32u* pBNU, cpSize bnuSize) in cpToOctStr_BNU32() argument
79 ZEXPAND_BNU(pStr, 0, strLen); in cpToOctStr_BNU32()
80 pStr += strLen - BITS2WORD8_SIZE(bnuBitSize); in cpToOctStr_BNU32()
85 *pStr++ = EBYTE(x,3-nb); in cpToOctStr_BNU32()
89 *pStr++ = EBYTE(x,3); in cpToOctStr_BNU32()
90 *pStr++ = EBYTE(x,2); in cpToOctStr_BNU32()
91 *pStr++ = EBYTE(x,1); in cpToOctStr_BNU32()
92 *pStr++ = EBYTE(x,0); in cpToOctStr_BNU32()
Dpcpgfpecsetpointoctstring.c75 IPPFUN(IppStatus, ippsGFpECSetPointOctString, (const Ipp8u* pStr,
77 IPP_BAD_PTR3_RET(pPoint, pEC, pStr);
93 ret = ippsGFpSetElementOctString(pStr, elemLen, &ptX, pEC->pGF);
95 pStr += elemLen;
96 ret = ippsGFpSetElementOctString(pStr, elemLen, &ptY, pEC->pGF);
Dpcpgfpecgetpointoctstring.c76 Ipp8u* pStr, int strLen, IppsGFpECState* pEC)) {
77 IPP_BAD_PTR3_RET(pPoint, pEC, pStr);
97 ippsGFpGetElementOctString(&ptX, pStr, elemLen, pEC->pGF);
98 pStr += elemLen;
99 ippsGFpGetElementOctString(&ptY, pStr, elemLen, pEC->pGF);
Dpcpgfpgetelemoctstr.c85 IPPFUN(IppStatus, ippsGFpGetElementOctString,(const IppsGFpElement* pA, Ipp8u* pStr, int strSize, I…
87 IPP_BAD_PTR3_RET(pStr, pA, pGFp);
105 error = (NULL == cpGFpGetOctString(pStr, size, pDataElm, pBasicGFE));
108 pStr += size;
Dpcpgfpsetelemoctstr.c83 IPPFUN(IppStatus, ippsGFpSetElementOctString,(const Ipp8u* pStr, int strSize, IppsGFpElement* pR, I…
90 IPP_BADARG_RET( (!pStr && 0<strSize), ippStsNullPtrErr);
111 error = NULL == cpGFpSetOctString(pDataElm, pStr, size, pBasicGFE);
115 pStr += size;
Dpcpgfp_getoctstring.c56 Ipp8u* cpGFpGetOctString(Ipp8u* pStr, int strSize, const BNU_CHUNK_T* pElm, gsModEngine* pGFE) in cpGFpGetOctString() argument
65 error = (0 == cpToOctStr_BNU(pStr, strSize, pTmp, elemLen)); in cpGFpGetOctString()
68 return error ? NULL : pStr; in cpGFpGetOctString()
Dpcpgfp_setoctstring.c56 BNU_CHUNK_T* cpGFpSetOctString(BNU_CHUNK_T* pElm, const Ipp8u* pStr, int strSize, gsModEngine* pGFE) in cpGFpSetOctString() argument
67 int nsTmp = cpFromOctStr_BNU(pTmp, pStr, strSize); in cpGFpSetOctString()
Dpcpbnumisc.h209 int cpToOctStr_BNU(Ipp8u* pStr, cpSize strLen, const BNU_CHUNK_T* pA, cpSize nsA);
211 int cpFromOctStr_BNU(BNU_CHUNK_T* pA, const Ipp8u* pStr, cpSize strLen);
Dpcpbnu32misc.h85 cpSize cpToOctStr_BNU32(Ipp8u* pStr, cpSize strLen, const Ipp32u* pBNU, cpSize bnuSize);
/external/pdfium/core/fxcrt/
Dwidestring.cpp63 for (const wchar_t* pStr = pFormat; *pStr != 0; pStr++) { in GuessSizeForVSWPrintf() local
64 if (*pStr != '%' || *(pStr = pStr + 1) == '%') { in GuessSizeForVSWPrintf()
70 for (; *pStr != 0; pStr++) { in GuessSizeForVSWPrintf()
71 if (*pStr == '#') { in GuessSizeForVSWPrintf()
73 } else if (*pStr == '*') { in GuessSizeForVSWPrintf()
75 } else if (*pStr != '-' && *pStr != '+' && *pStr != '0' && *pStr != ' ') { in GuessSizeForVSWPrintf()
80 nWidth = FXSYS_wtoi(pStr); in GuessSizeForVSWPrintf()
81 while (std::iswdigit(*pStr)) in GuessSizeForVSWPrintf()
82 ++pStr; in GuessSizeForVSWPrintf()
87 if (*pStr == '.') { in GuessSizeForVSWPrintf()
[all …]
Dcfx_seekablestreamproxy.cpp105 void SwapByteOrder(wchar_t* pStr, size_t iLength) { in SwapByteOrder() argument
106 ASSERT(pStr); in SwapByteOrder()
111 wch = static_cast<uint16_t>(*pStr); in SwapByteOrder()
114 *pStr = wch; in SwapByteOrder()
115 ++pStr; in SwapByteOrder()
121 wch = static_cast<uint16_t>(*pStr); in SwapByteOrder()
123 *pStr = wch; in SwapByteOrder()
124 ++pStr; in SwapByteOrder()
226 size_t CFX_SeekableStreamProxy::ReadString(wchar_t* pStr, in ReadString() argument
229 if (!pStr || iMaxLength == 0) in ReadString()
[all …]
Dstring_data_template.h50 static StringDataTemplate* Create(const CharType* pStr, size_t nLen) { in Create() argument
52 result->CopyContents(pStr, nLen); in Create()
73 void CopyContents(const CharType* pStr, size_t nLen) { in CopyContents() argument
75 memcpy(m_String, pStr, nLen * sizeof(CharType)); in CopyContents()
79 void CopyContentsAt(size_t offset, const CharType* pStr, size_t nLen) { in CopyContentsAt() argument
81 memcpy(m_String + offset, pStr, nLen * sizeof(CharType)); in CopyContentsAt()
Dbytestring.cpp149 ByteString::ByteString(const char* pStr, size_t nLen) { in ByteString() argument
151 m_pData.Reset(StringData::Create(pStr, nLen)); in ByteString()
154 ByteString::ByteString(const uint8_t* pStr, size_t nLen) { in ByteString() argument
157 StringData::Create(reinterpret_cast<const char*>(pStr), nLen)); in ByteString()
223 const ByteString& ByteString::operator=(const char* pStr) { in operator =() argument
224 if (!pStr || !pStr[0]) in operator =()
227 AssignCopy(pStr, strlen(pStr)); in operator =()
248 const ByteString& ByteString::operator+=(const char* pStr) { in operator +=() argument
249 if (pStr) in operator +=()
250 Concat(pStr, strlen(pStr)); in operator +=()
[all …]
Dfx_string.cpp66 const wchar_t* pStr = wsStr.unterminated_c_str(); in FX_UTF8Encode() local
69 encoder.Input(*pStr++); in FX_UTF8Encode()
/external/pdfium/xfa/fgas/crt/
Dcfgas_formatstring.cpp70 int32_t ParseTimeZone(const wchar_t* pStr, int32_t iLen, FX_TIMEZONE* tz) { in ParseTimeZone() argument
79 tz->tzHour = tz->tzHour * 10 + FXSYS_DecimalCharToInt(pStr[iStart++]); in ParseTimeZone()
81 if (iStart < iLen && pStr[iStart] == ':') in ParseTimeZone()
86 tz->tzMinute = tz->tzMinute * 10 + FXSYS_DecimalCharToInt(pStr[iStart++]); in ParseTimeZone()
88 if (pStr[0] == '-') in ParseTimeZone()
181 const wchar_t* pStr = wsNum.c_str(); in GetNumericDotIndex() local
184 if (pStr[ccf] == '\'') { in GetNumericDotIndex()
185 GetLiteralText(pStr, &ccf, iLenf); in GetNumericDotIndex()
187 !wcsncmp(pStr + ccf, wsDotSymbol.c_str(), iLenDot)) { in GetNumericDotIndex()
843 const wchar_t* pStr = wsFormatString.c_str(); in SplitFormatString() local
[all …]
/external/ltp/testcases/kernel/io/disktest/
Dsfunc.c101 OFF_T my_strtofft(const char *pStr) in my_strtofft() argument
108 for (;; pStr++) { in my_strtofft()
109 switch (*pStr) { in my_strtofft()
123 pStr++; in my_strtofft()
128 while (*pStr >= '0' && *pStr <= '9') { in my_strtofft()
129 value = (value * 10) + (*pStr++ - '0'); in my_strtofft()
132 while ((*pStr >= '0' && *pStr <= '9') || in my_strtofft()
133 (*pStr >= 'A' && *pStr <= 'F') || in my_strtofft()
134 (*pStr >= 'a' && *pStr <= 'f')) { in my_strtofft()
135 if (*pStr >= '0' && *pStr <= '9') in my_strtofft()
[all …]
Dsfunc.h120 OFF_T my_strtofft(const char *pStr);
/external/skia/tools/
Dwin_lcid.cpp11 BOOL CALLBACK MyFuncLocaleEx(LPWSTR pStr, DWORD dwFlags, LPARAM lparam) { in MyFuncLocaleEx() argument
15 bufferSize = GetLocaleInfoEx(pStr, LOCALE_SENGLANGUAGE, wcBuffer, BUFFER_SIZE); in MyFuncLocaleEx()
17 wprintf(L"Locale %s had error %d\n", pStr, GetLastError()); in MyFuncLocaleEx()
21 LCID lcid = LocaleNameToLCID(pStr, nullptr); in MyFuncLocaleEx()
30 wprintf(L" { 0x%.4x, \"%s\" }, //%s\n", lcid, pStr, wcBuffer); in MyFuncLocaleEx()
/external/skqp/tools/
Dwin_lcid.cpp11 BOOL CALLBACK MyFuncLocaleEx(LPWSTR pStr, DWORD dwFlags, LPARAM lparam) { in MyFuncLocaleEx() argument
15 bufferSize = GetLocaleInfoEx(pStr, LOCALE_SENGLANGUAGE, wcBuffer, BUFFER_SIZE); in MyFuncLocaleEx()
17 wprintf(L"Locale %s had error %d\n", pStr, GetLastError()); in MyFuncLocaleEx()
21 LCID lcid = LocaleNameToLCID(pStr, nullptr); in MyFuncLocaleEx()
30 wprintf(L" { 0x%.4x, \"%s\" }, //%s\n", lcid, pStr, wcBuffer); in MyFuncLocaleEx()
/external/icu/icu4c/source/common/
Duniset_closure.cpp223 const UnicodeString *pStr; in closeOver() local
226 pStr = (const UnicodeString *) strings->elementAt(j); in closeOver()
227 (str = *pStr).toLower(root); in closeOver()
230 (str = *pStr).toTitle(bi, root); in closeOver()
233 (str = *pStr).toUpper(root); in closeOver()
235 (str = *pStr).foldCase(); in closeOver()
/external/pdfium/core/fxge/android/
Dcfpf_skiafontmgr.cpp92 uint32_t FPF_GetHashCode_StringA(const char* pStr, int32_t iLength) { in FPF_GetHashCode_StringA() argument
93 if (!pStr) in FPF_GetHashCode_StringA()
96 iLength = strlen(pStr); in FPF_GetHashCode_StringA()
97 const char* pStrEnd = pStr + iLength; in FPF_GetHashCode_StringA()
99 while (pStr < pStrEnd) in FPF_GetHashCode_StringA()
100 uHashCode = 31 * uHashCode + FXSYS_tolower(*pStr++); in FPF_GetHashCode_StringA()
/external/swiftshader/third_party/PowerVR_SDK/Shell/
DPVRShellImpl.h113 void Set(const char *pStr);
119 void Prefix(const char *pStr);
DPVRShell.cpp852 void PVRShellCommandLine::Set(const char *pStr) in Set() argument
857 if(pStr) in Set()
859 size_t len = strlen(pStr)+1; in Set()
861 strcpy(m_psOrig, pStr); in Set()
869 void PVRShellCommandLine::Prefix(const char *pStr) in Prefix() argument
872 Set(pStr); in Prefix()
873 else if(!pStr) in Prefix()
878 size_t lenA = strlen(pStr); in Prefix()
883 strcpy(m_psOrig, pStr); in Prefix()

12