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_channel.cc54 auto colon_index = host_port.find_last_of(':'); in ValidateHostPortPair() local
55 if (!strings::safe_strtou32(host_port.substr(colon_index + 1), &port) || in ValidateHostPortPair()
56 host_port.substr(0, colon_index).find("/") != string::npos) { in ValidateHostPortPair()
Dgrpc_server_lib.cc149 auto colon_index = iter->second.find_last_of(':'); in GetPort() local
150 if (!strings::safe_strto32(iter->second.substr(colon_index + 1), in GetPort()
361 auto colon_index = host_port.find_last_of(':'); in WorkerCacheFactory() local
362 if (!strings::safe_strto32(host_port.substr(colon_index + 1), in WorkerCacheFactory()
/external/python/cpython3/Objects/
Dexceptions.c3037 Py_ssize_t colon_index; in _report_missing_parentheses() local
3038 colon_index = PyUnicode_FindChar(self->text, colon, in _report_missing_parentheses()
3040 if (colon_index < -1) { in _report_missing_parentheses()
3043 if (colon_index >= 0 && colon_index < text_len) { in _report_missing_parentheses()
3045 if (_check_for_legacy_statements(self, colon_index+1) < 0) { in _report_missing_parentheses()