Home | History | Annotate | Download | only in common

Lines Matching refs:UTrie2

13 *   created on: 2008sep26 (split off from utrie2.c)
19 * This is the second common version of a Unicode trie (hence the name UTrie2).
20 * See utrie2.h for a comparison.
23 * See utrie2.c for the runtime and enumeration code.
31 #include "utrie2.h"
108 U_CAPI UTrie2 * U_EXPORT2
110 UTrie2 *trie;
119 trie=(UTrie2 *)uprv_malloc(sizeof(UTrie2));
130 uprv_memset(trie, 0, sizeof(UTrie2));
277 U_CAPI UTrie2 * U_EXPORT2
278 utrie2_clone(const UTrie2 *other, UErrorCode *pErrorCode) {
279 UTrie2 *trie;
289 trie=(UTrie2 *)uprv_malloc(sizeof(UTrie2));
293 uprv_memcpy(trie, other, sizeof(UTrie2));
322 UTrie2 *trie;
356 utrie2_printLengths(const UTrie2 *trie, const char *which) {
365 U_CAPI UTrie2 * U_EXPORT2
366 utrie2_cloneAsThawed(const UTrie2 *other, UErrorCode *pErrorCode) {
409 U_CAPI UTrie2 * U_EXPORT2
636 utrie2_set32(UTrie2 *trie, UChar32 c, uint32_t value, UErrorCode *pErrorCode) {
648 utrie2_set32ForLeadSurrogateCodeUnit(UTrie2 *trie,
695 utrie2_setRange32(UTrie2 *trie,
1084 printf("compacting UTrie2: count of 32-bit data words %lu->%lu\n",
1166 printf("compacting UTrie2: count of 16-bit index-2 words %lu->%lu\n",
1174 compactTrie(UTrie2 *trie, UErrorCode *pErrorCode) {
1196 printf("UTrie2: highStart U+%04lx highValue 0x%lx initialValue 0x%lx\n",
1214 printf("UTrie2: highStart U+%04lx count of 16-bit index-2 words %lu->%lu\n",
1251 utrie2_freeze(UTrie2 *trie, UTrie2ValueBits valueBits, UErrorCode *pErrorCode) {
1421 utrie2_isFrozen(const UTrie2 *trie) {
1426 utrie2_serialize(UTrie2 *trie,
1450 * This is here to avoid a dependency from utrie2.cpp on utrie.c.
1452 * Otherwise, this should be in utrie2.cpp right after utrie2_swap().