OLD | NEW |
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 #include "core/fxcrt/include/fx_ext.h" | 7 #include "core/fxcrt/fx_ext.h" |
8 #include "xfa/fgas/crt/fgas_codepage.h" | 8 #include "xfa/fgas/crt/fgas_codepage.h" |
9 #include "xfa/fgas/crt/fgas_language.h" | 9 #include "xfa/fgas/crt/fgas_language.h" |
10 | 10 |
11 namespace { | 11 namespace { |
12 | 12 |
13 struct FX_STR2CPHASH { | 13 struct FX_STR2CPHASH { |
14 uint32_t uHash; | 14 uint32_t uHash; |
15 uint16_t uCodePage; | 15 uint16_t uCodePage; |
16 }; | 16 }; |
17 | 17 |
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
457 dwCode = (byte & 0x01) << 30; | 457 dwCode = (byte & 0x01) << 30; |
458 } else { | 458 } else { |
459 break; | 459 break; |
460 } | 460 } |
461 iIndex++; | 461 iIndex++; |
462 } | 462 } |
463 *pSrcLen = iSrcNum; | 463 *pSrcLen = iSrcNum; |
464 *pDstLen = iDstNum; | 464 *pDstLen = iDstNum; |
465 return 1; | 465 return 1; |
466 } | 466 } |
OLD | NEW |