Lines Matching refs:uchar
21 #include "unicode/uchar.h"
35 * For handling surrogate pairs, where two UChar's form one "abstract" (or UTF-32)
36 * character according to UTF-16, the second UChar gets the directional property of
42 * following character (UChar), which results in surrogate pairs getting the
341 ubidi_getBaseDirection(const UChar *text,
345 UChar32 uchar;
358 U16_NEXT(text, i, length, uchar);
359 dir = u_charDirection(uchar);
377 const UChar *text=pBiDi->prologue;
380 UChar32 uchar;
384 U16_NEXT(text, i, length, uchar);
385 dirProp=(DirProp)ubidi_getCustomizedClass(pBiDi, uchar);
430 const UChar *text=pBiDi->text;
435 UChar32 uchar;
498 U16_NEXT(text, i, originalLength, uchar);
499 flags|=DIRPROP_FLAG(dirProp=(DirProp)ubidi_getCustomizedClass(pBiDi, uchar));
501 if(uchar>0xffff) { /* set the lead surrogate's property to BN */
505 if(removeBiDiControls && IS_BIDI_CONTROL_CHAR(uchar))
570 if(i<originalLength && uchar==CR && text[i]==LF) /* do nothing on the CR */
743 bracketAddOpening(BracketData *bd, UChar match, int32_t position) {
880 UChar c, match;
1071 const UChar *text=pBiDi->text;
2046 const UChar *text=pBiDi->prologue;
2049 UChar32 uchar;
2053 U16_PREV(text, 0, i, uchar);
2054 dirProp=(DirProp)ubidi_getCustomizedClass(pBiDi, uchar);
2074 const UChar *text=pBiDi->epilogue;
2077 UChar32 uchar;
2081 U16_NEXT(text, i, length, uchar);
2082 dirProp=(DirProp)ubidi_getCustomizedClass(pBiDi, uchar);
2305 const UChar *prologue, int32_t proLength,
2306 const UChar *epilogue, int32_t epiLength,
2341 setParaRunsOnly(UBiDi *pBiDi, const UChar *text, int32_t length,
2345 UChar *visualText;
2364 runsOnlyMemory=uprv_malloc(length*(sizeof(int32_t)+sizeof(UChar)+sizeof(UBiDiLevel)));
2370 visualText=(UChar *)&visualMap[length];
2530 ubidi_setPara(UBiDi *pBiDi, const UChar *text, int32_t length,
2859 U_CAPI const UChar * U_EXPORT2