• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/ICU-531.30/icuSources/common/

Lines Matching defs:levels

60  * For the purpose of conformance, the levels of all these codes
91 * and all levels are set to the paragraph level.
96 * If embedding levels are supplied as a parameter, then all
897 level=bd->pBiDi->levels[position];
907 bd->pBiDi->levels[position]&=~UBIDI_LEVEL_OVERRIDE;
910 bd->pBiDi->levels[bd->openings[idx].position]&=~UBIDI_LEVEL_OVERRIDE;
936 level=bd->pBiDi->levels[position];
1017 * Resolve the explicit levels as specified by explicit embedding codes.
1022 * levels are externally specified (from "styled text", supposedly the preferred
1052 * Handling the stack of explicit levels (Xn):
1054 * With the BiDi stack of explicit levels, as pushed with each
1070 UBiDiLevel *levels=pBiDi->levels;
1085 /* we may not need to resolve any explicit levels */
1087 /* not mixed directionality: levels don't matter - trailingWSStart will be 0 */
1092 /* set all levels to the paragraph level */
1102 levels[i]=level;
1107 /* no embeddings, set all levels to the paragraph level */
1120 levels[i]=level;
1173 levels[i]=previousLevel;
1200 levels[i]=previousLevel;
1218 levels[i]=NO_OVERRIDE(embeddingLevel);
1278 levels[i]=NO_OVERRIDE(embeddingLevel);
1282 levels[i]=GET_PARALEVEL(pBiDi, i);
1296 /* they will get their levels set correctly in adjustWSLevels() */
1297 levels[i]=previousLevel;
1312 levels[i]=embeddingLevel;
1332 * Use a pre-specified embedding levels array:
1336 * and check all the preset levels.
1345 UBiDiLevel *levels=pBiDi->levels;
1354 level=levels[i];
1366 /* keep the override flag in levels[i] but adjust the flags */
1482 /* we must undef macro s because the levels tables have a different
1488 The levels state machine tables
1503 Definitions and type for levels state tables
1527 In all levels state tables,
1549 (levels are assigned).
1608 /* In this table, EN/AN+ON sequences receive levels as if associated with R
1621 /* In this table, EN/AN+ON sequences receive levels as if associated with R
1805 UBiDiLevel *levels=pBiDi->levels;
1812 levels[k]=level;
1839 UBiDiLevel * levels=pBiDi->levels;
1900 levels[k]=(levels[k] - 2) & ~1;
1957 for (k=start0-1; k>=0 && !(levels[k]&1); k--);
1987 if (levels[k]<level)
1988 levels[k]=level;
1998 if(levels[k]==level+3) {
1999 while(levels[k]==level+3) {
2000 levels[k--]-=2;
2002 while(levels[k]==level) {
2006 if(levels[k]==level+2) {
2007 levels[k]=level;
2010 levels[k]=level+1;
2017 if(levels[k]>level) {
2018 levels[k]-=2;
2032 levels[k]=level;
2117 * actions) and different levels state tables (maybe very similar to the
2125 /* initialize for property and levels state tables */
2129 levState.runLevel=pBiDi->levels[start];
2256 * Reset the embedding levels for some non-graphic characters (L1).
2257 * This function also sets appropriate levels for BN, and
2264 UBiDiLevel *levels=pBiDi->levels;
2276 levels[i]=0;
2278 levels[i]=GET_PARALEVEL(pBiDi, i);
2287 levels[i]=levels[i+1];
2289 levels[i]=0;
2292 levels[i]=GET_PARALEVEL(pBiDi, i);
2344 const UBiDiLevel *levels;
2379 /* we cannot access directly pBiDi->levels since it is not yet set if
2382 levels=ubidi_getLevels(pBiDi, pErrorCode);
2383 uprv_memcpy(saveLevels, levels, pBiDi->length*sizeof(UBiDiLevel));
2405 * than the original text. But we don't want the levels memory to be
2407 * the levels as after the first call to ubidi_setpara() before returning.
2508 /* the saved levels should never excess levelsSize, but we check anyway */
2512 uprv_memcpy(pBiDi->levels, saveLevels, saveLength*sizeof(UBiDiLevel));
2559 pBiDi->levels=NULL;
2612 pBiDi->trailingWSStart=length; /* the levels[] will reflect the WS run */
2614 /* are explicit levels specified? */
2616 /* no: determine explicit levels according to the (Xn) rules */\
2618 pBiDi->levels=pBiDi->levelsMemory;
2628 /* set BN for all explicit codes, check that all levels are 0 or paraLevel..UBIDI_MAX_EXPLICIT_LEVEL */
2629 pBiDi->levels=embeddingLevels;
2662 /* all levels are implicitly at paraLevel (important for ubidi_getLevels()) */
2669 /* all levels are implicitly at paraLevel (important for ubidi_getLevels()) */
2709 * If there are no external levels specified and there
2713 * the text with the same embedding levels. (X10)
2726 UBiDiLevel *levels=pBiDi->levels;
2733 nextLevel=levels[0];
2755 ((levels[limit]==level) ||
2760 nextLevel=levels[limit];
2779 levels[start++]&=~UBIDI_LEVEL_OVERRIDE;
2790 /* reset the embedding levels for some non-graphic characters (L1), (X9) */