Home
last modified time | relevance | path

Searched refs:FX_WCHAR (Results 1 – 25 of 213) sorted by relevance

123456789

/external/pdfium/xfa/fxbarcode/datamatrix/
DBC_TextEncoder.cpp38 int32_t CBC_TextEncoder::encodeChar(FX_WCHAR c, in encodeChar()
42 sb += (FX_WCHAR)'\3'; in encodeChar()
46 sb += (FX_WCHAR)(c - 48 + 4); in encodeChar()
50 sb += (FX_WCHAR)(c - 97 + 14); in encodeChar()
54 sb += (FX_WCHAR)'\0'; in encodeChar()
59 sb += (FX_WCHAR)'\1'; in encodeChar()
60 sb += (FX_WCHAR)(c - 33); in encodeChar()
64 sb += (FX_WCHAR)'\1'; in encodeChar()
65 sb += (FX_WCHAR)(c - 58 + 15); in encodeChar()
69 sb += (FX_WCHAR)'\1'; in encodeChar()
[all …]
DBC_HighLevelEncoder.h39 static bool isDigit(FX_WCHAR ch);
40 static bool isExtendedASCII(FX_WCHAR ch);
43 static void illegalCharacter(FX_WCHAR c, int32_t& e);
46 static FX_WCHAR LATCH_TO_C40;
47 static FX_WCHAR LATCH_TO_BASE256;
48 static FX_WCHAR UPPER_SHIFT;
49 static FX_WCHAR LATCH_TO_ANSIX12;
50 static FX_WCHAR LATCH_TO_TEXT;
51 static FX_WCHAR LATCH_TO_EDIFACT;
52 static FX_WCHAR C40_UNLATCH;
[all …]
DBC_C40Encoder.cpp40 FX_WCHAR c = context.getCurrentChar(); in Encode()
103 buffer += (FX_WCHAR)'\0'; in handleEOD()
131 int32_t CBC_C40Encoder::encodeChar(FX_WCHAR c, CFX_WideString& sb, int32_t& e) { in encodeChar()
133 sb += (FX_WCHAR)'\3'; in encodeChar()
136 sb += (FX_WCHAR)(c - 48 + 4); in encodeChar()
139 sb += (FX_WCHAR)(c - 65 + 14); in encodeChar()
142 sb += (FX_WCHAR)'\0'; in encodeChar()
146 sb += (FX_WCHAR)'\1'; in encodeChar()
147 sb += (FX_WCHAR)(c - 33); in encodeChar()
150 sb += (FX_WCHAR)'\1'; in encodeChar()
[all …]
DBC_EdifactEncoder.cpp40 FX_WCHAR c = context.getCurrentChar(); in Encode()
61 buffer += (FX_WCHAR)31; in Encode()
118 void CBC_EdifactEncoder::encodeChar(FX_WCHAR c, in encodeChar()
124 sb += (FX_WCHAR)(c - 64); in encodeChar()
137 FX_WCHAR c1 = sb.GetAt(startPos); in encodeToCodewords()
138 FX_WCHAR c2 = len >= 2 ? sb.GetAt(startPos + 1) : 0; in encodeToCodewords()
139 FX_WCHAR c3 = len >= 3 ? sb.GetAt(startPos + 2) : 0; in encodeToCodewords()
140 FX_WCHAR c4 = len >= 4 ? sb.GetAt(startPos + 3) : 0; in encodeToCodewords()
142 FX_WCHAR cw1 = (FX_WCHAR)((v >> 16) & 255); in encodeToCodewords()
143 FX_WCHAR cw2 = (FX_WCHAR)((v >> 8) & 255); in encodeToCodewords()
[all …]
DBC_HighLevelEncoder.cpp43 FX_WCHAR CBC_HighLevelEncoder::LATCH_TO_C40 = 230;
44 FX_WCHAR CBC_HighLevelEncoder::LATCH_TO_BASE256 = 231;
45 FX_WCHAR CBC_HighLevelEncoder::UPPER_SHIFT = 235;
46 FX_WCHAR CBC_HighLevelEncoder::LATCH_TO_ANSIX12 = 238;
47 FX_WCHAR CBC_HighLevelEncoder::LATCH_TO_TEXT = 239;
48 FX_WCHAR CBC_HighLevelEncoder::LATCH_TO_EDIFACT = 240;
49 FX_WCHAR CBC_HighLevelEncoder::C40_UNLATCH = 254;
50 FX_WCHAR CBC_HighLevelEncoder::X12_UNLATCH = 254;
51 FX_WCHAR CBC_HighLevelEncoder::PAD = 129;
52 FX_WCHAR CBC_HighLevelEncoder::MACRO_05 = 236;
[all …]
DBC_Base256Encoder.cpp38 buffer += (FX_WCHAR)'\0'; in Encode()
40 FX_WCHAR c = context.getCurrentChar(); in Encode()
53 buffer.SetAt(0, FX_WCHAR(*buf) - '0'); in Encode()
64 buffer.SetAt(0, (FX_WCHAR)dataCount); in Encode()
66 buffer.SetAt(0, (FX_WCHAR)((dataCount / 250) + 249)); in Encode()
67 buffer.Insert(1, (FX_WCHAR)(dataCount % 250)); in Encode()
78 FX_WCHAR CBC_Base256Encoder::randomize255State(FX_WCHAR ch, in randomize255State()
83 return (FX_WCHAR)tempVariable; in randomize255State()
85 return (FX_WCHAR)(tempVariable - 256); in randomize255State()
/external/pdfium/xfa/fxbarcode/oned/
DBC_OnedCode39Writer.cpp51 FX_WCHAR ch = contents.GetAt(i); in CheckContentValidity()
52 if ((ch >= (FX_WCHAR)'0' && ch <= (FX_WCHAR)'9') || in CheckContentValidity()
53 (ch >= (FX_WCHAR)'A' && ch <= (FX_WCHAR)'Z') || ch == (FX_WCHAR)'-' || in CheckContentValidity()
54 ch == (FX_WCHAR)'.' || ch == (FX_WCHAR)' ' || ch == (FX_WCHAR)'*' || in CheckContentValidity()
55 ch == (FX_WCHAR)'$' || ch == (FX_WCHAR)'/' || ch == (FX_WCHAR)'+' || in CheckContentValidity()
56 ch == (FX_WCHAR)'%') { in CheckContentValidity()
68 FX_WCHAR ch = contents.GetAt(i); in FilterContents()
69 if (ch == (FX_WCHAR)'*' && (i == 0 || i == contents.GetLength() - 1)) { in FilterContents()
78 if ((ch >= (FX_WCHAR)'0' && ch <= (FX_WCHAR)'9') || in FilterContents()
79 (ch >= (FX_WCHAR)'A' && ch <= (FX_WCHAR)'Z') || ch == (FX_WCHAR)'-' || in FilterContents()
[all …]
/external/pdfium/xfa/fxbarcode/pdf417/
DBC_PDF417HighLevelEncoder.cpp67 FX_WCHAR ch = (FX_WCHAR)(bytes.GetAt(i) & 0xff); in encodeHighLevel()
87 sb += (FX_WCHAR)LATCH_TO_NUMERIC; in encodeHighLevel()
94 sb += (FX_WCHAR)LATCH_TO_NUMERIC; in encodeHighLevel()
103 sb += (FX_WCHAR)LATCH_TO_TEXT; in encodeHighLevel()
160 FX_WCHAR ch = msg.GetAt(startpos + idx); in encodeText()
165 tmp += (FX_WCHAR)26; in encodeText()
167 tmp += (FX_WCHAR)(ch - 65); in encodeText()
172 tmp += (FX_WCHAR)27; in encodeText()
176 tmp += (FX_WCHAR)28; in encodeText()
179 tmp += (FX_WCHAR)29; in encodeText()
[all …]
/external/pdfium/fpdfsdk/
Dcpdfsdk_formfillenvironment.h144 CFX_RetainPtr<IFX_SeekableReadStream> DownloadFromURL(const FX_WCHAR* url);
145 CFX_WideString PostRequestURL(const FX_WCHAR* wsURL,
146 const FX_WCHAR* wsData,
147 const FX_WCHAR* wsContentType,
148 const FX_WCHAR* wsEncode,
149 const FX_WCHAR* wsHeader);
150 FPDF_BOOL PutRequestURL(const FX_WCHAR* wsURL,
151 const FX_WCHAR* wsData,
152 const FX_WCHAR* wsEncode);
160 int JS_appAlert(const FX_WCHAR* Msg,
[all …]
/external/pdfium/xfa/fxfa/fm2js/
Dxfa_lexer.h89 const FX_WCHAR* m_keyword;
92 const FX_WCHAR* XFA_FM_KeywordToString(XFA_FM_TOKEN op);
110 uint32_t Number(CXFA_FMToken* t, const FX_WCHAR* p, const FX_WCHAR*& pEnd);
111 uint32_t String(CXFA_FMToken* t, const FX_WCHAR* p, const FX_WCHAR*& pEnd);
113 const FX_WCHAR* p,
114 const FX_WCHAR*& pEnd);
115 void Comment(const FX_WCHAR* p, const FX_WCHAR*& pEnd);
122 const FX_WCHAR* SavePos() { return m_ptr; } in SavePos()
123 void RestorePos(const FX_WCHAR* pPos) { m_ptr = pPos; } in RestorePos()
124 void Error(const FX_WCHAR* msg, ...);
[all …]
Dxfa_lexer.cpp14 static const FX_WCHAR* inc(const FX_WCHAR*& p) { in inc()
18 static const FX_WCHAR* dec(const FX_WCHAR*& p) { in dec()
22 static uint16_t get(const FX_WCHAR* p) { return *p; } in get()
23 static bool isWhiteSpace(const FX_WCHAR* p) { in isWhiteSpace()
26 static bool isLineTerminator(const FX_WCHAR* p) { in isLineTerminator()
29 static bool isBinary(const FX_WCHAR* p) { return (*p) >= '0' && (*p) <= '1'; } in isBinary()
30 static bool isOctal(const FX_WCHAR* p) { return (*p) >= '0' && (*p) <= '7'; } in isOctal()
31 static bool isDigital(const FX_WCHAR* p) { in isDigital()
34 static bool isHex(const FX_WCHAR* p) { in isHex()
38 static bool isAlpha(const FX_WCHAR* p) { in isAlpha()
[all …]
Dxfa_error.cpp9 const FX_WCHAR kFMErrUnsupportedChar[] = L"unsupported char '%c'";
10 const FX_WCHAR kFMErrBadSuffixNumber[] = L"bad suffix on number";
11 const FX_WCHAR kFMErrExpectedIdentifier[] =
13 const FX_WCHAR kFMErrExpectedToken[] = L"expected '%s' instead of '%s'";
14 const FX_WCHAR kFMErrExpectedEndIf[] = L"expected 'endif' instead of '%s'";
15 const FX_WCHAR kFMErrUnexpectedExpression[] = L"unexpected expression '%s'";
16 const FX_WCHAR kFMErrExpectedNonEmptyExpression[] =
Dxfa_error.h13 extern const FX_WCHAR kFMErrUnsupportedChar[];
14 extern const FX_WCHAR kFMErrBadSuffixNumber[];
15 extern const FX_WCHAR kFMErrExpectedIdentifier[];
16 extern const FX_WCHAR kFMErrExpectedToken[];
17 extern const FX_WCHAR kFMErrExpectedEndIf[];
18 extern const FX_WCHAR kFMErrUnexpectedExpression[];
19 extern const FX_WCHAR kFMErrExpectedNonEmptyExpression[];
/external/pdfium/core/fxcrt/
Dfx_basic_gcc.cpp91 int32_t FXSYS_wtoi(const FX_WCHAR* str) { in FXSYS_wtoi()
92 return FXSYS_StrToInt<int32_t, FX_WCHAR>(str); in FXSYS_wtoi()
97 int64_t FXSYS_wtoi64(const FX_WCHAR* str) { in FXSYS_wtoi64()
98 return FXSYS_StrToInt<int64_t, FX_WCHAR>(str); in FXSYS_wtoi64()
135 FXSYS_FILE* FXSYS_wfopen(const FX_WCHAR* filename, const FX_WCHAR* mode) { in FXSYS_wfopen()
161 FX_WCHAR* FXSYS_wcslwr(FX_WCHAR* str) { in FXSYS_wcslwr()
165 FX_WCHAR* s = str; in FXSYS_wcslwr()
172 FX_WCHAR* FXSYS_wcsupr(FX_WCHAR* str) { in FXSYS_wcsupr()
176 FX_WCHAR* s = str; in FXSYS_wcsupr()
195 int FXSYS_wcsicmp(const FX_WCHAR* dst, const FX_WCHAR* src) { in FXSYS_wcsicmp()
[all …]
Dfx_string.h25 using CFX_WideStringC = CFX_StringCTemplate<FX_WCHAR>;
57 static CFX_ByteString FromUnicode(const FX_WCHAR* ptr, FX_STRSIZE len = -1);
238 using CharType = FX_WCHAR;
246 CFX_WideString(FX_WCHAR ch);
248 CFX_WideString(const FX_WCHAR* ptr);
250 CFX_WideString(const FX_WCHAR* ptr, FX_STRSIZE len);
268 const FX_WCHAR* c_str() const { return m_pData ? m_pData->m_String : L""; } in c_str()
281 const CFX_WideString& operator=(const FX_WCHAR* str);
285 const CFX_WideString& operator+=(const FX_WCHAR* str);
286 const CFX_WideString& operator+=(FX_WCHAR ch);
[all …]
Dfx_basic_wstring.cpp17 template class CFX_StringDataTemplate<FX_WCHAR>;
18 template class CFX_StringCTemplate<FX_WCHAR>;
40 const FX_WCHAR* FX_wcsstr(const FX_WCHAR* haystack, in FX_wcsstr()
42 const FX_WCHAR* needle, in FX_wcsstr()
47 const FX_WCHAR* end_ptr = haystack + haystack_len - needle_len; in FX_wcsstr()
66 static_assert(sizeof(CFX_WideString) <= sizeof(FX_WCHAR*),
78 CFX_WideString::CFX_WideString(const FX_WCHAR* pStr, FX_STRSIZE nLen) { in CFX_WideString()
86 CFX_WideString::CFX_WideString(FX_WCHAR ch) { in CFX_WideString()
91 CFX_WideString::CFX_WideString(const FX_WCHAR* ptr) in CFX_WideString()
113 const CFX_WideString& CFX_WideString::operator=(const FX_WCHAR* pStr) { in operator =()
[all …]
Dfx_basic_buffer.cpp130 void CFX_WideTextBuf::AppendChar(FX_WCHAR ch) { in AppendChar()
131 ExpandBuf(sizeof(FX_WCHAR)); in AppendChar()
132 *(FX_WCHAR*)(m_pBuffer.get() + m_DataSize) = ch; in AppendChar()
133 m_DataSize += sizeof(FX_WCHAR); in AppendChar()
137 AppendBlock(str.c_str(), str.GetLength() * sizeof(FX_WCHAR)); in operator <<()
142 AppendBlock(str.c_str(), str.GetLength() * sizeof(FX_WCHAR)); in operator <<()
150 ExpandBuf(len * sizeof(FX_WCHAR)); in operator <<()
151 FX_WCHAR* str = (FX_WCHAR*)(m_pBuffer.get() + m_DataSize); in operator <<()
155 m_DataSize += len * sizeof(FX_WCHAR); in operator <<()
162 ExpandBuf(len * sizeof(FX_WCHAR)); in operator <<()
[all …]
/external/pdfium/xfa/fde/xml/
Dfde_xml_imp.h58 CFDE_XMLNode* GetPath(const FX_WCHAR* pPath,
89 bool HasAttribute(const FX_WCHAR* pwsAttriName) const;
90 void GetString(const FX_WCHAR* pwsAttriName,
92 const FX_WCHAR* pwsDefValue = nullptr) const;
95 int32_t GetInteger(const FX_WCHAR* pwsAttriName, int32_t iDefValue = 0) const;
96 void SetInteger(const FX_WCHAR* pwsAttriName, int32_t iAttriValue);
97 FX_FLOAT GetFloat(const FX_WCHAR* pwsAttriName, FX_FLOAT fDefValue = 0) const;
98 void SetFloat(const FX_WCHAR* pwsAttriName, FX_FLOAT fAttriValue);
99 void RemoveAttribute(const FX_WCHAR* pwsAttriName);
129 bool HasAttribute(const FX_WCHAR* pwsAttriName) const;
[all …]
Dfde_xml_imp_unittest.cpp13 const FX_WCHAR* input = in TEST()
21 const FX_WCHAR* cdata = in TEST()
28 size_t len = FXSYS_wcslen(input) * sizeof(FX_WCHAR); in TEST()
30 reinterpret_cast<uint8_t*>(const_cast<FX_WCHAR*>(input)), len, 0); in TEST()
68 const FX_WCHAR* input = in TEST()
77 const FX_WCHAR* cdata = in TEST()
85 size_t len = FXSYS_wcslen(input) * sizeof(FX_WCHAR); in TEST()
87 reinterpret_cast<uint8_t*>(const_cast<FX_WCHAR*>(input)), len, 0); in TEST()
125 const FX_WCHAR* input = in TEST()
131 size_t len = FXSYS_wcslen(input) * sizeof(FX_WCHAR); in TEST()
[all …]
/external/pdfium/xfa/fgas/font/
Dcfgas_fontmgr.h47 const FX_WCHAR* pwsFamily;
51 FX_WCHAR wUnicode;
68 FX_WCHAR wsFontFace[32];
83 const FX_WCHAR* pwsFaceName,
84 FX_WCHAR wUnicode);
97 const FX_WCHAR* pszFontFamily);
98 CFX_RetainPtr<CFGAS_GEFont> GetFontByUnicode(FX_WCHAR wUnicode,
100 const FX_WCHAR* pszFontFamily);
101 CFX_RetainPtr<CFGAS_GEFont> LoadFont(const FX_WCHAR* pszFontFamily,
113 const FX_FONTDESCRIPTOR* FindFont(const FX_WCHAR* pszFontFamily,
[all …]
/external/pdfium/xfa/fde/css/
Dcfde_cssselector.cpp15 bool IsCSSChar(FX_WCHAR wch) { in IsCSSChar()
19 int32_t GetCSSNameLen(const FX_WCHAR* psz, const FX_WCHAR* pEnd) { in GetCSSNameLen()
20 const FX_WCHAR* pStart = psz; in GetCSSNameLen()
22 FX_WCHAR wch = *psz; in GetCSSNameLen()
36 const FX_WCHAR* psz, in CFDE_CSSSelector()
61 const FX_WCHAR* psz = str.c_str(); in FromString()
62 const FX_WCHAR* pStart = psz; in FromString()
63 const FX_WCHAR* pEnd = psz + str.GetLength(); in FromString()
75 FX_WCHAR wch = *psz; in FromString()
Dcfde_cssvaluelistparser.h15 CFDE_CSSValueListParser(const FX_WCHAR* psz,
17 FX_WCHAR separator);
20 const FX_WCHAR*& pStart,
23 FX_WCHAR m_Separator;
26 int32_t SkipTo(FX_WCHAR wch, bool breakOnSpace, bool matchBrackets);
28 const FX_WCHAR* m_pCur;
29 const FX_WCHAR* m_pEnd;
Dcfde_cssdeclaration.h26 static bool ParseCSSString(const FX_WCHAR* pszValue,
30 static bool ParseCSSColor(const FX_WCHAR* pszValue,
56 FX_ARGB ParseColorForTest(const FX_WCHAR* pszValue,
61 void ParseFontProperty(const FX_WCHAR* pszValue,
64 bool ParseBorderProperty(const FX_WCHAR* pszValue,
68 const FX_WCHAR* pszValue,
77 CFX_RetainPtr<CFDE_CSSValue> ParseNumber(const FX_WCHAR* pszValue,
79 CFX_RetainPtr<CFDE_CSSValue> ParseEnum(const FX_WCHAR* pszValue,
81 CFX_RetainPtr<CFDE_CSSValue> ParseColor(const FX_WCHAR* pszValue,
83 CFX_RetainPtr<CFDE_CSSValue> ParseString(const FX_WCHAR* pszValue,
/external/pdfium/core/fpdfapi/font/
Dcpdf_fontencoding.h27 uint32_t FT_CharCodeFromUnicode(int encoding, FX_WCHAR unicode);
28 FX_WCHAR FT_UnicodeFromCharCode(int encoding, uint32_t charcode);
30 FX_WCHAR PDF_UnicodeFromAdobeName(const FX_CHAR* name);
31 CFX_ByteString PDF_AdobeNameFromUnicode(FX_WCHAR unicode);
48 FX_WCHAR UnicodeFromCharCode(uint8_t charcode) const { in UnicodeFromCharCode()
51 int CharCodeFromUnicode(FX_WCHAR unicode) const;
53 void SetUnicode(uint8_t charcode, FX_WCHAR unicode) { in SetUnicode()
60 FX_WCHAR m_Unicodes[256];
/external/pdfium/xfa/fde/tto/
Dfde_textout.h91 void SetParagraphBreakChar(FX_WCHAR wch);
101 void DrawText(const FX_WCHAR* pwsStr, int32_t iLength, int32_t x, int32_t y);
102 void DrawText(const FX_WCHAR* pwsStr,
106 void DrawText(const FX_WCHAR* pwsStr, int32_t iLength, const CFX_Rect& rect);
107 void DrawText(const FX_WCHAR* pwsStr, int32_t iLength, const CFX_RectF& rect);
110 void CalcLogicSize(const FX_WCHAR* pwsStr, int32_t iLength, CFX_SizeF& size);
111 void CalcLogicSize(const FX_WCHAR* pwsStr, int32_t iLength, CFX_RectF& rect);
112 void DrawLogicText(const FX_WCHAR* pwsStr,
116 void DrawLogicText(const FX_WCHAR* pwsStr,
122 void CalcTextSize(const FX_WCHAR* pwsStr, int32_t iLength, CFX_RectF& rect);
[all …]

123456789