Home
last modified time | relevance | path

Searched refs:encodingTable (Results 1 – 9 of 9) sorted by relevance

/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/util/encoders/
DBase64Encoder.java14 protected final byte[] encodingTable = field in Base64Encoder
44 for (int i = 0; i < encodingTable.length; i++) in initialiseDecodingTable()
46 decodingTable[encodingTable[i]] = (byte)i; in initialiseDecodingTable()
77 out.write(encodingTable[(a1 >>> 2) & 0x3f]); in encode()
78 out.write(encodingTable[((a1 << 4) | (a2 >>> 4)) & 0x3f]); in encode()
79 out.write(encodingTable[((a2 << 2) | (a3 >>> 6)) & 0x3f]); in encode()
80 out.write(encodingTable[a3 & 0x3f]); in encode()
98 out.write(encodingTable[b1]); in encode()
99 out.write(encodingTable[b2]); in encode()
111 out.write(encodingTable[b1]); in encode()
[all …]
DHexEncoder.java14 protected final byte[] encodingTable = field in HexEncoder
32 for (int i = 0; i < encodingTable.length; i++) in initialiseDecodingTable()
34 decodingTable[encodingTable[i]] = (byte)i; in initialiseDecodingTable()
66 out.write(encodingTable[(v >>> 4)]); in encode()
67 out.write(encodingTable[v & 0xf]); in encode()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/
DBase64Encoder.java12 protected final byte[] encodingTable = field in Base64Encoder
42 for (int i = 0; i < encodingTable.length; i++) in initialiseDecodingTable()
44 decodingTable[encodingTable[i]] = (byte)i; in initialiseDecodingTable()
75 out.write(encodingTable[(a1 >>> 2) & 0x3f]); in encode()
76 out.write(encodingTable[((a1 << 4) | (a2 >>> 4)) & 0x3f]); in encode()
77 out.write(encodingTable[((a2 << 2) | (a3 >>> 6)) & 0x3f]); in encode()
78 out.write(encodingTable[a3 & 0x3f]); in encode()
96 out.write(encodingTable[b1]); in encode()
97 out.write(encodingTable[b2]); in encode()
109 out.write(encodingTable[b1]); in encode()
[all …]
DHexEncoder.java12 protected final byte[] encodingTable = field in HexEncoder
30 for (int i = 0; i < encodingTable.length; i++) in initialiseDecodingTable()
32 decodingTable[encodingTable[i]] = (byte)i; in initialiseDecodingTable()
64 out.write(encodingTable[(v >>> 4)]); in encode()
65 out.write(encodingTable[v & 0xf]); in encode()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/
DFingerprint.java14 private static char[] encodingTable = field in Fingerprint
81 sb.append(encodingTable[(fingerprint[i] >>> 4) & 0xf]); in toString()
82 sb.append(encodingTable[fingerprint[i] & 0x0f]); in toString()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/util/
DFingerprint.java16 private static char[] encodingTable = field in Fingerprint
83 sb.append(encodingTable[(fingerprint[i] >>> 4) & 0xf]); in toString()
84 sb.append(encodingTable[fingerprint[i] & 0x0f]); in toString()
/external/python/cpython3/Modules/expat/
Dxmltok.c1655 initScan(const ENCODING * const *encodingTable, in initScan() argument
1702 *encPtr = encodingTable[UTF_16BE_ENC]; in initScan()
1710 *encPtr = encodingTable[UTF_16LE_ENC]; in initScan()
1717 *encPtr = encodingTable[UTF_16LE_ENC]; in initScan()
1737 *encPtr = encodingTable[UTF_8_ENC]; in initScan()
1751 *encPtr = encodingTable[UTF_16BE_ENC]; in initScan()
1766 *encPtr = encodingTable[UTF_16LE_ENC]; in initScan()
1772 *encPtr = encodingTable[INIT_ENC_INDEX(enc)]; in initScan()
/external/expat/lib/
Dxmltok.c1652 initScan(const ENCODING * const *encodingTable, in initScan() argument
1699 *encPtr = encodingTable[UTF_16BE_ENC]; in initScan()
1707 *encPtr = encodingTable[UTF_16LE_ENC]; in initScan()
1714 *encPtr = encodingTable[UTF_16LE_ENC]; in initScan()
1734 *encPtr = encodingTable[UTF_8_ENC]; in initScan()
1748 *encPtr = encodingTable[UTF_16BE_ENC]; in initScan()
1763 *encPtr = encodingTable[UTF_16LE_ENC]; in initScan()
1769 *encPtr = encodingTable[INIT_ENC_INDEX(enc)]; in initScan()
/external/python/cpython2/Modules/expat/
Dxmltok.c1652 initScan(const ENCODING * const *encodingTable, in initScan() argument
1699 *encPtr = encodingTable[UTF_16BE_ENC]; in initScan()
1707 *encPtr = encodingTable[UTF_16LE_ENC]; in initScan()
1714 *encPtr = encodingTable[UTF_16LE_ENC]; in initScan()
1734 *encPtr = encodingTable[UTF_8_ENC]; in initScan()
1748 *encPtr = encodingTable[UTF_16BE_ENC]; in initScan()
1763 *encPtr = encodingTable[UTF_16LE_ENC]; in initScan()
1769 *encPtr = encodingTable[INIT_ENC_INDEX(enc)]; in initScan()