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 "xfa/src/fgas/crt/fgas_algorithm.h" | 7 #include "xfa/fgas/crt/fgas_algorithm.h" |
8 | 8 |
9 #include "core/include/fxcrt/fx_basic.h" | 9 #include "core/include/fxcrt/fx_basic.h" |
10 | 10 |
11 #ifdef __cplusplus | 11 #ifdef __cplusplus |
12 extern "C" { | 12 extern "C" { |
13 #endif | 13 #endif |
14 | 14 |
15 static const FX_CHAR g_FXBase64EncoderMap[64] = { | 15 static const FX_CHAR g_FXBase64EncoderMap[64] = { |
16 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', | 16 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', |
17 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', | 17 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', |
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 break; | 297 break; |
298 } | 298 } |
299 } | 299 } |
300 pStr++; | 300 pStr++; |
301 } | 301 } |
302 return pieces.GetSize(); | 302 return pieces.GetSize(); |
303 } | 303 } |
304 #ifdef __cplusplus | 304 #ifdef __cplusplus |
305 } | 305 } |
306 #endif | 306 #endif |
OLD | NEW |