Lines Matching refs:input
23 void QuotedPrintableEncode(const std::string& input, std::string* output) {
26 for (std::string::const_iterator iter = input.begin();
27 iter != input.end(); ++iter) {
28 bool last_char = (iter + 1 == input.end());
38 // the end of a line or at then end of the input.
40 !IsEOL(iter + 1, input)) {
46 int eol_len = IsEOL(iter, input);
76 bool QuotedPrintableDecode(const std::string& input, std::string* output) {
78 for (std::string::const_iterator iter = input.begin();
79 iter!= input.end(); ++iter) {
85 if (input.end() - iter < 3) {
86 LOG(ERROR) << "unfinished = sequence in input string.";
117 int IsEOL(const std::string::const_iterator& iter, const std::string& input) {
122 if ((iter + 1) == input.end() || *(iter + 1) != '\n')