Lines Matching refs:result
38 std::basic_string<UChar> result;
39 result.reserve(4 * ((size() + 2) / 3));
43 result.push_back(table[split.first | last]);
47 result.push_back(table[split.second]);
53 result.push_back(table[last]);
54 while (result.size() % 4 > 0) result.push_back('=');
55 return String16(std::move(result));
71 std::vector<uint8_t> result;
72 result.reserve(3 * base64.length() / 4);
93 result.push_back((a << 2) | (b >> 4));
94 if (base64[i + 2] != '=') result.push_back((0xFF & (b << 4)) | (c >> 2));
95 if (base64[i + 3] != '=') result.push_back((0xFF & (c << 6)) | d);
98 return Binary(std::make_shared<std::vector<uint8_t>>(std::move(result)));