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

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

Issue 2467203003: Remove FX_BOOL from xfa. (Closed)
Patch Set: Created 4 years, 1 month 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/crt/fgas_codepage.cpp » ('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/fxcrt/fx_basic.h" 10 #include "core/fxcrt/fx_basic.h"
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 uint16_t FX_GetCodePageFromStringW(const FX_WCHAR* pStr, int32_t iLength); 137 uint16_t FX_GetCodePageFromStringW(const FX_WCHAR* pStr, int32_t iLength);
138 uint16_t FX_GetDefCodePageByLanguage(uint16_t wLanguage); 138 uint16_t FX_GetDefCodePageByLanguage(uint16_t wLanguage);
139 void FX_SwapByteOrder(FX_WCHAR* pStr, int32_t iLength); 139 void FX_SwapByteOrder(FX_WCHAR* pStr, int32_t iLength);
140 140
141 void FX_UTF16ToWChar(void* pBuffer, int32_t iLength); 141 void FX_UTF16ToWChar(void* pBuffer, int32_t iLength);
142 int32_t FX_DecodeString(uint16_t wCodePage, 142 int32_t FX_DecodeString(uint16_t wCodePage,
143 const FX_CHAR* pSrc, 143 const FX_CHAR* pSrc,
144 int32_t* pSrcLen, 144 int32_t* pSrcLen,
145 FX_WCHAR* pDst, 145 FX_WCHAR* pDst,
146 int32_t* pDstLen, 146 int32_t* pDstLen,
147 FX_BOOL bErrBreak); 147 bool bErrBreak);
148 int32_t FX_UTF8Decode(const FX_CHAR* pSrc, 148 int32_t FX_UTF8Decode(const FX_CHAR* pSrc,
149 int32_t* pSrcLen, 149 int32_t* pSrcLen,
150 FX_WCHAR* pDst, 150 FX_WCHAR* pDst,
151 int32_t* pDstLen); 151 int32_t* pDstLen);
152 152
153 #endif // XFA_FGAS_CRT_FGAS_CODEPAGE_H_ 153 #endif // XFA_FGAS_CRT_FGAS_CODEPAGE_H_
OLDNEW
« no previous file with comments | « xfa/fde/xml/fde_xml_imp.cpp ('k') | xfa/fgas/crt/fgas_codepage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698