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

/external/icu4c/common/
H A Dubidi.c127 UBiDi *pBiDi; local
138 pBiDi=(UBiDi *)uprv_malloc(sizeof(UBiDi));
139 if(pBiDi==NULL) {
145 uprv_memset(pBiDi, 0, sizeof(UBiDi));
148 pBiDi->bdp=ubidi_getSingleton();
152 if( !getInitialDirPropsMemory(pBiDi, maxLength) ||
153 !getInitialLevelsMemory(pBiDi, maxLength)
158 pBiDi->mayAllocateText=TRUE;
164 pBiDi->runsSize=sizeof(Run);
165 } else if(!getInitialRunsMemory(pBiDi, maxRunCoun
233 ubidi_close(UBiDi *pBiDi) argument
259 ubidi_setInverse(UBiDi *pBiDi, UBool isInverse) argument
268 ubidi_isInverse(UBiDi *pBiDi) argument
292 ubidi_setReorderingMode(UBiDi *pBiDi, UBiDiReorderingMode reorderingMode) argument
301 ubidi_getReorderingMode(UBiDi *pBiDi) argument
310 ubidi_setReorderingOptions(UBiDi *pBiDi, uint32_t reorderingOptions) argument
320 ubidi_getReorderingOptions(UBiDi *pBiDi) argument
364 getDirProps(UBiDi *pBiDi) argument
515 directionFromFlags(UBiDi *pBiDi) argument
580 resolveExplicitLevels(UBiDi *pBiDi) argument
751 checkExplicitLevels(UBiDi *pBiDi, UErrorCode *pErrorCode) argument
1161 addPoint(UBiDi *pBiDi, int32_t pos, int32_t flag) argument
1216 processPropertySeq(UBiDi *pBiDi, LevState *pLevState, uint8_t _prop, int32_t start, int32_t limit) argument
1409 resolveImplicitLevels(UBiDi *pBiDi, int32_t start, int32_t limit, DirProp sor, DirProp eor) argument
1531 adjustWSLevels(UBiDi *pBiDi) argument
1572 setParaRunsOnly(UBiDi *pBiDi, const UChar *text, int32_t length, UBiDiLevel paraLevel, UErrorCode *pErrorCode) argument
1760 ubidi_setPara(UBiDi *pBiDi, const UChar *text, int32_t length, UBiDiLevel paraLevel, UBiDiLevel *embeddingLevels, UErrorCode *pErrorCode) argument
2063 ubidi_orderParagraphsLTR(UBiDi *pBiDi, UBool orderParagraphsLTR) argument
2070 ubidi_isOrderParagraphsLTR(UBiDi *pBiDi) argument
2079 ubidi_getDirection(const UBiDi *pBiDi) argument
2088 ubidi_getText(const UBiDi *pBiDi) argument
2097 ubidi_getLength(const UBiDi *pBiDi) argument
2106 ubidi_getProcessedLength(const UBiDi *pBiDi) argument
2115 ubidi_getResultLength(const UBiDi *pBiDi) argument
2126 ubidi_getParaLevel(const UBiDi *pBiDi) argument
2135 ubidi_countParagraphs(UBiDi *pBiDi) argument
2144 ubidi_getParagraphByIndex(const UBiDi *pBiDi, int32_t paraIndex, int32_t *pParaStart, int32_t *pParaLimit, UBiDiLevel *pParaLevel, UErrorCode *pErrorCode) argument
2172 ubidi_getParagraph(const UBiDi *pBiDi, int32_t charIndex, int32_t *pParaStart, int32_t *pParaLimit, UBiDiLevel *pParaLevel, UErrorCode *pErrorCode) argument
2190 ubidi_setClassCallback(UBiDi *pBiDi, UBiDiClassCallback *newFn, const void *newContext, UBiDiClassCallback **oldFn, const void **oldContext, UErrorCode *pErrorCode) argument
2212 ubidi_getClassCallback(UBiDi *pBiDi, UBiDiClassCallback **fn, const void **context) argument
2228 ubidi_getCustomizedClass(UBiDi *pBiDi, UChar32 c) argument
[all...]
H A Dubidiln.c86 * This function is called only from ubidi_setLine(), so pBiDi->paraLevel is
90 setTrailingWSStart(UBiDi *pBiDi) { argument
91 /* pBiDi->direction!=UBIDI_MIXED */
93 const DirProp *dirProps=pBiDi->dirProps;
94 UBiDiLevel *levels=pBiDi->levels;
95 int32_t start=pBiDi->length;
96 UBiDiLevel paraLevel=pBiDi->paraLevel;
105 pBiDi->trailingWSStart=start; /* currently == pBiDi->length */
118 pBiDi
249 ubidi_getLevelAt(const UBiDi *pBiDi, int32_t charIndex) argument
261 ubidi_getLevels(UBiDi *pBiDi, UErrorCode *pErrorCode) argument
303 ubidi_getLogicalRun(const UBiDi *pBiDi, int32_t logicalPosition, int32_t *pLogicalLimit, UBiDiLevel *pLevel) argument
350 ubidi_countRuns(UBiDi *pBiDi, UErrorCode *pErrorCode) argument
361 ubidi_getVisualRun(UBiDi *pBiDi, int32_t runIndex, int32_t *pLogicalStart, int32_t *pLength) argument
390 getSingleRun(UBiDi *pBiDi, UBiDiLevel level) argument
435 reorderLine(UBiDi *pBiDi, UBiDiLevel minLevel, UBiDiLevel maxLevel) argument
518 getRunFromLogicalIndex(UBiDi *pBiDi, int32_t logicalIndex, UErrorCode *pErrorCode) argument
548 ubidi_getRuns(UBiDi *pBiDi, UErrorCode *pErrorCode) argument
875 ubidi_getVisualIndex(UBiDi *pBiDi, int32_t logicalIndex, UErrorCode *pErrorCode) argument
985 ubidi_getLogicalIndex(UBiDi *pBiDi, int32_t visualIndex, UErrorCode *pErrorCode) argument
1110 ubidi_getLogicalMap(UBiDi *pBiDi, int32_t *indexMap, UErrorCode *pErrorCode) argument
1211 ubidi_getVisualMap(UBiDi *pBiDi, int32_t *indexMap, UErrorCode *pErrorCode) argument
[all...]
H A Dubidiimp.h157 ubidi_getRuns(UBiDi *pBiDi, UErrorCode *pErrorCode);
354 #define getDirPropsMemory(pBiDi, length) \
355 ubidi_getMemory((BidiMemoryForAllocation *)&(pBiDi)->dirPropsMemory, &(pBiDi)->dirPropsSize, \
356 (pBiDi)->mayAllocateText, (length))
358 #define getLevelsMemory(pBiDi, length) \
359 ubidi_getMemory((BidiMemoryForAllocation *)&(pBiDi)->levelsMemory, &(pBiDi)->levelsSize, \
360 (pBiDi)->mayAllocateText, (length))
362 #define getRunsMemory(pBiDi, lengt
[all...]
H A Dubidiwrt.c352 ubidi_writeReordered(UBiDi *pBiDi, argument
366 if( pBiDi==NULL ||
367 (text=pBiDi->text)==NULL || (length=pBiDi->length)<0 ||
377 (dest>=text && dest<text+pBiDi->originalLength)))
388 runCount=ubidi_countRuns(pBiDi, pErrorCode);
401 if(pBiDi->reorderingOptions & UBIDI_OPTION_INSERT_MARKS) {
409 if(pBiDi->reorderingOptions & UBIDI_OPTION_REMOVE_CONTROLS) {
417 if((pBiDi->reorderingMode != UBIDI_REORDER_INVERSE_NUMBERS_AS_L) &&
418 (pBiDi
[all...]
/external/icu4c/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/icu4c/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,
82 static const char* inverseBasic(UBiDi *pBiDi, const char *src, int32_t srcLen,
84 static UBool assertRoundTrip(UBiDi *pBiDi, int32_t tc, int32_t outIndex,
88 static UBool checkResultLength(UBiDi *pBiDi, const char *srcChars,
92 static UBool checkMaps(UBiDi *pBiDi, int32_t stringIndex, const char *src,
149 UBiDi *pBiDi, *pLin local
179 doTests(UBiDi *pBiDi, UBiDi *pLine, UBool countRunsFirst) argument
882 doTest(UBiDi *pBiDi, int testNumber, const BiDiTestData *test, int32_t lineStart, UBool countRunsFirst) argument
990 _testReordering(UBiDi *pBiDi, int testNumber) argument
2036 UBiDi *pBiDi; local
2089 _testManyInverseBidi(UBiDi *pBiDi, UBiDiLevel direction) argument
2115 _testInverseBidi(UBiDi *pBiDi, const UChar *src, int32_t srcLength, UBiDiLevel direction, UErrorCode *pErrorCode) argument
2899 assertStringsEqual(const char* expected, const char* actual, const char* src, const char* mode, const char* option, UBiDi* pBiDi) argument
2919 UBiDi* pBiDi = ubidi_open(); local
3215 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
3392 checkResultLength(UBiDi *pBiDi, const char *srcChars, const char *destChars, int32_t destLen, const char* mode, const char* option, UBiDiLevel level) argument
3456 UBiDi *pBiDi = getBiDiObject(); local
3539 UBiDi *pBiDi = NULL, *pBiDi2 = NULL, *pBiDi3 = NULL; local
3648 inverseBasic(UBiDi *pBiDi, const char *srcChars, int32_t srcLen, uint32_t option, UBiDiLevel level, char *result) argument
3709 UBiDi *pBiDi = NULL; local
3837 UBiDi *pBiDi = NULL; local
3912 checkMaps(UBiDi *pBiDi, int32_t stringIndex, const char *src, const char *dest, const char *mode, const char* option, UBiDiLevel level, UBool forward) argument
[all...]

Completed in 108 milliseconds