Lines Matching defs:line
26 // Helper function for quick scans of a line oriented protocol. Note that we use
28 // to copy data into 'line'. This form of 'assign' does not call strlen on
32 bool GetLine(const char* input, int input_len, std::string* line) {
36 line->assign(input, pos - input);
62 std::string line;
64 if (!GetLine(data, length, &line))
67 if (line == "e:pleaserekey") {
72 offset = static_cast<int>(line.size()) + 1;
76 if (!safe_browsing_util::VerifyMAC(key, line, data, length))
81 if (!GetLine(data, length, &line))
84 offset = static_cast<int>(line.size()) + 1;
89 base::SplitString(line, ':', &cmd_parts);
195 // The line providing the name of the list (i.e. 'goog-phish-shavar').
207 // The line providing the next earliest time (in seconds) to re-query.
469 std::string line;
470 if (!GetLine(data, remaining, &line))
474 base::SplitString(line, ':', &cmd_parts);
489 data += line.size() + 1;
490 remaining -= static_cast<int>(line.size()) + 1;