Lines Matching refs:src
373 * UTF-16: Get the next code point (UChar32 c, out), post-increment src,
377 * @param src (const UChar *, in/out) the source text pointer
382 #define UTRIE2_U16_NEXT16(trie, src, limit, c, result) _UTRIE2_U16_NEXT(trie, index, src, limit, c, result)
385 * UTF-16: Get the next code point (UChar32 c, out), post-increment src,
389 * @param src (const UChar *, in/out) the source text pointer
394 #define UTRIE2_U16_NEXT32(trie, src, limit, c, result) _UTRIE2_U16_NEXT(trie, data32, src, limit, c, result)
397 * UTF-16: Get the previous code point (UChar32 c, out), pre-decrement src,
402 * @param src (const UChar *, in/out) the source text pointer
406 #define UTRIE2_U16_PREV16(trie, start, src, c, result) _UTRIE2_U16_PREV(trie, index, start, src, c, result)
409 * UTF-16: Get the previous code point (UChar32 c, out), pre-decrement src,
414 * @param src (const UChar *, in/out) the source text pointer
418 #define UTRIE2_U16_PREV32(trie, start, src, c, result) _UTRIE2_U16_PREV(trie, data32, start, src, c, result)
421 * UTF-8: Post-increment src and get a 16-bit value from the trie.
424 * @param src (const char *, in/out) the source text pointer
428 #define UTRIE2_U8_NEXT16(trie, src, limit, result)\
429 _UTRIE2_U8_NEXT(trie, data16, index, src, limit, result)
432 * UTF-8: Post-increment src and get a 32-bit value from the trie.
435 * @param src (const char *, in/out) the source text pointer
439 #define UTRIE2_U8_NEXT32(trie, src, limit, result) \
440 _UTRIE2_U8_NEXT(trie, data32, data32, src, limit, result)
443 * UTF-8: Pre-decrement src and get a 16-bit value from the trie.
447 * @param src (const char *, in/out) the source text pointer
450 #define UTRIE2_U8_PREV16(trie, start, src, result) \
451 _UTRIE2_U8_PREV(trie, data16, index, start, src, result)
454 * UTF-8: Pre-decrement src and get a 32-bit value from the trie.
458 * @param src (const char *, in/out) the source text pointer
461 #define UTRIE2_U8_PREV32(trie, start, src, result) \
462 _UTRIE2_U8_PREV(trie, data32, data32, start, src, result)
801 const uint8_t *src, const uint8_t *limit);
810 const uint8_t *start, const uint8_t *src);
874 #define _UTRIE2_U16_NEXT(trie, data, src, limit, c, result) UPRV_BLOCK_MACRO_BEGIN { \
877 (c)=*(src)++; \
880 } else if((src)==(limit) || !U16_IS_TRAIL(__c2=*(src))) { \
883 ++(src); \
891 #define _UTRIE2_U16_PREV(trie, data, start, src, c, result) UPRV_BLOCK_MACRO_BEGIN { \
894 (c)=*--(src); \
895 if(!U16_IS_TRAIL(c) || (src)==(start) || !U16_IS_LEAD(__c2=*((src)-1))) { \
898 --(src); \
906 #define _UTRIE2_U8_NEXT(trie, ascii, data, src, limit, result) UPRV_BLOCK_MACRO_BEGIN { \
907 uint8_t __lead=(uint8_t)*(src)++; \
913 0xe0<=__lead && __lead<0xf0 && ((src)+1)<(limit) && \
914 U8_IS_VALID_LEAD3_AND_T1(__lead, __t1=(uint8_t)*(src)) && \
915 (__t2=(uint8_t)(*((src)+1)-0x80))<= 0x3f \
917 (src)+=2; \
924 __lead<0xe0 && __lead>=0xc2 && (src)<(limit) && \
925 (__t1=(uint8_t)(*(src)-0x80))<=0x3f \
927 ++(src); \
932 int32_t __index=utrie2_internalU8NextIndex((trie), __lead, (const uint8_t *)(src), \
934 (src)+=__index&7; \
941 #define _UTRIE2_U8_PREV(trie, ascii, data, start, src, result) UPRV_BLOCK_MACRO_BEGIN { \
942 uint8_t __b=(uint8_t)*--(src); \
947 (const uint8_t *)(src)); \
948 (src)-=__index&7; \