Searched refs:find_pos (Results 1 – 3 of 3) sorted by relevance
166 size_t find_pos = address.rfind('.'); in ToSensitiveString() local167 if (find_pos == std::string::npos) in ToSensitiveString()169 address.resize(find_pos); in ToSensitiveString()
69 size_t find_pos = sensitive_address.rfind('.'); in IPAddressToSensitiveString() local70 if (find_pos == std::string::npos) in IPAddressToSensitiveString()72 sensitive_address.resize(find_pos); in IPAddressToSensitiveString()
84 size_t find_pos = string::npos; in SplitStringUsing() local88 while ((find_pos = s.find(delimiter, start_pos)) != string::npos) { in SplitStringUsing()89 const string substring = s.substr(start_pos, find_pos - start_pos); in SplitStringUsing()93 start_pos = find_pos + delimiter.length(); in SplitStringUsing()