Home
last modified time | relevance | path

Searched refs:client_ip_hex_ (Results 1 – 8 of 8) sorted by relevance

/dports/devel/grpc/grpc-1.42.0/src/cpp/server/load_reporter/
H A Dload_data_store.cc92 client_ip_hex_ = client_ip_and_token.substr(cur_pos, ip_hex_size); in LoadRecordKey()
104 if (client_ip_hex_.empty()) { in GetClientIpBytes()
106 } else if (client_ip_hex_.size() == kIpv4AddressLength) { in GetClientIpBytes()
108 if (sscanf(client_ip_hex_.c_str(), "%x", &ip_bytes) != 1) { in GetClientIpBytes()
111 client_ip_hex_.c_str()); in GetClientIpBytes()
117 } else if (client_ip_hex_.size() == kIpv6AddressLength) { in GetClientIpBytes()
120 if (sscanf(client_ip_hex_.substr(i * 8, (i + 1) * 8).c_str(), "%x", in GetClientIpBytes()
125 client_ip_hex_.substr(i * 8, (i + 1) * 8).c_str()); in GetClientIpBytes()
H A Dload_data_store.h75 client_ip_hex_(std::move(client_ip_hex)) {} in LoadRecordKey()
82 ", user_id_=" + user_id_ + ", client_ip_hex_=" + client_ip_hex_ + in ToString()
88 user_id_ == other.user_id_ && client_ip_hex_ == other.client_ip_hex_;
98 const std::string& client_ip_hex() const { return client_ip_hex_; } in client_ip_hex()
111 hash_combine(&h, k.client_ip_hex_); in operator()
120 std::string client_ip_hex_; variable
/dports/devel/grpc130/grpc-1.30.2/src/cpp/server/load_reporter/
H A Dload_data_store.cc90 client_ip_hex_ = client_ip_and_token.substr(cur_pos, ip_hex_size); in LoadRecordKey()
102 if (client_ip_hex_.empty()) { in GetClientIpBytes()
104 } else if (client_ip_hex_.size() == kIpv4AddressLength) { in GetClientIpBytes()
106 if (sscanf(client_ip_hex_.c_str(), "%x", &ip_bytes) != 1) { in GetClientIpBytes()
109 client_ip_hex_.c_str()); in GetClientIpBytes()
115 } else if (client_ip_hex_.size() == kIpv6AddressLength) { in GetClientIpBytes()
118 if (sscanf(client_ip_hex_.substr(i * 8, (i + 1) * 8).c_str(), "%x", in GetClientIpBytes()
123 client_ip_hex_.substr(i * 8, (i + 1) * 8).c_str()); in GetClientIpBytes()
H A Dload_data_store.h75 client_ip_hex_(std::move(client_ip_hex)) {} in LoadRecordKey()
82 ", user_id_=" + user_id_ + ", client_ip_hex_=" + client_ip_hex_ + in ToString()
88 user_id_ == other.user_id_ && client_ip_hex_ == other.client_ip_hex_;
98 const grpc::string& client_ip_hex() const { return client_ip_hex_; } in client_ip_hex()
111 hash_combine(&h, k.client_ip_hex_); in operator()
120 grpc::string client_ip_hex_; variable
/dports/devel/grpc134/grpc-1.34.1/src/cpp/server/load_reporter/
H A Dload_data_store.cc90 client_ip_hex_ = client_ip_and_token.substr(cur_pos, ip_hex_size); in LoadRecordKey()
102 if (client_ip_hex_.empty()) { in GetClientIpBytes()
104 } else if (client_ip_hex_.size() == kIpv4AddressLength) { in GetClientIpBytes()
106 if (sscanf(client_ip_hex_.c_str(), "%x", &ip_bytes) != 1) { in GetClientIpBytes()
109 client_ip_hex_.c_str()); in GetClientIpBytes()
115 } else if (client_ip_hex_.size() == kIpv6AddressLength) { in GetClientIpBytes()
118 if (sscanf(client_ip_hex_.substr(i * 8, (i + 1) * 8).c_str(), "%x", in GetClientIpBytes()
123 client_ip_hex_.substr(i * 8, (i + 1) * 8).c_str()); in GetClientIpBytes()
H A Dload_data_store.h75 client_ip_hex_(std::move(client_ip_hex)) {} in LoadRecordKey()
82 ", user_id_=" + user_id_ + ", client_ip_hex_=" + client_ip_hex_ + in ToString()
88 user_id_ == other.user_id_ && client_ip_hex_ == other.client_ip_hex_;
98 const std::string& client_ip_hex() const { return client_ip_hex_; } in client_ip_hex()
111 hash_combine(&h, k.client_ip_hex_); in operator()
120 std::string client_ip_hex_; variable
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/grpc/src/src/cpp/server/load_reporter/
H A Dload_data_store.cc90 client_ip_hex_ = client_ip_and_token.substr(cur_pos, ip_hex_size); in LoadRecordKey()
102 if (client_ip_hex_.empty()) { in GetClientIpBytes()
104 } else if (client_ip_hex_.size() == kIpv4AddressLength) { in GetClientIpBytes()
106 if (sscanf(client_ip_hex_.c_str(), "%x", &ip_bytes) != 1) { in GetClientIpBytes()
109 client_ip_hex_.c_str()); in GetClientIpBytes()
115 } else if (client_ip_hex_.size() == kIpv6AddressLength) { in GetClientIpBytes()
118 if (sscanf(client_ip_hex_.substr(i * 8, (i + 1) * 8).c_str(), "%x", in GetClientIpBytes()
123 client_ip_hex_.substr(i * 8, (i + 1) * 8).c_str()); in GetClientIpBytes()
H A Dload_data_store.h75 client_ip_hex_(std::move(client_ip_hex)) {} in LoadRecordKey()
82 ", user_id_=" + user_id_ + ", client_ip_hex_=" + client_ip_hex_ + in ToString()
88 user_id_ == other.user_id_ && client_ip_hex_ == other.client_ip_hex_;
98 const grpc::string& client_ip_hex() const { return client_ip_hex_; } in client_ip_hex()
111 hash_combine(&h, k.client_ip_hex_); in operator()
120 grpc::string client_ip_hex_; variable