Home
last modified time | relevance | path

Searched refs:AppendChar (Results 1 – 25 of 39) sorted by relevance

12

/external/pdfium/core/fxcrt/
Dfx_basic_utf.cpp13 void CFX_UTF8Decoder::AppendChar(uint32_t ch) { in AppendChar() function in CFX_UTF8Decoder
14 m_Buffer.AppendChar((FX_WCHAR)ch); in AppendChar()
19 m_Buffer.AppendChar(byte); in Input()
27 AppendChar(m_PendingChar); in Input()
48 m_Buffer.AppendChar(unicode); in Input()
68 m_Buffer.AppendChar(prefix[nbytes - 2] | (code / order)); in Input()
72 m_Buffer.AppendChar(0x80 | (code / order)); in Input()
Dfx_bidi_unittest.cpp31 EXPECT_TRUE(bidi.AppendChar(kLeftChar)); in TEST()
36 EXPECT_FALSE(bidi.AppendChar(kLeftChar)); in TEST()
37 EXPECT_FALSE(bidi.AppendChar(kLeftChar)); in TEST()
57 EXPECT_TRUE(bidi.AppendChar(kLeftChar)); in TEST()
62 EXPECT_FALSE(bidi.AppendChar(kLeftChar)); in TEST()
63 EXPECT_FALSE(bidi.AppendChar(kLeftChar)); in TEST()
64 EXPECT_TRUE(bidi.AppendChar(kNeutralChar)); in TEST()
69 EXPECT_FALSE(bidi.AppendChar(kNeutralChar)); in TEST()
70 EXPECT_FALSE(bidi.AppendChar(kNeutralChar)); in TEST()
71 EXPECT_FALSE(bidi.AppendChar(kNeutralChar)); in TEST()
[all …]
Dfx_bidi.cpp15 bool CFX_BidiChar::AppendChar(FX_WCHAR wch) { in AppendChar() function in CFX_BidiChar
56 if (m_pBidiChar->AppendChar(m_Str.GetAt(i))) in CFX_BidiString()
Dfx_bidi.h31 bool AppendChar(FX_WCHAR wch);
Dfx_basic.h69 void AppendChar(int ch) { AppendByte(static_cast<uint8_t>(ch)); } in AppendChar() function
85 void AppendChar(FX_WCHAR wch);
153 void AppendChar(uint32_t ch);
Dfx_xml_parser.cpp274 buf.AppendChar(ch); in GetName()
427 decoder.AppendChar(GetCharRef()); in GetAttrValue()
573 decoder.AppendChar(GetCharRef()); in ParseElement()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_printf.cc33 static int AppendChar(char **buff, const char *buff_end, char c) { in AppendChar() function
56 result += AppendChar(buff, buff_end, '-'); in AppendNumber()
74 result += AppendChar(buff, buff_end, c); in AppendNumber()
76 if (negative && !pad_with_zero) result += AppendChar(buff, buff_end, '-'); in AppendNumber()
79 result += AppendChar(buff, buff_end, (digit < 10) ? '0' + digit in AppendNumber()
106 result += AppendChar(buff, buff_end, *s); in AppendString()
130 result += AppendChar(&buff, buff_end, *cur); in VSNPrintf()
187 result += AppendChar(&buff, buff_end, va_arg(args, int)); in VSNPrintf()
192 result += AppendChar(&buff, buff_end, '%'); in VSNPrintf()
201 AppendChar(&buff, buff_end + 1, '\0'); in VSNPrintf()
/external/pdfium/core/fpdfapi/page/
Dcpdf_streamparser.cpp491 buf.AppendChar(')'); in ReadString()
494 buf.AppendChar('('); in ReadString()
498 buf.AppendChar((char)ch); in ReadString()
508 buf.AppendChar('\n'); in ReadString()
510 buf.AppendChar('\r'); in ReadString()
512 buf.AppendChar('\t'); in ReadString()
514 buf.AppendChar('\b'); in ReadString()
516 buf.AppendChar('\f'); in ReadString()
522 buf.AppendChar(ch); in ReadString()
532 buf.AppendChar(iEscCode); in ReadString()
[all …]
/external/pdfium/xfa/fde/css/
Dcfde_csssyntaxparser.cpp124 AppendChar(wch); in DoSyntaxParse()
148 AppendChar(wch); in DoSyntaxParse()
166 AppendChar(wch); in DoSyntaxParse()
175 m_TextData.AppendChar(wch); in DoSyntaxParse()
201 bool CFDE_CSSSyntaxParser::AppendChar(FX_WCHAR wch) { in AppendChar() function in CFDE_CSSSyntaxParser
204 m_TextData.AppendChar(wch); in AppendChar()
Dcfde_csstextbuf.h26 bool AppendChar(FX_WCHAR wch) { in AppendChar() function
39 AppendChar(0); in TrimEnd()
Dcfde_csssyntaxparser.h56 bool AppendChar(FX_WCHAR wch);
/external/pdfium/fpdfsdk/fxedit/
Dfxet_ap.cpp31 pPDFFont->AppendChar(sWord, dwCharCode); in GetPDFWordString()
36 pPDFFont->AppendChar(sWord, Word); in GetPDFWordString()
/external/pdfium/core/fpdfapi/parser/
Dfpdf_parser_decode.cpp518 result.AppendChar('<'); in PDF_EncodeString()
520 result.AppendChar("0123456789ABCDEF"[src[i] / 16]); in PDF_EncodeString()
521 result.AppendChar("0123456789ABCDEF"[src[i] % 16]); in PDF_EncodeString()
523 result.AppendChar('>'); in PDF_EncodeString()
526 result.AppendChar('('); in PDF_EncodeString()
538 result.AppendChar('\\'); in PDF_EncodeString()
539 result.AppendChar(ch); in PDF_EncodeString()
541 result.AppendChar(')'); in PDF_EncodeString()
Dcpdf_syntax_parser.cpp224 buf.AppendChar(ch); in ReadString()
234 buf.AppendChar('\n'); in ReadString()
236 buf.AppendChar('\r'); in ReadString()
238 buf.AppendChar('\t'); in ReadString()
240 buf.AppendChar('\b'); in ReadString()
242 buf.AppendChar('\f'); in ReadString()
247 buf.AppendChar(ch); in ReadString()
257 buf.AppendChar(iEscCode); in ReadString()
267 buf.AppendChar(iEscCode); in ReadString()
269 buf.AppendChar(iEscCode); in ReadString()
/external/pdfium/core/fpdfapi/font/
Dcpdf_font.h57 virtual int AppendChar(FX_CHAR* buf, uint32_t charcode) const;
69 void AppendChar(CFX_ByteString& str, uint32_t charcode) const;
Dfpdf_font.cpp236 m_MultiCharBuf.AppendChar(destcode.GetLength()); in Load()
267 m_MultiCharBuf.AppendChar(destcode.GetLength()); in Load()
290 m_MultiCharBuf.AppendChar(retcode.GetLength()); in Load()
Dcpdf_font.cpp134 int CPDF_Font::AppendChar(FX_CHAR* buf, uint32_t charcode) const { in AppendChar() function in CPDF_Font
139 void CPDF_Font::AppendChar(CFX_ByteString& str, uint32_t charcode) const { in AppendChar() function in CPDF_Font
141 int len = AppendChar(buf, charcode); in AppendChar()
Dcpdf_cidfont.h52 int AppendChar(FX_CHAR* str, uint32_t charcode) const override;
/external/pdfium/xfa/fxfa/fm2js/
Dxfa_fm2jscontext.cpp3402 wsResultBuf.AppendChar(ch); in DecodeURL()
3425 wsResultBuf.AppendChar(chTemp); in DecodeURL()
3428 wsResultBuf.AppendChar(0); in DecodeURL()
3447 wsResultBuf.AppendChar(ch); in DecodeHTML()
3495 wsResultBuf.AppendChar((FX_WCHAR)iData); in DecodeHTML()
3497 wsResultBuf.AppendChar(iCode); in DecodeHTML()
3503 wsResultBuf.AppendChar(0); in DecodeHTML()
3524 wsXMLBuf.AppendChar(ch); in DecodeXML()
3582 wsXMLBuf.AppendChar('"'); in DecodeXML()
3585 wsXMLBuf.AppendChar('&'); in DecodeXML()
[all …]
Dxfa_program.cpp37 wsJavaScript.AppendChar(0); in TranslateProgram()
/external/pdfium/xfa/fde/
Dcfde_txtedtparag.cpp55 dwBreakStatus = pTxtBreak->AppendChar(wAppend); in LoadParag()
120 dwBreakStatus = pTxtBreak->AppendChar(wAppend); in CalcLines()
/external/pdfium/core/fpdftext/
Dcpdf_textpage.cpp577 m_TextBuf.AppendChar(unicode); in AppendGeneratedCharacter()
635 pFont->AppendChar(str, charCode); in GetCharWidth()
661 m_TextBuf.AppendChar(info2.m_Unicode); in AddCharInfoByLRDirection()
668 m_TextBuf.AppendChar(wChar); in AddCharInfoByLRDirection()
691 m_TextBuf.AppendChar(info2.m_Unicode); in AddCharInfoByRLDirection()
698 m_TextBuf.AppendChar(info.m_Unicode); in AddCharInfoByRLDirection()
913 m_TempTextBuf.AppendChar(wChar); in ProcessMarkedContent()
994 m_TempTextBuf.AppendChar(TEXT_SPACE_CHAR); in ProcessTextObject()
1028 m_TempTextBuf.AppendChar(0xfffe); in ProcessTextObject()
1099 m_TempTextBuf.AppendChar(TEXT_SPACE_CHAR); in ProcessTextObject()
[all …]
/external/pdfium/xfa/fxfa/parser/
Dcxfa_dataexporter.cpp42 textBuf.AppendChar(str[i]); in ExportEncodeAttribute()
68 textBuf.AppendChar(' '); in ExportEncodeContent()
73 textBuf.AppendChar(str.GetAt(i)); in ExportEncodeContent()
/external/pdfium/xfa/fxfa/app/
Dcxfa_textlayout.h91 bool AppendChar(const CFX_WideString& wsText,
/external/pdfium/xfa/fde/tto/
Dfde_textout.cpp213 dwBreakStatus = m_pTxtBreak->AppendChar(wch); in CalcTextSize()
411 dwBreakStatus = m_pTxtBreak->AppendChar(wch); in LoadEllipsis()
469 dwBreakStatus = m_pTxtBreak->AppendChar(wch); in LoadText()
660 dwBreakStatus = m_pTxtBreak->AppendChar(wch); in ReloadLinePiece()

12