Searched refs:pBiDi (Results 1 – 6 of 6) sorted by relevance
/external/icu/icu4c/source/common/ |
D | ubidi.c | 135 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() 156 pBiDi->bdp=ubidi_getSingleton(); in ubidi_openSized() 160 if( !getInitialDirPropsMemory(pBiDi, maxLength) || in ubidi_openSized() 161 !getInitialLevelsMemory(pBiDi, maxLength) in ubidi_openSized() 166 pBiDi->mayAllocateText=TRUE; in ubidi_openSized() 172 pBiDi->runsSize=sizeof(Run); in ubidi_openSized() 173 } else if(!getInitialRunsMemory(pBiDi, maxRunCount)) { in ubidi_openSized() [all …]
|
D | ubidiln.c | 92 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 …]
|
D | ubidiimp.h | 118 ubidi_getParaLevelAtIndex(const UBiDi *pBiDi, int32_t index); 172 UBiDi *pBiDi; member 211 ubidi_getRuns(UBiDi *pBiDi, UErrorCode *pErrorCode); 433 #define getDirPropsMemory(pBiDi, length) \ argument 434 … ubidi_getMemory((BidiMemoryForAllocation *)&(pBiDi)->dirPropsMemory, &(pBiDi)->dirPropsSize, \ 435 (pBiDi)->mayAllocateText, (length)) 437 #define getLevelsMemory(pBiDi, length) \ argument 438 ubidi_getMemory((BidiMemoryForAllocation *)&(pBiDi)->levelsMemory, &(pBiDi)->levelsSize, \ 439 (pBiDi)->mayAllocateText, (length)) 441 #define getRunsMemory(pBiDi, length) \ argument [all …]
|
D | ubidiwrt.c | 350 ubidi_writeReordered(UBiDi *pBiDi, in ubidi_writeReordered() argument 364 if( pBiDi==NULL || in ubidi_writeReordered() 365 (text=pBiDi->text)==NULL || (length=pBiDi->length)<0 || in ubidi_writeReordered() 375 (dest>=text && dest<text+pBiDi->originalLength))) in ubidi_writeReordered() 386 runCount=ubidi_countRuns(pBiDi, pErrorCode); in ubidi_writeReordered() 399 if(pBiDi->reorderingOptions & UBIDI_OPTION_INSERT_MARKS) { in ubidi_writeReordered() 407 if(pBiDi->reorderingOptions & UBIDI_OPTION_REMOVE_CONTROLS) { in ubidi_writeReordered() 415 if((pBiDi->reorderingMode != UBIDI_REORDER_INVERSE_NUMBERS_AS_L) && in ubidi_writeReordered() 416 (pBiDi->reorderingMode != UBIDI_REORDER_INVERSE_LIKE_DIRECT) && in ubidi_writeReordered() 417 (pBiDi->reorderingMode != UBIDI_REORDER_INVERSE_FOR_NUMBERS_SPECIAL) && in ubidi_writeReordered() [all …]
|
/external/icu/icu4c/source/common/unicode/ |
D | ubidi.h | 554 ubidi_close(UBiDi *pBiDi); 624 ubidi_setInverse(UBiDi *pBiDi, UBool isInverse); 643 ubidi_isInverse(UBiDi *pBiDi); 666 ubidi_orderParagraphsLTR(UBiDi *pBiDi, UBool orderParagraphsLTR); 680 ubidi_isOrderParagraphsLTR(UBiDi *pBiDi); 884 ubidi_setReorderingMode(UBiDi *pBiDi, UBiDiReorderingMode reorderingMode); 895 ubidi_getReorderingMode(UBiDi *pBiDi); 1040 ubidi_setReorderingOptions(UBiDi *pBiDi, uint32_t reorderingOptions); 1051 ubidi_getReorderingOptions(UBiDi *pBiDi); 1138 ubidi_setContext(UBiDi *pBiDi, [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | cbiditst.c | 38 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, 99 static const char* inverseBasic(UBiDi *pBiDi, const char *src, int32_t srcLen, 101 static UBool assertRoundTrip(UBiDi *pBiDi, int32_t tc, int32_t outIndex, 105 static UBool checkResultLength(UBiDi *pBiDi, const char *srcChars, 109 static UBool checkMaps(UBiDi *pBiDi, int32_t stringIndex, const char *src, 173 UBiDi *pBiDi, *pLine=NULL; in testBidi() local [all …]
|