Home
last modified time | relevance | path

Searched refs:pString (Results 1 – 21 of 21) sorted by relevance

/external/apache-http/src/org/apache/commons/codec/net/
DQuotedPrintableCodec.java255 public String encode(String pString) throws EncoderException { in encode() argument
256 if (pString == null) { in encode()
260 return encode(pString, getDefaultCharset()); in encode()
280 …public String decode(String pString, String charset) throws DecoderException, UnsupportedEncodingE… in decode() argument
281 if (pString == null) { in decode()
284 return new String(decode(pString.getBytes(StringEncodings.US_ASCII)), charset); in decode()
300 public String decode(String pString) throws DecoderException { in decode() argument
301 if (pString == null) { in decode()
305 return decode(pString, getDefaultCharset()); in decode()
386 public String encode(String pString, String charset) throws UnsupportedEncodingException { in encode() argument
[all …]
DURLCodec.java225 public String encode(String pString, String charset) in encode() argument
228 if (pString == null) { in encode()
231 return new String(encode(pString.getBytes(charset)), StringEncodings.US_ASCII); in encode()
245 public String encode(String pString) throws EncoderException { in encode() argument
246 if (pString == null) { in encode()
250 return encode(pString, getDefaultCharset()); in encode()
269 public String decode(String pString, String charset) in decode() argument
272 if (pString == null) { in decode()
275 return new String(decode(pString.getBytes(StringEncodings.US_ASCII)), charset); in decode()
290 public String decode(String pString) throws DecoderException { in decode() argument
[all …]
DQCodec.java190 public String encode(final String pString, final String charset) throws EncoderException { in encode() argument
191 if (pString == null) { in encode()
195 return encodeText(pString, charset); in encode()
211 public String encode(String pString) throws EncoderException { in encode() argument
212 if (pString == null) { in encode()
215 return encode(pString, getDefaultCharset()); in encode()
230 public String decode(String pString) throws DecoderException { in decode() argument
231 if (pString == null) { in decode()
235 return decodeText(pString); in decode()
/external/icu/icu4c/source/common/
Ducase.cpp1062 const UChar **pString, in ucase_toFullLower() argument
1113 *pString=iDot; in ucase_toFullLower()
1116 *pString=jDot; in ucase_toFullLower()
1119 *pString=iOgonekDot; in ucase_toFullLower()
1122 *pString=iDotGrave; in ucase_toFullLower()
1125 *pString=iDotAcute; in ucase_toFullLower()
1128 *pString=iDotTilde; in ucase_toFullLower()
1151 *pString=nullptr; in ucase_toFullLower()
1167 *pString=iDot; in ucase_toFullLower()
1188 *pString=reinterpret_cast<const UChar *>(pe+1); in ucase_toFullLower()
[all …]
Ducase.h278 const UChar **pString,
284 const UChar **pString,
290 const UChar **pString,
295 const UChar **pString,
310 const UChar **pString,
/external/pdfium/core/fpdfapi/font/
Dcpdf_cmap.cpp326 uint32_t CPDF_CMap::GetNextChar(ByteStringView pString, size_t* pOffset) const { in GetNextChar() argument
328 auto pBytes = pString.raw_span(); in GetNextChar()
392 size_t CPDF_CMap::CountChar(ByteStringView pString) const { in CountChar()
395 return pString.GetLength(); in CountChar()
397 return (pString.GetLength() + 1) / 2; in CountChar()
400 for (size_t i = 0; i < pString.GetLength(); i++) { in CountChar()
402 if (m_MixedTwoByteLeadingBytes[pString[i]]) in CountChar()
410 while (offset < pString.GetLength()) { in CountChar()
411 GetNextChar(pString, &offset); in CountChar()
417 return pString.GetLength(); in CountChar()
Dcpdf_font.cpp115 size_t CPDF_Font::CountChar(ByteStringView pString) const { in CountChar()
116 return pString.GetLength(); in CountChar()
279 uint32_t CPDF_Font::GetStringWidth(ByteStringView pString) { in GetStringWidth() argument
282 while (offset < pString.GetLength()) in GetStringWidth()
283 width += GetCharWidthF(GetNextChar(pString, &offset)); in GetStringWidth()
343 uint32_t CPDF_Font::GetNextChar(ByteStringView pString, size_t* pOffset) const { in GetNextChar() argument
344 if (pString.IsEmpty()) in GetNextChar()
348 return offset < pString.GetLength() ? pString[offset++] : pString.Back(); in GetNextChar()
Dcpdf_font.h87 virtual uint32_t GetNextChar(ByteStringView pString, size_t* pOffset) const;
88 virtual size_t CountChar(ByteStringView pString) const;
110 uint32_t GetStringWidth(ByteStringView pString);
Dcpdf_cmap.h59 uint32_t GetNextChar(ByteStringView pString, size_t* pOffset) const;
60 size_t CountChar(ByteStringView pString) const;
Dcpdf_cidfont.h51 uint32_t GetNextChar(ByteStringView pString, size_t* pOffset) const override;
52 size_t CountChar(ByteStringView pString) const override;
Dcpdf_cidfont.cpp732 uint32_t CPDF_CIDFont::GetNextChar(ByteStringView pString, in GetNextChar() argument
734 return m_pCMap->GetNextChar(pString, pOffset); in GetNextChar()
741 size_t CPDF_CIDFont::CountChar(ByteStringView pString) const { in CountChar()
742 return m_pCMap->CountChar(pString); in CountChar()
/external/pdfium/core/fpdfdoc/
Dcpdf_bookmark.cpp31 const CPDF_String* pString = ToString(m_pDict->GetDirectObjectFor("Title")); in GetTitle() local
32 if (!pString) in GetTitle()
35 WideString title = pString->GetUnicodeText(); in GetTitle()
Dcpdf_filespec.cpp123 } else if (const CPDF_String* pString = m_pObj->AsString()) { in GetFileName() local
124 csFileName = WideString::FromDefANSI(pString->GetString().AsStringView()); in GetFileName()
Dcpdf_formfield.cpp627 const CPDF_String* pString = ToString(pOption); in GetOptionText() local
628 return pString ? pString->GetUnicodeText() : WideString(); in GetOptionText()
/external/icu/libicu/cts_headers/
Ducase.h278 const UChar **pString,
284 const UChar **pString,
290 const UChar **pString,
295 const UChar **pString,
310 const UChar **pString,
/external/apache-http/src/org/apache/commons/codec/language/
DRefinedSoundex.java134 public String encode(String pString) { in encode() argument
135 return soundex(pString); in encode()
DSoundex.java155 public String encode(String pString) { in encode() argument
156 return soundex(pString); in encode()
DMetaphone.java376 public String encode(String pString) { in encode() argument
377 return metaphone(pString); in encode()
/external/apache-http/src/org/apache/commons/codec/
DStringDecoder.java42 String decode(String pString) throws DecoderException; in decode() argument
DStringEncoder.java42 String encode(String pString) throws EncoderException; in encode() argument
/external/pdfium/core/fpdfapi/page/
Dcpdf_colorspace.cpp1159 if (const CPDF_String* pString = pTableObj->AsString()) { in v_Load() local
1160 m_Table = pString->GetString(); in v_Load()