Home
last modified time | relevance | path

Searched refs:client (Results 1 – 25 of 2713) sorted by relevance

12345678910>>...109

/external/chromium_org/cc/scheduler/
Dscheduler_unittest.cc21 #define EXPECT_ACTION(action, client, action_index, expected_num_actions) \ argument
23 EXPECT_EQ(expected_num_actions, client.num_actions_()); \
25 ASSERT_LT(action_index, client.num_actions_()) << scheduler; \
26 EXPECT_STREQ(action, client.Action(action_index)); \
28 for (int i = expected_num_actions; i < client.num_actions_(); ++i) \
29 ADD_FAILURE() << "Unexpected action: " << client.Action(i) \
30 << " with state:\n" << client.StateForAction(i); \
33 #define EXPECT_NO_ACTION(client) EXPECT_ACTION("", client, -1, 0) argument
35 #define EXPECT_SINGLE_ACTION(action, client) \ argument
36 EXPECT_ACTION(action, client, 0, 1)
[all …]
/external/qemu/telephony/
Dsimulator.c36 Client client = calloc( sizeof(*client), 1 ); in client_alloc() local
38 client->channel = channel; in client_alloc()
39 return client; in client_alloc()
43 client_free( Client client ) in client_free() argument
45 sys_channel_close( client->channel ); in client_free()
46 client->channel = NULL; in client_free()
47 free( client ); in client_free()
51 client_append( Client client, const char* str, int len );
75 client_handle_line( Client client, const char* cmd ) in client_handle_line() argument
87 client_append( client, answer, -1 ); in client_handle_line()
[all …]
Dtest2.c52 Client client = calloc( sizeof(*client), 1 ); in client_alloc() local
54 client->channel = channel; in client_alloc()
55 return client; in client_alloc()
59 client_free( Client client ) in client_free() argument
61 sys_channel_close( client->channel ); in client_free()
62 client->channel = NULL; in client_free()
63 free( client ); in client_free()
67 client_append( Client client, const char* str, int len );
70 client_handle_line( Client client, const char* cmd ) in client_handle_line() argument
93 printf( "%p: << %s\n", client, temp ); in client_handle_line()
[all …]
/external/chromium_org/content/browser/appcache/
Dappcache_quota_client_unittest.cc40 int64 GetOriginUsage(storage::QuotaClient* client, in GetOriginUsage() argument
44 AsyncGetOriginUsage(client, origin, type); in GetOriginUsage()
49 const std::set<GURL>& GetOriginsForType(storage::QuotaClient* client, in GetOriginsForType() argument
52 AsyncGetOriginsForType(client, type); in GetOriginsForType()
57 const std::set<GURL>& GetOriginsForHost(storage::QuotaClient* client, in GetOriginsForHost() argument
61 AsyncGetOriginsForHost(client, type, host); in GetOriginsForHost()
66 storage::QuotaStatusCode DeleteOriginData(storage::QuotaClient* client, in DeleteOriginData() argument
70 AsyncDeleteOriginData(client, type, origin); in DeleteOriginData()
75 void AsyncGetOriginUsage(storage::QuotaClient* client, in AsyncGetOriginUsage() argument
78 client->GetOriginUsage( in AsyncGetOriginUsage()
[all …]
/external/fio/
Dclient.c27 static void handle_du(struct fio_client *client, struct fio_net_cmd *cmd);
28 static void handle_ts(struct fio_client *client, struct fio_net_cmd *cmd);
29 static void handle_gs(struct fio_client *client, struct fio_net_cmd *cmd);
30 static void handle_probe(struct fio_client *client, struct fio_net_cmd *cmd);
31 static void handle_text(struct fio_client *client, struct fio_net_cmd *cmd);
32 static void handle_stop(struct fio_client *client, struct fio_net_cmd *cmd);
33 static void handle_start(struct fio_client *client, struct fio_net_cmd *cmd);
70 static void fio_client_add_hash(struct fio_client *client) in fio_client_add_hash() argument
72 int bucket = hash_long(client->fd, FIO_CLIENT_HASH_BITS); in fio_client_add_hash()
75 flist_add(&client->hash_list, &client_hash[bucket]); in fio_client_add_hash()
[all …]
/external/qemu/android/
Dconsole.c197 control_client_detach( ControlClient client ) in control_client_detach() argument
201 if (client->sock < 0) in control_client_detach()
204 qemu_set_fd_handler( client->sock, NULL, NULL, NULL ); in control_client_detach()
205 result = client->sock; in control_client_detach()
206 client->sock = -1; in control_client_detach()
214 control_client_destroy( ControlClient client ) in control_client_destroy() argument
216 ControlGlobal global = client->global; in control_client_destroy()
220 D(( "destroying control client %p\n", client )); in control_client_destroy()
223 if (client == attached_ui_client) { in control_client_destroy()
228 if (client == user_events_client) { in control_client_destroy()
[all …]
/external/chromium_org/ui/views/ime/
Dinput_method_bridge.cc27 const ui::TextInputClient* client) OVERRIDE {} in OnTextInputTypeChanged() argument
31 const ui::TextInputClient* client) OVERRIDE {} in OnCaretBoundsChanged() argument
33 const ui::TextInputClient* client) OVERRIDE {} in OnTextInputStateChanged() argument
184 TextInputClient* client = GetTextInputClient(); in SetCompositionText() local
185 if (client) in SetCompositionText()
186 client->SetCompositionText(composition); in SetCompositionText()
190 TextInputClient* client = GetTextInputClient(); in ConfirmCompositionText() local
191 if (client) in ConfirmCompositionText()
192 client->ConfirmCompositionText(); in ConfirmCompositionText()
196 TextInputClient* client = GetTextInputClient(); in ClearCompositionText() local
[all …]
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/
Dtest_endtoend.py61 def _echo_check_procedure(client): argument
62 client.connect()
64 client.send_message('test')
65 client.assert_receive('test')
66 client.send_message('helloworld')
67 client.assert_receive('helloworld')
69 client.send_close()
70 client.assert_receive_close()
72 client.assert_connection_closed()
75 def _echo_check_procedure_with_binary(client): argument
[all …]
/external/chromium_org/ui/views/widget/desktop_aura/
Ddesktop_drag_drop_client_aurax11_unittest.cc52 ClientMessageEventCollector(::Window xid, TestDragDropClient* client);
184 TestDragDropClient* client) in ClientMessageEventCollector() argument
186 client_(client) { in ClientMessageEventCollector()
187 client->SetEventCollectorFor(xid, this); in ClientMessageEventCollector()
396 TestDragDropClient* client() { in client() function in views::DesktopDragDropClientAuraX11Test
412 void BasicStep2(TestDragDropClient* client, XID toplevel) { in BasicStep2() argument
413 EXPECT_TRUE(client->IsMoveLoopRunning()); in BasicStep2()
415 ClientMessageEventCollector collector(toplevel, client); in BasicStep2()
416 client->SetTopmostXWindowAndMoveMouse(toplevel); in BasicStep2()
423 EXPECT_TRUE(client->MessageHasType(events[0], "XdndEnter")); in BasicStep2()
[all …]
/external/chromium_org/third_party/WebKit/Source/web/
DFrameLoaderClientImpl.cpp113 if (m_webFrame->client()) { in dispatchDidClearWindowObjectInMainWorld()
114 m_webFrame->client()->didClearWindowObject(m_webFrame); in dispatchDidClearWindowObjectInMainWorld()
131 if (m_webFrame->client()) in documentElementAvailable()
132 m_webFrame->client()->didCreateDocumentElement(m_webFrame); in documentElementAvailable()
140 if (m_webFrame->client()) in didCreateScriptContext()
141 m_webFrame->client()->didCreateScriptContext(m_webFrame, context, extensionGroup, worldId); in didCreateScriptContext()
146 if (m_webFrame->client()) in willReleaseScriptContext()
147 m_webFrame->client()->willReleaseScriptContext(m_webFrame, context, worldId); in willReleaseScriptContext()
162 if (m_webFrame->client()) in didChangeScrollOffset()
163 m_webFrame->client()->didChangeScrollOffset(m_webFrame); in didChangeScrollOffset()
[all …]
DChromeClientImpl.cpp161 if (m_webView->client()) in setWindowRect()
162 m_webView->client()->setWindowRect(IntRect(r)); in setWindowRect()
168 if (m_webView->client()) in windowRect()
169 rect = m_webView->client()->rootWindowRect(); in windowRect()
190 if (m_webView->client()) in focus()
191 m_webView->client()->didFocus(); in focus()
203 if (!m_webView->client()) in takeFocus()
206 m_webView->client()->focusPrevious(); in takeFocus()
208 m_webView->client()->focusNext(); in takeFocus()
213 m_webView->client()->focusedNodeChanged(WebNode(node)); in focusedNodeChanged()
[all …]
/external/chromium_org/net/proxy/
Ddhcp_proxy_script_adapter_fetcher_win_unittest.cc171 FetcherClient client; in TEST() local
172 client.fetcher_->configured_url_ = ""; in TEST()
173 client.RunTest(); in TEST()
174 client.WaitForResult(ERR_PAC_NOT_IN_DHCP); in TEST()
175 ASSERT_TRUE(client.fetcher_->DidFinish()); in TEST()
176 EXPECT_EQ(ERR_PAC_NOT_IN_DHCP, client.fetcher_->GetResult()); in TEST()
177 EXPECT_EQ(base::string16(L""), client.fetcher_->GetPacScript()); in TEST()
181 FetcherClient client; in TEST() local
182 client.RunTest(); in TEST()
183 client.WaitForResult(OK); in TEST()
[all …]
Ddhcp_proxy_script_fetcher_win_unittest.cc436 void TestNormalCaseURLConfiguredOneAdapter(FetcherClient* client) { in TestNormalCaseURLConfiguredOneAdapter() argument
440 client->GetTaskRunner())); in TestNormalCaseURLConfiguredOneAdapter()
442 client->fetcher_.PushBackAdapter("a", adapter_fetcher.release()); in TestNormalCaseURLConfiguredOneAdapter()
443 client->RunTest(); in TestNormalCaseURLConfiguredOneAdapter()
444 client->RunMessageLoopUntilComplete(); in TestNormalCaseURLConfiguredOneAdapter()
445 ASSERT_EQ(OK, client->result_); in TestNormalCaseURLConfiguredOneAdapter()
446 ASSERT_EQ(L"bingo", client->pac_text_); in TestNormalCaseURLConfiguredOneAdapter()
450 FetcherClient client; in TEST() local
451 TestNormalCaseURLConfiguredOneAdapter(&client); in TEST()
454 void TestNormalCaseURLConfiguredMultipleAdapters(FetcherClient* client) { in TestNormalCaseURLConfiguredMultipleAdapters() argument
[all …]
/external/chromium_org/gpu/
Dgpu_common.gypi12 'command_buffer/client/gles2_c_lib.cc',
13 'command_buffer/client/gles2_c_lib_autogen.h',
14 'command_buffer/client/gles2_c_lib_export.h',
15 'command_buffer/client/gles2_lib.h',
16 'command_buffer/client/gles2_lib.cc',
19 # with without support for client side arrays and once with for pepper and
22 'command_buffer/client/buffer_tracker.cc',
23 'command_buffer/client/buffer_tracker.h',
24 'command_buffer/client/client_context_state.h',
25 'command_buffer/client/client_context_state.cc',
[all …]
/external/chromium_org/content/child/
Dweb_url_loader_impl_unittest.cc279 client()->loader()->loadAsynchronously(request, client()); in DoStartAsyncRequest()
285 EXPECT_FALSE(client()->did_receive_redirect()); in DoReceiveRedirect()
293 EXPECT_TRUE(client()->did_receive_redirect()); in DoReceiveRedirect()
297 EXPECT_FALSE(client()->did_receive_response()); in DoReceiveResponse()
299 EXPECT_TRUE(client()->did_receive_response()); in DoReceiveResponse()
304 EXPECT_EQ("", client()->received_data()); in DoReceiveData()
306 EXPECT_EQ(kTestData, client()->received_data()); in DoReceiveData()
310 EXPECT_FALSE(client()->did_finish()); in DoCompleteRequest()
313 EXPECT_TRUE(client()->did_finish()); in DoCompleteRequest()
315 EXPECT_EQ(net::OK, client()->error().reason); in DoCompleteRequest()
[all …]
Dmultipart_response_delegate_unittest.cc103 MockWebURLLoaderClient client; in TEST() local
104 MultipartResponseDelegate delegate(&client, NULL, response, "bound"); in TEST()
148 client.Reset(); in TEST()
153 client.received_response_); in TEST()
159 client.Reset(); in TEST()
164 EXPECT_EQ(string("image/png"), client.GetResponseHeader("Content-Type")); in TEST()
165 EXPECT_EQ(string("10"), client.GetResponseHeader("content-length")); in TEST()
167 EXPECT_EQ(string("Bar"), client.GetResponseHeader("foo")); in TEST()
170 client.Reset(); in TEST()
176 client.GetResponseHeader("Content-Type")); in TEST()
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/exported/
DWebScrollbarThemeGeometryNative.cpp53 WebScrollbarThemeClientImpl client(scrollbar); in thumbPosition() local
54 return m_theme->thumbPosition(&client); in thumbPosition()
59 WebScrollbarThemeClientImpl client(scrollbar); in thumbLength() local
60 return m_theme->thumbLength(&client); in thumbLength()
65 WebScrollbarThemeClientImpl client(scrollbar); in trackPosition() local
66 return m_theme->trackPosition(&client); in trackPosition()
71 WebScrollbarThemeClientImpl client(scrollbar); in trackLength() local
72 return m_theme->trackLength(&client); in trackLength()
77 WebScrollbarThemeClientImpl client(scrollbar); in hasButtons() local
78 return m_theme->hasButtons(&client); in hasButtons()
[all …]
/external/chromium_org/chrome/browser/password_manager/
Dchrome_password_manager_client_unittest.cc115 ChromePasswordManagerClient* client = GetClient(); in TEST_F() local
119 client->LogSavePasswordProgress(kTestText); in TEST_F()
120 EXPECT_FALSE(client->IsLoggingActive()); in TEST_F()
124 ChromePasswordManagerClient* client = GetClient(); in TEST_F() local
125 EXPECT_FALSE(client->IsLoggingActive()); in TEST_F()
129 EXPECT_TRUE(client->IsLoggingActive()); in TEST_F()
131 client->LogSavePasswordProgress(kTestText); in TEST_F()
133 EXPECT_FALSE(client->IsLoggingActive()); in TEST_F()
137 ChromePasswordManagerClient* client = GetClient(); in TEST_F() local
140 EXPECT_TRUE(client->IsLoggingActive()); in TEST_F()
[all …]
/external/chromium_org/chromeos/dbus/
Ddbus_thread_manager.cc327 bool DBusThreadManager::IsUsingStub(DBusClientBundle::DBusClientType client) { in IsUsingStub() argument
328 return client_bundle_->IsUsingStub(client); in IsUsingStub()
430 scoped_ptr<BluetoothAdapterClient> client) { in SetBluetoothAdapterClient() argument
432 client.Pass(); in SetBluetoothAdapterClient()
436 scoped_ptr<BluetoothAgentManagerClient> client) { in SetBluetoothAgentManagerClient() argument
438 client.Pass(); in SetBluetoothAgentManagerClient()
442 scoped_ptr<BluetoothDeviceClient> client) { in SetBluetoothDeviceClient() argument
444 client.Pass(); in SetBluetoothDeviceClient()
448 scoped_ptr<BluetoothGattCharacteristicClient> client) { in SetBluetoothGattCharacteristicClient() argument
450 bluetooth_gatt_characteristic_client_ = client.Pass(); in SetBluetoothGattCharacteristicClient()
[all …]
Ddbus_thread_manager.h109 bool IsUsingStub(DBusClientBundle::DBusClientType client);
196 void SetBluetoothAdapterClient(scoped_ptr<BluetoothAdapterClient> client);
198 scoped_ptr<BluetoothAgentManagerClient> client);
199 void SetBluetoothDeviceClient(scoped_ptr<BluetoothDeviceClient> client);
201 scoped_ptr<BluetoothGattCharacteristicClient> client);
203 scoped_ptr<BluetoothGattDescriptorClient> client);
205 scoped_ptr<BluetoothGattManagerClient> client);
207 scoped_ptr<BluetoothGattServiceClient> client);
208 void SetBluetoothInputClient(scoped_ptr<BluetoothInputClient> client);
210 scoped_ptr<BluetoothProfileManagerClient> client);
[all …]
/external/chromium_org/ui/base/ime/
Dinput_method_base.cc50 void InputMethodBase::SetFocusedTextInputClient(TextInputClient* client) { in SetFocusedTextInputClient() argument
51 SetFocusedTextInputClientInternal(client); in SetFocusedTextInputClient()
54 void InputMethodBase::DetachTextInputClient(TextInputClient* client) { in DetachTextInputClient() argument
55 if (text_input_client_ != client) in DetachTextInputClient()
67 void InputMethodBase::OnTextInputTypeChanged(const TextInputClient* client) { in OnTextInputTypeChanged() argument
68 if (!IsTextInputClientFocused(client)) in OnTextInputTypeChanged()
70 NotifyTextInputStateChanged(client); in OnTextInputTypeChanged()
74 TextInputClient* client = GetTextInputClient(); in GetTextInputType() local
75 return client ? client->GetTextInputType() : TEXT_INPUT_TYPE_NONE; in GetTextInputType()
79 TextInputClient* client = GetTextInputClient(); in GetTextInputMode() local
[all …]
/external/chromium_org/chrome/test/chromedriver/chrome/
Dnavigation_tracker_unittest.cc27 StubDevToolsClient client; in AssertTrackerExpectsSingleStopEvent() local
28 NavigationTracker tracker(&client, browser_info); in AssertTrackerExpectsSingleStopEvent()
34 kOk, tracker.OnEvent(&client, "Page.frameStartedLoading", params).code()); in AssertTrackerExpectsSingleStopEvent()
38 kOk, tracker.OnEvent(&client, "Page.frameStartedLoading", params).code()); in AssertTrackerExpectsSingleStopEvent()
42 kOk, tracker.OnEvent(&client, "Page.frameStoppedLoading", params).code()); in AssertTrackerExpectsSingleStopEvent()
48 StubDevToolsClient client; in AssertTrackerExpectsMultipleStopEvents() local
49 NavigationTracker tracker(&client, browser_info); in AssertTrackerExpectsMultipleStopEvents()
55 kOk, tracker.OnEvent(&client, "Page.frameStartedLoading", params).code()); in AssertTrackerExpectsMultipleStopEvents()
60 kOk, tracker.OnEvent(&client, "Page.frameStartedLoading", params).code()); in AssertTrackerExpectsMultipleStopEvents()
65 kOk, tracker.OnEvent(&client, "Page.frameStoppedLoading", params).code()); in AssertTrackerExpectsMultipleStopEvents()
[all …]
/external/chromium_org/third_party/webrtc/base/
Dsocket_unittest.cc196 scoped_ptr<AsyncSocket> client(ss_->CreateAsyncSocket(loopback.family(), in ConnectInternal() local
198 sink.Monitor(client.get()); in ConnectInternal()
199 EXPECT_EQ(AsyncSocket::CS_CLOSED, client->GetState()); in ConnectInternal()
200 EXPECT_PRED1(IsUnspecOrEmptyIP, client->GetLocalAddress().ipaddr()); in ConnectInternal()
216 EXPECT_EQ(0, client->Connect(server->GetLocalAddress())); in ConnectInternal()
217 EXPECT_FALSE(client->GetLocalAddress().IsNil()); in ConnectInternal()
218 EXPECT_NE(server->GetLocalAddress(), client->GetLocalAddress()); in ConnectInternal()
221 EXPECT_EQ(AsyncSocket::CS_CONNECTING, client->GetState()); in ConnectInternal()
222 EXPECT_FALSE(sink.Check(client.get(), testing::SSE_OPEN)); in ConnectInternal()
223 EXPECT_FALSE(sink.Check(client.get(), testing::SSE_CLOSE)); in ConnectInternal()
[all …]
/external/chromium_org/remoting/
Dremoting_srcs.gypi211 # See remoting/client/BUILD.gn
212 'client/audio_decode_scheduler.cc',
213 'client/audio_decode_scheduler.h',
214 'client/audio_player.cc',
215 'client/audio_player.h',
216 'client/chromoting_client.cc',
217 'client/chromoting_client.h',
218 'client/chromoting_stats.cc',
219 'client/chromoting_stats.h',
220 'client/client_context.cc',
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DDispatcherTest.java19 OkHttpClient client = new OkHttpClient().setDispatcher(dispatcher); field in DispatcherTest
43 client.enqueue(newRequest("http://a/1"), receiver); in enqueuedJobsRunImmediately()
49 client.enqueue(newRequest("http://a/1"), receiver); in maxRequestsEnforced()
50 client.enqueue(newRequest("http://a/2"), receiver); in maxRequestsEnforced()
51 client.enqueue(newRequest("http://b/1"), receiver); in maxRequestsEnforced()
52 client.enqueue(newRequest("http://b/2"), receiver); in maxRequestsEnforced()
58 client.enqueue(newRequest("http://a/1"), receiver); in maxPerHostEnforced()
59 client.enqueue(newRequest("http://a/2"), receiver); in maxPerHostEnforced()
60 client.enqueue(newRequest("http://a/3"), receiver); in maxPerHostEnforced()
66 client.enqueue(newRequest("http://a/1"), receiver); in increasingMaxRequestsPromotesJobsImmediately()
[all …]

12345678910>>...109