• Home
  • Raw
  • Download

Lines Matching refs:trie

142 utrie2_get32(const UTrie2 *trie, UChar32 c);
192 utrie2_enum(const UTrie2 *trie,
240 utrie2_close(UTrie2 *trie);
252 utrie2_set32(UTrie2 *trie, UChar32 c, uint32_t value, UErrorCode *pErrorCode);
268 utrie2_setRange32(UTrie2 *trie,
293 utrie2_freeze(UTrie2 *trie, UTrie2ValueBits valueBits, UErrorCode *pErrorCode);
303 utrie2_isFrozen(const UTrie2 *trie);
324 utrie2_serialize(const UTrie2 *trie,
392 #define UTRIE2_GET16(trie, c) _UTRIE2_GET((trie), index, (trie)->indexLength, (c)) argument
402 #define UTRIE2_GET32(trie, c) _UTRIE2_GET((trie), data32, 0, (c)) argument
414 #define UTRIE2_U16_NEXT16(trie, src, limit, c, result) _UTRIE2_U16_NEXT(trie, index, src, limit, c,… argument
426 #define UTRIE2_U16_NEXT32(trie, src, limit, c, result) _UTRIE2_U16_NEXT(trie, data32, src, limit, c… argument
438 #define UTRIE2_U16_PREV16(trie, start, src, c, result) _UTRIE2_U16_PREV(trie, index, start, src, c,… argument
450 #define UTRIE2_U16_PREV32(trie, start, src, c, result) _UTRIE2_U16_PREV(trie, data32, start, src, c… argument
460 #define UTRIE2_U8_NEXT16(trie, src, limit, result)\ argument
461 _UTRIE2_U8_NEXT(trie, data16, index, src, limit, result)
471 #define UTRIE2_U8_NEXT32(trie, src, limit, result) \ argument
472 _UTRIE2_U8_NEXT(trie, data32, data32, src, limit, result)
482 #define UTRIE2_U8_PREV16(trie, start, src, result) \ argument
483 _UTRIE2_U8_PREV(trie, data16, index, start, src, result)
493 #define UTRIE2_U8_PREV32(trie, start, src, result) \ argument
494 _UTRIE2_U8_PREV(trie, data32, data32, start, src, result)
534 utrie2_get32FromLeadSurrogateCodeUnit(const UTrie2 *trie, UChar32 c);
562 utrie2_enumForLeadSurrogate(const UTrie2 *trie, UChar32 lead,
576 utrie2_set32ForLeadSurrogateCodeUnit(UTrie2 *trie,
589 #define UTRIE2_GET16_FROM_U16_SINGLE_LEAD(trie, c) _UTRIE2_GET_FROM_U16_SINGLE_LEAD((trie), index, … argument
600 #define UTRIE2_GET32_FROM_U16_SINGLE_LEAD(trie, c) _UTRIE2_GET_FROM_U16_SINGLE_LEAD((trie), data32,… argument
609 #define UTRIE2_GET16_FROM_SUPP(trie, c) _UTRIE2_GET_FROM_SUPP((trie), index, c) argument
618 #define UTRIE2_GET32_FROM_SUPP(trie, c) _UTRIE2_GET_FROM_SUPP((trie), data32, c) argument
635 trie(t), codePointStart(p), codePointLimit(p), codePoint(U_SENTINEL) {} in UTrie2StringIterator()
637 const UTrie2 *trie; variable
828 utrie2_internalU8NextIndex(const UTrie2 *trie, UChar32 c,
837 utrie2_internalU8PrevIndex(const UTrie2 *trie, UChar32 c,
872 #define _UTRIE2_INDEX_FROM_CP(trie, asciiOffset, c) \ argument
874 _UTRIE2_INDEX_RAW(0, (trie)->index, c) : \
878 (trie)->index, c) : \
881 (c)>=(trie)->highStart ? \
882 (trie)->highValueIndex : \
883 _UTRIE2_INDEX_FROM_SUPP((trie)->index, c))
886 #define _UTRIE2_GET_FROM_U16_SINGLE_LEAD(trie, data, c) \ argument
887 (trie)->data[_UTRIE2_INDEX_FROM_U16_SINGLE_LEAD((trie)->index, c)]
890 #define _UTRIE2_GET_FROM_SUPP(trie, data, c) \ argument
891 (trie)->data[(c)>=(trie)->highStart ? (trie)->highValueIndex : \
892 _UTRIE2_INDEX_FROM_SUPP((trie)->index, c)]
898 #define _UTRIE2_GET(trie, data, asciiOffset, c) \ argument
899 (trie)->data[_UTRIE2_INDEX_FROM_CP(trie, asciiOffset, c)]
902 #define _UTRIE2_U16_NEXT(trie, data, src, limit, c, result) { \ argument
907 (result)=_UTRIE2_GET_FROM_U16_SINGLE_LEAD(trie, data, c); \
909 (result)=(trie)->data[_UTRIE2_INDEX_FROM_LSCP((trie)->index, c)]; \
913 (result)=_UTRIE2_GET_FROM_SUPP((trie), data, (c)); \
919 #define _UTRIE2_U16_PREV(trie, data, start, src, c, result) { \ argument
924 (result)=(trie)->data[_UTRIE2_INDEX_FROM_BMP((trie)->index, c)]; \
928 (result)=_UTRIE2_GET_FROM_SUPP((trie), data, (c)); \
934 #define _UTRIE2_U8_NEXT(trie, ascii, data, src, limit, result) { \ argument
937 (result)=(trie)->ascii[__lead]; \
945 (result)=(trie)->data[ \
946 (trie)->index[(UTRIE2_UTF8_2B_INDEX_2_OFFSET-0xc0)+__lead]+ \
954 (result)=(trie)->data[ \
955 ((int32_t)((trie)->index[((__lead-0xe0)<<(12-UTRIE2_SHIFT_2))+ \
960 int32_t __index=utrie2_internalU8NextIndex((trie), __lead, (const uint8_t *)(src), \
963 (result)=(trie)->data[__index>>3]; \
969 #define _UTRIE2_U8_PREV(trie, ascii, data, start, src, result) { \ argument
972 (result)=(trie)->ascii[__b]; \
974 int32_t __index=utrie2_internalU8PrevIndex((trie), __b, (const uint8_t *)(start), \
977 (result)=(trie)->data[__index>>3]; \