Home
last modified time | relevance | path

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

12

/external/pdfium/core/fxcrt/
Dfx_basic_wstring.cpp78 CFX_WideString::CFX_WideString(const FX_WCHAR* pStr, FX_STRSIZE nLen) { in CFX_WideString() argument
80 nLen = pStr ? FXSYS_wcslen(pStr) : 0; in CFX_WideString()
83 m_pData.Reset(StringData::Create(pStr, nLen)); in CFX_WideString()
113 const CFX_WideString& CFX_WideString::operator=(const FX_WCHAR* pStr) { in operator =() argument
114 if (!pStr || !pStr[0]) in operator =()
117 AssignCopy(pStr, FXSYS_wcslen(pStr)); in operator =()
140 const CFX_WideString& CFX_WideString::operator+=(const FX_WCHAR* pStr) { in operator +=() argument
141 if (pStr) in operator +=()
142 Concat(pStr, FXSYS_wcslen(pStr)); in operator +=()
417 for (const FX_WCHAR* pStr = pFormat; *pStr != 0; pStr++) { in FormatV() local
[all …]
Dfx_basic_bstring.cpp85 CFX_ByteString::CFX_ByteString(const FX_CHAR* pStr, FX_STRSIZE nLen) { in CFX_ByteString() argument
87 nLen = pStr ? FXSYS_strlen(pStr) : 0; in CFX_ByteString()
90 m_pData.Reset(StringData::Create(pStr, nLen)); in CFX_ByteString()
93 CFX_ByteString::CFX_ByteString(const uint8_t* pStr, FX_STRSIZE nLen) { in CFX_ByteString() argument
96 StringData::Create(reinterpret_cast<const FX_CHAR*>(pStr), nLen)); in CFX_ByteString()
135 const CFX_ByteString& CFX_ByteString::operator=(const FX_CHAR* pStr) { in operator =() argument
136 if (!pStr || !pStr[0]) in operator =()
139 AssignCopy(pStr, FXSYS_strlen(pStr)); in operator =()
162 const CFX_ByteString& CFX_ByteString::operator+=(const FX_CHAR* pStr) { in operator +=() argument
163 if (pStr) in operator +=()
[all …]
Dcfx_string_data_template.h48 static CFX_StringDataTemplate* Create(const CharType* pStr, FX_STRSIZE nLen) { in Create() argument
50 result->CopyContents(pStr, nLen); in Create()
70 void CopyContents(const CharType* pStr, FX_STRSIZE nLen) { in CopyContents() argument
72 FXSYS_memcpy(m_String, pStr, nLen * sizeof(CharType)); in CopyContents()
77 const CharType* pStr, in CopyContentsAt() argument
80 FXSYS_memcpy(m_String + offset, pStr, nLen * sizeof(CharType)); in CopyContentsAt()
Dfx_basic_utf.cpp79 const FX_WCHAR* pStr = wsStr.c_str(); in FX_UTF8Encode() local
82 encoder.Input(*pStr++); in FX_UTF8Encode()
Dfx_basic.h73 CFX_ByteTextBuf& operator<<(const FX_CHAR* pStr) {
74 return *this << CFX_ByteStringC(pStr);
/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/pdfium/xfa/fgas/crt/
Dfgas_stream.cpp31 virtual int32_t ReadString(FX_WCHAR* pStr,
35 virtual int32_t WriteString(const FX_WCHAR* pStr, int32_t iLength) = 0;
62 int32_t ReadString(FX_WCHAR* pStr, int32_t iMaxLength, bool& bEOS) override;
64 int32_t WriteString(const FX_WCHAR* pStr, int32_t iLength) override;
86 int32_t ReadString(FX_WCHAR* pStr, int32_t iMaxLength, bool& bEOS) override;
88 int32_t WriteString(const FX_WCHAR* pStr, int32_t iLength) override;
113 int32_t ReadString(FX_WCHAR* pStr, int32_t iMaxLength, bool& bEOS) override;
117 int32_t WriteString(const FX_WCHAR* pStr, int32_t iLength) override { in WriteString() argument
144 int32_t ReadString(FX_WCHAR* pStr, int32_t iMaxLength, bool& bEOS) override;
148 int32_t WriteString(const FX_WCHAR* pStr, int32_t iLength) override { in WriteString() argument
[all …]
Dfgas_codepage.cpp264 uint16_t GetCodePageFromStringA(const FX_CHAR* pStr, int32_t iLength) { in GetCodePageFromStringA() argument
265 ASSERT(pStr); in GetCodePageFromStringA()
267 iLength = FXSYS_strlen(pStr); in GetCodePageFromStringA()
272 uint32_t uHash = FX_HashCode_GetA(CFX_ByteStringC(pStr, iLength), true); in GetCodePageFromStringA()
328 uint16_t FX_GetCodePageFromStringW(const FX_WCHAR* pStr, int32_t iLength) { in FX_GetCodePageFromStringW() argument
330 iLength = FXSYS_wcslen(pStr); in FX_GetCodePageFromStringW()
338 *pBuf++ = (FX_CHAR)*pStr++; in FX_GetCodePageFromStringW()
344 void FX_SwapByteOrder(FX_WCHAR* pStr, int32_t iLength) { in FX_SwapByteOrder() argument
345 ASSERT(pStr); in FX_SwapByteOrder()
347 iLength = FXSYS_wcslen(pStr); in FX_SwapByteOrder()
[all …]
Dfgas_stream.h54 virtual int32_t ReadString(FX_WCHAR* pStr,
58 virtual int32_t WriteString(const FX_WCHAR* pStr, int32_t iLength) = 0;
Dfgas_codepage.h137 uint16_t FX_GetCodePageFromStringW(const FX_WCHAR* pStr, int32_t iLength);
139 void FX_SwapByteOrder(FX_WCHAR* pStr, int32_t iLength);
/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/pdfium/xfa/fgas/localization/
Dfgas_locale.cpp66 static int32_t FX_ParseTimeZone(const FX_WCHAR* pStr, in FX_ParseTimeZone() argument
77 tz.tzHour = tz.tzHour * 10 + pStr[iStart++] - '0'; in FX_ParseTimeZone()
79 if (iStart < iLen && pStr[iStart] == ':') { in FX_ParseTimeZone()
84 tz.tzMinute = tz.tzMinute * 10 + pStr[iStart++] - '0'; in FX_ParseTimeZone()
86 if (pStr[0] == '-') { in FX_ParseTimeZone()
273 const FX_WCHAR* pStr = wsFormatString.c_str(); in SplitFormatString() local
274 const FX_WCHAR* pToken = pStr; in SplitFormatString()
275 const FX_WCHAR* pEnd = pStr + iStrLen; in SplitFormatString()
278 if (pStr >= pEnd) { in SplitFormatString()
279 wsPatterns.push_back(CFX_WideString(pToken, pStr - pToken)); in SplitFormatString()
[all …]
/external/icu/icu4c/source/common/
Duniset_closure.cpp255 const UnicodeString *pStr; in closeOver() local
258 pStr = (const UnicodeString *) strings->elementAt(j); in closeOver()
259 (str = *pStr).toLower(root); in closeOver()
262 (str = *pStr).toTitle(bi, root); in closeOver()
265 (str = *pStr).toUpper(root); in closeOver()
267 (str = *pStr).foldCase(); in closeOver()
/external/pdfium/xfa/fxfa/parser/
Dcxfa_widetextread.cpp55 int32_t CXFA_WideTextRead::ReadString(FX_WCHAR* pStr, in ReadString() argument
62 FXSYS_wcsncpy(pStr, m_wsBuffer.c_str() + m_iPosition, iMaxLength); in ReadString()
73 int32_t CXFA_WideTextRead::WriteString(const FX_WCHAR* pStr, int32_t iLength) { in WriteString() argument
Dcxfa_widetextread.h25 int32_t ReadString(FX_WCHAR* pStr, int32_t iMaxLength, bool& bEOS) override;
27 int32_t WriteString(const FX_WCHAR* pStr, int32_t iLength) override;
Dxfa_layout_itemlayout.cpp29 std::vector<CFX_WideString> SeparateStringW(const FX_WCHAR* pStr, in SeparateStringW() argument
33 if (!pStr) in SeparateStringW()
36 iStrLen = FXSYS_wcslen(pStr); in SeparateStringW()
38 const FX_WCHAR* pToken = pStr; in SeparateStringW()
39 const FX_WCHAR* pEnd = pStr + iStrLen; in SeparateStringW()
41 if (pStr >= pEnd || delimiter == *pStr) { in SeparateStringW()
42 ret.push_back(CFX_WideString(pToken, pStr - pToken)); in SeparateStringW()
43 pToken = pStr + 1; in SeparateStringW()
44 if (pStr >= pEnd) in SeparateStringW()
47 pStr++; in SeparateStringW()
/external/pdfium/core/fxge/android/
Dcfpf_skiafontmgr.cpp90 uint32_t FPF_GetHashCode_StringA(const FX_CHAR* pStr, int32_t iLength) { in FPF_GetHashCode_StringA() argument
91 if (!pStr) in FPF_GetHashCode_StringA()
94 iLength = FXSYS_strlen(pStr); in FPF_GetHashCode_StringA()
95 const FX_CHAR* pStrEnd = pStr + iLength; in FPF_GetHashCode_StringA()
97 while (pStr < pStrEnd) in FPF_GetHashCode_StringA()
98 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()
/external/opencv/cvaux/include/
Dcvvidsurv.hpp73 char** pStr; member
172 pP->pStr = pAddr?pAddr:&(pP->Str); in AddParam()
176 pP->pStr[0] = pP->Str; in AddParam()
260 if(p->pStr) in SetParamStr()
265 p->pStr[0] = p->Str; in SetParamStr()
360 void SetNickName(const char* pStr) in SetNickName() argument
367 if(pStr) in SetNickName()
368 m_pNickName = strdup(pStr); in SetNickName()
/external/pdfium/xfa/fde/tto/
Dfde_textout.cpp193 const FX_WCHAR* pStr = pwsStr; in CalcTextSize() local
204 wch = *pStr++; in CalcTextSize()
406 const FX_WCHAR* pStr = m_wsEllipsis.c_str(); in LoadEllipsis() local
410 wch = *pStr++; in LoadEllipsis()
440 FX_WCHAR* pStr = m_wsText.GetBuffer(iLength); in LoadText() local
462 if (bHotKey && wch == L'&' && *(pStr - 1) != L'&') { in LoadText()
467 *pStr++ = wch; in LoadText()
/external/pdfium/xfa/fxfa/app/
Dxfa_ffwidget.cpp922 static uint8_t* XFA_RemoveBase64Whitespace(const uint8_t* pStr, int32_t iLen) { in XFA_RemoveBase64Whitespace() argument
926 iLen = FXSYS_strlen((FX_CHAR*)pStr); in XFA_RemoveBase64Whitespace()
930 if ((pStr[i] & 128) == 0) { in XFA_RemoveBase64Whitespace()
931 if (g_inv_base64[pStr[i]] != 0xFF || pStr[i] == '=') { in XFA_RemoveBase64Whitespace()
932 pCP[j++] = pStr[i]; in XFA_RemoveBase64Whitespace()
939 static int32_t XFA_Base64Decode(const FX_CHAR* pStr, uint8_t* pOutBuffer) { in XFA_Base64Decode() argument
940 if (!pStr) { in XFA_Base64Decode()
944 XFA_RemoveBase64Whitespace((uint8_t*)pStr, FXSYS_strlen((FX_CHAR*)pStr)); in XFA_Base64Decode()
/external/pdfium/xfa/fgas/layout/
Dfgas_textbreak.cpp1150 const FX_WCHAR* pStr = pTxtRun->wsStr.c_str(); in GetDisplayPos() local
1209 wch = *pStr++; in GetDisplayPos()
1242 wNext = pStr[j]; in GetDisplayPos()
1268 wNext = *pStr; in GetDisplayPos()
1299 wNext = *pStr; in GetDisplayPos()
1523 const FX_WCHAR* pStr = pTxtRun->wsStr.c_str(); in GetCharRects() local
1560 wch = *pStr++; in GetCharRects()
/external/pdfium/fpdfsdk/javascript/
DJS_Define.h23 const char* pStr; member
182 : pEngine->NewString(ConstSpecs[i].pStr)); \

12