| OLD | NEW |
| 1 /* | 1 /* |
| 2 ****************************************************************************** | 2 ****************************************************************************** |
| 3 * | 3 * |
| 4 * Copyright (C) 2002-2011, International Business Machines | 4 * Copyright (C) 2002-2015, International Business Machines |
| 5 * Corporation and others. All Rights Reserved. | 5 * Corporation and others. All Rights Reserved. |
| 6 * | 6 * |
| 7 ****************************************************************************** | 7 ****************************************************************************** |
| 8 * file name: ucnvbocu.cpp | 8 * file name: ucnvbocu.cpp |
| 9 * encoding: US-ASCII | 9 * encoding: US-ASCII |
| 10 * tab size: 8 (not used) | 10 * tab size: 8 (not used) |
| 11 * indentation:4 | 11 * indentation:4 |
| 12 * | 12 * |
| 13 * created on: 2002mar27 | 13 * created on: 2002mar27 |
| 14 * created by: Markus W. Scherer | 14 * created by: Markus W. Scherer |
| 15 * | 15 * |
| 16 * This is an implementation of the Binary Ordered Compression for Unicode, | 16 * This is an implementation of the Binary Ordered Compression for Unicode, |
| 17 * in its MIME-friendly form as defined in http://www.unicode.org/notes/tn6/ | 17 * in its MIME-friendly form as defined in http://www.unicode.org/notes/tn6/ |
| 18 */ | 18 */ |
| 19 | 19 |
| 20 #include "unicode/utypes.h" | 20 #include "unicode/utypes.h" |
| 21 | 21 |
| 22 #if !UCONFIG_NO_CONVERSION && !UCONFIG_NO_NON_HTML5_CONVERSION | 22 #if !UCONFIG_NO_CONVERSION && !UCONFIG_ONLY_HTML_CONVERSION |
| 23 | 23 |
| 24 #include "unicode/ucnv.h" | 24 #include "unicode/ucnv.h" |
| 25 #include "unicode/ucnv_cb.h" | 25 #include "unicode/ucnv_cb.h" |
| 26 #include "unicode/utf16.h" | 26 #include "unicode/utf16.h" |
| 27 #include "putilimp.h" | 27 #include "putilimp.h" |
| 28 #include "ucnv_bld.h" | 28 #include "ucnv_bld.h" |
| 29 #include "ucnv_cnv.h" | 29 #include "ucnv_cnv.h" |
| 30 #include "uassert.h" | 30 #include "uassert.h" |
| 31 | 31 |
| 32 /* BOCU-1 constants and macros ---------------------------------------------- */ | 32 /* BOCU-1 constants and macros ---------------------------------------------- */ |
| (...skipping 1356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1389 FALSE, FALSE, | 1389 FALSE, FALSE, |
| 1390 0, | 1390 0, |
| 1391 0, | 1391 0, |
| 1392 { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } /* reserved */ | 1392 { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } /* reserved */ |
| 1393 }; | 1393 }; |
| 1394 | 1394 |
| 1395 const UConverterSharedData _Bocu1Data= | 1395 const UConverterSharedData _Bocu1Data= |
| 1396 UCNV_IMMUTABLE_SHARED_DATA_INITIALIZER(&_Bocu1StaticData, &_Bocu1Impl); | 1396 UCNV_IMMUTABLE_SHARED_DATA_INITIALIZER(&_Bocu1StaticData, &_Bocu1Impl); |
| 1397 | 1397 |
| 1398 #endif | 1398 #endif |
| OLD | NEW |