Home
last modified time | relevance | path

Searched refs:group_name (Results 1 – 25 of 93) sorted by relevance

1234

/external/chromium_org/net/socket/
Dclient_socket_pool_base.h78 ConnectJob(const std::string& group_name,
86 const std::string& group_name() const { return group_name_; } in group_name() function
204 const std::string& group_name,
237 int RequestSocket(const std::string& group_name,
241 void RequestSockets(const std::string& group_name,
246 void CancelRequest(const std::string& group_name,
250 void ReleaseSocket(const std::string& group_name,
267 int IdleSocketCountInGroup(const std::string& group_name) const;
270 LoadState GetLoadState(const std::string& group_name,
280 int NumUnassignedConnectJobsInGroup(const std::string& group_name) const { in NumUnassignedConnectJobsInGroup() argument
[all …]
Dsocks_client_socket_pool.cc41 const std::string& group_name, in SOCKSConnectJob() argument
49 : ConnectJob(group_name, timeout_duration, priority, delegate, in SOCKSConnectJob()
119 return transport_socket_handle_->Init(group_name(), in DoTransportConnect()
173 const std::string& group_name, in NewConnectJob() argument
176 return scoped_ptr<ConnectJob>(new SOCKSConnectJob(group_name, in NewConnectJob()
215 const std::string& group_name, const void* socket_params, in RequestSocket() argument
221 return base_.RequestSocket(group_name, *casted_socket_params, priority, in RequestSocket()
226 const std::string& group_name, in RequestSockets() argument
233 base_.RequestSockets(group_name, *casted_params, num_sockets, net_log); in RequestSockets()
236 void SOCKSClientSocketPool::CancelRequest(const std::string& group_name, in CancelRequest() argument
[all …]
Dclient_socket_pool_base.cc43 ConnectJob::ConnectJob(const std::string& group_name, in ConnectJob() argument
48 : group_name_(group_name), in ConnectJob()
54 DCHECK(!group_name.empty()); in ConnectJob()
258 const std::string& group_name, in RequestSocket() argument
268 Group* group = GetOrCreateGroup(group_name); in RequestSocket()
270 int rv = RequestSocketInternal(group_name, *request); in RequestSocket()
293 const std::string& group_name, in RequestSockets() argument
311 Group* group = GetOrCreateGroup(group_name); in RequestSockets()
320 rv = RequestSocketInternal(group_name, request); in RequestSockets()
323 if (!ContainsKey(group_map_, group_name)) in RequestSockets()
[all …]
Dclient_socket_pool.h100 virtual int RequestSocket(const std::string& group_name,
117 virtual void RequestSockets(const std::string& group_name,
127 virtual void CancelRequest(const std::string& group_name,
137 virtual void ReleaseSocket(const std::string& group_name,
155 virtual int IdleSocketCountInGroup(const std::string& group_name) const = 0;
158 virtual LoadState GetLoadState(const std::string& group_name,
197 const std::string& group_name, in RequestSocketsForPool() argument
201 pool->RequestSockets(group_name, &params, num_sockets, net_log); in RequestSocketsForPool()
Dsocks_client_socket_pool.h58 SOCKSConnectJob(const std::string& group_name,
123 virtual int RequestSocket(const std::string& group_name,
130 virtual void RequestSockets(const std::string& group_name,
135 virtual void CancelRequest(const std::string& group_name,
138 virtual void ReleaseSocket(const std::string& group_name,
149 const std::string& group_name) const OVERRIDE;
152 const std::string& group_name,
190 const std::string& group_name,
Dtransport_client_socket_pool.cc85 const std::string& group_name, in TransportConnectJob() argument
93 : ConnectJob(group_name, timeout_duration, priority, delegate, in TransportConnectJob()
395 const std::string& group_name, in NewConnectJob() argument
399 new TransportConnectJob(group_name, in NewConnectJob()
433 const std::string& group_name, in RequestSocket() argument
450 return base_.RequestSocket(group_name, *casted_params, priority, handle, in RequestSocket()
455 const std::string& group_name, in RequestSockets() argument
470 base_.RequestSockets(group_name, *casted_params, num_sockets, net_log); in RequestSockets()
474 const std::string& group_name, in CancelRequest() argument
476 base_.CancelRequest(group_name, handle); in CancelRequest()
[all …]
Dtransport_client_socket_pool.h68 TransportConnectJob(const std::string& group_name,
155 virtual int RequestSocket(const std::string& group_name,
161 virtual void RequestSockets(const std::string& group_name,
165 virtual void CancelRequest(const std::string& group_name,
167 virtual void ReleaseSocket(const std::string& group_name,
174 const std::string& group_name) const OVERRIDE;
176 const std::string& group_name,
208 const std::string& group_name,
Dssl_client_socket_pool.cc100 SSLConnectJob::SSLConnectJob(const std::string& group_name, in SSLConnectJob() argument
112 : ConnectJob(group_name, in SSLConnectJob()
227 return transport_socket_handle_->Init(group_name(), in DoTransportConnect()
248 return transport_socket_handle_->Init(group_name(), in DoSOCKSConnect()
270 return transport_socket_handle_->Init(group_name(), in DoTunnelConnect()
556 const std::string& group_name, in NewConnectJob() argument
560 new SSLConnectJob(group_name, request.priority(), request.params(), in NewConnectJob()
571 int SSLClientSocketPool::RequestSocket(const std::string& group_name, in RequestSocket() argument
580 return base_.RequestSocket(group_name, *casted_socket_params, priority, in RequestSocket()
585 const std::string& group_name, in RequestSockets() argument
[all …]
Dclient_socket_handle.h74 int Init(const std::string& group_name,
162 const std::string& group_name() const { return group_name_; } in group_name() function
217 const std::string& group_name, in Init() argument
225 CHECK(!group_name.empty()); in Init()
229 group_name_ = group_name; in Init()
232 group_name, &socket_params, priority, this, callback_, net_log); in Init()
Dssl_client_socket_pool.h102 const std::string& group_name,
205 virtual int RequestSocket(const std::string& group_name,
212 virtual void RequestSockets(const std::string& group_name,
217 virtual void CancelRequest(const std::string& group_name,
220 virtual void ReleaseSocket(const std::string& group_name,
231 const std::string& group_name) const OVERRIDE;
234 const std::string& group_name,
280 const std::string& group_name,
/external/chromium_org/base/metrics/
Dfield_trial_unittest.cc58 const std::string& group_name() const { return group_name_; } in group_name() function in base::__anon7d7b0b710111::TestFieldTrialObserver
126 EXPECT_EQ(winner, trial_true->group_name()); in TEST_F()
154 EXPECT_EQ(winner, trial->group_name()); in TEST_F()
229 EXPECT_EQ(winner_name, trial->group_name()); in TEST_F()
237 EXPECT_EQ(trial->group_name(), winner_name); in TEST_F()
257 EXPECT_EQ(default_group_name, trial->group_name()); in TEST_F()
278 EXPECT_EQ(winner, active_group.group_name); in TEST_F()
292 EXPECT_EQ(multi_group_trial->group_name(), active_group.group_name); in TEST_F()
302 winner == active_groups[i].group_name); in TEST_F()
304 multi_group_trial->group_name() == active_groups[i].group_name); in TEST_F()
[all …]
Dfield_trial.cc135 const std::string& FieldTrial::group_name() { in group_name() function in base::FieldTrial
197 void FieldTrial::SetGroupChoice(const std::string& group_name, int number) { in SetGroupChoice() argument
199 if (group_name.empty()) in SetGroupChoice()
202 group_name_ = group_name; in SetGroupChoice()
221 active_group->group_name = group_name_; in GetActiveGroup()
359 return field_trial->group_name(); in FindFullName()
377 it->group_name.find(kPersistentStringSeparator)); in StatesToString()
380 output->append(it->group_name); in StatesToString()
420 std::string group_name(trials_string, name_end + 1, in CreateTrialsFromString() local
427 FieldTrial* trial = CreateFieldTrial(name, group_name); in CreateTrialsFromString()
[all …]
/external/chromium_org/components/variations/
Dvariations_associated_data.cc120 const std::string& group_name, in AssociateVariationParams() argument
127 const VariationKey key(trial_name, group_name); in AssociateVariationParams()
139 const std::string group_name = in GetVariationParams() local
141 const VariationKey key(trial_name, group_name); in GetVariationParams()
182 const std::string& group_name, in AssociateGoogleVariationID() argument
185 key, MakeActiveGroupId(trial_name, group_name), id, false); in AssociateGoogleVariationID()
190 const std::string& group_name, in AssociateGoogleVariationIDForce() argument
193 key, MakeActiveGroupId(trial_name, group_name), id, true); in AssociateGoogleVariationIDForce()
198 const std::string& group_name) { in GetGoogleVariationID() argument
200 key, MakeActiveGroupId(trial_name, group_name)); in GetGoogleVariationID()
[all …]
Dvariations_associated_data.h76 const std::string& group_name,
82 const std::string& group_name,
93 const std::string& group_name);
100 const std::string& group_name,
/external/chromium_org/net/http/
Dhttp_proxy_client_socket_pool.cc79 const std::string& group_name, in HttpProxyConnectJob() argument
88 : ConnectJob(group_name, timeout_duration, priority, delegate, in HttpProxyConnectJob()
183 return transport_socket_handle_->Init(group_name(), in DoTransportConnect()
219 group_name(), params_->ssl_params(), priority(), callback_, in DoSSLConnect()
397 const std::string& group_name, in NewConnectJob() argument
400 return scoped_ptr<ConnectJob>(new HttpProxyConnectJob(group_name, in NewConnectJob()
445 const std::string& group_name, const void* socket_params, in RequestSocket() argument
451 return base_.RequestSocket(group_name, *casted_socket_params, priority, in RequestSocket()
456 const std::string& group_name, in RequestSockets() argument
463 base_.RequestSockets(group_name, *casted_params, num_sockets, net_log); in RequestSockets()
[all …]
Dhttp_proxy_client_socket_pool.h98 HttpProxyConnectJob(const std::string& group_name,
194 virtual int RequestSocket(const std::string& group_name,
201 virtual void RequestSockets(const std::string& group_name,
206 virtual void CancelRequest(const std::string& group_name,
209 virtual void ReleaseSocket(const std::string& group_name,
220 const std::string& group_name) const OVERRIDE;
223 const std::string& group_name,
258 const std::string& group_name,
/external/chromium_org/chrome/browser/metrics/
Dfield_trial_synchronizer.cc38 const std::string& group_name) { in NotifyAllRenderers() argument
47 new ChromeViewMsg_SetFieldTrialGroup(field_trial_name, group_name)); in NotifyAllRenderers()
53 const std::string& group_name) { in OnFieldTrialGroupFinalized() argument
54 CHECK(!field_trial_name.empty() && !group_name.empty()); in OnFieldTrialGroupFinalized()
60 group_name)); in OnFieldTrialGroupFinalized()
/external/chromium_org/chrome/browser/plugins/
Dplugin_prefs.cc105 const base::string16& group_name) { in EnablePluginGroup() argument
108 this, enabled, group_name)); in EnablePluginGroup()
113 const base::string16& group_name, in EnablePluginGroupInternal() argument
119 plugin_group_state_[group_name] = enabled; in EnablePluginGroupInternal()
124 if (group_name != plugin->name()) in EnablePluginGroupInternal()
180 base::string16 group_name; in EnablePluginInternal() local
186 group_name = plugin_metadata->name(); in EnablePluginInternal()
197 if (group_name == plugin_metadata->name()) { in EnablePluginInternal()
202 if (!group_name.empty()) { in EnablePluginInternal()
205 plugin_group_state_[group_name] = !all_disabled; in EnablePluginInternal()
[all …]
/external/chromium_org/chrome/browser/net/
Dasync_dns_field_trial.cc29 std::string group_name = base::FieldTrialList::FindFullName("AsyncDns"); in ConfigureAsyncDnsFieldTrial() local
30 if (!group_name.empty()) in ConfigureAsyncDnsFieldTrial()
31 return StartsWithASCII(group_name, "AsyncDns", false /* case_sensitive */); in ConfigureAsyncDnsFieldTrial()
/external/chromium_org/third_party/protobuf/python/
Dmox.py664 def _CheckAndCreateNewGroup(self, group_name, group_class): argument
676 if isinstance(group, group_class) and group.group_name() == group_name:
681 new_group = group_class(group_name)
686 def InAnyOrder(self, group_name="default"): argument
702 return self._CheckAndCreateNewGroup(group_name, UnorderedGroup)
704 def MultipleTimes(self, group_name="default"): argument
716 return self._CheckAndCreateNewGroup(group_name, MultipleTimesGroup)
1185 def __init__(self, group_name): argument
1186 self._group_name = group_name
1188 def group_name(self): member in MethodGroup
[all …]
/external/protobuf/python/
Dmox.py664 def _CheckAndCreateNewGroup(self, group_name, group_class): argument
676 if isinstance(group, group_class) and group.group_name() == group_name:
681 new_group = group_class(group_name)
686 def InAnyOrder(self, group_name="default"): argument
702 return self._CheckAndCreateNewGroup(group_name, UnorderedGroup)
704 def MultipleTimes(self, group_name="default"): argument
716 return self._CheckAndCreateNewGroup(group_name, MultipleTimesGroup)
1185 def __init__(self, group_name): argument
1186 self._group_name = group_name
1188 def group_name(self): member in MethodGroup
[all …]
/external/chromium_org/chrome/browser/history/
Dmost_visited_tiles_experiment.cc38 const std::string group_name = in MaybeShuffle() local
43 if (!EndsWith(group_name, kFlippedSuffix, true)) in MaybeShuffle()
47 if (StartsWithASCII(group_name, kOneEightGroupPrefix, true)) { in MaybeShuffle()
53 } else if (StartsWithASCII(group_name, kOneFourGroupPrefix, true)) { in MaybeShuffle()
/external/chromium_org/chrome/common/variations/
Duniformity_field_trials.cc51 const std::string group_name = in SetupSingleUniformityFieldTrial() local
53 DVLOG(1) << " Group name = " << group_name; in SetupSingleUniformityFieldTrial()
54 trial->AppendGroup(group_name, kProbabilityPerGroup); in SetupSingleUniformityFieldTrial()
56 GOOGLE_UPDATE_SERVICE, trial_name, group_name, in SetupSingleUniformityFieldTrial()
/external/chromium_org/third_party/webrtc/test/
Dfield_trial.cc64 std::string group_name(trials_string, name_end + 1, in InitFieldTrialsFromString() local
70 field_trials_.find(name)->second != group_name) in InitFieldTrialsFromString()
73 field_trials_[name] = group_name; in InitFieldTrialsFromString()
/external/chromium_org/chrome/renderer/
Dchrome_content_renderer_client.cc563 const base::string16& group_name = output.group_name; in CreatePlugin() local
709 group_name, in CreatePlugin()
714 l10n_util::GetStringFUTF16(IDS_PLUGIN_BLOCKED, group_name)); in CreatePlugin()
731 group_name, in CreatePlugin()
733 l10n_util::GetStringFUTF16(IDS_PLUGIN_LOAD, group_name)); in CreatePlugin()
750 group_name, in CreatePlugin()
766 group_name, in CreatePlugin()
768 l10n_util::GetStringFUTF16(IDS_PLUGIN_DISABLED, group_name)); in CreatePlugin()
779 group_name, in CreatePlugin()
781 l10n_util::GetStringFUTF16(IDS_PLUGIN_OUTDATED, group_name)); in CreatePlugin()
[all …]

1234