Home
last modified time | relevance | path

Searched refs:NewCallback (Results 1 – 25 of 73) sorted by relevance

123

/external/chromium_org/ppapi/native_client/src/trusted/plugin/
Dplugin.cc75 callback_factory_.NewCallback(&Plugin::SignalStartSelLdrDone, in LoadHelperNaClModuleInternal()
79 callback_factory_.NewCallback(&Plugin::StartSelLdrOnMainThread, in LoadHelperNaClModuleInternal()
100 callback_factory_.NewCallback(&Plugin::StartNexe, service_runtime)); in LoadHelperNaClModuleInternal()
156 pp::CompletionCallback callback = callback_factory_.NewCallback( in LoadNaClModule()
250 callback_factory_.NewCallback(&Plugin::NaClManifestFileDidOpen); in Init()
330 callback_factory_.NewCallback(&Plugin::NexeFileDidOpenContinuation)); in NexeFileDidOpen()
369 callback_factory_.NewCallback(&Plugin::BitcodeDidTranslateContinuation)); in BitcodeDidTranslate()
403 callback_factory_.NewCallback(&Plugin::BitcodeDidTranslate); in NaClManifestFileDidOpen()
412 callback_factory_.NewCallback(&Plugin::NexeFileDidOpen); in NaClManifestFileDidOpen()
/external/protobuf/src/google/protobuf/stubs/
Dcommon_unittest.cc197 Closure* closure = NewCallback(&SetA123Function); in TEST_F()
204 Closure* closure = NewCallback(current_instance_, in TEST_F()
212 Closure* closure = NewCallback(&SetAFunction, 456); in TEST_F()
219 Closure* closure = NewCallback(current_instance_, in TEST_F()
227 Closure* closure = NewCallback(&SetCFunction, string("test")); in TEST_F()
234 Closure* closure = NewCallback(current_instance_, in TEST_F()
243 Closure* closure = NewCallback(&SetABFunction, 789, cstr); in TEST_F()
253 Closure* closure = NewCallback(current_instance_, in TEST_F()
/external/chromium_org/ppapi/tests/
Dtest_message_loop.cc55 pp::MessageLoop::GetCurrent().PostWork(callback_factory_.NewCallback( in TestPost()
69 thread.message_loop().PostWork(callback_factory_.NewCallback( in TestPost()
81 thread.message_loop().PostWork(callback_factory_.NewCallback( in TestPost()
102 callback_factory_.NewCallback( in EchoParamToMainTask()
Dtest_flash_message_loop.cc34 pp::CompletionCallback callback = callback_factory_.NewCallback( in TestBasics()
50 pp::CompletionCallback callback = callback_factory_.NewCallback( in TestRunWithoutQuit()
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
Dcommon_unittest.cc203 Closure* closure = NewCallback(&SetA123Function); in TEST_F()
210 Closure* closure = NewCallback(current_instance_, in TEST_F()
218 Closure* closure = NewCallback(&SetAFunction, 456); in TEST_F()
225 Closure* closure = NewCallback(current_instance_, in TEST_F()
233 Closure* closure = NewCallback(&SetCFunction, string("test")); in TEST_F()
240 Closure* closure = NewCallback(current_instance_, in TEST_F()
249 Closure* closure = NewCallback(&SetABFunction, 789, cstr); in TEST_F()
259 Closure* closure = NewCallback(current_instance_, in TEST_F()
/external/chromium_org/content/renderer/
Dresource_fetcher_browsertest.cc52 ResourceFetcher::Callback NewCallback() { in NewCallback() function in content::FetcherDelegate
157 delegate->NewCallback()); in ResourceFetcherDownloadOnRenderer()
176 delegate->NewCallback()); in ResourceFetcher404OnRenderer()
196 delegate->NewCallback()); in ResourceFetcherDidFailOnRenderer()
217 delegate->NewCallback()); in ResourceFetcherTimeoutOnRenderer()
239 delegate->NewCallback()); in ResourceFetcherDeletedInCallbackOnRenderer()
260 delegate->NewCallback()); in ResourceFetcherPost()
280 delegate->NewCallback()); in ResourceFetcherSetHeader()
/external/chromium_org/ppapi/examples/url_loader/
Dstream_to_file.cc95 factory_.NewCallback(&MyInstance::OnOpenComplete)); in StartRequest()
105 factory_.NewCallback(&MyInstance::OnStreamComplete)); in OnOpenComplete()
114 factory_.NewCallback(&MyInstance::OnOpenFileComplete)); in OnStreamComplete()
126 factory_.NewCallback(&MyInstance::OnReadComplete)); in OnOpenFileComplete()
/external/chromium_org/media/cdm/ppapi/
Dcdm_adapter.cc475 CallOnMain(callback_factory_.NewCallback( in Decrypt()
507 CallOnMain(callback_factory_.NewCallback( in InitializeAudioDecoder()
542 CallOnMain(callback_factory_.NewCallback( in InitializeVideoDecoder()
557 CallOnMain(callback_factory_.NewCallback( in DeinitializeDecoder()
569 CallOnMain(callback_factory_.NewCallback(&CdmAdapter::DecoderResetDone, in ResetDecoder()
598 CallOnMain(callback_factory_.NewCallback( in DecryptAndDecode()
612 CallOnMain(callback_factory_.NewCallback( in DecryptAndDecode()
636 callback_factory_.NewCallback(&CdmAdapter::TimerExpired, context), in SetTimer()
679 PostOnMain(callback_factory_.NewCallback( in OnSessionReady()
739 PostOnMain(callback_factory_.NewCallback( in OnResolveNewSessionPromise()
[all …]
Dcdm_file_io_impl.cc286 callback_factory_.NewCallback(&CdmFileIOImpl::OnFileOpenedForRead); in OpenFileForRead()
325 callback_factory_.NewCallback(&CdmFileIOImpl::OnFileRead); in ReadFile()
402 callback_factory_.NewCallback(&CdmFileIOImpl::OnTempFileOpenedForWrite); in OpenTempFileForWrite()
442 callback_factory_.NewCallback(&CdmFileIOImpl::OnTempFileWritten); in WriteTempFile()
478 callback_factory_.NewCallback(&CdmFileIOImpl::OnTempFileRenamed); in RenameTempFile()
518 PostOnMain(callback_factory_.NewCallback(&CdmFileIOImpl::NotifyClientOfError, in OnError()
/external/chromium_org/native_client_sdk/src/tests/nacl_io_socket_test/
Decho_server.cc57 callback_factory_.NewCallback(&EchoServer::OnBindCompletion); in Start()
74 callback_factory_.NewCallback(&EchoServer::OnListenCompletion); in OnBindCompletion()
145 callback_factory_.NewCallback(&EchoServer::OnWriteCompletion); in OnReadCompletion()
170 callback_factory_.NewCallback(&EchoServer::OnReadCompletion); in TryRead()
/external/chromium_org/native_client_sdk/src/examples/api/socket/
Decho_server.cc56 callback_factory_.NewCallback(&EchoServer::OnBindCompletion); in Start()
73 callback_factory_.NewCallback(&EchoServer::OnListenCompletion); in OnBindCompletion()
137 callback_factory_.NewCallback(&EchoServer::OnWriteCompletion); in OnReadCompletion()
162 callback_factory_.NewCallback(&EchoServer::OnReadCompletion); in TryRead()
Dsocket.cc178 callback_factory_.NewCallback(&ExampleInstance::OnResolveCompletion); in Connect()
195 callback_factory_.NewCallback(&ExampleInstance::OnConnectCompletion); in OnResolveCompletion()
239 callback_factory_.NewCallback(&ExampleInstance::OnSendCompletion); in Send()
270 callback_factory_.NewCallback(&ExampleInstance::OnReceiveCompletion); in Receive()
/external/chromium_org/native_client_sdk/src/examples/api/file_io/
Dfile_io.cc75 callback_factory_.NewCallback(&FileIoInstance::OpenFileSystem)); in Init()
121 callback_factory_.NewCallback(&FileIoInstance::Load, file_name)); in HandleMessage()
126 file_thread_.message_loop().PostWork(callback_factory_.NewCallback( in HandleMessage()
130 callback_factory_.NewCallback(&FileIoInstance::Delete, file_name)); in HandleMessage()
134 callback_factory_.NewCallback(&FileIoInstance::List, dir_name)); in HandleMessage()
138 callback_factory_.NewCallback(&FileIoInstance::MakeDir, dir_name)); in HandleMessage()
/external/chromium_org/extensions/browser/
Dfile_reader_unittest.cc37 FileReader::Callback NewCallback() { in NewCallback() function in extensions::Receiver
69 new FileReader(resource, receiver.NewCallback())); in RunBasicTest()
97 new FileReader(resource, receiver.NewCallback())); in TEST_F()
/external/chromium_org/ppapi/examples/video_effects/
Dvideo_effects.cc97 factory_.NewCallback(&VEDemoInstance::DestinationOpenDone, in HandleMessage()
117 factory_.NewCallback(&VEDemoInstance::SourceOpenDone)); in DestinationOpenDone()
129 message_loop_.PostWork(factory_.NewCallback(&VEDemoInstance::KickoffEffect)); in SourceOpenDone()
158 message_loop_.PostWork(factory_.NewCallback(&VEDemoInstance::KickoffEffect)); in GetFrameDone()
/external/clang/test/Misc/
Ddiagnostic-crash.cpp28 NewCallback(T1* obj, R(T2::* member)(P1, P2, A1), const P1& p1, const P2& p2) {} in NewCallback() function
38 …Closure* cb = NewCallback(this, &xxxxxxxxxxxxxxxxx::Bar, s, status); // expected-error{{cannot in… in Foo()
/external/chromium_org/ppapi/utility/
Dcompletion_callback_factory.h258 CompletionCallback NewCallback(Method method) {
275 CompletionCallback cc = NewCallback(method);
312 CompletionCallback NewCallback(Method method, const A& a) {
333 CompletionCallback cc = NewCallback(method, a);
378 CompletionCallback NewCallback(Method method, const A& a, const B& b) {
403 CompletionCallback cc = NewCallback(method, a, b);
458 CompletionCallback NewCallback(Method method, const A& a, const B& b,
489 CompletionCallback cc = NewCallback(method, a, b, c);
/external/chromium_org/ppapi/examples/compositor/
Dcompositor.cc156 pp::CompletionCallback cb = callback_factory_.NewCallback( in Graphics3DContextLost()
276 callback_factory_.NewCallback(&DemoInstance::Paint, ++frame)); in Paint()
340 callback_factory_.NewCallback(&DemoInstance::OnImageReleased, image)); in PrepareLayers()
357 callback_factory_.NewCallback(&DemoInstance::OnTextureReleased, in PrepareLayers()
407 callback_factory_.NewCallback(&DemoInstance::OnTextureReleased, in PrepareLayers()
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
Dheap-checker_unittest.cc215 inline Callback0* NewCallback(void (*function)()) { in NewCallback() function
220 inline Callback1<P1>* NewCallback(void (*function)(P1), P1 p1) { in NewCallback() function
225 inline Callback2<P1,P2>* NewCallback(void (*function)(P1,P2), P1 p1, P2 p2) { in NewCallback() function
369 RunHidden(NewCallback(DoAllocHidden, size, &r)); in AllocHidden()
382 RunHidden(NewCallback(DoDeAllocHidden, ptr)); in DeAllocHidden()
477 RunHidden(NewCallback(MakeDeathLoop, &arr1, &arr2)); in TestHeapLeakCheckerDeathLoop()
739 RunHidden(NewCallback(DoTestSTLAlloc)); in TestSTLAlloc()
766 RunHidden(NewCallback(DoTestSTLAllocInverse, &x)); in TestSTLAllocInverse()
781 RunHidden(NewCallback(FreeTestSTLAllocInverse, &x)); in TestSTLAllocInverse()
1381 RunHidden(NewCallback(MakeALeak, &arr)); in main()
[all …]
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
Dheap-checker_unittest.cc215 inline Callback0* NewCallback(void (*function)()) { in NewCallback() function
220 inline Callback1<P1>* NewCallback(void (*function)(P1), P1 p1) { in NewCallback() function
225 inline Callback2<P1,P2>* NewCallback(void (*function)(P1,P2), P1 p1, P2 p2) { in NewCallback() function
369 RunHidden(NewCallback(DoAllocHidden, size, &r)); in AllocHidden()
382 RunHidden(NewCallback(DoDeAllocHidden, ptr)); in DeAllocHidden()
477 RunHidden(NewCallback(MakeDeathLoop, &arr1, &arr2)); in TestHeapLeakCheckerDeathLoop()
739 RunHidden(NewCallback(DoTestSTLAlloc)); in TestSTLAlloc()
766 RunHidden(NewCallback(DoTestSTLAllocInverse, &x)); in TestSTLAllocInverse()
781 RunHidden(NewCallback(FreeTestSTLAllocInverse, &x)); in TestSTLAllocInverse()
1381 RunHidden(NewCallback(MakeALeak, &arr)); in main()
[all …]
/external/chromium_org/ppapi/examples/gles2_spinning_cube/
Dgles2_spinning_cube.cc87 pp::CompletionCallback cb = callback_factory_.NewCallback( in Graphics3DContextLost()
128 context_->SwapBuffers(callback_factory_.NewCallback(&DemoInstance::Paint)); in Paint()
/external/chromium_org/ppapi/examples/2d/
Dscroll.cc51 16, factory_.NewCallback(&MyInstance::OnTimer), 0); in OnTimer()
71 16, factory_.NewCallback(&MyInstance::OnTimer), 0); in OnPaint()
/external/chromium_org/ppapi/examples/flash_topmost/
Dflash_topmost.cc48 callback_factory_.NewCallback(&MyInstance::OnTimer), in ScheduleNextTimer()
79 callback_factory_.NewCallback(&MyInstance::DidFlush)); in Paint()
/external/chromium_org/ppapi/examples/crxfs/
Dcrxfs.cc91 factory_.NewCallback(&MyInstance::FileIOOpenCallback)); in CrxFileSystemCallback()
103 factory_.NewCallback(&MyInstance::FileIOReadCallback)); in FileIOOpenCallback()
/external/chromium_org/ppapi/examples/mouse_lock/
Dmouse_lock.cc56 LockMouse(callback_factory_.NewCallback(&MyInstance::DidLockMouse)); in HandleInputEvent()
76 LockMouse(callback_factory_.NewCallback(&MyInstance::DidLockMouse)); in HandleInputEvent()
142 callback_factory_.NewCallback(&MyInstance::DidFlush)); in Paint()

123