Searched refs:colon_index (Results 1 – 4 of 4) sorted by relevance
27 std::string::size_type colon_index = host_port_str.find(':'); in StringToHostPortPair() local28 if (colon_index == std::string::npos) { in StringToHostPortPair()32 std::string host = host_port_str.substr(0, colon_index); in StringToHostPortPair()33 std::string port_str = host_port_str.substr(colon_index + 1); in StringToHostPortPair()
55 colon_index = line.find(':')56 if colon_index >= 0:57 if not IsNumber(line[colon_index+1:].strip()):
394 size_t colon_index = dictionary_text.find(':', line_start); in AddSdchDictionary() local395 if (std::string::npos == colon_index) { in AddSdchDictionary()400 if (colon_index > line_end) in AddSdchDictionary()404 colon_index + 1); in AddSdchDictionary()408 std::string name(dictionary_text, line_start, colon_index - line_start); in AddSdchDictionary()
442 size_t colon_index = command.find(':'); in CommandReceived() local443 if (colon_index != std::string::npos) { in CommandReceived()444 DCHECK(colon_index < command.size() - 1); in CommandReceived()445 bool result = base::StringToInt(command.begin() + colon_index + 1, in CommandReceived()448 command = command.substr(0, colon_index); in CommandReceived()