Home
last modified time | relevance | path

Searched refs:colon_index (Results 1 – 4 of 4) sorted by relevance

/external/chromium/chrome/browser/sync/notifier/
Dsync_notifier_factory.cc27 std::string::size_type colon_index = host_port_str.find(':'); in StringToHostPortPair() local
28 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()
/external/v8/test/benchmarks/
Dtestcfg.py55 colon_index = line.find(':')
56 if colon_index >= 0:
57 if not IsNumber(line[colon_index+1:].strip()):
/external/chromium/net/base/
Dsdch_manager.cc394 size_t colon_index = dictionary_text.find(':', line_start); in AddSdchDictionary() local
395 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()
/external/chromium/chrome/browser/safe_browsing/
Dsafe_browsing_blocking_page.cc442 size_t colon_index = command.find(':'); in CommandReceived() local
443 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()