Lines Matching defs:AN
960 private static final byte AN = 5;
1179 DirPropFlag(L)|DirPropFlag(EN)|DirPropFlag(ENL)|DirPropFlag(ENR)|DirPropFlag(AN)|DirPropFlag(LRE)|DirPropFlag(LRO)|DirPropFlag(LRI);
1986 dirProps[position] = AN; /* W2 */
1993 else if (dirProp == AN) {
1995 pLastIsoRun.lastBase = AN;
2025 /* if the text contains AN and neutrals, then some neutrals may become RTL */
2027 ((flags & DirPropFlag(AN)) != 0 &&
2437 /* L R EN ES ET AN CS B S WS ON LRE LRO AL RLE RLO PDF NSM BN FSI LRI RLI PDI ENL ENR */
2484 /* L, R, EN, AN, ON, S, B, ES, ET, CS, BN, NSM, AL, ENL, ENR, Res */
2490 /* 5 AN */ { 32+1, 32+2, 32+4, 5, 32+7, 32+15, 32+17, 32+7, 32+9, 64+12, 5, 5, 32+3, 32+18, 32+21, _AN },
2491 /* 6 AL:EN/AN */ { 32+1, 32+2, 6, 6, 32+8, 32+16, 32+17, 32+8, 32+8, 64+13, 6, 6, 32+3, 18, 21, _AN },
2497 /*12 AN+CS */ { 96+1, 96+2, 96+4, 5, 128+7, 96+15, 96+17, 128+7,128+14, 128+7, 12, 128+7, 96+3, 96+18, 96+21, _AN },
2498 /*13 AL:EN/AN+CS */ { 96+1, 96+2, 6, 6, 128+8, 96+16, 96+17, 128+8, 128+8, 128+8, 13, 128+8, 96+3, 18, 21, _AN },
2563 /* 4: init EN/AN/ON sequence */
2564 /* 5: fix EN/AN/ON sequence followed by R */
2586 /* L, R, EN, AN, ON, S, B, Res */
2589 /* 2 : AN */ { 0, 1, 0, 2, 0x15, 0x15, 0, 2 },
2590 /* 3 : R+EN/AN */ { 0, 1, 3, 3, 0x14, 0x14, 0, 2 },
2592 /* 5 : AN+ON */ { 0, 0x21, 0, 0x32, 5, 5, 0, 0 }
2600 /* L, R, EN, AN, ON, S, B, Res */
2603 /* 2 : EN/AN */ { 1, 0, 2, 2, 0, 0, 0, 1 },
2604 /* 3 : L+AN */ { 1, 0, 1, 3, 5, 5, 0, 1 },
2606 /* 5 : L+AN+ON */ { 1, 0, 1, 3, 5, 5, 0, 0 }
2618 /* L, R, EN, AN, ON, S, B, Res */
2620 /* 1 : L+EN/AN */ { 0, 0x42, 1, 1, 0, 0, 0, 0 },
2623 /* 4 : R+EN/AN */ { 0, 2, 4, 4, 0x13, 0x13, 0, 2 }
2629 /* In this table, EN/AN+ON sequences receive levels as if associated with R
2630 until proven that there is L or sor/eor on both sides. AN is handled like EN.
2632 /* L, R, EN, AN, ON, S, B, Res */
2634 /* 1 EN/AN */ { 0x20, 3, 1, 1, 2, 0x20, 0x20, 2 },
2635 /* 2 EN/AN+ON */ { 0x20, 3, 1, 1, 2, 0x20, 0x20, 1 },
2638 /* 5 R+EN/AN */ { 0, 3, 5, 5, 0x14, 0, 0, 2 }
2641 /* In this table, EN/AN+ON sequences receive levels as if associated with R
2642 until proven that there is L on both sides. AN is handled like EN.
2644 /* L, R, EN, AN, ON, S, B, Res */
2646 /* 1 EN/AN */ { 2, 0, 1, 1, 0, 0, 0, 1 },
2649 /* 4 L+EN/AN */ { 0x22, 0, 4, 4, 3, 0, 0, 1 }
2656 /* This table is identical to the Default LTR table except that EN and AN
2659 /* L, R, EN, AN, ON, S, B, Res */
2662 /* 2 : AN */ { 0, 1, 0, 0, 0x15, 0x15, 0, 2 },
2663 /* 3 : R+EN/AN */ { 0, 1, 0, 0, 0x14, 0x14, 0, 2 },
2665 /* 5 : AN+ON */ { 0x20, 1, 0x20, 0x20, 5, 5, 0x20, 1 }
2668 /* This table is identical to the Default RTL table except that EN and AN
2671 /* L, R, EN, AN, ON, S, B, Res */
2674 /* 2 : EN/AN */ { 1, 0, 1, 1, 0, 0, 0, 1 },
2675 /* 3 : L+AN */ { 1, 0, 1, 1, 5, 5, 0, 1 },
2677 /* 5 : L+AN+ON */ { 1, 0, 1, 1, 5, 5, 0, 0 }
2687 /* L, R, EN, AN, ON, S, B, Res */
2690 /* 2 : EN/AN */ { 1, 0, 2, 2, 0, 0, 0, 1 },
2692 /* 4 : L+ON+AN */ { 0x21, 0x30, 6, 4, 5, 5, 0x30, 3 },
2693 /* 5 : L+AN+ON */ { 0x21, 0x30, 6, 4, 5, 5, 0x30, 2 },
2703 /* L, R, EN, AN, ON, S, B, Res */
2705 /* 1 : L+AN */ { 0, 0x63, 0, 1, 0x12, 0x30, 0, 4 },
2706 /* 2 : L+AN+ON */ { 0x20, 0x63, 0x20, 1, 2, 0x30, 0x20, 3 },
2710 /* 6 : R+AN */ { 0x30, 0x43, 0x55, 6, 0x14, 0x30, 0x30, 4 }
2714 R L AN L
2716 /* L, R, EN, AN, ON, S, B, Res */
2718 /* 1 : R+EN/AN */ { 0x23, 0, 1, 1, 2, 0x40, 0, 1 },
2719 /* 2 : R+EN/AN+ON */ { 0x23, 0, 1, 1, 2, 0x40, 0, 0 },
2723 /* 6 : L+AN */ { 0x53, 0x40, 6, 6, 4, 0x40, 0x40, 3 }
2737 /* L, R, EN, AN, ON, S, B, Res */
2739 /* 1 : L+EN/AN */ { 0, 0x62, 1, 1, 0, 0x30, 0, 4 },
2742 /* 4 : R+EN/AN */ { 0x30, 0x42, 4, 4, 0x13, 0x30, 0x30, 4 }
2843 case 3: /* EN/AN after R+ON */
2848 case 4: /* EN/AN before R for NUMBERS_SPECIAL */
2853 case 5: /* L or S after possible relevant EN/AN */
2859 /* check if we had any relevant EN/AN after R/AL */
2889 case 6: /* R/AL after possible relevant EN/AN */
2899 case 7: /* EN/AN after R/AL + possible cont */
2900 /* check for real AN */
2902 if ((_prop == _AN) && (dirProps[start0] == AN) &&
2905 /* real AN */
2911 if (levState.startL2EN >= 0) { /* after EN, no AN */
2915 /* note AN */
2919 /* if first EN/AN after R/AL */
2930 case 9: /* L after R+ON/EN/AN */
2941 case 10: /* AN after L */
2942 /* AN numbers between L text on both sides may be trouble. */
2948 case 11: /* R after L+ON/EN/AN */
2949 /* false alert, infirm LRMs around previous AN */
2957 case 12: /* L after L+ON/AN */
2968 case 13: /* L after L+ON+EN/AN/ON */
2987 case 14: /* R after L+ON+EN/AN/ON */
3080 /* AL before EN does not make it AN */
3098 prop = AN;
4540 1 << AN);