HomeSort by relevance Sort by last modified time
    Searched refs:pBiDi (Results 1 - 7 of 7) sorted by null

  /external/icu4c/common/
ubidi.c 128 UBiDi *pBiDi;
139 pBiDi=(UBiDi *)uprv_malloc(sizeof(UBiDi));
140 if(pBiDi==NULL) {
146 uprv_memset(pBiDi, 0, sizeof(UBiDi));
149 pBiDi->bdp=ubidi_getSingleton();
153 if( !getInitialDirPropsMemory(pBiDi, maxLength) ||
154 !getInitialLevelsMemory(pBiDi, maxLength)
159 pBiDi->mayAllocateText=TRUE;
165 pBiDi->runsSize=sizeof(Run);
166 } else if(!getInitialRunsMemory(pBiDi, maxRunCount))
    [all...]
ubidiln.c 90 * This function is called only from ubidi_setLine(), so pBiDi->paraLevel is
94 setTrailingWSStart(UBiDi *pBiDi) {
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;
104 Setting trailingWSStart to pBidi->length will avoid changing the
109 pBiDi->trailingWSStart=start; /* currently == pBiDi->length *
    [all...]
ubidiimp.h 157 ubidi_getRuns(UBiDi *pBiDi, UErrorCode *pErrorCode);
360 #define getDirPropsMemory(pBiDi, length) \
361 ubidi_getMemory((BidiMemoryForAllocation *)&(pBiDi)->dirPropsMemory, &(pBiDi)->dirPropsSize, \
362 (pBiDi)->mayAllocateText, (length))
364 #define getLevelsMemory(pBiDi, length) \
365 ubidi_getMemory((BidiMemoryForAllocation *)&(pBiDi)->levelsMemory, &(pBiDi)->levelsSize, \
366 (pBiDi)->mayAllocateText, (length))
368 #define getRunsMemory(pBiDi, length)
    [all...]
ubidiwrt.c 353 ubidi_writeReordered(UBiDi *pBiDi,
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->reorderingMode != UBIDI_REORDER_INVERSE_LIKE_DIRECT) &
    [all...]
  /external/icu4c/common/unicode/
ubidi.h 545 * @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/
cbiditst.c 37 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,
92 static const char* inverseBasic(UBiDi *pBiDi, const char *src, int32_t srcLen,
94 static UBool assertRoundTrip(UBiDi *pBiDi, int32_t tc, int32_t outIndex,
98 static UBool checkResultLength(UBiDi *pBiDi, const char *srcChars,
102 static UBool checkMaps(UBiDi *pBiDi, int32_t stringIndex, const char *src,
164 UBiDi *pBiDi, *pLine=NULL
    [all...]
  /libcore/luni/src/main/java/java/text/
Bidi.java 317 private Bidi(long pBidi) {
318 readBidiInfo(pBidi);
322 private void readBidiInfo(long pBidi) {
323 length = ubidi_getLength(pBidi);
325 offsetLevel = (length == 0) ? null : ubidi_getLevels(pBidi);
327 baseLevel = ubidi_getParaLevel(pBidi);
329 int runCount = ubidi_countRuns(pBidi);
336 runs = ubidi_getRuns(pBidi);
345 direction = ubidi_getDirection(pBidi);
615 private static native void ubidi_close(long pBiDi);
    [all...]

Completed in 168 milliseconds