Searched refs:Bitx (Results 1 – 2 of 2) sorted by relevance
/external/libutf/ |
D | rune.c | 22 Bitx = 6, enumerator 29 Tx = ((1<<(Bitx+1))-1) ^ 0xFF, /* 1000 0000 */ 35 Rune1 = (1<<(Bit1+0*Bitx))-1, /* 0000 0000 0111 1111 */ 36 Rune2 = (1<<(Bit2+1*Bitx))-1, /* 0000 0111 1111 1111 */ 37 Rune3 = (1<<(Bit3+2*Bitx))-1, /* 1111 1111 1111 1111 */ 38 Rune4 = (1<<(Bit4+3*Bitx))-1, 41 Maskx = (1<<Bitx)-1, /* 0011 1111 */ 101 l = ((c << Bitx) | c1) & Rune2; in charntorune() 121 l = ((((c << Bitx) | c1) << Bitx) | c2) & Rune3; in charntorune() 139 l = ((((((c << Bitx) | c1) << Bitx) | c2) << Bitx) | c3) & Rune4; in charntorune() [all …]
|
/external/regex-re2/util/ |
D | rune.cc | 23 Bitx = 6, enumerator 30 Tx = ((1<<(Bitx+1))-1) ^ 0xFF, /* 1000 0000 */ 36 Rune1 = (1<<(Bit1+0*Bitx))-1, /* 0000 0000 0111 1111 */ 37 Rune2 = (1<<(Bit2+1*Bitx))-1, /* 0000 0111 1111 1111 */ 38 Rune3 = (1<<(Bit3+2*Bitx))-1, /* 1111 1111 1111 1111 */ 39 Rune4 = (1<<(Bit4+3*Bitx))-1, 42 Maskx = (1<<Bitx)-1, /* 0011 1111 */ 74 l = ((c << Bitx) | c1) & Rune2; in chartorune() 89 l = ((((c << Bitx) | c1) << Bitx) | c2) & Rune3; in chartorune() 104 l = ((((((c << Bitx) | c1) << Bitx) | c2) << Bitx) | c3) & Rune4; in chartorune() [all …]
|