Home
last modified time | relevance | path

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

/third_party/node/deps/icu-small/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 …]
/third_party/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 …]
/third_party/skia/third_party/externals/icu/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 …]
/third_party/flutter/skia/third_party/externals/icu/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.h118 ubidi_getParaLevelAtIndex(const UBiDi *pBiDi, int32_t index);
172 UBiDi *pBiDi; member
211 ubidi_getRuns(UBiDi *pBiDi, UErrorCode *pErrorCode);
431 #define getDirPropsMemory(pBiDi, length) \ argument
432 … ubidi_getMemory((BidiMemoryForAllocation *)&(pBiDi)->dirPropsMemory, &(pBiDi)->dirPropsSize, \
433 (pBiDi)->mayAllocateText, (length))
435 #define getLevelsMemory(pBiDi, length) \ argument
436 ubidi_getMemory((BidiMemoryForAllocation *)&(pBiDi)->levelsMemory, &(pBiDi)->levelsSize, \
437 (pBiDi)->mayAllocateText, (length))
439 #define getRunsMemory(pBiDi, length) \ argument
[all …]
Dubidiwrt.cpp350 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 …]
/third_party/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 …]
/third_party/flutter/skia/third_party/externals/icu/source/common/unicode/
Dubidi.h560 ubidi_close(UBiDi *pBiDi);
630 ubidi_setInverse(UBiDi *pBiDi, UBool isInverse);
649 ubidi_isInverse(UBiDi *pBiDi);
672 ubidi_orderParagraphsLTR(UBiDi *pBiDi, UBool orderParagraphsLTR);
686 ubidi_isOrderParagraphsLTR(UBiDi *pBiDi);
890 ubidi_setReorderingMode(UBiDi *pBiDi, UBiDiReorderingMode reorderingMode);
901 ubidi_getReorderingMode(UBiDi *pBiDi);
1046 ubidi_setReorderingOptions(UBiDi *pBiDi, uint32_t reorderingOptions);
1057 ubidi_getReorderingOptions(UBiDi *pBiDi);
1144 ubidi_setContext(UBiDi *pBiDi,
[all …]
/third_party/node/deps/icu-small/source/common/unicode/
Dubidi.h564 ubidi_close(UBiDi *pBiDi);
634 ubidi_setInverse(UBiDi *pBiDi, UBool isInverse);
653 ubidi_isInverse(UBiDi *pBiDi);
676 ubidi_orderParagraphsLTR(UBiDi *pBiDi, UBool orderParagraphsLTR);
690 ubidi_isOrderParagraphsLTR(UBiDi *pBiDi);
894 ubidi_setReorderingMode(UBiDi *pBiDi, UBiDiReorderingMode reorderingMode);
905 ubidi_getReorderingMode(UBiDi *pBiDi);
1050 ubidi_setReorderingOptions(UBiDi *pBiDi, uint32_t reorderingOptions);
1061 ubidi_getReorderingOptions(UBiDi *pBiDi);
1148 ubidi_setContext(UBiDi *pBiDi,
[all …]
/third_party/skia/third_party/externals/icu/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 …]
/third_party/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 …]
/third_party/icu/docs/userguide/dev/
Dcodingguidelines.md54 ubidi_getLevels(UBiDi *pBiDi, UErrorCode *pErrorCode) {
59 } else if(pBiDi==NULL || (length=pBiDi->length)<=0) {
1271 ubidi_close(UBiDi *pBiDi);