Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_server_lib.cc134 auto colon_index = iter->second.find_last_of(':'); in Init() local
135 if (!strings::safe_strto32(iter->second.substr(colon_index + 1), in Init()
328 auto colon_index = host_port.find_last_of(':'); in WorkerCacheFactory() local
329 if (!strings::safe_strto32(host_port.substr(colon_index + 1), in WorkerCacheFactory()
Dgrpc_channel.cc48 auto colon_index = host_port.find_last_of(':'); in ValidateHostPortPair() local
49 if (!strings::safe_strtou32(host_port.substr(colon_index + 1), &port) || in ValidateHostPortPair()
50 host_port.substr(0, colon_index).find("/") != string::npos) { in ValidateHostPortPair()
/external/python/cpython3/Objects/
Dexceptions.c2979 Py_ssize_t colon_index; in _report_missing_parentheses() local
2980 colon_index = PyUnicode_FindChar(self->text, colon, in _report_missing_parentheses()
2982 if (colon_index < -1) { in _report_missing_parentheses()
2985 if (colon_index >= 0 && colon_index < text_len) { in _report_missing_parentheses()
2987 if (_check_for_legacy_statements(self, colon_index+1) < 0) { in _report_missing_parentheses()