Home
last modified time | relevance | path

Searched refs:worker (Results 1 – 25 of 88) sorted by relevance

1234

/external/webkit/Source/WebCore/workers/
DWorker.cpp61 RefPtr<Worker> worker = adoptRef(new Worker(context)); in create() local
63 KURL scriptURL = worker->resolveURL(url, ec); in create()
67 worker->m_scriptLoader = adoptPtr(new WorkerScriptLoader(ResourceRequestBase::TargetIsWorker)); in create()
68worker->m_scriptLoader->loadAsynchronously(context, scriptURL, DenyCrossOriginRequests, worker.get… in create()
71 worker->setPendingActivity(worker.get()); in create()
73 InspectorInstrumentation::didCreateWorker(context, worker->asID(), scriptURL.string(), false); in create()
75 return worker.release(); in create()
DSharedWorker.cpp54 RefPtr<SharedWorker> worker = adoptRef(new SharedWorker(context)); in create() local
57 worker->m_port = channel->port1(); in create()
61 KURL scriptURL = worker->resolveURL(url, ec); in create()
65 SharedWorkerRepository::connect(worker.get(), remotePort.release(), scriptURL, name, ec); in create()
67 InspectorInstrumentation::didCreateWorker(context, worker->asID(), scriptURL.string(), true); in create()
69 return worker.release(); in create()
DDefaultSharedWorkerRepository.cpp268 SharedWorkerScriptLoader::SharedWorkerScriptLoader(PassRefPtr<SharedWorker> worker, PassOwnPtr<Mess… in SharedWorkerScriptLoader() argument
269 : m_worker(worker) in SharedWorkerScriptLoader()
329 void SharedWorkerRepository::connect(PassRefPtr<SharedWorker> worker, PassOwnPtr<MessagePortChannel… in connect() argument
331 DefaultSharedWorkerRepository::instance().connectToWorker(worker, port, url, name, ec); in connect()
372 void DefaultSharedWorkerRepository::connectToWorker(PassRefPtr<SharedWorker> worker, PassOwnPtr<Mes… in connectToWorker() argument
375 …ASSERT(worker->scriptExecutionContext()->securityOrigin()->canAccess(SecurityOrigin::create(url).g… in connectToWorker()
378 proxy->addToWorkerDocuments(worker->scriptExecutionContext()); in connectToWorker()
388 …RefPtr<SharedWorkerScriptLoader> loader = adoptRef(new SharedWorkerScriptLoader(worker, port, prox… in connectToWorker()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DSocketTest.java194 Socket worker = server.accept(); in test_bindLjava_net_SocketAddress() local
198 worker.getRemoteSocketAddress()); in test_bindLjava_net_SocketAddress()
200 worker.close(); in test_bindLjava_net_SocketAddress()
813 Socket worker = sinkServer.accept(); in test_getOutputStream()
815 InputStream in = worker.getInputStream(); in test_getOutputStream()
818 worker.close(); in test_getOutputStream()
1008 Socket worker = server.accept(); in test_isBound() local
1012 worker.close(); in test_isBound()
1025 worker = server.accept(); in test_isBound()
1028 worker.close(); in test_isBound()
[all …]
/external/webkit/Tools/Scripts/webkitpy/layout_tests/layout_package/
Dmanager_worker_broker_unittest.py174 worker = self._broker.start_worker(0)
175 worker.cancel()
177 worker.join(0.5)
178 self.assertFalse(worker.is_alive())
182 worker = self._broker.start_worker(0)
186 worker.join(0.5)
187 self.assertFalse(worker.is_alive())
199 worker = self._broker.start_worker(0)
201 worker.log_wedged_worker('test_name')
205 worker.join(0.5)
[all …]
Dworker_mixin.py161 worker = self
163 driver = worker._port.create_driver(worker._worker_number)
168 self.result = worker._run_single_test(driver, test_input)
/external/webkit/Source/WebCore/inspector/
DInspectorAgent.cpp251 InspectorWorkerResource* worker = it->second.get(); in setFrontend() local
252 … m_frontend->inspector()->didCreateWorker(worker->id(), worker->url(), worker->isSharedWorker()); in setFrontend()
320 …erNotificationToFrontendTask> create(PassRefPtr<InspectorWorkerResource> worker, InspectorAgent::W… in create() argument
322 return new PostWorkerNotificationToFrontendTask(worker, action); in create()
326 …PostWorkerNotificationToFrontendTask(PassRefPtr<InspectorWorkerResource> worker, InspectorAgent::W… in PostWorkerNotificationToFrontendTask() argument
327 : m_worker(worker) in PostWorkerNotificationToFrontendTask()
345 void InspectorAgent::postWorkerNotificationToFrontend(const InspectorWorkerResource& worker, Inspec… in postWorkerNotificationToFrontend() argument
352 … m_frontend->inspector()->didCreateWorker(worker.id(), worker.url(), worker.isSharedWorker()); in postWorkerNotificationToFrontend()
355 m_frontend->inspector()->didDestroyWorker(worker.id()); in postWorkerNotificationToFrontend()
/external/apache-xml/src/main/java/org/apache/xml/utils/
DThreadControllerWrapper.java38 public static void waitThread(Thread worker, Runnable task) in waitThread() argument
41 m_tpool.waitThread(worker, task); in waitThread()
87 public void waitThread(Thread worker, Runnable task) in waitThread() argument
92 worker.join(); in waitThread()
/external/chromium/chrome/browser/printing/
Dprint_job_unittest.cc45 TestPrintJobWorker* worker(new TestPrintJobWorker(new_owner)); in DetachWorker() local
46 EXPECT_TRUE(worker->Start()); in DetachWorker()
47 worker->printing_context()->UseDefaultSettings(); in DetachWorker()
48 settings_ = worker->printing_context()->settings(); in DetachWorker()
49 return worker; in DetachWorker()
/external/webkit/Source/WebKit/chromium/src/
DSharedWorkerRepository.cpp67 …SharedWorkerScriptLoader(PassRefPtr<SharedWorker> worker, const KURL& url, const String& name, Pas… in SharedWorkerScriptLoader() argument
68 : m_worker(worker) in SharedWorkerScriptLoader()
196 void SharedWorkerRepository::connect(PassRefPtr<SharedWorker> worker, PassOwnPtr<MessagePortChannel… in connect() argument
203 ASSERT(worker->scriptExecutionContext()->isDocument()); in connect()
204 Document* document = static_cast<Document*>(worker->scriptExecutionContext()); in connect()
220 …SharedWorkerScriptLoader* loader = new SharedWorkerScriptLoader(worker, url, name, port, webWorker… in connect()
DWebWorkerClientImpl.cpp83 WorkerContextProxy* WebWorkerClientImpl::createWorkerContextProxy(Worker* worker) in createWorkerContextProxy() argument
91 WebWorkerClientImpl* proxy = new WebWorkerClientImpl(worker); in createWorkerContextProxy()
93 if (worker->scriptExecutionContext()->isDocument()) { in createWorkerContextProxy()
95 worker->scriptExecutionContext()); in createWorkerContextProxy()
115 WebWorkerClientImpl::WebWorkerClientImpl(Worker* worker) in WebWorkerClientImpl() argument
116 : m_scriptExecutionContext(worker->scriptExecutionContext()) in WebWorkerClientImpl()
117 , m_worker(worker) in WebWorkerClientImpl()
DWebWorkerBase.cpp70 …static PassRefPtr<AllowDatabaseMainThreadBridge> create(WebWorkerBase* worker, const WTF::String& … in create() argument
72 …return adoptRef(new AllowDatabaseMainThreadBridge(worker, mode, commonClient, frame, name, display… in create()
96 …AllowDatabaseMainThreadBridge(WebWorkerBase* worker, const WTF::String& mode, WebCommonWorkerClien… in AllowDatabaseMainThreadBridge() argument
97 : m_worker(worker) in AllowDatabaseMainThreadBridge()
100worker->dispatchTaskToMainThread(createCallbackTask(&allowDatabaseTask, commonClient, frame, Strin… in AllowDatabaseMainThreadBridge()
/external/valgrind/unittest/
Dthread_wrappers_win.h197 MyThread(worker_t worker, void *arg = NULL, const char *name = NULL)
198 :w_(worker), arg_(arg), name_(name), t_(NULL) {} in w_() argument
199 MyThread(void (*worker)(void), void *arg = NULL, const char *name = NULL)
200 :w_(reinterpret_cast<worker_t>(worker)), arg_(arg), name_(name), t_(NULL) {} in w_() argument
201 MyThread(void (*worker)(void *), void *arg = NULL, const char *name = NULL)
202 :w_(reinterpret_cast<worker_t>(worker)), arg_(arg), name_(name), t_(NULL) {} in w_() argument
Dthread_wrappers_pthread.h338 MyThread(worker_t worker, void *arg = NULL, const char *name = NULL)
339 :w_(worker), arg_(arg), name_(name) {} in w_() argument
340 MyThread(void (*worker)(void), void *arg = NULL, const char *name = NULL)
341 :w_(reinterpret_cast<worker_t>(worker)), arg_(arg), name_(name) {} in w_() argument
342 MyThread(void (*worker)(void *), void *arg = NULL, const char *name = NULL)
343 :w_(reinterpret_cast<worker_t>(worker)), arg_(arg), name_(name) {} in w_() argument
/external/chromium/chrome/browser/sync/engine/
Dmodel_changing_syncer_command.cc21 ModelSafeWorker* worker = session->workers()[i]; in ExecuteImpl() local
22 ModelSafeGroup group = worker->GetModelSafeGroup(); in ExecuteImpl()
28 worker->DoWorkAndWaitUntilDone(c.get()); in ExecuteImpl()
/external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/net/
DUnixSocketTest.java46 Socket worker = pingServer.accept(); in test_getInputStream() local
52 InputStream in = worker.getInputStream(); in test_getInputStream()
55 OutputStream out = worker.getOutputStream(); in test_getInputStream()
57 worker.close(); in test_getInputStream()
/external/webkit/Source/WebCore/inspector/front-end/
DWorkersSidebarPane.js58 var worker = new WebInspector.Worker(id, url, isShared);
59 this._workers[id] = worker;
62 var treeElement = new TreeElement(null, worker, false);
/external/chromium/chrome/browser/sync/glue/
Dui_model_worker_unittest.cc44 explicit Syncer(UIModelWorker* worker) : worker_(worker) {} in Syncer() argument
77 UIModelWorker* worker, in FakeSyncapiShutdownTask() argument
80 : syncer_thread_(syncer_thread), worker_(worker), jobs_(jobs), in FakeSyncapiShutdownTask()
Ddatabase_model_worker_unittest.cc30 DatabaseModelWorker* worker() { return worker_.get(); } in worker() function in __anonab96dba10111::DatabaseModelWorkerTest
43 worker()->DoWorkAndWaitUntilDone(c.get()); in ScheduleWork()
/external/chromium/net/base/
Dcert_verifier.cc237 explicit CertVerifierJob(CertVerifierWorker* worker) : worker_(worker) { in CertVerifierJob() argument
347 CertVerifierWorker* worker = new CertVerifierWorker(cert, hostname, flags, in Verify() local
349 job = new CertVerifierJob(worker); in Verify()
350 if (!worker->Start()) { in Verify()
352 delete worker; in Verify()
/external/chromium/chrome/browser/notifications/
Dnotification_object_proxy.cc14 int notification_id, bool worker) in NotificationObjectProxy() argument
18 worker_(worker) { in NotificationObjectProxy()
/external/freetype/src/smooth/
Dftgrays.c242 #define RAS_ARG gray_PWorker worker
243 #define RAS_ARG_ gray_PWorker worker,
245 #define RAS_VAR worker
246 #define RAS_VAR_ worker,
380 #define ras (*worker)
392 gray_PWorker worker; member
1123 gray_PWorker worker ) in gray_move_to() argument
1137 worker->x = x; in gray_move_to()
1138 worker->y = y; in gray_move_to()
1145 gray_PWorker worker ) in gray_line_to() argument
[all …]
/external/webkit/Source/WebCore/bindings/js/
DJSWorkerCustom.cpp62 RefPtr<Worker> worker = Worker::create(ustringToString(scriptURL), window->document(), ec); in constructJSWorker() local
68 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), worker.release()))); in constructJSWorker()
DJSSharedWorkerCustom.cpp72 …RefPtr<SharedWorker> worker = SharedWorker::create(ustringToString(scriptURL), ustringToString(nam… in constructJSSharedWorker() local
78 return JSValue::encode(asObject(toJS(exec, jsConstructor->globalObject(), worker.release()))); in constructJSSharedWorker()
/external/webkit/Source/WebCore/bindings/v8/custom/
DV8WorkerCustom.cpp93 Worker* worker = V8Worker::toNative(args.Holder()); in postMessageCallback() local
104 worker->postMessage(message.release(), &portArray, ec); in postMessageCallback()

1234