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

/external/icu/icu4c/source/common/
H A Dubidi.c133 UBiDi *pBiDi; local
144 pBiDi=(UBiDi *)uprv_malloc(sizeof(UBiDi));
145 if(pBiDi==NULL) {
151 uprv_memset(pBiDi, 0, sizeof(UBiDi));
154 pBiDi->bdp=ubidi_getSingleton();
158 if( !getInitialDirPropsMemory(pBiDi, maxLength) ||
159 !getInitialLevelsMemory(pBiDi, maxLength)
164 pBiDi->mayAllocateText=TRUE;
170 pBiDi->runsSize=sizeof(Run);
171 } else if(!getInitialRunsMemory(pBiDi, maxRunCoun
239 ubidi_close(UBiDi *pBiDi) argument
271 ubidi_setInverse(UBiDi *pBiDi, UBool isInverse) argument
280 ubidi_isInverse(UBiDi *pBiDi) argument
304 ubidi_setReorderingMode(UBiDi *pBiDi, UBiDiReorderingMode reorderingMode) argument
313 ubidi_getReorderingMode(UBiDi *pBiDi) argument
322 ubidi_setReorderingOptions(UBiDi *pBiDi, uint32_t reorderingOptions) argument
332 ubidi_getReorderingOptions(UBiDi *pBiDi) argument
376 firstL_R_AL(UBiDi *pBiDi) argument
403 checkParaCount(UBiDi *pBiDi) argument
429 getDirProps(UBiDi *pBiDi) argument
645 ubidi_getParaLevelAtIndex(const UBiDi *pBiDi, int32_t pindex) argument
672 bracketInit(UBiDi *pBiDi, BracketData *bd) argument
747 UBiDi *pBiDi=bd->pBiDi; local
1004 directionFromFlags(UBiDi *pBiDi) argument
1068 resolveExplicitLevels(UBiDi *pBiDi, UErrorCode *pErrorCode) argument
1342 checkExplicitLevels(UBiDi *pBiDi, UErrorCode *pErrorCode) argument
1762 addPoint(UBiDi *pBiDi, int32_t pos, int32_t flag) argument
1802 setLevelsOutsideIsolates(UBiDi *pBiDi, int32_t start, int32_t limit, UBiDiLevel level) argument
1834 processPropertySeq(UBiDi *pBiDi, LevState *pLevState, uint8_t _prop, int32_t start, int32_t limit) argument
2045 lastL_R_AL(UBiDi *pBiDi) argument
2073 firstL_R_AL_EN_AN(UBiDi *pBiDi) argument
2100 resolveImplicitLevels(UBiDi *pBiDi, int32_t start, int32_t limit, DirProp sor, DirProp eor) argument
2262 adjustWSLevels(UBiDi *pBiDi) argument
2301 ubidi_setContext(UBiDi *pBiDi, const UChar *prologue, int32_t proLength, const UChar *epilogue, int32_t epiLength, UErrorCode *pErrorCode) argument
2328 setParaSuccess(UBiDi *pBiDi) argument
2338 setParaRunsOnly(UBiDi *pBiDi, const UChar *text, int32_t length, UBiDiLevel paraLevel, UErrorCode *pErrorCode) argument
2526 ubidi_setPara(UBiDi *pBiDi, const UChar *text, int32_t length, UBiDiLevel paraLevel, UBiDiLevel *embeddingLevels, UErrorCode *pErrorCode) argument
2837 ubidi_orderParagraphsLTR(UBiDi *pBiDi, UBool orderParagraphsLTR) argument
2844 ubidi_isOrderParagraphsLTR(UBiDi *pBiDi) argument
2853 ubidi_getDirection(const UBiDi *pBiDi) argument
2862 ubidi_getText(const UBiDi *pBiDi) argument
2871 ubidi_getLength(const UBiDi *pBiDi) argument
2880 ubidi_getProcessedLength(const UBiDi *pBiDi) argument
2889 ubidi_getResultLength(const UBiDi *pBiDi) argument
2900 ubidi_getParaLevel(const UBiDi *pBiDi) argument
2909 ubidi_countParagraphs(UBiDi *pBiDi) argument
2918 ubidi_getParagraphByIndex(const UBiDi *pBiDi, int32_t paraIndex, int32_t *pParaStart, int32_t *pParaLimit, UBiDiLevel *pParaLevel, UErrorCode *pErrorCode) argument
2946 ubidi_getParagraph(const UBiDi *pBiDi, int32_t charIndex, int32_t *pParaStart, int32_t *pParaLimit, UBiDiLevel *pParaLevel, UErrorCode *pErrorCode) argument
2964 ubidi_setClassCallback(UBiDi *pBiDi, UBiDiClassCallback *newFn, const void *newContext, UBiDiClassCallback **oldFn, const void **oldContext, UErrorCode *pErrorCode) argument
2986 ubidi_getClassCallback(UBiDi *pBiDi, UBiDiClassCallback **fn, const void **context) argument
3002 ubidi_getCustomizedClass(UBiDi *pBiDi, UChar32 c) argument
[all...]
H A Dubidiln.c90 * This function is called only from ubidi_setLine(), so pBiDi->paraLevel is
94 setTrailingWSStart(UBiDi *pBiDi) { argument
95 /* pBiDi->direction!=UBIDI_MIXED */
97 const DirProp *dirProps=pBiDi->dirProps;
98 UBiDiLevel *levels=pBiDi->levels;
99 int32_t start=pBiDi->length;
100 UBiDiLevel paraLevel=pBiDi->paraLevel;
109 pBiDi->trailingWSStart=start; /* currently == pBiDi->length */
122 pBiDi
253 ubidi_getLevelAt(const UBiDi *pBiDi, int32_t charIndex) argument
265 ubidi_getLevels(UBiDi *pBiDi, UErrorCode *pErrorCode) argument
307 ubidi_getLogicalRun(const UBiDi *pBiDi, int32_t logicalPosition, int32_t *pLogicalLimit, UBiDiLevel *pLevel) argument
354 ubidi_countRuns(UBiDi *pBiDi, UErrorCode *pErrorCode) argument
365 ubidi_getVisualRun(UBiDi *pBiDi, int32_t runIndex, int32_t *pLogicalStart, int32_t *pLength) argument
394 getSingleRun(UBiDi *pBiDi, UBiDiLevel level) argument
439 reorderLine(UBiDi *pBiDi, UBiDiLevel minLevel, UBiDiLevel maxLevel) argument
522 getRunFromLogicalIndex(UBiDi *pBiDi, int32_t logicalIndex, UErrorCode *pErrorCode) argument
552 ubidi_getRuns(UBiDi *pBiDi, UErrorCode *pErrorCode) argument
879 ubidi_getVisualIndex(UBiDi *pBiDi, int32_t logicalIndex, UErrorCode *pErrorCode) argument
989 ubidi_getLogicalIndex(UBiDi *pBiDi, int32_t visualIndex, UErrorCode *pErrorCode) argument
1114 ubidi_getLogicalMap(UBiDi *pBiDi, int32_t *indexMap, UErrorCode *pErrorCode) argument
1215 ubidi_getVisualMap(UBiDi *pBiDi, int32_t *indexMap, UErrorCode *pErrorCode) argument
[all...]
H A Dubidiimp.h118 ubidi_getParaLevelAtIndex(const UBiDi *pBiDi, int32_t index);
172 UBiDi *pBiDi; member in struct:BracketData
211 ubidi_getRuns(UBiDi *pBiDi, UErrorCode *pErrorCode);
433 #define getDirPropsMemory(pBiDi, length) \
434 ubidi_getMemory((BidiMemoryForAllocation *)&(pBiDi)->dirPropsMemory, &(pBiDi)->dirPropsSize, \
435 (pBiDi)->mayAllocateText, (length))
437 #define getLevelsMemory(pBiDi, length) \
438 ubidi_getMemory((BidiMemoryForAllocation *)&(pBiDi)->levelsMemory, &(pBiDi)
[all...]
H A Dubidiwrt.c353 ubidi_writeReordered(UBiDi *pBiDi, argument
367 if( pBiDi==NULL ||
368 (text=pBiDi->text)==NULL || (length=pBiDi->length)<0 ||
378 (dest>=text && dest<text+pBiDi->originalLength)))
389 runCount=ubidi_countRuns(pBiDi, pErrorCode);
402 if(pBiDi->reorderingOptions & UBIDI_OPTION_INSERT_MARKS) {
410 if(pBiDi->reorderingOptions & UBIDI_OPTION_REMOVE_CONTROLS) {
418 if((pBiDi->reorderingMode != UBIDI_REORDER_INVERSE_NUMBERS_AS_L) &&
419 (pBiDi
[all...]
/external/chromium_org/third_party/icu/source/common/
H A Dubidi.c133 UBiDi *pBiDi; local
144 pBiDi=(UBiDi *)uprv_malloc(sizeof(UBiDi));
145 if(pBiDi==NULL) {
151 uprv_memset(pBiDi, 0, sizeof(UBiDi));
154 pBiDi->bdp=ubidi_getSingleton();
158 if( !getInitialDirPropsMemory(pBiDi, maxLength) ||
159 !getInitialLevelsMemory(pBiDi, maxLength)
164 pBiDi->mayAllocateText=TRUE;
170 pBiDi->runsSize=sizeof(Run);
171 } else if(!getInitialRunsMemory(pBiDi, maxRunCoun
239 ubidi_close(UBiDi *pBiDi) argument
271 ubidi_setInverse(UBiDi *pBiDi, UBool isInverse) argument
280 ubidi_isInverse(UBiDi *pBiDi) argument
304 ubidi_setReorderingMode(UBiDi *pBiDi, UBiDiReorderingMode reorderingMode) argument
313 ubidi_getReorderingMode(UBiDi *pBiDi) argument
322 ubidi_setReorderingOptions(UBiDi *pBiDi, uint32_t reorderingOptions) argument
332 ubidi_getReorderingOptions(UBiDi *pBiDi) argument
376 firstL_R_AL(UBiDi *pBiDi) argument
403 checkParaCount(UBiDi *pBiDi) argument
426 getDirProps(UBiDi *pBiDi) argument
637 ubidi_getParaLevelAtIndex(const UBiDi *pBiDi, int32_t pindex) argument
664 bracketInit(UBiDi *pBiDi, BracketData *bd) argument
736 UBiDi *pBiDi=bd->pBiDi; local
932 directionFromFlags(UBiDi *pBiDi) argument
993 resolveExplicitLevels(UBiDi *pBiDi, UErrorCode *pErrorCode) argument
1268 checkExplicitLevels(UBiDi *pBiDi, UErrorCode *pErrorCode) argument
1689 addPoint(UBiDi *pBiDi, int32_t pos, int32_t flag) argument
1744 processPropertySeq(UBiDi *pBiDi, LevState *pLevState, uint8_t _prop, int32_t start, int32_t limit) argument
1955 lastL_R_AL(UBiDi *pBiDi) argument
1983 firstL_R_AL_EN_AN(UBiDi *pBiDi) argument
2010 resolveImplicitLevels(UBiDi *pBiDi, int32_t start, int32_t limit, DirProp sor, DirProp eor) argument
2168 adjustWSLevels(UBiDi *pBiDi) argument
2207 ubidi_setContext(UBiDi *pBiDi, const UChar *prologue, int32_t proLength, const UChar *epilogue, int32_t epiLength, UErrorCode *pErrorCode) argument
2234 setParaSuccess(UBiDi *pBiDi) argument
2244 setParaRunsOnly(UBiDi *pBiDi, const UChar *text, int32_t length, UBiDiLevel paraLevel, UErrorCode *pErrorCode) argument
2432 ubidi_setPara(UBiDi *pBiDi, const UChar *text, int32_t length, UBiDiLevel paraLevel, UBiDiLevel *embeddingLevels, UErrorCode *pErrorCode) argument
2739 ubidi_orderParagraphsLTR(UBiDi *pBiDi, UBool orderParagraphsLTR) argument
2746 ubidi_isOrderParagraphsLTR(UBiDi *pBiDi) argument
2755 ubidi_getDirection(const UBiDi *pBiDi) argument
2764 ubidi_getText(const UBiDi *pBiDi) argument
2773 ubidi_getLength(const UBiDi *pBiDi) argument
2782 ubidi_getProcessedLength(const UBiDi *pBiDi) argument
2791 ubidi_getResultLength(const UBiDi *pBiDi) argument
2802 ubidi_getParaLevel(const UBiDi *pBiDi) argument
2811 ubidi_countParagraphs(UBiDi *pBiDi) argument
2820 ubidi_getParagraphByIndex(const UBiDi *pBiDi, int32_t paraIndex, int32_t *pParaStart, int32_t *pParaLimit, UBiDiLevel *pParaLevel, UErrorCode *pErrorCode) argument
2848 ubidi_getParagraph(const UBiDi *pBiDi, int32_t charIndex, int32_t *pParaStart, int32_t *pParaLimit, UBiDiLevel *pParaLevel, UErrorCode *pErrorCode) argument
2866 ubidi_setClassCallback(UBiDi *pBiDi, UBiDiClassCallback *newFn, const void *newContext, UBiDiClassCallback **oldFn, const void **oldContext, UErrorCode *pErrorCode) argument
2888 ubidi_getClassCallback(UBiDi *pBiDi, UBiDiClassCallback **fn, const void **context) argument
2904 ubidi_getCustomizedClass(UBiDi *pBiDi, UChar32 c) argument
[all...]
H A Dubidiln.c90 * This function is called only from ubidi_setLine(), so pBiDi->paraLevel is
94 setTrailingWSStart(UBiDi *pBiDi) { argument
95 /* pBiDi->direction!=UBIDI_MIXED */
97 const DirProp *dirProps=pBiDi->dirProps;
98 UBiDiLevel *levels=pBiDi->levels;
99 int32_t start=pBiDi->length;
100 UBiDiLevel paraLevel=pBiDi->paraLevel;
109 pBiDi->trailingWSStart=start; /* currently == pBiDi->length */
122 pBiDi
253 ubidi_getLevelAt(const UBiDi *pBiDi, int32_t charIndex) argument
265 ubidi_getLevels(UBiDi *pBiDi, UErrorCode *pErrorCode) argument
307 ubidi_getLogicalRun(const UBiDi *pBiDi, int32_t logicalPosition, int32_t *pLogicalLimit, UBiDiLevel *pLevel) argument
354 ubidi_countRuns(UBiDi *pBiDi, UErrorCode *pErrorCode) argument
365 ubidi_getVisualRun(UBiDi *pBiDi, int32_t runIndex, int32_t *pLogicalStart, int32_t *pLength) argument
394 getSingleRun(UBiDi *pBiDi, UBiDiLevel level) argument
439 reorderLine(UBiDi *pBiDi, UBiDiLevel minLevel, UBiDiLevel maxLevel) argument
522 getRunFromLogicalIndex(UBiDi *pBiDi, int32_t logicalIndex, UErrorCode *pErrorCode) argument
552 ubidi_getRuns(UBiDi *pBiDi, UErrorCode *pErrorCode) argument
879 ubidi_getVisualIndex(UBiDi *pBiDi, int32_t logicalIndex, UErrorCode *pErrorCode) argument
989 ubidi_getLogicalIndex(UBiDi *pBiDi, int32_t visualIndex, UErrorCode *pErrorCode) argument
1114 ubidi_getLogicalMap(UBiDi *pBiDi, int32_t *indexMap, UErrorCode *pErrorCode) argument
1215 ubidi_getVisualMap(UBiDi *pBiDi, int32_t *indexMap, UErrorCode *pErrorCode) argument
[all...]
H A Dubidiimp.h127 ubidi_getParaLevelAtIndex(const UBiDi *pBiDi, int32_t index);
182 UBiDi *pBiDi; member in struct:BracketData
220 ubidi_getRuns(UBiDi *pBiDi, UErrorCode *pErrorCode);
442 #define getDirPropsMemory(pBiDi, length) \
443 ubidi_getMemory((BidiMemoryForAllocation *)&(pBiDi)->dirPropsMemory, &(pBiDi)->dirPropsSize, \
444 (pBiDi)->mayAllocateText, (length))
446 #define getLevelsMemory(pBiDi, length) \
447 ubidi_getMemory((BidiMemoryForAllocation *)&(pBiDi)->levelsMemory, &(pBiDi)
[all...]
H A Dubidiwrt.c353 ubidi_writeReordered(UBiDi *pBiDi, argument
367 if( pBiDi==NULL ||
368 (text=pBiDi->text)==NULL || (length=pBiDi->length)<0 ||
378 (dest>=text && dest<text+pBiDi->originalLength)))
389 runCount=ubidi_countRuns(pBiDi, pErrorCode);
402 if(pBiDi->reorderingOptions & UBIDI_OPTION_INSERT_MARKS) {
410 if(pBiDi->reorderingOptions & UBIDI_OPTION_REMOVE_CONTROLS) {
418 if((pBiDi->reorderingMode != UBIDI_REORDER_INVERSE_NUMBERS_AS_L) &&
419 (pBiDi
[all...]
/external/chromium_org/third_party/icu/source/common/unicode/
H A Dubidi.h545 * @param pBiDi is a <code>UBiDi</code> object.
552 ubidi_close(UBiDi *pBiDi);
612 * @param pBiDi is a <code>UBiDi</code> object.
622 ubidi_setInverse(UBiDi *pBiDi, UBool isInverse);
631 * @param pBiDi is a <code>UBiDi</code> object.
641 ubidi_isInverse(UBiDi *pBiDi);
655 * @param pBiDi is a <code>UBiDi</code> object.
664 ubidi_orderParagraphsLTR(UBiDi *pBiDi, UBool orderParagraphsLTR);
670 * @param pBiDi is a <code>UBiDi</code> object.
678 ubidi_isOrderParagraphsLTR(UBiDi *pBiDi);
[all...]
/external/icu/icu4c/source/common/unicode/
H A Dubidi.h545 * @param pBiDi is a <code>UBiDi</code> object.
552 ubidi_close(UBiDi *pBiDi);
612 * @param pBiDi is a <code>UBiDi</code> object.
622 ubidi_setInverse(UBiDi *pBiDi, UBool isInverse);
631 * @param pBiDi is a <code>UBiDi</code> object.
641 ubidi_isInverse(UBiDi *pBiDi);
655 * @param pBiDi is a <code>UBiDi</code> object.
664 ubidi_orderParagraphsLTR(UBiDi *pBiDi, UBool orderParagraphsLTR);
670 * @param pBiDi is a <code>UBiDi</code> object.
678 ubidi_isOrderParagraphsLTR(UBiDi *pBiDi);
[all...]
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dcbiditst.c37 static void doTests(UBiDi *pBiDi, UBiDi *pLine, UBool countRunsFirst);
41 static void doTest(UBiDi *pBiDi, int testNumber, const BiDiTestData *test,
44 static void _testReordering(UBiDi *pBiDi, int testNumber);
48 static void _testManyInverseBidi(UBiDi *pBiDi, UBiDiLevel direction);
50 static void _testInverseBidi(UBiDi *pBiDi, const UChar *src, int32_t srcLength,
94 static const char* inverseBasic(UBiDi *pBiDi, const char *src, int32_t srcLen,
96 static UBool assertRoundTrip(UBiDi *pBiDi, int32_t tc, int32_t outIndex,
100 static UBool checkResultLength(UBiDi *pBiDi, const char *srcChars,
104 static UBool checkMaps(UBiDi *pBiDi, int32_t stringIndex, const char *src,
167 UBiDi *pBiDi, *pLin local
197 doTests(UBiDi *pBiDi, UBiDi *pLine, UBool countRunsFirst) argument
1029 doTest(UBiDi *pBiDi, int testNumber, const BiDiTestData *test, int32_t lineStart, UBool countRunsFirst) argument
1137 _testReordering(UBiDi *pBiDi, int testNumber) argument
2183 UBiDi *pBiDi; local
2236 _testManyInverseBidi(UBiDi *pBiDi, UBiDiLevel direction) argument
2262 _testInverseBidi(UBiDi *pBiDi, const UChar *src, int32_t srcLength, UBiDiLevel direction, UErrorCode *pErrorCode) argument
3382 assertStringsEqual(const char* expected, const char* actual, const char* src, const char* mode, const char* option, UBiDi* pBiDi) argument
3402 UBiDi* pBiDi = ubidi_open(); local
3698 assertRoundTrip(UBiDi *pBiDi, int32_t tc, int32_t outIndex, const char *srcChars, const char *destChars, const UChar *dest, int32_t destLen, int mode, int option, UBiDiLevel level) argument
3875 checkResultLength(UBiDi *pBiDi, const char *srcChars, const char *destChars, int32_t destLen, const char* mode, const char* option, UBiDiLevel level) argument
3939 UBiDi *pBiDi = getBiDiObject(); local
4022 UBiDi *pBiDi = NULL, *pBiDi2 = NULL, *pBiDi3 = NULL; local
4131 inverseBasic(UBiDi *pBiDi, const char *srcChars, int32_t srcLen, uint32_t option, UBiDiLevel level, char *result) argument
4192 UBiDi *pBiDi = NULL; local
4320 UBiDi *pBiDi = NULL; local
4395 checkMaps(UBiDi *pBiDi, int32_t stringIndex, const char *src, const char *dest, const char *mode, const char* option, UBiDiLevel level, UBool forward) argument
4583 UBiDi *pBiDi = NULL; local
[all...]
/external/icu/icu4c/source/test/cintltst/
H A Dcbiditst.c37 static void doTests(UBiDi *pBiDi, UBiDi *pLine, UBool countRunsFirst);
41 static void doTest(UBiDi *pBiDi, int testNumber, const BiDiTestData *test,
44 static void _testReordering(UBiDi *pBiDi, int testNumber);
48 static void _testManyInverseBidi(UBiDi *pBiDi, UBiDiLevel direction);
50 static void _testInverseBidi(UBiDi *pBiDi, const UChar *src, int32_t srcLength,
96 static const char* inverseBasic(UBiDi *pBiDi, const char *src, int32_t srcLen,
98 static UBool assertRoundTrip(UBiDi *pBiDi, int32_t tc, int32_t outIndex,
102 static UBool checkResultLength(UBiDi *pBiDi, const char *srcChars,
106 static UBool checkMaps(UBiDi *pBiDi, int32_t stringIndex, const char *src,
169 UBiDi *pBiDi, *pLin local
199 doTests(UBiDi *pBiDi, UBiDi *pLine, UBool countRunsFirst) argument
1031 doTest(UBiDi *pBiDi, int testNumber, const BiDiTestData *test, int32_t lineStart, UBool countRunsFirst) argument
1139 _testReordering(UBiDi *pBiDi, int testNumber) argument
2185 UBiDi *pBiDi; local
2238 _testManyInverseBidi(UBiDi *pBiDi, UBiDiLevel direction) argument
2264 _testInverseBidi(UBiDi *pBiDi, const UChar *src, int32_t srcLength, UBiDiLevel direction, UErrorCode *pErrorCode) argument
3622 assertStringsEqual(const char* expected, const char* actual, const char* src, const char* mode, const char* option, UBiDi* pBiDi) argument
3642 UBiDi* pBiDi = ubidi_open(); local
3938 assertRoundTrip(UBiDi *pBiDi, int32_t tc, int32_t outIndex, const char *srcChars, const char *destChars, const UChar *dest, int32_t destLen, int mode, int option, UBiDiLevel level) argument
4115 checkResultLength(UBiDi *pBiDi, const char *srcChars, const char *destChars, int32_t destLen, const char* mode, const char* option, UBiDiLevel level) argument
4179 UBiDi *pBiDi = getBiDiObject(); local
4262 UBiDi *pBiDi = NULL, *pBiDi2 = NULL, *pBiDi3 = NULL; local
4371 inverseBasic(UBiDi *pBiDi, const char *srcChars, int32_t srcLen, uint32_t option, UBiDiLevel level, char *result) argument
4432 UBiDi *pBiDi = NULL; local
4560 UBiDi *pBiDi = NULL; local
4635 checkMaps(UBiDi *pBiDi, int32_t stringIndex, const char *src, const char *dest, const char *mode, const char* option, UBiDiLevel level, UBool forward) argument
4823 UBiDi *pBiDi = NULL; local
[all...]

Completed in 221 milliseconds