Home
last modified time | relevance | path

Searched refs:pBiDi (Results 1 – 12 of 12) sorted by relevance

/external/icu/icu4c/source/common/
Dubidi.cpp135 UBiDi *pBiDi; in ubidi_openSized() local
146 pBiDi=(UBiDi *)uprv_malloc(sizeof(UBiDi)); in ubidi_openSized()
147 if(pBiDi==NULL) { in ubidi_openSized()
153 uprv_memset(pBiDi, 0, sizeof(UBiDi)); in ubidi_openSized()
157 if( !getInitialDirPropsMemory(pBiDi, maxLength) || in ubidi_openSized()
158 !getInitialLevelsMemory(pBiDi, maxLength) in ubidi_openSized()
163 pBiDi->mayAllocateText=TRUE; in ubidi_openSized()
169 pBiDi->runsSize=sizeof(Run); in ubidi_openSized()
170 } else if(!getInitialRunsMemory(pBiDi, maxRunCount)) { in ubidi_openSized()
174 pBiDi->mayAllocateRuns=TRUE; in ubidi_openSized()
[all …]
Dubidiln.cpp92 setTrailingWSStart(UBiDi *pBiDi) { in setTrailingWSStart() argument
95 const DirProp *dirProps=pBiDi->dirProps; in setTrailingWSStart()
96 UBiDiLevel *levels=pBiDi->levels; in setTrailingWSStart()
97 int32_t start=pBiDi->length; in setTrailingWSStart()
98 UBiDiLevel paraLevel=pBiDi->paraLevel; in setTrailingWSStart()
107 pBiDi->trailingWSStart=start; /* currently == pBiDi->length */ in setTrailingWSStart()
120 pBiDi->trailingWSStart=start; in setTrailingWSStart()
251 ubidi_getLevelAt(const UBiDi *pBiDi, int32_t charIndex) { in ubidi_getLevelAt() argument
253 if(!IS_VALID_PARA_OR_LINE(pBiDi) || charIndex<0 || pBiDi->length<=charIndex) { in ubidi_getLevelAt()
255 } else if(pBiDi->direction!=UBIDI_MIXED || charIndex>=pBiDi->trailingWSStart) { in ubidi_getLevelAt()
[all …]
Dubidiimp.h126 ubidi_getParaLevelAtIndex(const UBiDi *pBiDi, int32_t index);
180 UBiDi *pBiDi; member
219 ubidi_getRuns(UBiDi *pBiDi, UErrorCode *pErrorCode);
447 #define getDirPropsMemory(pBiDi, length) \ argument
448 … ubidi_getMemory((BidiMemoryForAllocation *)&(pBiDi)->dirPropsMemory, &(pBiDi)->dirPropsSize, \
449 (pBiDi)->mayAllocateText, (length))
451 #define getLevelsMemory(pBiDi, length) \ argument
452 ubidi_getMemory((BidiMemoryForAllocation *)&(pBiDi)->levelsMemory, &(pBiDi)->levelsSize, \
453 (pBiDi)->mayAllocateText, (length))
455 #define getRunsMemory(pBiDi, length) \ argument
[all …]
Dubidiwrt.cpp357 ubidi_writeReordered(UBiDi *pBiDi, in ubidi_writeReordered() argument
371 if( pBiDi==NULL || in ubidi_writeReordered()
372 (text=pBiDi->text)==NULL || (length=pBiDi->length)<0 || in ubidi_writeReordered()
382 (dest>=text && dest<text+pBiDi->originalLength))) in ubidi_writeReordered()
393 runCount=ubidi_countRuns(pBiDi, pErrorCode); in ubidi_writeReordered()
406 if(pBiDi->reorderingOptions & UBIDI_OPTION_INSERT_MARKS) { in ubidi_writeReordered()
414 if(pBiDi->reorderingOptions & UBIDI_OPTION_REMOVE_CONTROLS) { in ubidi_writeReordered()
422 if((pBiDi->reorderingMode != UBIDI_REORDER_INVERSE_NUMBERS_AS_L) && in ubidi_writeReordered()
423 (pBiDi->reorderingMode != UBIDI_REORDER_INVERSE_LIKE_DIRECT) && in ubidi_writeReordered()
424 (pBiDi->reorderingMode != UBIDI_REORDER_INVERSE_FOR_NUMBERS_SPECIAL) && in ubidi_writeReordered()
[all …]
/external/icu/libicu/cts_headers/unicode/
Dubidi.h563 ubidi_close(UBiDi *pBiDi);
633 ubidi_setInverse(UBiDi *pBiDi, UBool isInverse);
652 ubidi_isInverse(UBiDi *pBiDi);
675 ubidi_orderParagraphsLTR(UBiDi *pBiDi, UBool orderParagraphsLTR);
689 ubidi_isOrderParagraphsLTR(UBiDi *pBiDi);
893 ubidi_setReorderingMode(UBiDi *pBiDi, UBiDiReorderingMode reorderingMode);
904 ubidi_getReorderingMode(UBiDi *pBiDi);
1049 ubidi_setReorderingOptions(UBiDi *pBiDi, uint32_t reorderingOptions);
1060 ubidi_getReorderingOptions(UBiDi *pBiDi);
1147 ubidi_setContext(UBiDi *pBiDi,
[all …]
/external/icu/icu4c/source/common/unicode/
Dubidi.h563 ubidi_close(UBiDi *pBiDi);
633 ubidi_setInverse(UBiDi *pBiDi, UBool isInverse);
652 ubidi_isInverse(UBiDi *pBiDi);
675 ubidi_orderParagraphsLTR(UBiDi *pBiDi, UBool orderParagraphsLTR);
689 ubidi_isOrderParagraphsLTR(UBiDi *pBiDi);
893 ubidi_setReorderingMode(UBiDi *pBiDi, UBiDiReorderingMode reorderingMode);
904 ubidi_getReorderingMode(UBiDi *pBiDi);
1049 ubidi_setReorderingOptions(UBiDi *pBiDi, uint32_t reorderingOptions);
1060 ubidi_getReorderingOptions(UBiDi *pBiDi);
1147 ubidi_setContext(UBiDi *pBiDi,
[all …]
/external/icu/libandroidicu/include/unicode/
Dubidi.h563 ubidi_close(UBiDi *pBiDi);
633 ubidi_setInverse(UBiDi *pBiDi, UBool isInverse);
652 ubidi_isInverse(UBiDi *pBiDi);
675 ubidi_orderParagraphsLTR(UBiDi *pBiDi, UBool orderParagraphsLTR);
689 ubidi_isOrderParagraphsLTR(UBiDi *pBiDi);
893 ubidi_setReorderingMode(UBiDi *pBiDi, UBiDiReorderingMode reorderingMode);
904 ubidi_getReorderingMode(UBiDi *pBiDi);
1049 ubidi_setReorderingOptions(UBiDi *pBiDi, uint32_t reorderingOptions);
1060 ubidi_getReorderingOptions(UBiDi *pBiDi);
1147 ubidi_setContext(UBiDi *pBiDi,
[all …]
/external/icu/libicu/ndk_headers/unicode/
Dubidi.h567 ubidi_close(UBiDi *pBiDi) __INTRODUCED_IN(31);
639 ubidi_setInverse(UBiDi *pBiDi, UBool isInverse) __INTRODUCED_IN(31);
660 ubidi_isInverse(UBiDi *pBiDi);
683 ubidi_orderParagraphsLTR(UBiDi *pBiDi, UBool orderParagraphsLTR) __INTRODUCED_IN(31);
699 ubidi_isOrderParagraphsLTR(UBiDi *pBiDi) __INTRODUCED_IN(31);
905 ubidi_setReorderingMode(UBiDi *pBiDi, UBiDiReorderingMode reorderingMode) __INTRODUCED_IN(31);
918 ubidi_getReorderingMode(UBiDi *pBiDi) __INTRODUCED_IN(31);
1065 ubidi_setReorderingOptions(UBiDi *pBiDi, uint32_t reorderingOptions) __INTRODUCED_IN(31);
1078 ubidi_getReorderingOptions(UBiDi *pBiDi) __INTRODUCED_IN(31);
1167 ubidi_setContext(UBiDi *pBiDi,
[all …]
/external/icu/libicu/cts_headers/
Dubidiimp.h126 ubidi_getParaLevelAtIndex(const UBiDi *pBiDi, int32_t index);
180 UBiDi *pBiDi; member
219 ubidi_getRuns(UBiDi *pBiDi, UErrorCode *pErrorCode);
447 #define getDirPropsMemory(pBiDi, length) \ argument
448 … ubidi_getMemory((BidiMemoryForAllocation *)&(pBiDi)->dirPropsMemory, &(pBiDi)->dirPropsSize, \
449 (pBiDi)->mayAllocateText, (length))
451 #define getLevelsMemory(pBiDi, length) \ argument
452 ubidi_getMemory((BidiMemoryForAllocation *)&(pBiDi)->levelsMemory, &(pBiDi)->levelsSize, \
453 (pBiDi)->mayAllocateText, (length))
455 #define getRunsMemory(pBiDi, length) \ argument
[all …]
/external/icu/icu4c/source/test/cintltst/
Dcbiditst.c38 static void doTests(UBiDi *pBiDi, UBiDi *pLine, UBool countRunsFirst);
42 static void doTest(UBiDi *pBiDi, int testNumber, const BiDiTestData *test,
45 static void _testReordering(UBiDi *pBiDi, int testNumber);
49 static void _testManyInverseBidi(UBiDi *pBiDi, UBiDiLevel direction);
51 static void _testInverseBidi(UBiDi *pBiDi, const UChar *src, int32_t srcLength,
100 static const char* inverseBasic(UBiDi *pBiDi, const char *src, int32_t srcLen,
102 static UBool assertRoundTrip(UBiDi *pBiDi, int32_t tc, int32_t outIndex,
106 static UBool checkResultLength(UBiDi *pBiDi, const char *srcChars,
110 static UBool checkMaps(UBiDi *pBiDi, int32_t stringIndex, const char *src,
175 UBiDi *pBiDi, *pLine=NULL; in testBidi() local
[all …]
/external/icu/libicu/src/
Dshim.cpp617 void ubidi_close(UBiDi * pBiDi) { in ubidi_close() argument
618 U_ICU_ENTRY_POINT_RENAME(ubidi_close)(pBiDi); in ubidi_close()
620 int32_t ubidi_countParagraphs(UBiDi * pBiDi) { in ubidi_countParagraphs() argument
621 return U_ICU_ENTRY_POINT_RENAME(ubidi_countParagraphs)(pBiDi); in ubidi_countParagraphs()
623 int32_t ubidi_countRuns(UBiDi * pBiDi, UErrorCode * pErrorCode) { in ubidi_countRuns() argument
624 return U_ICU_ENTRY_POINT_RENAME(ubidi_countRuns)(pBiDi, pErrorCode); in ubidi_countRuns()
629 void ubidi_getClassCallback(UBiDi * pBiDi, UBiDiClassCallback ** fn, const void ** context) { in ubidi_getClassCallback() argument
630 U_ICU_ENTRY_POINT_RENAME(ubidi_getClassCallback)(pBiDi, fn, context); in ubidi_getClassCallback()
632 UCharDirection ubidi_getCustomizedClass(UBiDi * pBiDi, UChar32 c) { in ubidi_getCustomizedClass() argument
633 return U_ICU_ENTRY_POINT_RENAME(ubidi_getCustomizedClass)(pBiDi, c); in ubidi_getCustomizedClass()
[all …]
/external/icu/libandroidicu/static_shim/
Dshim.cpp190 void ubidi_close_android(UBiDi * pBiDi) { in ubidi_close_android() argument
191 ubidi_close(pBiDi); in ubidi_close_android()
193 int32_t ubidi_countRuns_android(UBiDi * pBiDi, UErrorCode * pErrorCode) { in ubidi_countRuns_android() argument
194 return ubidi_countRuns(pBiDi, pErrorCode); in ubidi_countRuns_android()
196 int32_t ubidi_getLength_android(const UBiDi * pBiDi) { in ubidi_getLength_android() argument
197 return ubidi_getLength(pBiDi); in ubidi_getLength_android()
199 UBiDiLevel ubidi_getLevelAt_android(const UBiDi * pBiDi, int32_t charIndex) { in ubidi_getLevelAt_android() argument
200 return ubidi_getLevelAt(pBiDi, charIndex); in ubidi_getLevelAt_android()
202 UBiDiLevel ubidi_getParaLevel_android(const UBiDi * pBiDi) { in ubidi_getParaLevel_android() argument
203 return ubidi_getParaLevel(pBiDi); in ubidi_getParaLevel_android()
[all …]