OLD | NEW |
1 // Copyright (C) 2016 and later: Unicode, Inc. and others. | 1 // Copyright (C) 2016 and later: Unicode, Inc. and others. |
2 // License & terms of use: http://www.unicode.org/copyright.html | 2 // License & terms of use: http://www.unicode.org/copyright.html |
3 /* | 3 /* |
4 ********************************************************************** | 4 ********************************************************************** |
5 * Copyright (C) 2002-2016, International Business Machines | 5 * Copyright (C) 2002-2016, International Business Machines |
6 * Corporation and others. All Rights Reserved. | 6 * Corporation and others. All Rights Reserved. |
7 ********************************************************************** | 7 ********************************************************************** |
8 * | 8 * |
9 * File gendict.cpp | 9 * File gendict.cpp |
10 */ | 10 */ |
11 | 11 |
12 #include "unicode/utypes.h" | 12 #include "unicode/utypes.h" |
13 #include "unicode/uchar.h" | 13 #include "unicode/uchar.h" |
14 #include "unicode/ucnv.h" | 14 #include "unicode/ucnv.h" |
15 #include "unicode/uniset.h" | 15 #include "unicode/uniset.h" |
16 #include "unicode/unistr.h" | 16 #include "unicode/unistr.h" |
17 #include "unicode/uclean.h" | 17 #include "unicode/uclean.h" |
18 #include "unicode/udata.h" | 18 #include "unicode/udata.h" |
19 #include "unicode/putil.h" | 19 #include "unicode/putil.h" |
20 #include "unicode/ucharstriebuilder.h" | 20 #include "unicode/ucharstriebuilder.h" |
21 #include "unicode/bytestriebuilder.h" | 21 #include "unicode/bytestriebuilder.h" |
22 #include "unicode/ucharstrie.h" | 22 #include "unicode/ucharstrie.h" |
23 #include "unicode/bytestrie.h" | 23 #include "unicode/bytestrie.h" |
24 #include "unicode/ucnv.h" | 24 #include "unicode/ucnv.h" |
| 25 #include "unicode/ustring.h" |
25 #include "unicode/utf16.h" | 26 #include "unicode/utf16.h" |
26 | 27 |
27 #include "charstr.h" | 28 #include "charstr.h" |
28 #include "dictionarydata.h" | 29 #include "dictionarydata.h" |
29 #include "uoptions.h" | 30 #include "uoptions.h" |
30 #include "unewdata.h" | 31 #include "unewdata.h" |
31 #include "cmemory.h" | 32 #include "cmemory.h" |
32 #include "uassert.h" | 33 #include "uassert.h" |
33 #include "ucbuf.h" | 34 #include "ucbuf.h" |
34 #include "toolutil.h" | 35 #include "toolutil.h" |
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
470 char tmp[1024]; | 471 char tmp[1024]; |
471 s.extract(0, s.length(), tmp, 1024); | 472 s.extract(0, s.length(), tmp, 1024); |
472 printf("%s -> %i\n", tmp, val); | 473 printf("%s -> %i\n", tmp, val); |
473 } | 474 } |
474 } | 475 } |
475 #endif | 476 #endif |
476 | 477 |
477 return 0; | 478 return 0; |
478 #endif /* #if !UCONFIG_NO_BREAK_ITERATION */ | 479 #endif /* #if !UCONFIG_NO_BREAK_ITERATION */ |
479 } | 480 } |
OLD | NEW |