Home | History | Annotate | Download | only in base

Lines Matching refs:temp

12   std::string temp;
13 temp.resize(modp_b64_encode_len(input.size())); // makes room for null byte
15 // modp_b64_encode_len() returns at least 1, so temp[0] is safe to use.
16 size_t output_size = modp_b64_encode(&(temp[0]), input.data(), input.size());
18 temp.resize(output_size); // strips off null byte
19 output->swap(temp);
23 std::string temp;
24 temp.resize(modp_b64_decode_len(input.size()));
28 size_t output_size = modp_b64_decode(&(temp[0]), input.data(), input_size);
32 temp.resize(output_size);
33 output->swap(temp);