Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(312)

Side by Side Diff: xfa/fgas/crt/fgas_codepage.h

Issue 1814233005: Make a few more const tables smaller. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: format Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/fde/xml/fde_xml_imp.cpp ('k') | xfa/fgas/font/fgas_fontutils.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef XFA_FGAS_CRT_FGAS_CODEPAGE_H_ 7 #ifndef XFA_FGAS_CRT_FGAS_CODEPAGE_H_
8 #define XFA_FGAS_CRT_FGAS_CODEPAGE_H_ 8 #define XFA_FGAS_CRT_FGAS_CODEPAGE_H_
9 9
10 #include "core/include/fxcrt/fx_basic.h" 10 #include "core/include/fxcrt/fx_basic.h"
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 FX_WCHAR* pDst, 156 FX_WCHAR* pDst,
157 int32_t* pDstLen, 157 int32_t* pDstLen,
158 FX_BOOL bErrBreak = FALSE); 158 FX_BOOL bErrBreak = FALSE);
159 int32_t FX_UTF8Decode(const FX_CHAR* pSrc, 159 int32_t FX_UTF8Decode(const FX_CHAR* pSrc,
160 int32_t* pSrcLen, 160 int32_t* pSrcLen,
161 FX_WCHAR* pDst, 161 FX_WCHAR* pDst,
162 int32_t* pDstLen); 162 int32_t* pDstLen);
163 163
164 struct FX_STR2CPHASH { 164 struct FX_STR2CPHASH {
165 uint32_t uHash; 165 uint32_t uHash;
166 uint32_t uCodePage; 166 uint16_t uCodePage;
167 }; 167 };
168 168
169 struct FX_CHARSET_MAP { 169 struct FX_CHARSET_MAP {
170 uint16_t charset; 170 uint16_t charset;
171 uint16_t codepage; 171 uint16_t codepage;
172 }; 172 };
173 173
174 struct FX_LANG2CPMAP { 174 struct FX_LANG2CPMAP {
175 FX_WORD wLanguage; 175 uint16_t wLanguage;
176 FX_WORD wCodepage; 176 uint16_t wCodepage;
177 }; 177 };
178 178
179 #endif // XFA_FGAS_CRT_FGAS_CODEPAGE_H_ 179 #endif // XFA_FGAS_CRT_FGAS_CODEPAGE_H_
OLDNEW
« no previous file with comments | « xfa/fde/xml/fde_xml_imp.cpp ('k') | xfa/fgas/font/fgas_fontutils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698