• Home
  • Raw
  • Download

Lines Matching +full:16 +full:- +full:bit

7  * http://www.apache.org/licenses/LICENSE-2.0
28 // 2: the index do not exceed the range of encodedRes and form a complete four-character block in Base64Encode()
29 …for (size_t i = 0, j = 0; i < encodedRes.length() - 2; i += TRANSFORMED_CHAR_NUM, j += TO_TRANSFOR… in Base64Encode()
30 // convert three 8bit into four 6bit; then add two 0 bit in each 6 bit in Base64Encode()
46 encodedRes[encodedRes.length() - 2] = '='; in Base64Encode()
47 encodedRes[encodedRes.length() - 1] = '='; in Base64Encode()
51 encodedRes[encodedRes.length() - 1] = '='; in Base64Encode()
62 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, in Base64Decode()
63 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, in Base64Decode()
64 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, in Base64Decode()
65 -1, -1, -1, -1, -1, -1, -1, in Base64Decode()
67 -1, -1, -1, in Base64Decode()
70 -1, -1, -1, -1, -1, -1, -1, in Base64Decode()
72 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, // 'A'~'Z' in Base64Decode()
73 -1, -1, -1, -1, -1, -1, in Base64Decode()
81 decodedStrLen -= std::string("==").length(); in Base64Decode()
83 decodedStrLen -= std::string("=").length(); in Base64Decode()
90 // 2: the index do not exceed the range of encodedRes and form a complete four-character block in Base64Decode()
91 … for (size_t i = 0, j = 0; i < strLen - 2; i += TRANSFORMED_CHAR_NUM, j += TO_TRANSFORM_CHAR_NUM) { in Base64Decode()
98 if (firstChar == -1 || secondChar == -1) { in Base64Decode()
101 // the last 6 bit of the first char + the 2~3 bit of the second char(first 4 bit - 00) in Base64Decode()
103 if (j == decodedStrLen - 1) { in Base64Decode()
106 if (thirdChar == -1) { in Base64Decode()
109 // the last 4 bit of the second char + the 2~5 bit of the third char(first 6 bit - 00) in Base64Decode()
111 if (j + 1 == decodedStrLen - 1) { in Base64Decode()
114 if (fourthChar == -1) { in Base64Decode()
117 // the last 2 bit of the third char + the last 6 bit of the fourth char in Base64Decode()