pp 323 base/memory/ref_counted.h void swap(T** pp) { pp 325 base/memory/ref_counted.h ptr_ = *pp; pp 326 base/memory/ref_counted.h *pp = p; pp 24 chrome/test/data/nacl/exit_status/pm_exit_status_test.cc void Initialize(const pp::Var& message_data, std::string* out) { pp 28 chrome/test/data/nacl/exit_status/pm_exit_status_test.cc void RunExit0(const pp::Var& message_data, std::string* out) { pp 35 chrome/test/data/nacl/exit_status/pm_exit_status_test.cc void RunExit7(const pp::Var& message_data, std::string* out) { pp 42 chrome/test/data/nacl/exit_status/pm_exit_status_test.cc void RunExit254(const pp::Var& message_data, std::string* out) { pp 49 chrome/test/data/nacl/exit_status/pm_exit_status_test.cc void RunExitNeg2(const pp::Var& message_data, std::string* out) { pp 58 chrome/test/data/nacl/exit_status/pm_exit_status_test.cc void (*handler)(const pp::Var& message_data, std::string* out); pp 62 chrome/test/data/nacl/exit_status/pm_exit_status_test.cc class MyInstance : public pp::Instance { pp 64 chrome/test/data/nacl/exit_status/pm_exit_status_test.cc explicit MyInstance(PP_Instance instance) : pp::Instance(instance) {} pp 66 chrome/test/data/nacl/exit_status/pm_exit_status_test.cc virtual void HandleMessage(const pp::Var& message_data); pp 73 chrome/test/data/nacl/exit_status/pm_exit_status_test.cc void MyInstance::HandleMessage(const pp::Var& message_data) { pp 81 chrome/test/data/nacl/exit_status/pm_exit_status_test.cc reinterpret_cast<void (*)(const pp::Var&, std::string*)>(NULL) } pp 106 chrome/test/data/nacl/exit_status/pm_exit_status_test.cc PostMessage(pp::Var(sb)); pp 114 chrome/test/data/nacl/exit_status/pm_exit_status_test.cc class MyModule : public pp::Module { pp 116 chrome/test/data/nacl/exit_status/pm_exit_status_test.cc MyModule() : pp::Module() {} pp 120 chrome/test/data/nacl/exit_status/pm_exit_status_test.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 87 chrome/test/data/nacl/manifest_file/irt_manifest_file_test.cc class TestInstance : public pp::Instance { pp 89 chrome/test/data/nacl/manifest_file/irt_manifest_file_test.cc explicit TestInstance(PP_Instance instance) : pp::Instance(instance) {} pp 91 chrome/test/data/nacl/manifest_file/irt_manifest_file_test.cc virtual void HandleMessage(const pp::Var& var_message) { pp 98 chrome/test/data/nacl/manifest_file/irt_manifest_file_test.cc pp::Var reply = pp::Var(str); pp 103 chrome/test/data/nacl/manifest_file/irt_manifest_file_test.cc class TestModule : public pp::Module { pp 105 chrome/test/data/nacl/manifest_file/irt_manifest_file_test.cc TestModule() : pp::Module() {} pp 108 chrome/test/data/nacl/manifest_file/irt_manifest_file_test.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 160 chrome/test/data/nacl/manifest_file/pm_manifest_file_test.cc virtual void HandleMessage(const pp::Var& message_data); pp 595 chrome/test/data/nacl/manifest_file/pm_manifest_file_test.cc void MyInstance::HandleMessage(const pp::Var& message) { pp 622 chrome/test/data/nacl/manifest_file/pm_manifest_file_test.cc class MyModule : public pp::Module { pp 624 chrome/test/data/nacl/manifest_file/pm_manifest_file_test.cc MyModule() : pp::Module() {} pp 628 chrome/test/data/nacl/manifest_file/pm_manifest_file_test.cc virtual pp::Instance *CreateInstance(PP_Instance instance); pp 633 chrome/test/data/nacl/manifest_file/pm_manifest_file_test.cc pp::Instance *MyModule::CreateInstance(PP_Instance pp_instance) { pp 199 chrome/test/data/nacl/manifest_file/pm_pre_init_manifest_file_test.cc virtual void HandleMessage(const pp::Var& message_data); pp 219 chrome/test/data/nacl/manifest_file/pm_pre_init_manifest_file_test.cc void MyInstance::HandleMessage(const pp::Var& message) { pp 235 chrome/test/data/nacl/manifest_file/pm_pre_init_manifest_file_test.cc class MyModule : public pp::Module { pp 237 chrome/test/data/nacl/manifest_file/pm_pre_init_manifest_file_test.cc MyModule() : pp::Module() {} pp 241 chrome/test/data/nacl/manifest_file/pm_pre_init_manifest_file_test.cc virtual pp::Instance *CreateInstance(PP_Instance instance); pp 246 chrome/test/data/nacl/manifest_file/pm_pre_init_manifest_file_test.cc pp::Instance *MyModule::CreateInstance(PP_Instance pp_instance) { pp 102 chrome/test/data/nacl/nameservice/pm_nameservice_test.cc void Initialize(const pp::Var& message_data, nacl::StringBuffer* sb) { pp 124 chrome/test/data/nacl/nameservice/pm_nameservice_test.cc void NameServiceDump(const pp::Var& message_data, nacl::StringBuffer* sb) { pp 132 chrome/test/data/nacl/nameservice/pm_nameservice_test.cc void RngDump(const pp::Var& message_data, nacl::StringBuffer* sb) { pp 152 chrome/test/data/nacl/nameservice/pm_nameservice_test.cc void ManifestTest(const pp::Var& message_data, nacl::StringBuffer* sb) { pp 188 chrome/test/data/nacl/nameservice/pm_nameservice_test.cc void (*handler)(const pp::Var& message_data, nacl::StringBuffer* out); pp 192 chrome/test/data/nacl/nameservice/pm_nameservice_test.cc class MyInstance : public pp::Instance { pp 194 chrome/test/data/nacl/nameservice/pm_nameservice_test.cc explicit MyInstance(PP_Instance instance) : pp::Instance(instance) {} pp 196 chrome/test/data/nacl/nameservice/pm_nameservice_test.cc virtual void HandleMessage(const pp::Var& message_data); pp 203 chrome/test/data/nacl/nameservice/pm_nameservice_test.cc void MyInstance::HandleMessage(const pp::Var& message_data) { pp 210 chrome/test/data/nacl/nameservice/pm_nameservice_test.cc reinterpret_cast<void (*)(const pp::Var&, nacl::StringBuffer*)>(NULL) } pp 240 chrome/test/data/nacl/nameservice/pm_nameservice_test.cc PostMessage(pp::Var(sb.ToString())); pp 248 chrome/test/data/nacl/nameservice/pm_nameservice_test.cc class MyModule : public pp::Module { pp 250 chrome/test/data/nacl/nameservice/pm_nameservice_test.cc MyModule() : pp::Module() {} pp 254 chrome/test/data/nacl/nameservice/pm_nameservice_test.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 29 chrome/test/data/nacl/postmessage_redir/pm_redir_test.cc class MyInstance : public pp::Instance { pp 33 chrome/test/data/nacl/postmessage_redir/pm_redir_test.cc virtual void HandleMessage(const pp::Var& message_data); pp 42 chrome/test/data/nacl/postmessage_redir/pm_redir_test.cc : pp::Instance(instance) { pp 140 chrome/test/data/nacl/postmessage_redir/pm_redir_test.cc void MyInstance::HandleMessage(const pp::Var& message) { pp 173 chrome/test/data/nacl/postmessage_redir/pm_redir_test.cc class MyModule : public pp::Module { pp 175 chrome/test/data/nacl/postmessage_redir/pm_redir_test.cc MyModule() : pp::Module() {} pp 179 chrome/test/data/nacl/postmessage_redir/pm_redir_test.cc virtual pp::Instance *CreateInstance(PP_Instance instance); pp 184 chrome/test/data/nacl/postmessage_redir/pm_redir_test.cc pp::Instance *MyModule::CreateInstance(PP_Instance pp_instance) { pp 8 chrome/test/data/nacl/simple.cc class SimpleInstance : public pp::Instance { pp 10 chrome/test/data/nacl/simple.cc explicit SimpleInstance(PP_Instance instance) : pp::Instance(instance) { pp 14 chrome/test/data/nacl/simple.cc class SimpleModule : public pp::Module { pp 16 chrome/test/data/nacl/simple.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 25 chrome/test/data/nacl/sysconf_nprocessors_onln/sysconf_nprocessors_onln_test.cc void NumProcessors(const pp::Var& message_data, std::string* out) { pp 40 chrome/test/data/nacl/sysconf_nprocessors_onln/sysconf_nprocessors_onln_test.cc void (*handler)(const pp::Var& message_data, std::string* out); pp 44 chrome/test/data/nacl/sysconf_nprocessors_onln/sysconf_nprocessors_onln_test.cc class MyInstance : public pp::Instance { pp 46 chrome/test/data/nacl/sysconf_nprocessors_onln/sysconf_nprocessors_onln_test.cc explicit MyInstance(PP_Instance instance) : pp::Instance(instance) {} pp 48 chrome/test/data/nacl/sysconf_nprocessors_onln/sysconf_nprocessors_onln_test.cc virtual void HandleMessage(const pp::Var& message_data); pp 55 chrome/test/data/nacl/sysconf_nprocessors_onln/sysconf_nprocessors_onln_test.cc void MyInstance::HandleMessage(const pp::Var& message_data) { pp 59 chrome/test/data/nacl/sysconf_nprocessors_onln/sysconf_nprocessors_onln_test.cc reinterpret_cast<void (*)(const pp::Var&, std::string*)>(NULL) } pp 88 chrome/test/data/nacl/sysconf_nprocessors_onln/sysconf_nprocessors_onln_test.cc PostMessage(pp::Var(sb)); pp 98 chrome/test/data/nacl/sysconf_nprocessors_onln/sysconf_nprocessors_onln_test.cc class MyModule : public pp::Module { pp 100 chrome/test/data/nacl/sysconf_nprocessors_onln/sysconf_nprocessors_onln_test.cc MyModule() : pp::Module() {} pp 104 chrome/test/data/nacl/sysconf_nprocessors_onln/sysconf_nprocessors_onln_test.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 27 media/cdm/ppapi/cdm_adapter.cc return pp::Module::Get()->core()->IsMainThread(); pp 32 media/cdm/ppapi/cdm_adapter.cc void PostOnMain(pp::CompletionCallback cb) { pp 33 media/cdm/ppapi/cdm_adapter.cc pp::Module::Get()->core()->CallOnMainThread(0, cb, PP_OK); pp 38 media/cdm/ppapi/cdm_adapter.cc void CallOnMain(pp::CompletionCallback cb) { pp 50 media/cdm/ppapi/cdm_adapter.cc const pp::Buffer_Dev& encrypted_buffer, pp 215 media/cdm/ppapi/cdm_adapter.cc CdmAdapter::CdmAdapter(PP_Instance instance, pp::Module* module) pp 216 media/cdm/ppapi/cdm_adapter.cc : pp::Instance(instance), pp 217 media/cdm/ppapi/cdm_adapter.cc pp::ContentDecryptor_Private(this), pp 271 media/cdm/ppapi/cdm_adapter.cc pp::VarArrayBuffer init_data) { pp 281 media/cdm/ppapi/cdm_adapter.cc const pp::URLUtil_Dev* url_util = pp::URLUtil_Dev::Get(); pp 286 media/cdm/ppapi/cdm_adapter.cc pp::Var href = url_util->GetDocumentURL( pp 287 media/cdm/ppapi/cdm_adapter.cc pp::InstanceHandle(pp_instance()), &url_components); pp 316 media/cdm/ppapi/cdm_adapter.cc pp::VarArrayBuffer response) { pp 369 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::Decrypt(pp::Buffer_Dev encrypted_buffer, pp 399 media/cdm/ppapi/cdm_adapter.cc pp::Buffer_Dev extra_data_buffer) { pp 431 media/cdm/ppapi/cdm_adapter.cc pp::Buffer_Dev extra_data_buffer) { pp 491 media/cdm/ppapi/cdm_adapter.cc pp::Buffer_Dev encrypted_buffer, pp 549 media/cdm/ppapi/cdm_adapter.cc pp::Module::Get()->core()->CallOnMainThread( pp 561 media/cdm/ppapi/cdm_adapter.cc return pp::Module::Get()->core()->GetTime(); pp 592 media/cdm/ppapi/cdm_adapter.cc *get_interface = pp::Module::Get()->get_browser_interface(); pp 640 media/cdm/ppapi/cdm_adapter.cc pp::ContentDecryptor_Private::SessionCreated(session_id, web_session_id); pp 649 media/cdm/ppapi/cdm_adapter.cc pp::VarArrayBuffer message_array_buffer(message.size()); pp 654 media/cdm/ppapi/cdm_adapter.cc pp::ContentDecryptor_Private::SessionMessage( pp 660 media/cdm/ppapi/cdm_adapter.cc pp::ContentDecryptor_Private::SessionReady(session_id); pp 666 media/cdm/ppapi/cdm_adapter.cc pp::ContentDecryptor_Private::SessionClosed(session_id); pp 674 media/cdm/ppapi/cdm_adapter.cc pp::ContentDecryptor_Private::SessionError( pp 690 media/cdm/ppapi/cdm_adapter.cc pp::Buffer_Dev buffer; pp 706 media/cdm/ppapi/cdm_adapter.cc pp::ContentDecryptor_Private::DeliverBlock(buffer, decrypted_block_info); pp 714 media/cdm/ppapi/cdm_adapter.cc pp::ContentDecryptor_Private::DecoderInitializeDone(decoder_type, pp 722 media/cdm/ppapi/cdm_adapter.cc pp::ContentDecryptor_Private::DecoderDeinitializeDone(decoder_type, pp 729 media/cdm/ppapi/cdm_adapter.cc pp::ContentDecryptor_Private::DecoderResetDone(decoder_type, request_id); pp 743 media/cdm/ppapi/cdm_adapter.cc pp::Buffer_Dev buffer; pp 775 media/cdm/ppapi/cdm_adapter.cc pp::ContentDecryptor_Private::DeliverFrame(buffer, decrypted_frame_info); pp 791 media/cdm/ppapi/cdm_adapter.cc pp::Buffer_Dev buffer; pp 809 media/cdm/ppapi/cdm_adapter.cc pp::ContentDecryptor_Private::DeliverSamples(buffer, decrypted_sample_info); pp 838 media/cdm/ppapi/cdm_adapter.cc void CdmAdapter::LogToConsole(const pp::Var& value) { pp 841 media/cdm/ppapi/cdm_adapter.cc pp::Module::Get()->GetBrowserInterface(PPB_CONSOLE_INTERFACE)); pp 853 media/cdm/ppapi/cdm_adapter.cc signed_data_output_ = pp::Var(); pp 854 media/cdm/ppapi/cdm_adapter.cc signed_data_signature_output_ = pp::Var(); pp 855 media/cdm/ppapi/cdm_adapter.cc platform_key_certificate_output_ = pp::Var(); pp 857 media/cdm/ppapi/cdm_adapter.cc pp::VarArrayBuffer challenge_var(challenge_length); pp 863 media/cdm/ppapi/cdm_adapter.cc pp::Var(service_id_str), challenge_var, &signed_data_output_, pp 958 media/cdm/ppapi/cdm_adapter.cc pp::VarArrayBuffer signed_data_var(signed_data_output_); pp 959 media/cdm/ppapi/cdm_adapter.cc pp::VarArrayBuffer signed_data_signature_var(signed_data_signature_output_); pp 1039 media/cdm/ppapi/cdm_adapter.cc class CdmAdapterModule : public pp::Module { pp 1041 media/cdm/ppapi/cdm_adapter.cc CdmAdapterModule() : pp::Module() { pp 1050 media/cdm/ppapi/cdm_adapter.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 38 media/cdm/ppapi/cdm_adapter.h class CdmAdapter : public pp::Instance, pp 39 media/cdm/ppapi/cdm_adapter.h public pp::ContentDecryptor_Private, pp 44 media/cdm/ppapi/cdm_adapter.h CdmAdapter(PP_Instance instance, pp::Module* module); pp 58 media/cdm/ppapi/cdm_adapter.h pp::VarArrayBuffer init_data) OVERRIDE; pp 62 media/cdm/ppapi/cdm_adapter.h pp::VarArrayBuffer response) OVERRIDE; pp 65 media/cdm/ppapi/cdm_adapter.h pp::Buffer_Dev encrypted_buffer, pp 69 media/cdm/ppapi/cdm_adapter.h pp::Buffer_Dev extra_data_buffer) OVERRIDE; pp 72 media/cdm/ppapi/cdm_adapter.h pp::Buffer_Dev extra_data_buffer) OVERRIDE; pp 79 media/cdm/ppapi/cdm_adapter.h pp::Buffer_Dev encrypted_buffer, pp 180 media/cdm/ppapi/cdm_adapter.h void LogToConsole(const pp::Var& value); pp 188 media/cdm/ppapi/cdm_adapter.h pp::OutputProtection_Private output_protection_; pp 189 media/cdm/ppapi/cdm_adapter.h pp::PlatformVerification platform_verification_; pp 194 media/cdm/ppapi/cdm_adapter.h pp::Var signed_data_output_; pp 195 media/cdm/ppapi/cdm_adapter.h pp::Var signed_data_signature_output_; pp 196 media/cdm/ppapi/cdm_adapter.h pp::Var platform_key_certificate_output_; pp 206 media/cdm/ppapi/cdm_adapter.h pp::CompletionCallbackFactory<CdmAdapter> callback_factory_; pp 37 media/cdm/ppapi/cdm_file_io_impl.cc return pp::Module::Get()->core()->IsMainThread(); pp 43 media/cdm/ppapi/cdm_file_io_impl.cc static void PostOnMain(pp::CompletionCallback cb) { pp 44 media/cdm/ppapi/cdm_file_io_impl.cc pp::Module::Get()->core()->CallOnMainThread(0, cb, PP_OK); pp 187 media/cdm/ppapi/cdm_file_io_impl.cc const pp::URLUtil_Dev* url_util_dev = pp::URLUtil_Dev::Get(); pp 189 media/cdm/ppapi/cdm_file_io_impl.cc pp::Var url_var = pp 237 media/cdm/ppapi/cdm_file_io_impl.cc pp::CompletionCallbackWithOutput<pp::FileSystem> cb = pp 240 media/cdm/ppapi/cdm_file_io_impl.cc isolated_file_system_ = pp::IsolatedFileSystemPrivate( pp 247 media/cdm/ppapi/cdm_file_io_impl.cc pp::FileSystem file_system) { pp 266 media/cdm/ppapi/cdm_file_io_impl.cc file_io_ = pp::FileIO(pp_instance_handle_); pp 267 media/cdm/ppapi/cdm_file_io_impl.cc file_ref_ = pp::FileRef(file_system_, file_name_.c_str()); pp 271 media/cdm/ppapi/cdm_file_io_impl.cc pp::CompletionCallback cb = pp 296 media/cdm/ppapi/cdm_file_io_impl.cc pp::CompletionCallback cb = pp 346 media/cdm/ppapi/cdm_file_io_impl.cc pp::CompletionCallback cb = pp 375 media/cdm/ppapi/cdm_file_io_impl.cc pp::CompletionCallback cb = pp 105 media/cdm/ppapi/cdm_file_io_impl.h void OnFileSystemOpened(int32_t result, pp::FileSystem file_system); pp 130 media/cdm/ppapi/cdm_file_io_impl.h const pp::InstanceHandle pp_instance_handle_; pp 140 media/cdm/ppapi/cdm_file_io_impl.h pp::IsolatedFileSystemPrivate isolated_file_system_; pp 141 media/cdm/ppapi/cdm_file_io_impl.h pp::FileSystem file_system_; pp 142 media/cdm/ppapi/cdm_file_io_impl.h pp::FileIO file_io_; pp 143 media/cdm/ppapi/cdm_file_io_impl.h pp::FileRef file_ref_; pp 145 media/cdm/ppapi/cdm_file_io_impl.h pp::CompletionCallbackFactory<CdmFileIOImpl> callback_factory_; pp 24 media/cdm/ppapi/cdm_helpers.cc PP_DCHECK(pp::Module::Get()->core()->IsMainThread()); pp 29 media/cdm/ppapi/cdm_helpers.cc pp::Buffer_Dev buffer; pp 60 media/cdm/ppapi/cdm_helpers.cc pp::Buffer_Dev& buffer = found->second; pp 67 media/cdm/ppapi/cdm_helpers.cc pp::Buffer_Dev PpbBufferAllocator::AllocateNewBuffer(uint32_t capacity) { pp 84 media/cdm/ppapi/cdm_helpers.cc return pp::Buffer_Dev(instance_, capacity + kBufferPadding); pp 30 media/cdm/ppapi/cdm_helpers.h static PpbBuffer* Create(const pp::Buffer_Dev& buffer, uint32_t buffer_id) { pp 58 media/cdm/ppapi/cdm_helpers.h pp::Buffer_Dev buffer_dev() const { return buffer_; } pp 63 media/cdm/ppapi/cdm_helpers.h PpbBuffer(pp::Buffer_Dev buffer, uint32_t buffer_id) pp 69 media/cdm/ppapi/cdm_helpers.h pp::Buffer_Dev buffer_; pp 78 media/cdm/ppapi/cdm_helpers.h explicit PpbBufferAllocator(pp::Instance* instance) pp 90 media/cdm/ppapi/cdm_helpers.h typedef std::map<uint32_t, pp::Buffer_Dev> AllocatedBufferMap; pp 91 media/cdm/ppapi/cdm_helpers.h typedef std::multimap<uint32_t, std::pair<uint32_t, pp::Buffer_Dev> > pp 94 media/cdm/ppapi/cdm_helpers.h pp::Buffer_Dev AllocateNewBuffer(uint32_t capacity); pp 96 media/cdm/ppapi/cdm_helpers.h pp::Instance* const instance_; pp 29 native_client_sdk/src/examples/api/audio/audio.cc class AudioInstance : public pp::Instance { pp 32 native_client_sdk/src/examples/api/audio/audio.cc : pp::Instance(instance), pp 50 native_client_sdk/src/examples/api/audio/audio.cc virtual void HandleMessage(const pp::Var& var_message); pp 88 native_client_sdk/src/examples/api/audio/audio.cc pp::Audio audio_; pp 103 native_client_sdk/src/examples/api/audio/audio.cc sample_frame_count_ = pp::AudioConfig::RecommendSampleFrameCount( pp 105 native_client_sdk/src/examples/api/audio/audio.cc audio_ = pp::Audio( pp 107 native_client_sdk/src/examples/api/audio/audio.cc pp::AudioConfig(this, PP_AUDIOSAMPLERATE_44100, sample_frame_count_), pp 113 native_client_sdk/src/examples/api/audio/audio.cc void AudioInstance::HandleMessage(const pp::Var& var_message) { pp 140 native_client_sdk/src/examples/api/audio/audio.cc PostMessage(pp::Var(frequency_)); pp 143 native_client_sdk/src/examples/api/audio/audio.cc class AudioModule : public pp::Module { pp 145 native_client_sdk/src/examples/api/audio/audio.cc AudioModule() : pp::Module() {} pp 148 native_client_sdk/src/examples/api/audio/audio.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 24 native_client_sdk/src/examples/api/core/core.cc class CoreInstance : public pp::Instance { pp 29 native_client_sdk/src/examples/api/core/core.cc : pp::Instance(instance), callback_factory_(this) {} pp 36 native_client_sdk/src/examples/api/core/core.cc virtual void HandleMessage(const pp::Var& var_message) { pp 40 native_client_sdk/src/examples/api/core/core.cc last_receive_time_ = pp::Module::Get()->core()->GetTimeTicks(); pp 41 native_client_sdk/src/examples/api/core/core.cc pp::Module::Get()->core()->CallOnMainThread( pp 45 native_client_sdk/src/examples/api/core/core.cc pp::Var msg(0); pp 52 native_client_sdk/src/examples/api/core/core.cc pp::Var msg(pp::Module::Get()->core()->GetTimeTicks() - last_receive_time_); pp 57 native_client_sdk/src/examples/api/core/core.cc pp::CompletionCallbackFactory<CoreInstance> callback_factory_; pp 61 native_client_sdk/src/examples/api/core/core.cc class CoreModule : public pp::Module { pp 63 native_client_sdk/src/examples/api/core/core.cc CoreModule() : pp::Module() {} pp 66 native_client_sdk/src/examples/api/core/core.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 53 native_client_sdk/src/examples/api/file_io/file_io.cc class FileIoInstance : public pp::Instance { pp 58 native_client_sdk/src/examples/api/file_io/file_io.cc : pp::Instance(instance), pp 80 native_client_sdk/src/examples/api/file_io/file_io.cc pp::CompletionCallbackFactory<FileIoInstance> callback_factory_; pp 81 native_client_sdk/src/examples/api/file_io/file_io.cc pp::FileSystem file_system_; pp 88 native_client_sdk/src/examples/api/file_io/file_io.cc pp::SimpleThread file_thread_; pp 97 native_client_sdk/src/examples/api/file_io/file_io.cc virtual void HandleMessage(const pp::Var& var_message) { pp 143 native_client_sdk/src/examples/api/file_io/file_io.cc int32_t rv = file_system_.Open(1024 * 1024, pp::BlockUntilComplete()); pp 160 native_client_sdk/src/examples/api/file_io/file_io.cc pp::FileRef ref(file_system_, file_name.c_str()); pp 161 native_client_sdk/src/examples/api/file_io/file_io.cc pp::FileIO file(this); pp 167 native_client_sdk/src/examples/api/file_io/file_io.cc pp::BlockUntilComplete()); pp 186 native_client_sdk/src/examples/api/file_io/file_io.cc pp::BlockUntilComplete()); pp 196 native_client_sdk/src/examples/api/file_io/file_io.cc int32_t flush_result = file.Flush(pp::BlockUntilComplete()); pp 209 native_client_sdk/src/examples/api/file_io/file_io.cc pp::FileRef ref(file_system_, file_name.c_str()); pp 210 native_client_sdk/src/examples/api/file_io/file_io.cc pp::FileIO file(this); pp 213 native_client_sdk/src/examples/api/file_io/file_io.cc file.Open(ref, PP_FILEOPENFLAG_READ, pp::BlockUntilComplete()); pp 222 native_client_sdk/src/examples/api/file_io/file_io.cc int32_t query_result = file.Query(&info, pp::BlockUntilComplete()); pp 241 native_client_sdk/src/examples/api/file_io/file_io.cc pp::BlockUntilComplete()); pp 262 native_client_sdk/src/examples/api/file_io/file_io.cc pp::FileRef ref(file_system_, file_name.c_str()); pp 264 native_client_sdk/src/examples/api/file_io/file_io.cc int32_t result = ref.Delete(pp::BlockUntilComplete()); pp 281 native_client_sdk/src/examples/api/file_io/file_io.cc pp::FileRef ref(file_system_, dir_name.c_str()); pp 289 native_client_sdk/src/examples/api/file_io/file_io.cc const std::vector<pp::DirectoryEntry>& entries, pp 290 native_client_sdk/src/examples/api/file_io/file_io.cc pp::FileRef /* unused_ref */) { pp 299 native_client_sdk/src/examples/api/file_io/file_io.cc pp::Var name = entries[i].file_ref().GetName(); pp 313 native_client_sdk/src/examples/api/file_io/file_io.cc pp::FileRef ref(file_system_, dir_name.c_str()); pp 316 native_client_sdk/src/examples/api/file_io/file_io.cc PP_MAKEDIRECTORYFLAG_NONE, pp::BlockUntilComplete()); pp 342 native_client_sdk/src/examples/api/file_io/file_io.cc class FileIoModule : public pp::Module { pp 344 native_client_sdk/src/examples/api/file_io/file_io.cc FileIoModule() : pp::Module() {} pp 350 native_client_sdk/src/examples/api/file_io/file_io.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 27 native_client_sdk/src/examples/api/gamepad/gamepad.cc class GamepadInstance : public pp::Instance { pp 34 native_client_sdk/src/examples/api/gamepad/gamepad.cc virtual void DidChangeView(const pp::View& view); pp 53 native_client_sdk/src/examples/api/gamepad/gamepad.cc void CreateContext(const pp::Size& size); pp 65 native_client_sdk/src/examples/api/gamepad/gamepad.cc pp::CompletionCallbackFactory<GamepadInstance> callback_factory_; pp 66 native_client_sdk/src/examples/api/gamepad/gamepad.cc pp::Graphics2D* graphics_2d_context_; pp 67 native_client_sdk/src/examples/api/gamepad/gamepad.cc pp::ImageData* pixel_buffer_; pp 73 native_client_sdk/src/examples/api/gamepad/gamepad.cc : pp::Instance(instance), pp 78 native_client_sdk/src/examples/api/gamepad/gamepad.cc pp::Module* module = pp::Module::Get(); pp 90 native_client_sdk/src/examples/api/gamepad/gamepad.cc void GamepadInstance::DidChangeView(const pp::View& view) { pp 91 native_client_sdk/src/examples/api/gamepad/gamepad.cc pp::Rect position = view.GetRect(); pp 103 native_client_sdk/src/examples/api/gamepad/gamepad.cc pixel_buffer_ = new pp::ImageData(this, pp 111 native_client_sdk/src/examples/api/gamepad/gamepad.cc void FillRect(pp::ImageData* image, pp 123 native_client_sdk/src/examples/api/gamepad/gamepad.cc *image->GetAddr32(pp::Point(x, y)) = color; pp 167 native_client_sdk/src/examples/api/gamepad/gamepad.cc void GamepadInstance::CreateContext(const pp::Size& size) { pp 170 native_client_sdk/src/examples/api/gamepad/gamepad.cc graphics_2d_context_ = new pp::Graphics2D(this, size, false); pp 188 native_client_sdk/src/examples/api/gamepad/gamepad.cc graphics_2d_context_->PaintImageData(*pixel_buffer_, pp::Point()); pp 201 native_client_sdk/src/examples/api/gamepad/gamepad.cc class GamepadModule : public pp::Module { pp 203 native_client_sdk/src/examples/api/gamepad/gamepad.cc GamepadModule() : pp::Module() {} pp 206 native_client_sdk/src/examples/api/gamepad/gamepad.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 35 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc PP_ImageDataFormat format = pp::ImageData::GetNativeImageDataFormat(); pp 45 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc class Graphics2DInstance : public pp::Instance { pp 48 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc : pp::Instance(instance), pp 64 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc virtual void DidChangeView(const pp::View& view) { pp 65 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc pp::Size new_size = view.GetRect().size(); pp 78 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc virtual bool HandleInputEvent(const pp::InputEvent& event) { pp 84 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc pp::MouseInputEvent mouse_event(event); pp 112 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc bool CreateContext(const pp::Size& new_size) { pp 114 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc context_ = pp::Graphics2D(this, new_size, kIsAlwaysOpaque); pp 117 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc context_ = pp::Graphics2D(); pp 202 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc PP_ImageDataFormat format = pp::ImageData::GetNativeImageDataFormat(); pp 204 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc pp::ImageData image_data(this, format, size_, kDontInitToZero); pp 256 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc pp::CompletionCallbackFactory<Graphics2DInstance> callback_factory_; pp 257 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc pp::Graphics2D context_; pp 258 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc pp::Graphics2D flush_context_; pp 259 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc pp::Size size_; pp 260 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc pp::Point mouse_; pp 266 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc class Graphics2DModule : public pp::Module { pp 268 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc Graphics2DModule() : pp::Module() {} pp 271 native_client_sdk/src/examples/api/graphics_2d/graphics_2d.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 227 native_client_sdk/src/examples/api/graphics_3d/graphics_3d.cc class Graphics3DInstance : public pp::Instance { pp 230 native_client_sdk/src/examples/api/graphics_3d/graphics_3d.cc : pp::Instance(instance), pp 249 native_client_sdk/src/examples/api/graphics_3d/graphics_3d.cc virtual void DidChangeView(const pp::View& view) { pp 280 native_client_sdk/src/examples/api/graphics_3d/graphics_3d.cc virtual void HandleMessage(const pp::Var& message) { pp 293 native_client_sdk/src/examples/api/graphics_3d/graphics_3d.cc pp::VarArray array(message); pp 299 native_client_sdk/src/examples/api/graphics_3d/graphics_3d.cc pp::Var x_angle_var = array.Get(0); pp 308 native_client_sdk/src/examples/api/graphics_3d/graphics_3d.cc pp::Var y_angle_var = array.Get(1); pp 320 native_client_sdk/src/examples/api/graphics_3d/graphics_3d.cc if (!glInitializePPAPI(pp::Module::Get()->get_browser_interface())) { pp 333 native_client_sdk/src/examples/api/graphics_3d/graphics_3d.cc context_ = pp::Graphics3D(this, attrib_list); pp 336 native_client_sdk/src/examples/api/graphics_3d/graphics_3d.cc context_ = pp::Graphics3D(); pp 402 native_client_sdk/src/examples/api/graphics_3d/graphics_3d.cc pp::VarArray array; pp 472 native_client_sdk/src/examples/api/graphics_3d/graphics_3d.cc pp::CompletionCallbackFactory<Graphics3DInstance> callback_factory_; pp 473 native_client_sdk/src/examples/api/graphics_3d/graphics_3d.cc pp::Graphics3D context_; pp 494 native_client_sdk/src/examples/api/graphics_3d/graphics_3d.cc class Graphics3DModule : public pp::Module { pp 496 native_client_sdk/src/examples/api/graphics_3d/graphics_3d.cc Graphics3DModule() : pp::Module() {} pp 499 native_client_sdk/src/examples/api/graphics_3d/graphics_3d.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 101 native_client_sdk/src/examples/api/input_event/input_event.cc class InputEventInstance : public pp::Instance { pp 104 native_client_sdk/src/examples/api/input_event/input_event.cc : pp::Instance(instance) { pp 127 native_client_sdk/src/examples/api/input_event/input_event.cc void DidChangeView(const pp::View& view) { pp 143 native_client_sdk/src/examples/api/input_event/input_event.cc virtual bool HandleInputEvent(const pp::InputEvent& event) { pp 158 native_client_sdk/src/examples/api/input_event/input_event.cc pp::MouseInputEvent mouse_event(event); pp 174 native_client_sdk/src/examples/api/input_event/input_event.cc pp::WheelInputEvent wheel_event(event); pp 192 native_client_sdk/src/examples/api/input_event/input_event.cc pp::KeyboardInputEvent key_event(event); pp 207 native_client_sdk/src/examples/api/input_event/input_event.cc pp::TouchInputEvent touch_event(event); pp 215 native_client_sdk/src/examples/api/input_event/input_event.cc pp::TouchPoint point = pp 242 native_client_sdk/src/examples/api/input_event/input_event.cc class InputEventModule : public pp::Module { pp 244 native_client_sdk/src/examples/api/input_event/input_event.cc InputEventModule() : pp::Module() {} pp 247 native_client_sdk/src/examples/api/input_event/input_event.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 42 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc class MediaStreamAudioInstance : public pp::Instance { pp 45 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc : pp::Instance(instance), pp 58 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc virtual void DidChangeView(const pp::Rect& position, const pp::Rect& clip) { pp 63 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc device_context_ = pp::Graphics2D(this, size_, false); pp 70 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc virtual void HandleMessage(const pp::Var& var_message) { pp 73 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc pp::VarDictionary var_dictionary_message(var_message); pp 74 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc pp::Var var_track = var_dictionary_message.Get("track"); pp 78 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc pp::Resource resource_track = var_track.AsResource(); pp 79 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc audio_track_ = pp::MediaStreamAudioTrack(resource_track); pp 88 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc pp::Module::Get()->core()->CallOnMainThread( pp 116 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc pp::ImageData image = PaintImage(size_); pp 125 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc pp::ImageData PaintImage(const pp::Size& size) { pp 126 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc pp::ImageData image(this, PP_IMAGEDATAFORMAT_BGRA_PREMUL, size, false); pp 133 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc *image.GetAddr32(pp::Point(x, y)) = kColorGrey1; pp 141 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc *image.GetAddr32(pp::Point(x, mid_height)) = kColorGrey3; pp 142 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc *image.GetAddr32(pp::Point(x, mid_height + max_amplitude)) = kColorGrey2; pp 143 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc *image.GetAddr32(pp::Point(x, mid_height - max_amplitude)) = kColorGrey2; pp 154 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc *image.GetAddr32(pp::Point(x, y)) = (ch == 0 ? kColorRed : kColorGreen); pp 162 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc void OnGetBuffer(int32_t result, pp::AudioBuffer buffer) { pp 195 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc pp::MediaStreamAudioTrack audio_track_; pp 196 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc pp::CompletionCallbackFactory<MediaStreamAudioInstance> callback_factory_; pp 206 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc pp::Size size_; pp 207 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc pp::Graphics2D device_context_; pp 212 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc class MediaStreamAudioModule : public pp::Module { pp 214 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 40 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc class MediaStreamVideoModule : public pp::Module { pp 42 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc MediaStreamVideoModule() : pp::Module() {} pp 45 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc virtual pp::Instance* CreateInstance(PP_Instance instance); pp 48 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc class MediaStreamVideoDemoInstance : public pp::Instance, pp 49 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc public pp::Graphics3DClient { pp 51 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc MediaStreamVideoDemoInstance(PP_Instance instance, pp::Module* module); pp 55 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc virtual void DidChangeView(const pp::Rect& position, pp 56 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc const pp::Rect& clip_ignored); pp 57 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc virtual void HandleMessage(const pp::Var& message_data); pp 83 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc void OnGetFrame(int32_t result, pp::VideoFrame frame); pp 85 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc pp::Size position_size_; pp 96 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc pp::MediaStreamVideoTrack video_track_; pp 97 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc pp::CompletionCallbackFactory<MediaStreamVideoDemoInstance> callback_factory_; pp 107 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc pp::Graphics3D* context_; pp 109 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc pp::Size frame_size_; pp 113 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc PP_Instance instance, pp::Module* module) pp 114 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc : pp::Instance(instance), pp 115 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc pp::Graphics3DClient(this), pp 129 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc if (!glInitializePPAPI(pp::Module::Get()->get_browser_interface())) { pp 130 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc LogToConsole(PP_LOGLEVEL_ERROR, pp::Var("Unable to initialize GL PPAPI!")); pp 140 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc const pp::Rect& position, const pp::Rect& clip_ignored) { pp 153 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc void MediaStreamVideoDemoInstance::HandleMessage(const pp::Var& var_message) { pp 155 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc LogToConsole(PP_LOGLEVEL_ERROR, pp::Var("Invalid message!")); pp 159 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc pp::VarDictionary var_dictionary_message(var_message); pp 163 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc pp::Var var_track = var_dictionary_message.Get("track"); pp 166 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc pp::Resource resource_track = var_track.AsResource(); pp 167 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc video_track_ = pp::MediaStreamVideoTrack(resource_track); pp 186 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc LogToConsole(PP_LOGLEVEL_ERROR, pp::Var("Invalid command!")); pp 208 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc context_ = new pp::Graphics3D(this, attributes); pp 282 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc pp::CompletionCallback cb = callback_factory_.NewCallback( pp 428 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc int32_t result, pp::VideoFrame frame) { pp 432 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc pp::Size size; pp 482 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc pp::Instance* MediaStreamVideoModule::CreateInstance(PP_Instance instance) { pp 38 native_client_sdk/src/examples/api/mouse_cursor/mouse_cursor.cc class MouseCursorInstance : public pp::Instance { pp 41 native_client_sdk/src/examples/api/mouse_cursor/mouse_cursor.cc : pp::Instance(instance) {} pp 49 native_client_sdk/src/examples/api/mouse_cursor/mouse_cursor.cc virtual void HandleMessage(const pp::Var& var_message) { pp 58 native_client_sdk/src/examples/api/mouse_cursor/mouse_cursor.cc pp::Point hot_spot(16, 16); pp 59 native_client_sdk/src/examples/api/mouse_cursor/mouse_cursor.cc pp::MouseCursor::SetCursor(this, cursor, custom_cursor_, hot_spot); pp 61 native_client_sdk/src/examples/api/mouse_cursor/mouse_cursor.cc pp::MouseCursor::SetCursor(this, cursor); pp 66 native_client_sdk/src/examples/api/mouse_cursor/mouse_cursor.cc pp::Size size(32, 32); pp 68 native_client_sdk/src/examples/api/mouse_cursor/mouse_cursor.cc pp::ImageData(this, PP_IMAGEDATAFORMAT_BGRA_PREMUL, size, true); pp 77 native_client_sdk/src/examples/api/mouse_cursor/mouse_cursor.cc pp::Size size = custom_cursor_.size(); pp 103 native_client_sdk/src/examples/api/mouse_cursor/mouse_cursor.cc pp::Size size = custom_cursor_.size(); pp 110 native_client_sdk/src/examples/api/mouse_cursor/mouse_cursor.cc pp::ImageData custom_cursor_; pp 113 native_client_sdk/src/examples/api/mouse_cursor/mouse_cursor.cc class MouseCursorModule : public pp::Module { pp 115 native_client_sdk/src/examples/api/mouse_cursor/mouse_cursor.cc MouseCursorModule() : pp::Module() {} pp 118 native_client_sdk/src/examples/api/mouse_cursor/mouse_cursor.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 50 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc bool MouseLockInstance::HandleInputEvent(const pp::InputEvent& event) { pp 63 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc pp::MouseInputEvent mouse_event(event); pp 70 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc pp::KeyboardInputEvent key_event(event); pp 117 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc void MouseLockInstance::DidChangeView(const pp::View& view) { pp 138 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc device_context_ = pp::Graphics2D(this, size_, false); pp 194 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc pp::ImageData image = PaintImage(size_); pp 206 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc pp::ImageData MouseLockInstance::PaintImage(const pp::Size& size) { pp 207 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc pp::ImageData image(this, PP_IMAGEDATAFORMAT_BGRA_PREMUL, size, false); pp 220 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc void MouseLockInstance::ClearToBackground(pp::ImageData* image) { pp 233 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc uint32_t* scanline = image->GetAddr32(pp::Point(0, y)); pp 240 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc void MouseLockInstance::DrawCenterSpot(pp::ImageData* image, pp 252 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc pp::Point left_top(std::max(0, center_x - region_of_interest_radius), pp 254 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc pp::Point right_bottom( pp 260 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc *image->GetAddr32(pp::Point(x, y)) = spot_color; pp 266 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc void MouseLockInstance::DrawNeedle(pp::ImageData* image, pp 281 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc pp::Point vertex(mouse_movement_.x() + center_x, pp 283 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc pp::Point anchor_1; pp 284 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc pp::Point anchor_2; pp 305 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc pp::Point left_top(std::max(0, center_x - abs_mouse_x), pp 307 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc pp::Point right_bottom( pp 322 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc *image->GetAddr32(pp::Point(x, y)) = needle_color; pp 330 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc (PPB_Console*)pp::Module::Get()->GetBrowserInterface( pp 342 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc pp::Var value(buf); pp 348 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc class MouseLockModule : public pp::Module { pp 350 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc MouseLockModule() : pp::Module() {} pp 354 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 27 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.h class MouseLockInstance : public pp::Instance, public pp::MouseLock { pp 30 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.h : pp::Instance(instance), pp 31 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.h pp::MouseLock(this), pp 45 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.h virtual bool HandleInputEvent(const pp::InputEvent& event); pp 48 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.h virtual void DidChangeView(const pp::View& view); pp 78 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.h pp::ImageData PaintImage(const pp::Size& size); pp 81 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.h void ClearToBackground(pp::ImageData* image); pp 83 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.h void DrawCenterSpot(pp::ImageData* image, uint32_t spot_color); pp 85 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.h void DrawNeedle(pp::ImageData* image, uint32_t needle_color); pp 90 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.h pp::Size size_; pp 93 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.h pp::Point mouse_movement_; pp 95 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.h pp::CompletionCallbackFactory<MouseLockInstance> callback_factory_; pp 97 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.h pp::Fullscreen fullscreen_; pp 98 native_client_sdk/src/examples/api/mouse_lock/mouse_lock.h pp::Graphics2D device_context_; pp 25 native_client_sdk/src/examples/api/network_monitor/network_monitor.cc class NetworkMonitorInstance : public pp::Instance { pp 28 native_client_sdk/src/examples/api/network_monitor/network_monitor.cc : pp::Instance(instance), pp 37 native_client_sdk/src/examples/api/network_monitor/network_monitor.cc pp::NetworkList network_list); pp 40 native_client_sdk/src/examples/api/network_monitor/network_monitor.cc static std::string GetNetAddressAsString(pp::NetAddress address); pp 42 native_client_sdk/src/examples/api/network_monitor/network_monitor.cc pp::CompletionCallbackFactory<NetworkMonitorInstance> callback_factory_; pp 43 native_client_sdk/src/examples/api/network_monitor/network_monitor.cc pp::NetworkMonitor network_monitor_; pp 63 native_client_sdk/src/examples/api/network_monitor/network_monitor.cc pp::NetworkList network_list) { pp 72 native_client_sdk/src/examples/api/network_monitor/network_monitor.cc pp::VarArray var_network_list; pp 75 native_client_sdk/src/examples/api/network_monitor/network_monitor.cc pp::VarDictionary var_network; pp 82 native_client_sdk/src/examples/api/network_monitor/network_monitor.cc pp::VarArray var_ip_addresses; pp 83 native_client_sdk/src/examples/api/network_monitor/network_monitor.cc std::vector<pp::NetAddress> ip_addresses; pp 138 native_client_sdk/src/examples/api/network_monitor/network_monitor.cc pp::NetAddress address) { pp 143 native_client_sdk/src/examples/api/network_monitor/network_monitor.cc class NetworkMonitorModule : public pp::Module { pp 145 native_client_sdk/src/examples/api/network_monitor/network_monitor.cc NetworkMonitorModule() : pp::Module() {} pp 148 native_client_sdk/src/examples/api/network_monitor/network_monitor.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 36 native_client_sdk/src/examples/api/socket/echo_server.cc if (!pp::TCPSocket::IsAvailable()) { pp 41 native_client_sdk/src/examples/api/socket/echo_server.cc listening_socket_ = pp::TCPSocket(instance_); pp 54 native_client_sdk/src/examples/api/socket/echo_server.cc pp::NetAddress addr(instance_, ipv4_addr); pp 55 native_client_sdk/src/examples/api/socket/echo_server.cc pp::CompletionCallback callback = pp 72 native_client_sdk/src/examples/api/socket/echo_server.cc pp::CompletionCallback callback = pp 90 native_client_sdk/src/examples/api/socket/echo_server.cc pp::NetAddress addr = listening_socket_.GetLocalAddress(); pp 97 native_client_sdk/src/examples/api/socket/echo_server.cc void EchoServer::OnAcceptCompletion(int32_t result, pp::TCPSocket socket) { pp 106 native_client_sdk/src/examples/api/socket/echo_server.cc pp::NetAddress addr = socket.GetLocalAddress(); pp 127 native_client_sdk/src/examples/api/socket/echo_server.cc incoming_socket_ = pp::TCPSocket(); pp 136 native_client_sdk/src/examples/api/socket/echo_server.cc pp::CompletionCallback callback = pp 161 native_client_sdk/src/examples/api/socket/echo_server.cc pp::CompletionCallback callback = pp 167 native_client_sdk/src/examples/api/socket/echo_server.cc pp::CompletionCallbackWithOutput<pp::TCPSocket> callback = pp 19 native_client_sdk/src/examples/api/socket/echo_server.h EchoServer(pp::Instance* instance, uint16_t port) pp 31 native_client_sdk/src/examples/api/socket/echo_server.h void OnAcceptCompletion(int32_t result, pp::TCPSocket socket); pp 38 native_client_sdk/src/examples/api/socket/echo_server.h pp::Instance* instance_; pp 39 native_client_sdk/src/examples/api/socket/echo_server.h pp::CompletionCallbackFactory<EchoServer> callback_factory_; pp 40 native_client_sdk/src/examples/api/socket/echo_server.h pp::TCPSocket listening_socket_; pp 41 native_client_sdk/src/examples/api/socket/echo_server.h pp::TCPSocket incoming_socket_; pp 25 native_client_sdk/src/examples/api/socket/socket.cc class ExampleInstance : public pp::Instance { pp 28 native_client_sdk/src/examples/api/socket/socket.cc : pp::Instance(instance), pp 37 native_client_sdk/src/examples/api/socket/socket.cc virtual void HandleMessage(const pp::Var& var_message); pp 51 native_client_sdk/src/examples/api/socket/socket.cc void OnReceiveFromCompletion(int32_t result, pp::NetAddress source); pp 54 native_client_sdk/src/examples/api/socket/socket.cc pp::CompletionCallbackFactory<ExampleInstance> callback_factory_; pp 55 native_client_sdk/src/examples/api/socket/socket.cc pp::TCPSocket tcp_socket_; pp 56 native_client_sdk/src/examples/api/socket/socket.cc pp::UDPSocket udp_socket_; pp 57 native_client_sdk/src/examples/api/socket/socket.cc pp::HostResolver resolver_; pp 58 native_client_sdk/src/examples/api/socket/socket.cc pp::NetAddress remote_host_; pp 71 native_client_sdk/src/examples/api/socket/socket.cc void ExampleInstance::HandleMessage(const pp::Var& var_message) { pp 135 native_client_sdk/src/examples/api/socket/socket.cc if (!pp::TCPSocket::IsAvailable()) { pp 140 native_client_sdk/src/examples/api/socket/socket.cc tcp_socket_ = pp::TCPSocket(this); pp 146 native_client_sdk/src/examples/api/socket/socket.cc if (!pp::UDPSocket::IsAvailable()) { pp 151 native_client_sdk/src/examples/api/socket/socket.cc udp_socket_ = pp::UDPSocket(this); pp 158 native_client_sdk/src/examples/api/socket/socket.cc if (!pp::HostResolver::IsAvailable()) { pp 163 native_client_sdk/src/examples/api/socket/socket.cc resolver_ = pp::HostResolver(this); pp 177 native_client_sdk/src/examples/api/socket/socket.cc pp::CompletionCallback callback = pp 190 native_client_sdk/src/examples/api/socket/socket.cc pp::NetAddress addr = resolver_.GetNetAddress(0); pp 194 native_client_sdk/src/examples/api/socket/socket.cc pp::CompletionCallback callback = pp 201 native_client_sdk/src/examples/api/socket/socket.cc udp_socket_.Bind(pp::NetAddress(this, ipv4_addr), callback); pp 216 native_client_sdk/src/examples/api/socket/socket.cc udp_socket_ = pp::UDPSocket(); pp 219 native_client_sdk/src/examples/api/socket/socket.cc tcp_socket_ = pp::TCPSocket(); pp 238 native_client_sdk/src/examples/api/socket/socket.cc pp::CompletionCallback callback = pp 264 native_client_sdk/src/examples/api/socket/socket.cc pp::CompletionCallbackWithOutput<pp::NetAddress> callback = pp 269 native_client_sdk/src/examples/api/socket/socket.cc pp::CompletionCallback callback = pp 284 native_client_sdk/src/examples/api/socket/socket.cc pp::NetAddress addr = udp_socket_.GetBoundAddress(); pp 295 native_client_sdk/src/examples/api/socket/socket.cc pp::NetAddress source) { pp 324 native_client_sdk/src/examples/api/socket/socket.cc class ExampleModule : public pp::Module { pp 326 native_client_sdk/src/examples/api/socket/socket.cc ExampleModule() : pp::Module() {} pp 329 native_client_sdk/src/examples/api/socket/socket.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 22 native_client_sdk/src/examples/api/url_loader/url_loader.cc class URLLoaderInstance : public pp::Instance { pp 24 native_client_sdk/src/examples/api/url_loader/url_loader.cc explicit URLLoaderInstance(PP_Instance instance) : pp::Instance(instance) {} pp 33 native_client_sdk/src/examples/api/url_loader/url_loader.cc virtual void HandleMessage(const pp::Var& var_message); pp 36 native_client_sdk/src/examples/api/url_loader/url_loader.cc void URLLoaderInstance::HandleMessage(const pp::Var& var_message) { pp 61 native_client_sdk/src/examples/api/url_loader/url_loader.cc class URLLoaderModule : public pp::Module { pp 63 native_client_sdk/src/examples/api/url_loader/url_loader.cc URLLoaderModule() : pp::Module() {} pp 67 native_client_sdk/src/examples/api/url_loader/url_loader.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 23 native_client_sdk/src/examples/api/url_loader/url_loader_handler.cc URLLoaderHandler* URLLoaderHandler::Create(pp::Instance* instance, pp 28 native_client_sdk/src/examples/api/url_loader/url_loader_handler.cc URLLoaderHandler::URLLoaderHandler(pp::Instance* instance, pp 47 native_client_sdk/src/examples/api/url_loader/url_loader_handler.cc pp::CompletionCallback cc = pp 120 native_client_sdk/src/examples/api/url_loader/url_loader_handler.cc pp::CompletionCallback cc = pp 160 native_client_sdk/src/examples/api/url_loader/url_loader_handler.cc pp::Var var_result(fname + "\n" + text); pp 37 native_client_sdk/src/examples/api/url_loader/url_loader_handler.h static URLLoaderHandler* Create(pp::Instance* instance_, pp 43 native_client_sdk/src/examples/api/url_loader/url_loader_handler.h URLLoaderHandler(pp::Instance* instance_, const std::string& url); pp 76 native_client_sdk/src/examples/api/url_loader/url_loader_handler.h pp::Instance* instance_; // Weak pointer. pp 78 native_client_sdk/src/examples/api/url_loader/url_loader_handler.h pp::URLRequestInfo url_request_; pp 79 native_client_sdk/src/examples/api/url_loader/url_loader_handler.h pp::URLLoader url_loader_; // URLLoader provides an API to download URLs. pp 82 native_client_sdk/src/examples/api/url_loader/url_loader_handler.h pp::CompletionCallbackFactory<URLLoaderHandler> cc_factory_; pp 36 native_client_sdk/src/examples/api/var_array_buffer/var_array_buffer.cc class VarArrayBufferInstance : public pp::Instance { pp 39 native_client_sdk/src/examples/api/var_array_buffer/var_array_buffer.cc : pp::Instance(instance), pp 54 native_client_sdk/src/examples/api/var_array_buffer/var_array_buffer.cc virtual void HandleMessage(const pp::Var& var_message) { pp 56 native_client_sdk/src/examples/api/var_array_buffer/var_array_buffer.cc pp::VarArrayBuffer buffer(var_message); pp 64 native_client_sdk/src/examples/api/var_array_buffer/var_array_buffer.cc pp::ImageData MakeBlankImageData(const pp::Size& size) { pp 66 native_client_sdk/src/examples/api/var_array_buffer/var_array_buffer.cc pp::ImageData image_data = pp 67 native_client_sdk/src/examples/api/var_array_buffer/var_array_buffer.cc pp::ImageData(this, PP_IMAGEDATAFORMAT_BGRA_PREMUL, size, init_to_zero); pp 77 native_client_sdk/src/examples/api/var_array_buffer/var_array_buffer.cc void DrawBar(uint32_t column, double value, pp::ImageData* image_data) { pp 90 native_client_sdk/src/examples/api/var_array_buffer/var_array_buffer.cc void PaintAndFlush(pp::ImageData* image_data) { pp 107 native_client_sdk/src/examples/api/var_array_buffer/var_array_buffer.cc pp::ImageData image_data = paint_queue_.front(); pp 112 native_client_sdk/src/examples/api/var_array_buffer/var_array_buffer.cc virtual void DidChangeView(const pp::View& view) { pp 117 native_client_sdk/src/examples/api/var_array_buffer/var_array_buffer.cc pp::Graphics2D(this, view.GetRect().size(), is_always_opaque); pp 127 native_client_sdk/src/examples/api/var_array_buffer/var_array_buffer.cc void ComputeHistogram(pp::VarArrayBuffer& buffer) { pp 145 native_client_sdk/src/examples/api/var_array_buffer/var_array_buffer.cc pp::ImageData image_data = MakeBlankImageData(size_); pp 158 native_client_sdk/src/examples/api/var_array_buffer/var_array_buffer.cc pp::Graphics2D graphics_2d_context_; pp 159 native_client_sdk/src/examples/api/var_array_buffer/var_array_buffer.cc pp::CompletionCallbackFactory<VarArrayBufferInstance> callback_factory_; pp 163 native_client_sdk/src/examples/api/var_array_buffer/var_array_buffer.cc std::deque<pp::ImageData> paint_queue_; pp 167 native_client_sdk/src/examples/api/var_array_buffer/var_array_buffer.cc pp::Size size_; pp 177 native_client_sdk/src/examples/api/var_array_buffer/var_array_buffer.cc class VarArrayBufferModule : public pp::Module { pp 179 native_client_sdk/src/examples/api/var_array_buffer/var_array_buffer.cc VarArrayBufferModule() : pp::Module() {} pp 182 native_client_sdk/src/examples/api/var_array_buffer/var_array_buffer.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 28 native_client_sdk/src/examples/api/var_dictionary/var_dictionary.cc pp::Var MakeResult(const char* cmd, const pp::Var& value, pp 29 native_client_sdk/src/examples/api/var_dictionary/var_dictionary.cc const pp::Var& newDictionary) { pp 30 native_client_sdk/src/examples/api/var_dictionary/var_dictionary.cc pp::VarDictionary dict; pp 39 native_client_sdk/src/examples/api/var_dictionary/var_dictionary.cc class VarDictionaryInstance : public pp::Instance { pp 42 native_client_sdk/src/examples/api/var_dictionary/var_dictionary.cc : pp::Instance(instance) {} pp 49 native_client_sdk/src/examples/api/var_dictionary/var_dictionary.cc pp::VarArray array; pp 55 native_client_sdk/src/examples/api/var_dictionary/var_dictionary.cc PostResult("", pp::Var()); pp 60 native_client_sdk/src/examples/api/var_dictionary/var_dictionary.cc virtual void HandleMessage(const pp::Var& var_message) { pp 66 native_client_sdk/src/examples/api/var_dictionary/var_dictionary.cc pp::VarDictionary dict_message(var_message); pp 67 native_client_sdk/src/examples/api/var_dictionary/var_dictionary.cc pp::Var var_command = dict_message.Get("cmd"); pp 87 native_client_sdk/src/examples/api/var_dictionary/var_dictionary.cc void HandleGet(const pp::VarDictionary& dict_message) { pp 88 native_client_sdk/src/examples/api/var_dictionary/var_dictionary.cc pp::Var var_key = dict_message.Get("key"); pp 98 native_client_sdk/src/examples/api/var_dictionary/var_dictionary.cc void HandleSet(const pp::VarDictionary& dict_message) { pp 99 native_client_sdk/src/examples/api/var_dictionary/var_dictionary.cc pp::Var var_key = dict_message.Get("key"); pp 105 native_client_sdk/src/examples/api/var_dictionary/var_dictionary.cc pp::Var var_value = dict_message.Get("value"); pp 110 native_client_sdk/src/examples/api/var_dictionary/var_dictionary.cc void HandleDelete(const pp::VarDictionary& dict_message) { pp 111 native_client_sdk/src/examples/api/var_dictionary/var_dictionary.cc pp::Var var_key = dict_message.Get("key"); pp 119 native_client_sdk/src/examples/api/var_dictionary/var_dictionary.cc PostResult(kDeleteCommand, pp::Var()); pp 122 native_client_sdk/src/examples/api/var_dictionary/var_dictionary.cc void HandleGetKeys(const pp::VarDictionary& dict_message) { pp 126 native_client_sdk/src/examples/api/var_dictionary/var_dictionary.cc void HandleHasKey(const pp::VarDictionary& dict_message) { pp 127 native_client_sdk/src/examples/api/var_dictionary/var_dictionary.cc pp::Var var_key = dict_message.Get("key"); pp 137 native_client_sdk/src/examples/api/var_dictionary/var_dictionary.cc void PostResult(const char* cmd, const pp::Var& result) { pp 141 native_client_sdk/src/examples/api/var_dictionary/var_dictionary.cc pp::VarDictionary dictionary_; pp 144 native_client_sdk/src/examples/api/var_dictionary/var_dictionary.cc class VarDictionaryModule : public pp::Module { pp 146 native_client_sdk/src/examples/api/var_dictionary/var_dictionary.cc VarDictionaryModule() : pp::Module() {} pp 149 native_client_sdk/src/examples/api/var_dictionary/var_dictionary.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 15 native_client_sdk/src/examples/api/websocket/websocket.cc class WebSocketInstance : public pp::Instance { pp 18 native_client_sdk/src/examples/api/websocket/websocket.cc : pp::Instance(instance), websocket_(NULL) {} pp 20 native_client_sdk/src/examples/api/websocket/websocket.cc virtual void HandleMessage(const pp::Var& var_message); pp 39 native_client_sdk/src/examples/api/websocket/websocket.cc pp::WebSocket* websocket_; pp 40 native_client_sdk/src/examples/api/websocket/websocket.cc pp::Var receive_var_; pp 47 native_client_sdk/src/examples/api/websocket/websocket.cc static std::string ArrayToString(pp::VarArrayBuffer& array) { pp 60 native_client_sdk/src/examples/api/websocket/websocket.cc void WebSocketInstance::HandleMessage(const pp::Var& var_message) { pp 100 native_client_sdk/src/examples/api/websocket/websocket.cc pp::CompletionCallback callback(OnConnectCompletionCallback, this); pp 101 native_client_sdk/src/examples/api/websocket/websocket.cc websocket_ = new pp::WebSocket(this); pp 104 native_client_sdk/src/examples/api/websocket/websocket.cc websocket_->Connect(pp::Var(url), NULL, 0, callback); pp 105 native_client_sdk/src/examples/api/websocket/websocket.cc PostMessage(pp::Var("connecting...")); pp 111 native_client_sdk/src/examples/api/websocket/websocket.cc pp::CompletionCallback callback(OnCloseCompletionCallback, this); pp 113 native_client_sdk/src/examples/api/websocket/websocket.cc PP_WEBSOCKETSTATUSCODE_NORMAL_CLOSURE, pp::Var("bye"), callback); pp 120 native_client_sdk/src/examples/api/websocket/websocket.cc pp::VarArrayBuffer array_buffer(size); pp 127 native_client_sdk/src/examples/api/websocket/websocket.cc PostMessage(pp::Var("send (binary): " + message_text)); pp 133 native_client_sdk/src/examples/api/websocket/websocket.cc websocket_->SendMessage(pp::Var(message)); pp 134 native_client_sdk/src/examples/api/websocket/websocket.cc PostMessage(pp::Var("send (text): " + message)); pp 138 native_client_sdk/src/examples/api/websocket/websocket.cc pp::CompletionCallback callback(OnReceiveCompletionCallback, this); pp 146 native_client_sdk/src/examples/api/websocket/websocket.cc PostMessage(pp::Var("connection failed")); pp 149 native_client_sdk/src/examples/api/websocket/websocket.cc PostMessage(pp::Var("connected")); pp 154 native_client_sdk/src/examples/api/websocket/websocket.cc PostMessage(pp::Var(PP_OK == result ? "closed" : "abnormally closed")); pp 160 native_client_sdk/src/examples/api/websocket/websocket.cc pp::VarArrayBuffer array_buffer(receive_var_); pp 191 native_client_sdk/src/examples/api/websocket/websocket.cc class WebSocketModule : public pp::Module { pp 193 native_client_sdk/src/examples/api/websocket/websocket.cc WebSocketModule() : pp::Module() {} pp 196 native_client_sdk/src/examples/api/websocket/websocket.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 101 native_client_sdk/src/examples/demo/drive/drive.cc int32_t ReadUrl(pp::Instance* instance, pp 104 native_client_sdk/src/examples/demo/drive/drive.cc pp::URLRequestInfo url_request(instance); pp 105 native_client_sdk/src/examples/demo/drive/drive.cc pp::URLLoader url_loader(instance); pp 116 native_client_sdk/src/examples/demo/drive/drive.cc int32_t result = url_loader.Open(url_request, pp::BlockUntilComplete()); pp 121 native_client_sdk/src/examples/demo/drive/drive.cc pp::URLResponseInfo url_response = url_loader.GetResponseInfo(); pp 143 native_client_sdk/src/examples/demo/drive/drive.cc buffer_, kReadBufferSize, pp::BlockUntilComplete()); pp 168 native_client_sdk/src/examples/demo/drive/drive.cc int32_t ListFiles(pp::Instance* instance, pp 254 native_client_sdk/src/examples/demo/drive/drive.cc int32_t InsertFile(pp::Instance* instance, pp 304 native_client_sdk/src/examples/demo/drive/drive.cc class Instance : public pp::Instance { pp 308 native_client_sdk/src/examples/demo/drive/drive.cc virtual void HandleMessage(const pp::Var& var_message); pp 329 native_client_sdk/src/examples/demo/drive/drive.cc pp::SimpleThread worker_thread_; pp 330 native_client_sdk/src/examples/demo/drive/drive.cc pp::CompletionCallbackFactory<Instance> callback_factory_; pp 336 native_client_sdk/src/examples/demo/drive/drive.cc : pp::Instance(instance), pp 348 native_client_sdk/src/examples/demo/drive/drive.cc void Instance::HandleMessage(const pp::Var& var_message) { pp 549 native_client_sdk/src/examples/demo/drive/drive.cc class Module : public pp::Module { pp 551 native_client_sdk/src/examples/demo/drive/drive.cc Module() : pp::Module() {} pp 554 native_client_sdk/src/examples/demo/drive/drive.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 208 native_client_sdk/src/examples/demo/earth/earth.cc void SpinPlanet(pp::Point new_point, pp::Point last_point); pp 226 native_client_sdk/src/examples/demo/earth/earth.cc pp::Point ui_last_point_; pp 280 native_client_sdk/src/examples/demo/earth/earth.cc pp::VarDictionary message; pp 282 native_client_sdk/src/examples/demo/earth/earth.cc pp::VarArray names; pp 328 native_client_sdk/src/examples/demo/earth/earth.cc ui_last_point_ = pp::Point(0, 0); pp 672 native_client_sdk/src/examples/demo/earth/earth.cc void Planet::SpinPlanet(pp::Point new_point, pp::Point last_point) { pp 689 native_client_sdk/src/examples/demo/earth/earth.cc pp::InputEvent event(ps_event->as_resource); pp 692 native_client_sdk/src/examples/demo/earth/earth.cc pp::KeyboardInputEvent key(event); pp 701 native_client_sdk/src/examples/demo/earth/earth.cc pp::MouseInputEvent mouse = pp::MouseInputEvent(event); pp 711 native_client_sdk/src/examples/demo/earth/earth.cc pp::WheelInputEvent wheel = pp::WheelInputEvent(event); pp 720 native_client_sdk/src/examples/demo/earth/earth.cc pp::TouchInputEvent touches = pp::TouchInputEvent(event); pp 724 native_client_sdk/src/examples/demo/earth/earth.cc pp::TouchPoint touch = pp 726 native_client_sdk/src/examples/demo/earth/earth.cc pp::Point screen_point(touch.position().x(), pp 740 native_client_sdk/src/examples/demo/earth/earth.cc pp::Var var(ps_event->as_var); pp 742 native_client_sdk/src/examples/demo/earth/earth.cc pp::VarDictionary dictionary(var); pp 758 native_client_sdk/src/examples/demo/earth/earth.cc pp::VarArrayBuffer array_buffer(dictionary.Get("data")); pp 775 native_client_sdk/src/examples/demo/earth/earth.cc pp::VarDictionary message; pp 64 native_client_sdk/src/examples/demo/flock/flock.cc pp::Rect sprite_src_rect(0, 0, sprite_side_length, sprite_side_length); pp 65 native_client_sdk/src/examples/demo/flock/flock.cc pp::Rect canvas_bounds(pp::Size(ctx->width, ctx->height)); pp 74 native_client_sdk/src/examples/demo/flock/flock.cc pp::Point dest_point(goose.location().x() - sprite_side_length / 2, pp 117 native_client_sdk/src/examples/demo/flock/flock.cc g_goose_sprite = new Sprite(buffer, pp::Size(fmt.width, fmt.height), 0); pp 50 native_client_sdk/src/examples/demo/flock/goose.cc const pp::Rect& flock_box) { pp 35 native_client_sdk/src/examples/demo/flock/goose.h const pp::Rect& flock_box); pp 27 native_client_sdk/src/examples/demo/flock/sprite.cc const pp::Size& size, pp 37 native_client_sdk/src/examples/demo/flock/sprite.cc const pp::Size& size, pp 44 native_client_sdk/src/examples/demo/flock/sprite.cc void Sprite::CompositeFromRectToPoint(const pp::Rect& src_rect, pp 46 native_client_sdk/src/examples/demo/flock/sprite.cc const pp::Rect& dest_bounds, pp 48 native_client_sdk/src/examples/demo/flock/sprite.cc const pp::Point& dest_point) const { pp 50 native_client_sdk/src/examples/demo/flock/sprite.cc pp::Rect src_bounds(pp::Point(), size()); pp 51 native_client_sdk/src/examples/demo/flock/sprite.cc pp::Rect src_rect_clipped(src_rect.Intersect(src_bounds)); pp 57 native_client_sdk/src/examples/demo/flock/sprite.cc pp::Rect draw_rect(dest_point, src_rect_clipped.size()); pp 58 native_client_sdk/src/examples/demo/flock/sprite.cc pp::Rect draw_rect_clipped(dest_bounds.Intersect(draw_rect)); pp 62 native_client_sdk/src/examples/demo/flock/sprite.cc pp::Point src_offset(draw_rect_clipped.point()); pp 23 native_client_sdk/src/examples/demo/flock/sprite.h Sprite(uint32_t* pixel_buffer, const pp::Size& size, int32_t stride = 0); pp 34 native_client_sdk/src/examples/demo/flock/sprite.h const pp::Size& size, pp 40 native_client_sdk/src/examples/demo/flock/sprite.h void CompositeFromRectToPoint(const pp::Rect& src_rect, pp 42 native_client_sdk/src/examples/demo/flock/sprite.h const pp::Rect& dest_bounds, pp 44 native_client_sdk/src/examples/demo/flock/sprite.h const pp::Point& dest_point) const; pp 47 native_client_sdk/src/examples/demo/flock/sprite.h const pp::Size& size() const { pp 53 native_client_sdk/src/examples/demo/flock/sprite.h pp::Size pixel_buffer_size_; pp 441 native_client_sdk/src/examples/demo/voronoi/voronoi.cc pp::InputEvent event(ps_event->as_resource); pp 444 native_client_sdk/src/examples/demo/voronoi/voronoi.cc pp::KeyboardInputEvent key = pp::KeyboardInputEvent(event); pp 453 native_client_sdk/src/examples/demo/voronoi/voronoi.cc pp::TouchInputEvent touches = pp::TouchInputEvent(event); pp 458 native_client_sdk/src/examples/demo/voronoi/voronoi.cc pp::TouchPoint touch = pp 460 native_client_sdk/src/examples/demo/voronoi/voronoi.cc pp::FloatPoint point = touch.position(); pp 471 native_client_sdk/src/examples/demo/voronoi/voronoi.cc pp::Var var(ps_event->as_var); pp 473 native_client_sdk/src/examples/demo/voronoi/voronoi.cc pp::VarDictionary dictionary(var); pp 495 native_client_sdk/src/examples/demo/voronoi/voronoi.cc pp::VarDictionary message; pp 37 native_client_sdk/src/examples/tutorial/dlopen/dlopen.cc class DlOpenInstance : public pp::Instance { pp 40 native_client_sdk/src/examples/tutorial/dlopen/dlopen.cc : pp::Instance(instance), pp 51 native_client_sdk/src/examples/tutorial/dlopen/dlopen.cc PostMessage(pp::Var(std::string("log:") + pStr)); pp 59 native_client_sdk/src/examples/tutorial/dlopen/dlopen.cc pp::Module::Get()->get_browser_interface()); pp 111 native_client_sdk/src/examples/tutorial/dlopen/dlopen.cc virtual void HandleMessage(const pp::Var& var_message) { pp 166 native_client_sdk/src/examples/tutorial/dlopen/dlopen.cc class DlOpenModule : public pp::Module { pp 168 native_client_sdk/src/examples/tutorial/dlopen/dlopen.cc DlOpenModule() : pp::Module() {} pp 172 native_client_sdk/src/examples/tutorial/dlopen/dlopen.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 8 native_client_sdk/src/examples/tutorial/load_progress/load_progress.cc class LoadProgressInstance : public pp::Instance { pp 11 native_client_sdk/src/examples/tutorial/load_progress/load_progress.cc : pp::Instance(instance) {} pp 15 native_client_sdk/src/examples/tutorial/load_progress/load_progress.cc class LoadProgressModule : public pp::Module { pp 17 native_client_sdk/src/examples/tutorial/load_progress/load_progress.cc LoadProgressModule() : pp::Module() {} pp 20 native_client_sdk/src/examples/tutorial/load_progress/load_progress.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 39 native_client_sdk/src/examples/tutorial/testing/testing.cc pp::Instance(PSGetInstanceId()).PostMessage(msg.str()); pp 49 native_client_sdk/src/examples/tutorial/testing/testing.cc pp::Instance(PSGetInstanceId()).PostMessage(msg.str()); pp 57 native_client_sdk/src/examples/tutorial/testing/testing.cc pp::Instance(PSGetInstanceId()).PostMessage(msg.str()); pp 40 native_client_sdk/src/getting_started/part1/hello_tutorial.cc class HelloTutorialInstance : public pp::Instance { pp 44 native_client_sdk/src/getting_started/part1/hello_tutorial.cc explicit HelloTutorialInstance(PP_Instance instance) : pp::Instance(instance) pp 52 native_client_sdk/src/getting_started/part1/hello_tutorial.cc virtual void HandleMessage(const pp::Var& var_message) { pp 60 native_client_sdk/src/getting_started/part1/hello_tutorial.cc class HelloTutorialModule : public pp::Module { pp 62 native_client_sdk/src/getting_started/part1/hello_tutorial.cc HelloTutorialModule() : pp::Module() {} pp 68 native_client_sdk/src/getting_started/part1/hello_tutorial.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 19 native_client_sdk/src/getting_started/part2/hello_tutorial.cc class HelloTutorialInstance : public pp::Instance { pp 22 native_client_sdk/src/getting_started/part2/hello_tutorial.cc : pp::Instance(instance) {} pp 25 native_client_sdk/src/getting_started/part2/hello_tutorial.cc virtual void HandleMessage(const pp::Var& var_message) { pp 34 native_client_sdk/src/getting_started/part2/hello_tutorial.cc pp::Var var_reply(kReplyString); pp 40 native_client_sdk/src/getting_started/part2/hello_tutorial.cc class HelloTutorialModule : public pp::Module { pp 42 native_client_sdk/src/getting_started/part2/hello_tutorial.cc HelloTutorialModule() : pp::Module() {} pp 45 native_client_sdk/src/getting_started/part2/hello_tutorial.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 228 native_client_sdk/src/gonacl_appengine/src/cube/cube.cc class CubeInstance : public pp::Instance { pp 231 native_client_sdk/src/gonacl_appengine/src/cube/cube.cc : pp::Instance(instance), pp 252 native_client_sdk/src/gonacl_appengine/src/cube/cube.cc virtual void DidChangeView(const pp::View& view) { pp 283 native_client_sdk/src/gonacl_appengine/src/cube/cube.cc virtual void HandleMessage(const pp::Var& message) { pp 296 native_client_sdk/src/gonacl_appengine/src/cube/cube.cc pp::VarArray array(message); pp 302 native_client_sdk/src/gonacl_appengine/src/cube/cube.cc pp::Var x_angle_var = array.Get(0); pp 311 native_client_sdk/src/gonacl_appengine/src/cube/cube.cc pp::Var y_angle_var = array.Get(1); pp 323 native_client_sdk/src/gonacl_appengine/src/cube/cube.cc if (!glInitializePPAPI(pp::Module::Get()->get_browser_interface())) { pp 336 native_client_sdk/src/gonacl_appengine/src/cube/cube.cc context_ = pp::Graphics3D(this, attrib_list); pp 339 native_client_sdk/src/gonacl_appengine/src/cube/cube.cc context_ = pp::Graphics3D(); pp 405 native_client_sdk/src/gonacl_appengine/src/cube/cube.cc pp::VarArray array; pp 483 native_client_sdk/src/gonacl_appengine/src/cube/cube.cc pp::CompletionCallbackFactory<CubeInstance> callback_factory_; pp 484 native_client_sdk/src/gonacl_appengine/src/cube/cube.cc pp::Graphics3D context_; pp 506 native_client_sdk/src/gonacl_appengine/src/cube/cube.cc class CubeModule : public pp::Module { pp 508 native_client_sdk/src/gonacl_appengine/src/cube/cube.cc CubeModule() : pp::Module() {} pp 511 native_client_sdk/src/gonacl_appengine/src/cube/cube.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 169 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc class Planet : public pp::Instance { pp 176 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc virtual void DidChangeView(const pp::View& view); pp 179 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc virtual bool HandleInputEvent(const pp::InputEvent& event); pp 182 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc virtual void HandleMessage(const pp::Var& message); pp 223 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc void CreateContext(const pp::Size& size); pp 276 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc pp::Graphics2D* graphics_2d_context_; pp 277 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc pp::ImageData* image_data_; pp 304 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc pp::VarDictionary message; pp 306 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc pp::VarArray names; pp 372 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc Planet::Planet(PP_Instance instance) : pp::Instance(instance), pp 670 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc void Planet::DidChangeView(const pp::View& view) { pp 671 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc pp::Rect position = view.GetRect(); pp 732 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc bool Planet::HandleInputEvent(const pp::InputEvent& event) { pp 735 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc pp::KeyboardInputEvent key(event); pp 743 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc pp::MouseInputEvent mouse = pp::MouseInputEvent(event); pp 750 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc pp::MouseInputEvent mouse = pp::MouseInputEvent(event); pp 764 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc pp::WheelInputEvent wheel = pp::WheelInputEvent(event); pp 779 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc pp::VarDictionary message; pp 786 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc void Planet::HandleMessage(const pp::Var& var) { pp 788 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc pp::VarDictionary dictionary(var); pp 804 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc pp::VarArrayBuffer array_buffer(dictionary.Get("data")); pp 822 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc graphics_2d_context_->PaintImageData(*image_data_, pp::Point(0, 0)); pp 823 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc graphics_2d_context_->Flush(pp::CompletionCallback(&FlushCallback, this)); pp 830 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc pp::Module::Get()->core()->CallOnMainThread(33, pp 831 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc pp::CompletionCallback(&FlushCallback, this)); pp 852 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc void Planet::CreateContext(const pp::Size& size) { pp 853 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc graphics_2d_context_ = new pp::Graphics2D(this, size, false); pp 858 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc image_data_ = new pp::ImageData(this, pp 880 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc class PlanetModule : public pp::Module { pp 882 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc PlanetModule() : pp::Module() {} pp 886 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 420 native_client_sdk/src/gonacl_appengine/src/voronoi/voronoi.cc pp::InputEvent event(ps_event->as_resource); pp 424 native_client_sdk/src/gonacl_appengine/src/voronoi/voronoi.cc pp::TouchInputEvent touches = pp::TouchInputEvent(event); pp 429 native_client_sdk/src/gonacl_appengine/src/voronoi/voronoi.cc pp::TouchPoint touch = pp 431 native_client_sdk/src/gonacl_appengine/src/voronoi/voronoi.cc pp::FloatPoint point = touch.position(); pp 442 native_client_sdk/src/gonacl_appengine/src/voronoi/voronoi.cc pp::Var var(ps_event->as_var); pp 444 native_client_sdk/src/gonacl_appengine/src/voronoi/voronoi.cc pp::VarDictionary dictionary(var); pp 464 native_client_sdk/src/gonacl_appengine/src/voronoi/voronoi.cc pp::VarDictionary message; pp 13 native_client_sdk/src/libraries/ppapi_simple/ps.cc static pp::Instance* s_Instance = NULL; pp 20 native_client_sdk/src/libraries/ppapi_simple/ps.cc return pp::Module::Get()->GetBrowserInterface(name); pp 27 native_client_sdk/src/libraries/ppapi_simple/ps.cc class PSModule : public pp::Module { pp 29 native_client_sdk/src/libraries/ppapi_simple/ps.cc PSModule() : pp::Module() {} pp 32 native_client_sdk/src/libraries/ppapi_simple/ps.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 33 native_client_sdk/src/libraries/ppapi_simple/ps.cc s_Instance = static_cast<pp::Instance*>(PSUserCreateInstance(instance)); pp 65 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc instance->main_loop_ = new pp::MessageLoop(si->inst_); pp 120 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc : pp::Instance(instance), pp 121 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc pp::MouseLock(this), pp 122 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc pp::Graphics3DClient(this), pp 390 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc PostMessage(pp::Var(message)); pp 394 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc void PSInstance::MessageHandlerExit(const pp::Var& message) { pp 401 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc void PSInstance::MessageHandlerInput(const pp::Var& message) { pp 431 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc void PSInstance::MessageHandlerResize(const pp::Var& message) { pp 433 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc pp::VarArray array(message); pp 448 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc void PSInstance::MessageHandlerExitStatic(const pp::Var& key, pp 449 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc const pp::Var& value, pp 455 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc void PSInstance::MessageHandlerInputStatic(const pp::Var& key, pp 456 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc const pp::Var& value, pp 462 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc void PSInstance::MessageHandlerResizeStatic(const pp::Var& key, pp 463 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc const pp::Var& value, pp 487 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc pp::Var event(var); pp 493 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc MessageHandlerInput(pp::Var(message.substr(prefix_len))); pp 503 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc pp::VarDictionary dictionary(var); pp 504 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc pp::VarArray keys = dictionary.GetKeys(); pp 506 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc pp::Var key = keys.Get(0); pp 571 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc void PSInstance::HandleMessage(const pp::Var& message) { pp 576 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc bool PSInstance::HandleInputEvent(const pp::InputEvent& event) { pp 581 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc void PSInstance::DidChangeView(const pp::View& view) { pp 582 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc pp::Size new_size = view.GetRect().size(); pp 29 native_client_sdk/src/libraries/ppapi_simple/ps_instance.h typedef void (*MessageHandler_t)(const pp::Var& key, pp 30 native_client_sdk/src/libraries/ppapi_simple/ps_instance.h const pp::Var& value, pp 40 native_client_sdk/src/libraries/ppapi_simple/ps_instance.h class PSInstance : public pp::Instance, pp::MouseLock, pp::Graphics3DClient { pp 136 native_client_sdk/src/libraries/ppapi_simple/ps_instance.h virtual void DidChangeView(const pp::View& view); pp 142 native_client_sdk/src/libraries/ppapi_simple/ps_instance.h virtual void HandleMessage(const pp::Var& message); pp 146 native_client_sdk/src/libraries/ppapi_simple/ps_instance.h virtual bool HandleInputEvent(const pp::InputEvent& event); pp 160 native_client_sdk/src/libraries/ppapi_simple/ps_instance.h void MessageHandlerExit(const pp::Var& message); pp 161 native_client_sdk/src/libraries/ppapi_simple/ps_instance.h void MessageHandlerInput(const pp::Var& message); pp 162 native_client_sdk/src/libraries/ppapi_simple/ps_instance.h void MessageHandlerResize(const pp::Var& message); pp 171 native_client_sdk/src/libraries/ppapi_simple/ps_instance.h static void MessageHandlerExitStatic(const pp::Var& key, pp 172 native_client_sdk/src/libraries/ppapi_simple/ps_instance.h const pp::Var& value, pp 177 native_client_sdk/src/libraries/ppapi_simple/ps_instance.h static void MessageHandlerInputStatic(const pp::Var& key, pp 178 native_client_sdk/src/libraries/ppapi_simple/ps_instance.h const pp::Var& value, pp 185 native_client_sdk/src/libraries/ppapi_simple/ps_instance.h static void MessageHandlerResizeStatic(const pp::Var& key, pp 186 native_client_sdk/src/libraries/ppapi_simple/ps_instance.h const pp::Var& value, pp 190 native_client_sdk/src/libraries/ppapi_simple/ps_instance.h pp::MessageLoop* main_loop_; pp 37 native_client_sdk/src/tests/nacl_io_socket_test/echo_server.cc if (!pp::TCPSocket::IsAvailable()) { pp 42 native_client_sdk/src/tests/nacl_io_socket_test/echo_server.cc listening_socket_ = pp::TCPSocket(instance_); pp 55 native_client_sdk/src/tests/nacl_io_socket_test/echo_server.cc pp::NetAddress addr(instance_, ipv4_addr); pp 56 native_client_sdk/src/tests/nacl_io_socket_test/echo_server.cc pp::CompletionCallback callback = pp 73 native_client_sdk/src/tests/nacl_io_socket_test/echo_server.cc pp::CompletionCallback callback = pp 91 native_client_sdk/src/tests/nacl_io_socket_test/echo_server.cc pp::NetAddress addr = listening_socket_.GetLocalAddress(); pp 105 native_client_sdk/src/tests/nacl_io_socket_test/echo_server.cc void EchoServer::OnAcceptCompletion(int32_t result, pp::TCPSocket socket) { pp 114 native_client_sdk/src/tests/nacl_io_socket_test/echo_server.cc pp::NetAddress addr = socket.GetLocalAddress(); pp 135 native_client_sdk/src/tests/nacl_io_socket_test/echo_server.cc incoming_socket_ = pp::TCPSocket(); pp 144 native_client_sdk/src/tests/nacl_io_socket_test/echo_server.cc pp::CompletionCallback callback = pp 169 native_client_sdk/src/tests/nacl_io_socket_test/echo_server.cc pp::CompletionCallback callback = pp 175 native_client_sdk/src/tests/nacl_io_socket_test/echo_server.cc pp::CompletionCallbackWithOutput<pp::TCPSocket> callback = pp 21 native_client_sdk/src/tests/nacl_io_socket_test/echo_server.h EchoServer(pp::Instance* instance, pp 41 native_client_sdk/src/tests/nacl_io_socket_test/echo_server.h void OnAcceptCompletion(int32_t result, pp::TCPSocket socket); pp 53 native_client_sdk/src/tests/nacl_io_socket_test/echo_server.h pp::Instance* instance_; pp 54 native_client_sdk/src/tests/nacl_io_socket_test/echo_server.h pp::CompletionCallbackFactory<EchoServer> callback_factory_; pp 55 native_client_sdk/src/tests/nacl_io_socket_test/echo_server.h pp::TCPSocket listening_socket_; pp 56 native_client_sdk/src/tests/nacl_io_socket_test/echo_server.h pp::TCPSocket incoming_socket_; pp 33 native_client_sdk/src/tests/nacl_io_socket_test/main.cc pp::Instance(PSGetInstanceId()).PostMessage(msg.str()); pp 43 native_client_sdk/src/tests/nacl_io_socket_test/main.cc pp::Instance(PSGetInstanceId()).PostMessage(msg.str()); pp 51 native_client_sdk/src/tests/nacl_io_socket_test/main.cc pp::Instance(PSGetInstanceId()).PostMessage(msg.str()); pp 126 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc pp::Instance instance(PSGetInstanceId()); pp 138 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc loop_ = pp::MessageLoop(&instance_); pp 166 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc pp::MessageLoop loop_; pp 167 native_client_sdk/src/tests/nacl_io_socket_test/socket_test.cc pp::Instance instance_; pp 34 native_client_sdk/src/tests/nacl_io_test/main.cc pp::Instance(PSGetInstanceId()).PostMessage(msg.str()); pp 44 native_client_sdk/src/tests/nacl_io_test/main.cc pp::Instance(PSGetInstanceId()).PostMessage(msg.str()); pp 52 native_client_sdk/src/tests/nacl_io_test/main.cc pp::Instance(PSGetInstanceId()).PostMessage(msg.str()); pp 33 native_client_sdk/src/tests/sdk_util_test/main.cc pp::Instance(PSGetInstanceId()).PostMessage(msg.str()); pp 43 native_client_sdk/src/tests/sdk_util_test/main.cc pp::Instance(PSGetInstanceId()).PostMessage(msg.str()); pp 51 native_client_sdk/src/tests/sdk_util_test/main.cc pp::Instance(PSGetInstanceId()).PostMessage(msg.str()); pp 16 ppapi/cpp/array_output.h namespace pp { pp 17 ppapi/cpp/audio.h namespace pp { pp 11 ppapi/cpp/audio_buffer.h namespace pp { pp 16 ppapi/cpp/audio_config.h namespace pp { pp 17 ppapi/cpp/completion_callback.h namespace pp { pp 305 ppapi/cpp/completion_callback.h : public ::pp::internal::CompletionCallbackWithOutputBase< pp 308 ppapi/cpp/completion_callback.h typedef ::pp::internal::CompletionCallbackWithOutputBase< pp 13 ppapi/cpp/core.h namespace pp { pp 18 ppapi/cpp/dev/alarms_dev.h namespace pp { pp 16 ppapi/cpp/dev/array_dev.h namespace pp { pp 16 ppapi/cpp/dev/audio_input_dev.h namespace pp { pp 10 ppapi/cpp/dev/buffer_dev.h namespace pp { pp 13 ppapi/cpp/dev/crypto_dev.h namespace pp { pp 13 ppapi/cpp/dev/cursor_control_dev.h namespace pp { pp 12 ppapi/cpp/dev/device_ref_dev.h namespace pp { pp 15 ppapi/cpp/dev/file_chooser_dev.h namespace pp { pp 16 ppapi/cpp/dev/font_dev.h namespace pp { pp 17 ppapi/cpp/dev/ime_input_event_dev.h namespace pp { pp 10 ppapi/cpp/dev/may_own_ptr_dev.h namespace pp { pp 13 ppapi/cpp/dev/memory_dev.h namespace pp { pp 15 ppapi/cpp/dev/optional_dev.h namespace pp { pp 44 ppapi/cpp/dev/printing_dev.cc pp::Instance::GetPerInstanceObject(instance, kPPPPrintingInterface); pp 53 ppapi/cpp/dev/printing_dev.cc pp::Instance::GetPerInstanceObject(instance, kPPPPrintingInterface); pp 60 ppapi/cpp/dev/printing_dev.cc pp::Instance::GetPerInstanceObject(instance, kPPPPrintingInterface); pp 13 ppapi/cpp/dev/printing_dev.h namespace pp { pp 75 ppapi/cpp/dev/scriptable_object_deprecated.cc pp::Module::Get()->GetBrowserInterface(PPB_MEMORY_DEV_INTERFACE)); pp 12 ppapi/cpp/dev/scriptable_object_deprecated.h namespace pp { pp 17 ppapi/cpp/dev/scriptable_object_deprecated.h namespace pp { pp 79 ppapi/cpp/dev/scriptable_object_deprecated.h friend class ::pp::Var; pp 80 ppapi/cpp/dev/scriptable_object_deprecated.h friend class ::pp::VarPrivate; pp 11 ppapi/cpp/dev/scrollbar_dev.h namespace pp { pp 20 ppapi/cpp/dev/selection_dev.cc pp::Instance::GetPerInstanceObject(instance, kPPPSelectionInterface); pp 11 ppapi/cpp/dev/selection_dev.h namespace pp { pp 13 ppapi/cpp/dev/string_wrapper_dev.h namespace pp { pp 8 ppapi/cpp/dev/struct_wrapper_output_traits_dev.h namespace pp { pp 13 ppapi/cpp/dev/text_input_dev.h namespace pp { pp 14 ppapi/cpp/dev/to_c_type_converter_dev.h namespace pp { pp 17 ppapi/cpp/dev/truetype_font_dev.h namespace pp { pp 87 ppapi/cpp/dev/truetype_font_dev.h pp::Var family_; // This manages the PP_Var embedded in desc_. pp 11 ppapi/cpp/dev/url_util_dev.h namespace pp { pp 15 ppapi/cpp/dev/video_capture_client_dev.h namespace pp { pp 15 ppapi/cpp/dev/video_capture_dev.h namespace pp { pp 12 ppapi/cpp/dev/video_decoder_client_dev.h namespace pp { pp 15 ppapi/cpp/dev/video_decoder_dev.h namespace pp { pp 10 ppapi/cpp/dev/view_dev.h namespace pp { pp 11 ppapi/cpp/dev/widget_client_dev.h namespace pp { pp 11 ppapi/cpp/dev/widget_dev.h namespace pp { pp 13 ppapi/cpp/dev/zoom_dev.h namespace pp { pp 20 ppapi/cpp/directory_entry.h namespace pp { pp 19 ppapi/cpp/extensions/dev/socket_dev.h namespace pp { pp 17 ppapi/cpp/extensions/dict_field.h namespace pp { pp 17 ppapi/cpp/extensions/ext_output_traits.h namespace pp { pp 18 ppapi/cpp/extensions/from_var_converter.h namespace pp { pp 8 ppapi/cpp/extensions/optional.h namespace pp { pp 17 ppapi/cpp/extensions/to_var_converter.h namespace pp { pp 17 ppapi/cpp/file_io.h namespace pp { pp 18 ppapi/cpp/file_ref.h namespace pp { pp 18 ppapi/cpp/file_system.h namespace pp { pp 14 ppapi/cpp/fullscreen.h namespace pp { pp 15 ppapi/cpp/graphics_2d.h namespace pp { pp 13 ppapi/cpp/graphics_3d.h namespace pp { pp 14 ppapi/cpp/graphics_3d_client.h namespace pp { pp 15 ppapi/cpp/host_resolver.h namespace pp { pp 16 ppapi/cpp/image_data.h namespace pp { pp 102 ppapi/cpp/image_data.h pp::Size size() const { return desc_.size; } pp 18 ppapi/cpp/input_event.h namespace pp { pp 62 ppapi/cpp/instance.cc void Instance::DidChangeView(const pp::Rect& /*position*/, pp 63 ppapi/cpp/instance.cc const pp::Rect& /*clip*/) { pp 29 ppapi/cpp/instance.h namespace pp { pp 217 ppapi/cpp/instance.h virtual bool HandleInputEvent(const pp::InputEvent& event); pp 14 ppapi/cpp/instance_handle.h namespace pp { pp 64 ppapi/cpp/media_stream_audio_track.cc pp::Var id(PASS_REF, get_interface<PPB_MediaStreamAudioTrack_0_1>()->GetId( pp 19 ppapi/cpp/media_stream_audio_track.h namespace pp { pp 64 ppapi/cpp/media_stream_video_track.cc pp::Var id(PASS_REF, get_interface<PPB_MediaStreamVideoTrack_0_1>()->GetId( pp 19 ppapi/cpp/media_stream_video_track.h namespace pp { pp 13 ppapi/cpp/message_loop.h namespace pp { pp 21 ppapi/cpp/module.h namespace pp { pp 12 ppapi/cpp/module_embedder.h namespace pp { pp 23 ppapi/cpp/module_embedder.h pp::Module* CreateModule(); pp 14 ppapi/cpp/module_impl.h namespace pp { pp 26 ppapi/cpp/module_impl.h pp::Module::Get()->GetBrowserInterface(interface_name<T>())); pp 13 ppapi/cpp/mouse_cursor.h namespace pp { pp 15 ppapi/cpp/mouse_lock.h namespace pp { pp 13 ppapi/cpp/net_address.h namespace pp { pp 15 ppapi/cpp/network_list.h namespace pp { pp 11 ppapi/cpp/network_monitor.h namespace pp { pp 13 ppapi/cpp/network_proxy.h namespace pp { pp 44 ppapi/cpp/network_proxy.h const pp::CompletionCallbackWithOutput<Var>& callback); pp 24 ppapi/cpp/output_traits.h namespace pp { pp 155 ppapi/cpp/output_traits.h static inline pp::Var StorageToPluginArg(StorageType& t) { pp 257 ppapi/cpp/output_traits.h struct CallbackOutputTraits< std::vector<pp::Var> > { pp 272 ppapi/cpp/output_traits.h static inline std::vector<pp::Var>& StorageToPluginArg(StorageType& t) { pp 11 ppapi/cpp/pass_ref.h namespace pp { pp 13 ppapi/cpp/point.h namespace pp { pp 300 ppapi/cpp/point.h inline bool operator==(const pp::Point& lhs, const pp::Point& rhs) { pp 311 ppapi/cpp/point.h inline bool operator!=(const pp::Point& lhs, const pp::Point& rhs) { pp 321 ppapi/cpp/point.h inline bool operator==(const pp::FloatPoint& lhs, const pp::FloatPoint& rhs) { pp 332 ppapi/cpp/point.h inline bool operator!=(const pp::FloatPoint& lhs, const pp::FloatPoint& rhs) { pp 16 ppapi/cpp/ppp_entrypoints.cc static pp::Module* g_module_singleton = NULL; pp 22 ppapi/cpp/ppp_entrypoints.cc pp::Module* Module::Get() { pp 36 ppapi/cpp/ppp_entrypoints.cc pp::Module* module = pp::CreateModule(); pp 33 ppapi/cpp/private/content_decryptor_private.cc pp::Var key_system_var(pp::PASS_REF, key_system_arg); pp 50 ppapi/cpp/private/content_decryptor_private.cc pp::Var type_var(pp::PASS_REF, type_arg); pp 54 ppapi/cpp/private/content_decryptor_private.cc pp::Var init_data_var(pp::PASS_REF, init_data_arg); pp 57 ppapi/cpp/private/content_decryptor_private.cc pp::VarArrayBuffer init_data_array_buffer(init_data_var); pp 71 ppapi/cpp/private/content_decryptor_private.cc pp::Var web_session_id_var(pp::PASS_REF, web_session_id_arg); pp 87 ppapi/cpp/private/content_decryptor_private.cc pp::Var response_var(pp::PASS_REF, response_arg); pp 90 ppapi/cpp/private/content_decryptor_private.cc pp::VarArrayBuffer response(response_var); pp 109 ppapi/cpp/private/content_decryptor_private.cc pp::Buffer_Dev encrypted_block(encrypted_resource); pp 125 ppapi/cpp/private/content_decryptor_private.cc pp::Buffer_Dev extra_data_buffer(extra_data_resource); pp 141 ppapi/cpp/private/content_decryptor_private.cc pp::Buffer_Dev extra_data_buffer(extra_data_resource); pp 180 ppapi/cpp/private/content_decryptor_private.cc pp::Buffer_Dev encrypted_buffer(encrypted_resource); pp 230 ppapi/cpp/private/content_decryptor_private.cc pp::Var web_session_id_var(web_session_id); pp 239 ppapi/cpp/private/content_decryptor_private.cc pp::VarArrayBuffer message, pp 242 ppapi/cpp/private/content_decryptor_private.cc pp::Var default_url_var(default_url); pp 278 ppapi/cpp/private/content_decryptor_private.cc pp::Buffer_Dev decrypted_block, pp 324 ppapi/cpp/private/content_decryptor_private.cc pp::Buffer_Dev decrypted_frame, pp 335 ppapi/cpp/private/content_decryptor_private.cc pp::Buffer_Dev audio_frames, pp 17 ppapi/cpp/private/content_decryptor_private.h namespace pp { pp 37 ppapi/cpp/private/content_decryptor_private.h pp::VarArrayBuffer init_data) = 0; pp 41 ppapi/cpp/private/content_decryptor_private.h pp::VarArrayBuffer response) = 0; pp 43 ppapi/cpp/private/content_decryptor_private.h virtual void Decrypt(pp::Buffer_Dev encrypted_buffer, pp 47 ppapi/cpp/private/content_decryptor_private.h pp::Buffer_Dev extra_data_resource) = 0; pp 50 ppapi/cpp/private/content_decryptor_private.h pp::Buffer_Dev extra_data_resource) = 0; pp 58 ppapi/cpp/private/content_decryptor_private.h pp::Buffer_Dev encrypted_buffer, pp 65 ppapi/cpp/private/content_decryptor_private.h pp::VarArrayBuffer message, pp 76 ppapi/cpp/private/content_decryptor_private.h void DeliverBlock(pp::Buffer_Dev decrypted_block, pp 90 ppapi/cpp/private/content_decryptor_private.h void DeliverFrame(pp::Buffer_Dev decrypted_frame, pp 96 ppapi/cpp/private/content_decryptor_private.h void DeliverSamples(pp::Buffer_Dev audio_frames, pp 31 ppapi/cpp/private/ext_crx_file_system_private.cc const CompletionCallbackWithOutput<pp::FileSystem>& cc) { pp 13 ppapi/cpp/private/ext_crx_file_system_private.h namespace pp { pp 23 ppapi/cpp/private/ext_crx_file_system_private.h int32_t Open(const CompletionCallbackWithOutput<pp::FileSystem>& cc); pp 14 ppapi/cpp/private/file_io_private.h namespace pp { pp 87 ppapi/cpp/private/find_private.cc void Find_Private::SetTickmarks(const std::vector<pp::Rect>& tickmarks) { pp 14 ppapi/cpp/private/find_private.h namespace pp { pp 58 ppapi/cpp/private/find_private.h void SetTickmarks(const std::vector<pp::Rect>& tickmarks); pp 260 ppapi/cpp/private/flash.cc const pp::Var& value) { pp 17 ppapi/cpp/private/flash.h namespace pp { pp 68 ppapi/cpp/private/flash.h const pp::Var& value); pp 14 ppapi/cpp/private/flash_clipboard.h namespace pp { pp 11 ppapi/cpp/private/flash_device_id.h namespace pp { pp 12 ppapi/cpp/private/flash_drm.h namespace pp { pp 154 ppapi/cpp/private/flash_file.cc PP_FileHandle FileFileRef::OpenFile(const pp::FileRef& resource, pp 166 ppapi/cpp/private/flash_file.cc bool FileFileRef::QueryFile(const pp::FileRef& resource, pp 13 ppapi/cpp/private/flash_file.h namespace pp { pp 63 ppapi/cpp/private/flash_file.h static PP_FileHandle OpenFile(const pp::FileRef& resource, pp 65 ppapi/cpp/private/flash_file.h static bool QueryFile(const pp::FileRef& resource, pp 13 ppapi/cpp/private/flash_font_file.h namespace pp { pp 10 ppapi/cpp/private/flash_fullscreen.h namespace pp { pp 11 ppapi/cpp/private/flash_menu.h namespace pp { pp 11 ppapi/cpp/private/flash_message_loop.h namespace pp { pp 17 ppapi/cpp/private/host_resolver_private.h namespace pp { pp 20 ppapi/cpp/private/instance_private.h namespace pp { pp 33 ppapi/cpp/private/isolated_file_system_private.cc const CompletionCallbackWithOutput<pp::FileSystem>& cc) { pp 14 ppapi/cpp/private/isolated_file_system_private.h namespace pp { pp 25 ppapi/cpp/private/isolated_file_system_private.h int32_t Open(const CompletionCallbackWithOutput<pp::FileSystem>& cc); pp 13 ppapi/cpp/private/net_address_private.h namespace pp { pp 12 ppapi/cpp/private/output_protection_private.h namespace pp { pp 13 ppapi/cpp/private/pass_file_handle.h namespace pp { pp 14 ppapi/cpp/private/pdf.h namespace pp { pp 11 ppapi/cpp/private/platform_verification.h namespace pp { pp 12 ppapi/cpp/private/tcp_server_socket_private.h namespace pp { pp 14 ppapi/cpp/private/tcp_socket_private.h namespace pp { pp 12 ppapi/cpp/private/udp_socket_private.h namespace pp { pp 45 ppapi/cpp/private/uma_private.cc HistogramCustomTimes(instance_, pp::Var(name).pp_var(), pp 57 ppapi/cpp/private/uma_private.cc HistogramCustomCounts(instance_, pp::Var(name).pp_var(), pp 67 ppapi/cpp/private/uma_private.cc HistogramEnumeration(instance_, pp::Var(name).pp_var(), pp 13 ppapi/cpp/private/uma_private.h namespace pp { pp 89 ppapi/cpp/private/var_private.cc pp::Module::Get()->GetBrowserInterface(PPB_MEMORY_DEV_INTERFACE)); pp 10 ppapi/cpp/private/var_private.h namespace pp { pp 20 ppapi/cpp/private/video_destination_private.h namespace pp { pp 19 ppapi/cpp/private/video_frame_private.h namespace pp { pp 81 ppapi/cpp/private/video_frame_private.h struct CallbackOutputTraits<pp::VideoFrame_Private> { pp 89 ppapi/cpp/private/video_frame_private.h static inline pp::VideoFrame_Private StorageToPluginArg(StorageType& t) { pp 90 ppapi/cpp/private/video_frame_private.h return pp::VideoFrame_Private(PASS_REF, t); pp 20 ppapi/cpp/private/video_source_private.h namespace pp { pp 12 ppapi/cpp/private/x509_certificate_private.h namespace pp { pp 15 ppapi/cpp/rect.h namespace pp { pp 408 ppapi/cpp/rect.h inline bool operator==(const pp::Rect& lhs, const pp::Rect& rhs) { pp 422 ppapi/cpp/rect.h inline bool operator!=(const pp::Rect& lhs, const pp::Rect& rhs) { pp 15 ppapi/cpp/resource.h namespace pp { pp 97 ppapi/cpp/resource.h inline bool operator==(const pp::Resource& lhs, const pp::Resource& rhs) { pp 101 ppapi/cpp/resource.h inline bool operator!=(const pp::Resource& lhs, const pp::Resource& rhs) { pp 15 ppapi/cpp/size.h namespace pp { pp 158 ppapi/cpp/size.h inline bool operator==(const pp::Size& lhs, const pp::Size& rhs) { pp 169 ppapi/cpp/size.h inline bool operator!=(const pp::Size& lhs, const pp::Size& rhs) { pp 13 ppapi/cpp/tcp_socket.h namespace pp { pp 17 ppapi/cpp/text_input_controller.h namespace pp { pp 12 ppapi/cpp/touch_point.h namespace pp { pp 31 ppapi/cpp/touch_point.h return pp::FloatPoint(touch_point_.position); pp 36 ppapi/cpp/touch_point.h FloatPoint radii() const { return pp::FloatPoint(touch_point_.radius); } pp 14 ppapi/cpp/trusted/browser_font_trusted.h namespace pp { pp 12 ppapi/cpp/trusted/file_chooser_trusted.h namespace pp { pp 13 ppapi/cpp/udp_socket.h namespace pp { pp 13 ppapi/cpp/url_loader.h namespace pp { pp 14 ppapi/cpp/url_request_info.h namespace pp { pp 14 ppapi/cpp/url_response_info.h namespace pp { pp 139 ppapi/cpp/var.cc Var::Var(const pp::Resource& resource) { pp 269 ppapi/cpp/var.cc pp::Resource Var::AsResource() const { pp 272 ppapi/cpp/var.cc return pp::Resource(); pp 276 ppapi/cpp/var.cc return pp::Resource(pp::PASS_REF, pp 279 ppapi/cpp/var.cc return pp::Resource(); pp 18 ppapi/cpp/var.h namespace pp { pp 55 ppapi/cpp/var.h explicit Var(const pp::Resource& resource); pp 220 ppapi/cpp/var.h pp::Resource AsResource() const; pp 15 ppapi/cpp/var_array.h namespace pp { pp 38 ppapi/cpp/var_array_buffer.cc pp::VarArrayBuffer& VarArrayBuffer::operator=(const VarArrayBuffer& other) { pp 43 ppapi/cpp/var_array_buffer.cc pp::Var& VarArrayBuffer::operator=(const Var& other) { pp 13 ppapi/cpp/var_array_buffer.h namespace pp { pp 15 ppapi/cpp/var_dictionary.h namespace pp { pp 12 ppapi/cpp/video_frame.h namespace pp { pp 16 ppapi/cpp/view.h namespace pp { pp 20 ppapi/cpp/websocket.h namespace pp { pp 22 ppapi/examples/2d/paint_manager_example.cc pp::Rect SquareForPoint(int x, int y) { pp 27 ppapi/examples/2d/paint_manager_example.cc static void FillRect(pp::ImageData* image, pp 36 ppapi/examples/2d/paint_manager_example.cc *image->GetAddr32(pp::Point(x, y)) = color; pp 40 ppapi/examples/2d/paint_manager_example.cc class MyInstance : public pp::Instance, public pp::PaintManager::Client { pp 43 ppapi/examples/2d/paint_manager_example.cc : pp::Instance(instance), pp 51 ppapi/examples/2d/paint_manager_example.cc virtual bool HandleInputEvent(const pp::InputEvent& event) { pp 54 ppapi/examples/2d/paint_manager_example.cc pp::MouseInputEvent mouse_event(event); pp 63 ppapi/examples/2d/paint_manager_example.cc pp::MouseInputEvent mouse_event(event); pp 76 ppapi/examples/2d/paint_manager_example.cc virtual void DidChangeView(const pp::View& view) { pp 81 ppapi/examples/2d/paint_manager_example.cc virtual bool OnPaint(pp::Graphics2D& graphics_2d, pp 82 ppapi/examples/2d/paint_manager_example.cc const std::vector<pp::Rect>& paint_rects, pp 83 ppapi/examples/2d/paint_manager_example.cc const pp::Rect& paint_bounds) { pp 88 ppapi/examples/2d/paint_manager_example.cc pp::ImageData updated_image(this, PP_IMAGEDATAFORMAT_BGRA_PREMUL, pp 114 ppapi/examples/2d/paint_manager_example.cc pp::Rect square = SquareForPoint(last_x_, last_y_); pp 143 ppapi/examples/2d/paint_manager_example.cc pp::PaintManager paint_manager_; pp 149 ppapi/examples/2d/paint_manager_example.cc class MyModule : public pp::Module { pp 151 ppapi/examples/2d/paint_manager_example.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 24 ppapi/examples/2d/scroll.cc void FillRect(pp::ImageData* image, const pp::Rect& rect, uint32_t color) { pp 31 ppapi/examples/2d/scroll.cc *image->GetAddr32(pp::Point(x, y)) = color; pp 35 ppapi/examples/2d/scroll.cc class MyInstance : public pp::Instance, public pp::PaintManager::Client { pp 38 ppapi/examples/2d/scroll.cc : pp::Instance(instance), pp 45 ppapi/examples/2d/scroll.cc virtual void DidChangeView(const pp::Rect& position, const pp::Rect& clip) { pp 50 ppapi/examples/2d/scroll.cc pp::Module::Get()->core()->CallOnMainThread( pp 56 ppapi/examples/2d/scroll.cc paint_manager_.ScrollRect(pp::Rect(paint_manager_.graphics().size()), pp 57 ppapi/examples/2d/scroll.cc pp::Point(kAdvanceXPerFrame, kAdvanceYPerFrame)); pp 66 ppapi/examples/2d/scroll.cc virtual bool OnPaint(pp::Graphics2D& graphics, pp 67 ppapi/examples/2d/scroll.cc const std::vector<pp::Rect>& paint_rects, pp 68 ppapi/examples/2d/scroll.cc const pp::Rect& paint_bounds) { pp 70 ppapi/examples/2d/scroll.cc pp::Module::Get()->core()->CallOnMainThread( pp 76 ppapi/examples/2d/scroll.cc pp::ImageData updated_image(this, PP_IMAGEDATAFORMAT_BGRA_PREMUL, pp 78 ppapi/examples/2d/scroll.cc FillRect(&updated_image, pp::Rect(updated_image.size()), 0xFF8888FF); pp 91 ppapi/examples/2d/scroll.cc FillRect(&updated_image, pp::Rect(x, y, kSquareSize, kSquareSize), pp 99 ppapi/examples/2d/scroll.cc pp::CompletionCallbackFactory<MyInstance> factory_; pp 101 ppapi/examples/2d/scroll.cc pp::PaintManager paint_manager_; pp 108 ppapi/examples/2d/scroll.cc class MyModule : public pp::Module { pp 110 ppapi/examples/2d/scroll.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 35 ppapi/examples/audio/audio.cc class MyInstance : public pp::Instance { pp 38 ppapi/examples/audio/audio.cc : pp::Instance(instance), pp 57 ppapi/examples/audio/audio.cc pp::AudioConfig config; pp 58 ppapi/examples/audio/audio.cc sample_count_ = pp::AudioConfig::RecommendSampleFrameCount( pp 60 ppapi/examples/audio/audio.cc config = pp::AudioConfig(this, sample_rate_, sample_count_); pp 61 ppapi/examples/audio/audio.cc audio_ = pp::Audio(this, config, SineWaveCallbackTrampoline, this); pp 65 ppapi/examples/audio/audio.cc virtual void DidChangeView(const pp::View& view) { pp 110 ppapi/examples/audio/audio.cc pp::Audio audio_; pp 118 ppapi/examples/audio/audio.cc class MyModule : public pp::Module { pp 121 ppapi/examples/audio/audio.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 41 ppapi/examples/audio_input/audio_input.cc class MyInstance : public pp::Instance { pp 44 ppapi/examples/audio_input/audio_input.cc : pp::Instance(instance), pp 64 ppapi/examples/audio_input/audio_input.cc sample_count_ = pp::AudioConfig::RecommendSampleFrameCount(this, pp 72 ppapi/examples/audio_input/audio_input.cc device_detector_ = pp::AudioInput_Dev(this); pp 82 ppapi/examples/audio_input/audio_input.cc virtual void DidChangeView(const pp::Rect& position, const pp::Rect& clip) { pp 87 ppapi/examples/audio_input/audio_input.cc device_context_ = pp::Graphics2D(this, size_, false); pp 94 ppapi/examples/audio_input/audio_input.cc virtual void HandleMessage(const pp::Var& message_data) { pp 101 ppapi/examples/audio_input/audio_input.cc PostMessage(pp::Var("MonitorDeviceChangeFailed")); pp 103 ppapi/examples/audio_input/audio_input.cc pp::CompletionCallbackWithOutput<std::vector<pp::DeviceRef_Dev> > pp 108 ppapi/examples/audio_input/audio_input.cc PostMessage(pp::Var("EnumerationFailed")); pp 110 ppapi/examples/audio_input/audio_input.cc Open(pp::DeviceRef_Dev()); pp 136 ppapi/examples/audio_input/audio_input.cc pp::Module::Get()->core()->CallOnMainThread( pp 164 ppapi/examples/audio_input/audio_input.cc pp::ImageData image = PaintImage(size_); pp 173 ppapi/examples/audio_input/audio_input.cc pp::ImageData PaintImage(const pp::Size& size) { pp 174 ppapi/examples/audio_input/audio_input.cc pp::ImageData image(this, PP_IMAGEDATAFORMAT_BGRA_PREMUL, size, false); pp 181 ppapi/examples/audio_input/audio_input.cc *image.GetAddr32(pp::Point(x, y)) = 0xff202020; pp 189 ppapi/examples/audio_input/audio_input.cc *image.GetAddr32(pp::Point(x, mid_height)) = 0xff606060; pp 190 ppapi/examples/audio_input/audio_input.cc *image.GetAddr32(pp::Point(x, mid_height + max_amplitude)) = 0xff404040; pp 191 ppapi/examples/audio_input/audio_input.cc *image.GetAddr32(pp::Point(x, mid_height - max_amplitude)) = 0xff404040; pp 195 ppapi/examples/audio_input/audio_input.cc pp::AutoLock auto_lock(lock_); pp 202 ppapi/examples/audio_input/audio_input.cc *image.GetAddr32(pp::Point(x, mid_height + max_amplitude)) = 0xffff0000; pp 211 ppapi/examples/audio_input/audio_input.cc *image.GetAddr32(pp::Point(x, y)) = 0xffffffff; pp 218 ppapi/examples/audio_input/audio_input.cc void Open(const pp::DeviceRef_Dev& device) { pp 220 ppapi/examples/audio_input/audio_input.cc audio_input_ = pp::AudioInput_Dev(this); pp 222 ppapi/examples/audio_input/audio_input.cc pp::AudioConfig config = pp::AudioConfig(this, pp 225 ppapi/examples/audio_input/audio_input.cc pp::CompletionCallback callback = callback_factory_.NewCallback( pp 230 ppapi/examples/audio_input/audio_input.cc PostMessage(pp::Var("OpenFailed")); pp 235 ppapi/examples/audio_input/audio_input.cc PostMessage(pp::Var("StopFailed")); pp 240 ppapi/examples/audio_input/audio_input.cc PostMessage(pp::Var("StartFailed")); pp 244 ppapi/examples/audio_input/audio_input.cc std::vector<pp::DeviceRef_Dev>& devices) { pp 249 ppapi/examples/audio_input/audio_input.cc pp::Var name = enumerate_devices_[index].GetName(); pp 256 ppapi/examples/audio_input/audio_input.cc PostMessage(pp::Var(device_names)); pp 258 ppapi/examples/audio_input/audio_input.cc PostMessage(pp::Var("EnumerationFailed")); pp 265 ppapi/examples/audio_input/audio_input.cc PostMessage(pp::Var("StartFailed")); pp 267 ppapi/examples/audio_input/audio_input.cc PostMessage(pp::Var("OpenFailed")); pp 276 ppapi/examples/audio_input/audio_input.cc pp::AutoLock auto_lock(thiz->lock_); pp 296 ppapi/examples/audio_input/audio_input.cc thiz->monitor_devices_.push_back(pp::DeviceRef_Dev(devices[index])); pp 297 ppapi/examples/audio_input/audio_input.cc pp::Var name = thiz->monitor_devices_.back().GetName(); pp 304 ppapi/examples/audio_input/audio_input.cc thiz->PostMessage(pp::Var(device_names)); pp 307 ppapi/examples/audio_input/audio_input.cc pp::CompletionCallbackFactory<MyInstance> callback_factory_; pp 318 ppapi/examples/audio_input/audio_input.cc pp::Size size_; pp 319 ppapi/examples/audio_input/audio_input.cc pp::Graphics2D device_context_; pp 326 ppapi/examples/audio_input/audio_input.cc pp::AudioInput_Dev audio_input_; pp 327 ppapi/examples/audio_input/audio_input.cc pp::AudioInput_Dev device_detector_; pp 329 ppapi/examples/audio_input/audio_input.cc std::vector<pp::DeviceRef_Dev> enumerate_devices_; pp 330 ppapi/examples/audio_input/audio_input.cc std::vector<pp::DeviceRef_Dev> monitor_devices_; pp 333 ppapi/examples/audio_input/audio_input.cc pp::Lock lock_; pp 336 ppapi/examples/audio_input/audio_input.cc class MyModule : public pp::Module { pp 338 ppapi/examples/audio_input/audio_input.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 24 ppapi/examples/crxfs/crxfs.cc class MyInstance : public pp::Instance { pp 27 ppapi/examples/crxfs/crxfs.cc : pp::Instance(instance), pp 35 ppapi/examples/crxfs/crxfs.cc virtual void HandleMessage(const pp::Var& message_data); pp 40 ppapi/examples/crxfs/crxfs.cc void CrxFileSystemCallback(int32_t pp_error, pp::FileSystem file_system); pp 48 ppapi/examples/crxfs/crxfs.cc pp::CompletionCallbackFactory<MyInstance> factory_; pp 50 ppapi/examples/crxfs/crxfs.cc pp::InstanceHandle handle_; pp 51 ppapi/examples/crxfs/crxfs.cc pp::IsolatedFileSystemPrivate crxfs_; pp 52 ppapi/examples/crxfs/crxfs.cc pp::FileRef file_ref_; pp 53 ppapi/examples/crxfs/crxfs.cc pp::FileIO file_io_; pp 58 ppapi/examples/crxfs/crxfs.cc void MyInstance::HandleMessage(const pp::Var& message_data) { pp 70 ppapi/examples/crxfs/crxfs.cc pp::CompletionCallbackWithOutput<pp::FileSystem> callback = pp 73 ppapi/examples/crxfs/crxfs.cc crxfs_ = pp::IsolatedFileSystemPrivate( pp 81 ppapi/examples/crxfs/crxfs.cc pp::FileSystem file_system) { pp 87 ppapi/examples/crxfs/crxfs.cc file_io_ = pp::FileIO(handle_); pp 88 ppapi/examples/crxfs/crxfs.cc file_ref_ = pp::FileRef(file_system, filename_.c_str()); pp 118 ppapi/examples/crxfs/crxfs.cc PostMessage(pp::Var(content)); pp 124 ppapi/examples/crxfs/crxfs.cc PostMessage(pp::Var(out.str())); pp 129 ppapi/examples/crxfs/crxfs.cc class MyModule : public pp::Module { pp 131 ppapi/examples/crxfs/crxfs.cc MyModule() : pp::Module() {} pp 135 ppapi/examples/crxfs/crxfs.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 32 ppapi/examples/enumerate_devices/enumerate_devices.cc class EnumerateDevicesDemoModule : public pp::Module { pp 34 ppapi/examples/enumerate_devices/enumerate_devices.cc EnumerateDevicesDemoModule() : pp::Module() {} pp 36 ppapi/examples/enumerate_devices/enumerate_devices.cc virtual pp::Instance* CreateInstance(PP_Instance instance); pp 39 ppapi/examples/enumerate_devices/enumerate_devices.cc class EnumerateDevicesDemoInstance : public pp::Instance, pp 40 ppapi/examples/enumerate_devices/enumerate_devices.cc public pp::VideoCaptureClient_Dev { pp 42 ppapi/examples/enumerate_devices/enumerate_devices.cc EnumerateDevicesDemoInstance(PP_Instance instance, pp::Module* module); pp 46 ppapi/examples/enumerate_devices/enumerate_devices.cc virtual void HandleMessage(const pp::Var& message_data); pp 51 ppapi/examples/enumerate_devices/enumerate_devices.cc const std::vector<pp::Buffer_Dev>& buffers) {} pp 58 ppapi/examples/enumerate_devices/enumerate_devices.cc std::vector<pp::DeviceRef_Dev>& devices); pp 60 ppapi/examples/enumerate_devices/enumerate_devices.cc pp::VideoCapture_Dev video_capture_; pp 61 ppapi/examples/enumerate_devices/enumerate_devices.cc pp::CompletionCallbackFactory<EnumerateDevicesDemoInstance> callback_factory_; pp 63 ppapi/examples/enumerate_devices/enumerate_devices.cc std::vector<pp::DeviceRef_Dev> devices_; pp 67 ppapi/examples/enumerate_devices/enumerate_devices.cc pp::Module* module) pp 68 ppapi/examples/enumerate_devices/enumerate_devices.cc : pp::Instance(instance), pp 69 ppapi/examples/enumerate_devices/enumerate_devices.cc pp::VideoCaptureClient_Dev(this), pp 77 ppapi/examples/enumerate_devices/enumerate_devices.cc void EnumerateDevicesDemoInstance::HandleMessage(const pp::Var& message_data) { pp 81 ppapi/examples/enumerate_devices/enumerate_devices.cc pp::CompletionCallbackWithOutput<std::vector<pp::DeviceRef_Dev> > pp 86 ppapi/examples/enumerate_devices/enumerate_devices.cc std::vector<pp::DeviceRef_Dev> devices; pp 87 ppapi/examples/enumerate_devices/enumerate_devices.cc int32_t result = pp::flash::Flash::EnumerateVideoCaptureDevices( pp 96 ppapi/examples/enumerate_devices/enumerate_devices.cc std::vector<pp::DeviceRef_Dev>& devices) { pp 103 ppapi/examples/enumerate_devices/enumerate_devices.cc pp::Var name = devices_[index].GetName(); pp 110 ppapi/examples/enumerate_devices/enumerate_devices.cc PostMessage(pp::Var("EnumerationSuccess" + device_names)); pp 112 ppapi/examples/enumerate_devices/enumerate_devices.cc PostMessage(pp::Var("EnumerationFailed")); pp 116 ppapi/examples/enumerate_devices/enumerate_devices.cc pp::Instance* EnumerateDevicesDemoModule::CreateInstance(PP_Instance instance) { pp 16 ppapi/examples/file_chooser/file_chooser.cc class MyInstance : public pp::InstancePrivate { pp 19 ppapi/examples/file_chooser/file_chooser.cc : pp::InstancePrivate(instance) { pp 24 ppapi/examples/file_chooser/file_chooser.cc virtual bool HandleInputEvent(const pp::InputEvent& event) { pp 27 ppapi/examples/file_chooser/file_chooser.cc pp::MouseInputEvent mouse_event(event); pp 51 ppapi/examples/file_chooser/file_chooser.cc chooser_ = pp::FileChooser_Dev(this, mode, accept_types); pp 57 ppapi/examples/file_chooser/file_chooser.cc const std::vector<pp::FileRef>& files) { pp 65 ppapi/examples/file_chooser/file_chooser.cc pp::VarPrivate doc = GetWindowObject().GetProperty("document"); pp 66 ppapi/examples/file_chooser/file_chooser.cc pp::VarPrivate body = doc.GetProperty("body"); pp 76 ppapi/examples/file_chooser/file_chooser.cc void Log(const pp::Var& var) { pp 77 ppapi/examples/file_chooser/file_chooser.cc pp::VarPrivate doc = GetWindowObject().GetProperty("document"); pp 82 ppapi/examples/file_chooser/file_chooser.cc pp::FileChooser_Dev chooser_; pp 84 ppapi/examples/file_chooser/file_chooser.cc pp::CompletionCallbackFactory<MyInstance> callback_factory_; pp 85 ppapi/examples/file_chooser/file_chooser.cc pp::VarPrivate console_; pp 88 ppapi/examples/file_chooser/file_chooser.cc class MyModule : public pp::Module { pp 90 ppapi/examples/file_chooser/file_chooser.cc MyModule() : pp::Module() {} pp 93 ppapi/examples/file_chooser/file_chooser.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 17 ppapi/examples/flash_topmost/flash_topmost.cc class MyInstance : public pp::Instance { pp 20 ppapi/examples/flash_topmost/flash_topmost.cc : pp::Instance(instance), pp 33 ppapi/examples/flash_topmost/flash_topmost.cc virtual void DidChangeView(const pp::Rect& position, const pp::Rect& clip) { pp 36 ppapi/examples/flash_topmost/flash_topmost.cc device_context_ = pp::Graphics2D(this, size_, false); pp 46 ppapi/examples/flash_topmost/flash_topmost.cc pp::Module::Get()->core()->CallOnMainThread( pp 74 ppapi/examples/flash_topmost/flash_topmost.cc pp::ImageData image = PaintImage(size_); pp 83 ppapi/examples/flash_topmost/flash_topmost.cc pp::ImageData PaintImage(const pp::Size& size) { pp 84 ppapi/examples/flash_topmost/flash_topmost.cc pp::ImageData image(this, PP_IMAGEDATAFORMAT_BGRA_PREMUL, size, false); pp 88 ppapi/examples/flash_topmost/flash_topmost.cc pp::Rect rect(size.width() / 8, size.height() / 4, pp 90 ppapi/examples/flash_topmost/flash_topmost.cc uint32_t fill_color = pp::flash::Flash::IsRectTopmost(this, rect) ? pp 95 ppapi/examples/flash_topmost/flash_topmost.cc *image.GetAddr32(pp::Point(x, y)) = fill_color; pp 99 ppapi/examples/flash_topmost/flash_topmost.cc *image.GetAddr32(pp::Point(x, rect.y())) = 0xff202020; pp 100 ppapi/examples/flash_topmost/flash_topmost.cc *image.GetAddr32(pp::Point(x, rect.y() + rect.height() - 1)) = 0xff202020; pp 103 ppapi/examples/flash_topmost/flash_topmost.cc *image.GetAddr32(pp::Point(rect.x(), y)) = 0xff202020; pp 104 ppapi/examples/flash_topmost/flash_topmost.cc *image.GetAddr32(pp::Point(rect.x() + rect.width() - 1, y)) = 0xff202020; pp 110 ppapi/examples/flash_topmost/flash_topmost.cc pp::CompletionCallbackFactory<MyInstance> callback_factory_; pp 113 ppapi/examples/flash_topmost/flash_topmost.cc pp::Size size_; pp 114 ppapi/examples/flash_topmost/flash_topmost.cc pp::Graphics2D device_context_; pp 119 ppapi/examples/flash_topmost/flash_topmost.cc class MyModule : public pp::Module { pp 121 ppapi/examples/flash_topmost/flash_topmost.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 19 ppapi/examples/font/simple_font.cc class MyInstance : public pp::Instance { pp 22 ppapi/examples/font/simple_font.cc : pp::Instance(instance) { pp 25 ppapi/examples/font/simple_font.cc virtual void DidChangeView(const pp::Rect& position, const pp::Rect& clip) { pp 30 ppapi/examples/font/simple_font.cc pp::ImageData image(this, PP_IMAGEDATAFORMAT_BGRA_PREMUL, last_size_, true); pp 31 ppapi/examples/font/simple_font.cc pp::Graphics2D graphics(this, last_size_, false); pp 34 ppapi/examples/font/simple_font.cc pp::BrowserFontDescription desc; pp 37 ppapi/examples/font/simple_font.cc pp::BrowserFont_Trusted font(this, desc); pp 40 ppapi/examples/font/simple_font.cc pp::Rect text_clip(position.size()); // Use entire bounds for clip. pp 42 ppapi/examples/font/simple_font.cc pp::BrowserFontTextRun( pp 44 ppapi/examples/font/simple_font.cc pp::Point(20, 100), 0x80008000, clip, false); pp 49 ppapi/examples/font/simple_font.cc pp::BrowserFontDescription desc; pp 50 ppapi/examples/font/simple_font.cc pp::BrowserFont_Trusted default_font(this, desc); pp 53 ppapi/examples/font/simple_font.cc pp::Point(10, y), 0xFF000000); pp 57 ppapi/examples/font/simple_font.cc pp::BrowserFontDescription desc; pp 59 ppapi/examples/font/simple_font.cc pp::BrowserFont_Trusted serif_font(this, desc); pp 62 ppapi/examples/font/simple_font.cc pp::Point(10, y), 0xFF000000); pp 66 ppapi/examples/font/simple_font.cc pp::BrowserFontDescription desc; pp 68 ppapi/examples/font/simple_font.cc pp::BrowserFont_Trusted sans_serif_font(this, desc); pp 71 ppapi/examples/font/simple_font.cc pp::Point(10, y), 0xFF000000); pp 75 ppapi/examples/font/simple_font.cc pp::BrowserFontDescription desc; pp 77 ppapi/examples/font/simple_font.cc pp::BrowserFont_Trusted monospace_font(this, desc); pp 80 ppapi/examples/font/simple_font.cc pp::Point(10, y), 0xFF000000); pp 84 ppapi/examples/font/simple_font.cc graphics.PaintImageData(image, pp::Point(0, 0)); pp 85 ppapi/examples/font/simple_font.cc graphics.Flush(pp::CompletionCallback(&DummyCompletionCallback, NULL)); pp 90 ppapi/examples/font/simple_font.cc std::string DescribeFont(const pp::BrowserFont_Trusted& font, pp 92 ppapi/examples/font/simple_font.cc pp::BrowserFontDescription desc; pp 102 ppapi/examples/font/simple_font.cc pp::Size last_size_; pp 105 ppapi/examples/font/simple_font.cc class MyModule : public pp::Module { pp 107 ppapi/examples/font/simple_font.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 24 ppapi/examples/gamepad/gamepad.cc void FillRect(pp::ImageData* image, int left, int top, int width, int height, pp 32 ppapi/examples/gamepad/gamepad.cc *image->GetAddr32(pp::Point(x, y)) = color; pp 36 ppapi/examples/gamepad/gamepad.cc class MyInstance : public pp::Instance { pp 39 ppapi/examples/gamepad/gamepad.cc : pp::Instance(instance), pp 49 ppapi/examples/gamepad/gamepad.cc pp::Module::Get()->GetBrowserInterface(PPB_GAMEPAD_INTERFACE)); pp 55 ppapi/examples/gamepad/gamepad.cc virtual void DidChangeView(const pp::View& view) { pp 56 ppapi/examples/gamepad/gamepad.cc pp::Rect rect = view.GetRect(); pp 64 ppapi/examples/gamepad/gamepad.cc device_context_ = pp::Graphics2D(this, pp::Size(width_, height_), false); pp 77 ppapi/examples/gamepad/gamepad.cc pp::ImageData image = PaintImage(device_context_.size()); pp 87 ppapi/examples/gamepad/gamepad.cc pp::ImageData PaintImage(const pp::Size& size) { pp 88 ppapi/examples/gamepad/gamepad.cc pp::ImageData image(this, PP_IMAGEDATAFORMAT_BGRA_PREMUL, size, true); pp 122 ppapi/examples/gamepad/gamepad.cc pp::CompletionCallbackFactory<MyInstance> callback_factory_; pp 126 ppapi/examples/gamepad/gamepad.cc pp::Graphics2D device_context_; pp 131 ppapi/examples/gamepad/gamepad.cc class MyModule : public pp::Module { pp 133 ppapi/examples/gamepad/gamepad.cc MyModule() : pp::Module() {} pp 137 ppapi/examples/gamepad/gamepad.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 37 ppapi/examples/gles2/gles2.cc class GLES2DemoInstance : public pp::Instance, pp 38 ppapi/examples/gles2/gles2.cc public pp::Graphics3DClient { pp 40 ppapi/examples/gles2/gles2.cc GLES2DemoInstance(PP_Instance instance, pp::Module* module); pp 44 ppapi/examples/gles2/gles2.cc virtual void DidChangeView(const pp::Rect& position, pp 45 ppapi/examples/gles2/gles2.cc const pp::Rect& clip_ignored); pp 54 ppapi/examples/gles2/gles2.cc pp::CompletionCallback cb = callback_factory_.NewCallback( pp 59 ppapi/examples/gles2/gles2.cc virtual bool HandleInputEvent(const pp::InputEvent& event) { pp 62 ppapi/examples/gles2/gles2.cc pp::Fullscreen(this).SetFullscreen(fullscreen_); pp 73 ppapi/examples/gles2/gles2.cc pp::Size plugin_size_; pp 74 ppapi/examples/gles2/gles2.cc pp::CompletionCallbackFactory<GLES2DemoInstance> callback_factory_; pp 78 ppapi/examples/gles2/gles2.cc pp::Module* module_; pp 81 ppapi/examples/gles2/gles2.cc pp::Graphics3D* context_; pp 85 ppapi/examples/gles2/gles2.cc GLES2DemoInstance::GLES2DemoInstance(PP_Instance instance, pp::Module* module) pp 86 ppapi/examples/gles2/gles2.cc : pp::Instance(instance), pp::Graphics3DClient(this), pp 101 ppapi/examples/gles2/gles2.cc const pp::Rect& position, const pp::Rect& clip_ignored) { pp 112 ppapi/examples/gles2/gles2.cc class GLES2DemoModule : public pp::Module { pp 114 ppapi/examples/gles2/gles2.cc GLES2DemoModule() : pp::Module() {} pp 117 ppapi/examples/gles2/gles2.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 142 ppapi/examples/gles2/gles2.cc context_ = new pp::Graphics3D(this, context_attributes); pp 166 ppapi/examples/gles2/gles2.cc pp::CompletionCallback cb = callback_factory_.NewCallback( pp 25 ppapi/examples/gles2_spinning_cube/gles2_spinning_cube.cc class DemoInstance : public pp::Instance, public pp::Graphics3DClient { pp 32 ppapi/examples/gles2_spinning_cube/gles2_spinning_cube.cc virtual void DidChangeView(const pp::Rect& position, pp 33 ppapi/examples/gles2_spinning_cube/gles2_spinning_cube.cc const pp::Rect& clip); pp 34 ppapi/examples/gles2_spinning_cube/gles2_spinning_cube.cc virtual bool HandleInputEvent(const pp::InputEvent& event) { pp 47 ppapi/examples/gles2_spinning_cube/gles2_spinning_cube.cc pp::Size plugin_size_; pp 48 ppapi/examples/gles2_spinning_cube/gles2_spinning_cube.cc pp::CompletionCallbackFactory<DemoInstance> callback_factory_; pp 51 ppapi/examples/gles2_spinning_cube/gles2_spinning_cube.cc pp::Graphics3D* context_; pp 57 ppapi/examples/gles2_spinning_cube/gles2_spinning_cube.cc : pp::Instance(instance), pp 58 ppapi/examples/gles2_spinning_cube/gles2_spinning_cube.cc pp::Graphics3DClient(this), pp 71 ppapi/examples/gles2_spinning_cube/gles2_spinning_cube.cc return !!glInitializePPAPI(pp::Module::Get()->get_browser_interface()); pp 75 ppapi/examples/gles2_spinning_cube/gles2_spinning_cube.cc const pp::Rect& position, const pp::Rect& /*clip*/) { pp 87 ppapi/examples/gles2_spinning_cube/gles2_spinning_cube.cc pp::CompletionCallback cb = callback_factory_.NewCallback( pp 89 ppapi/examples/gles2_spinning_cube/gles2_spinning_cube.cc pp::Module::Get()->core()->CallOnMainThread(0, cb, 0); pp 112 ppapi/examples/gles2_spinning_cube/gles2_spinning_cube.cc context_ = new pp::Graphics3D(this, context_attributes); pp 133 ppapi/examples/gles2_spinning_cube/gles2_spinning_cube.cc class DemoModule : public pp::Module { pp 138 ppapi/examples/gles2_spinning_cube/gles2_spinning_cube.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 44 ppapi/examples/ime/ime.cc void FillRect(pp::ImageData* image, pp 53 ppapi/examples/ime/ime.cc *image->GetAddr32(pp::Point(x, y)) = color; pp 57 ppapi/examples/ime/ime.cc void FillRect(pp::ImageData* image, const pp::Rect& rect, uint32_t color) { pp 93 ppapi/examples/ime/ime.cc virtual void FocusIn(const pp::Rect& caret) {} pp 100 ppapi/examples/ime/ime.cc explicit TextFieldStatusNotifyingHandler(pp::Instance* instance) pp 106 ppapi/examples/ime/ime.cc virtual void FocusIn(const pp::Rect& caret) { pp 119 ppapi/examples/ime/ime.cc pp::TextInputController textinput_control_; pp 125 ppapi/examples/ime/ime.cc MyTextField(pp::Instance* instance, TextFieldStatusHandler* handler, pp 134 ppapi/examples/ime/ime.cc pp::FontDescription_Dev desc; pp 137 ppapi/examples/ime/ime.cc font_ = pp::Font_Dev(instance_, desc); pp 141 ppapi/examples/ime/ime.cc void PaintOn(pp::ImageData* image, pp::Rect clip) { pp 161 ppapi/examples/ime/ime.cc pp::TextRun_Dev(str.c_str(), false, false), pp 162 ppapi/examples/ime/ime.cc pp::Point(offset, area_.y() + font_size_), pp 183 ppapi/examples/ime/ime.cc pp::TextRun_Dev(str.c_str(), false, false), pp 184 ppapi/examples/ime/ime.cc pp::Point(offset, area_.y() + font_size_), pp 206 ppapi/examples/ime/ime.cc pp::Rect(offset + caretx, area_.y(), 2, area_.height()), pp 215 ppapi/examples/ime/ime.cc pp::TextRun_Dev(str.c_str(), false, false), pp 216 ppapi/examples/ime/ime.cc pp::Point(offset, area_.y() + font_size_), pp 224 ppapi/examples/ime/ime.cc pp::TextRun_Dev(utf8_text_.c_str(), false, false), pp 225 ppapi/examples/ime/ime.cc pp::Point(area_.x(), area_.y() + font_size_), pp 286 ppapi/examples/ime/ime.cc pp::TextRun_Dev(utf8_text_.c_str()), x - area_.x()); pp 296 ppapi/examples/ime/ime.cc pp::TextRun_Dev(utf8_text_.c_str()), x - area_.x()); pp 367 ppapi/examples/ime/ime.cc pp::Rect caret(area_.x() + px, area_.y(), 0, area_.height() + 2); pp 384 ppapi/examples/ime/ime.cc pp::Instance* instance_; pp 387 ppapi/examples/ime/ime.cc pp::Rect area_; pp 389 ppapi/examples/ime/ime.cc pp::Font_Dev font_; pp 399 ppapi/examples/ime/ime.cc class MyInstance : public pp::Instance { pp 402 ppapi/examples/ime/ime.cc : pp::Instance(instance), pp 422 ppapi/examples/ime/ime.cc pp::TextInputController(this).SetTextInputType( pp 466 ppapi/examples/ime/ime.cc virtual bool HandleInputEvent(const pp::InputEvent& event) { pp 470 ppapi/examples/ime/ime.cc const pp::MouseInputEvent mouseEvent(event); pp 475 ppapi/examples/ime/ime.cc const pp::MouseInputEvent mouseEvent(event); pp 480 ppapi/examples/ime/ime.cc const pp::MouseInputEvent mouseEvent(event); pp 486 ppapi/examples/ime/ime.cc const pp::KeyboardInputEvent keyEvent(event); pp 491 ppapi/examples/ime/ime.cc const pp::KeyboardInputEvent keyEvent(event); pp 497 ppapi/examples/ime/ime.cc const pp::IMEInputEvent imeEvent(event); pp 503 ppapi/examples/ime/ime.cc const pp::IMEInputEvent imeEvent(event); pp 509 ppapi/examples/ime/ime.cc const pp::IMEInputEvent imeEvent(event); pp 515 ppapi/examples/ime/ime.cc const pp::IMEInputEvent imeEvent(event); pp 528 ppapi/examples/ime/ime.cc virtual void DidChangeView(const pp::Rect& position, const pp::Rect& clip) { pp 536 ppapi/examples/ime/ime.cc bool OnCompositionUpdate(const pp::IMEInputEvent& ev) { pp 558 ppapi/examples/ime/ime.cc bool OnCompositionEnd(const pp::IMEInputEvent& ev) { pp 573 ppapi/examples/ime/ime.cc bool OnMouseDown(const pp::MouseInputEvent& ev) { pp 590 ppapi/examples/ime/ime.cc bool OnMouseMove(const pp::MouseInputEvent& ev) { pp 593 ppapi/examples/ime/ime.cc pp::Module::Get()->GetBrowserInterface( pp 615 ppapi/examples/ime/ime.cc bool OnMouseUp(const pp::MouseInputEvent& ev) { pp 625 ppapi/examples/ime/ime.cc bool OnKeyDown(const pp::KeyboardInputEvent& ev) { pp 651 ppapi/examples/ime/ime.cc bool OnChar(const pp::KeyboardInputEvent& ev) { pp 665 ppapi/examples/ime/ime.cc bool OnImeText(const pp::IMEInputEvent ev) { pp 678 ppapi/examples/ime/ime.cc pp::Rect clip(0, 0, last_size_.width(), last_size_.height()); pp 682 ppapi/examples/ime/ime.cc void PaintClip(const pp::Rect& clip) { pp 683 ppapi/examples/ime/ime.cc pp::ImageData image(this, PP_IMAGEDATAFORMAT_BGRA_PREMUL, last_size_, true); pp 684 ppapi/examples/ime/ime.cc pp::Graphics2D device(this, last_size_, false); pp 693 ppapi/examples/ime/ime.cc device.PaintImageData(image, pp::Point(0, 0)); pp 694 ppapi/examples/ime/ime.cc device.Flush(pp::CompletionCallback(&OnFlush, this)); pp 700 ppapi/examples/ime/ime.cc void Log(const pp::Var& value) { pp 702 ppapi/examples/ime/ime.cc pp::Module::Get()->GetBrowserInterface(PPB_CONSOLE_INTERFACE)); pp 712 ppapi/examples/ime/ime.cc pp::Size last_size_; pp 721 ppapi/examples/ime/ime.cc class MyModule : public pp::Module { pp 722 ppapi/examples/ime/ime.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 22 ppapi/examples/input/pointer_event_input.cc pp::Rect SquareForPoint(int x, int y) { pp 27 ppapi/examples/input/pointer_event_input.cc static void FillRect(pp::ImageData* image, pp 36 ppapi/examples/input/pointer_event_input.cc *image->GetAddr32(pp::Point(x, y)) = color; pp 40 ppapi/examples/input/pointer_event_input.cc class MyInstance : public pp::Instance, public pp::PaintManager::Client { pp 43 ppapi/examples/input/pointer_event_input.cc : pp::Instance(instance), pp 51 ppapi/examples/input/pointer_event_input.cc virtual bool HandleInputEvent(const pp::InputEvent& event) { pp 54 ppapi/examples/input/pointer_event_input.cc pp::MouseInputEvent mouse_event(event); pp 63 ppapi/examples/input/pointer_event_input.cc pp::MouseInputEvent mouse_event(event); pp 73 ppapi/examples/input/pointer_event_input.cc pp::TouchInputEvent touch(event); pp 77 ppapi/examples/input/pointer_event_input.cc pp::TouchPoint point = touch.GetTouchByIndex( pp 94 ppapi/examples/input/pointer_event_input.cc virtual void DidChangeView(const pp::View& view) { pp 99 ppapi/examples/input/pointer_event_input.cc virtual bool OnPaint(pp::Graphics2D& graphics_2d, pp 100 ppapi/examples/input/pointer_event_input.cc const std::vector<pp::Rect>& paint_rects, pp 101 ppapi/examples/input/pointer_event_input.cc const pp::Rect& paint_bounds) { pp 106 ppapi/examples/input/pointer_event_input.cc pp::ImageData updated_image(this, PP_IMAGEDATAFORMAT_BGRA_PREMUL, pp 132 ppapi/examples/input/pointer_event_input.cc pp::Rect square = SquareForPoint(last_x_, last_y_); pp 161 ppapi/examples/input/pointer_event_input.cc pp::PaintManager paint_manager_; pp 167 ppapi/examples/input/pointer_event_input.cc class MyModule : public pp::Module { pp 169 ppapi/examples/input/pointer_event_input.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 40 ppapi/examples/media_stream_audio/media_stream_audio.cc class MediaStreamAudioInstance : public pp::Instance { pp 43 ppapi/examples/media_stream_audio/media_stream_audio.cc : pp::Instance(instance), pp 56 ppapi/examples/media_stream_audio/media_stream_audio.cc virtual void DidChangeView(const pp::Rect& position, const pp::Rect& clip) { pp 61 ppapi/examples/media_stream_audio/media_stream_audio.cc device_context_ = pp::Graphics2D(this, size_, false); pp 68 ppapi/examples/media_stream_audio/media_stream_audio.cc virtual void HandleMessage(const pp::Var& var_message) { pp 71 ppapi/examples/media_stream_audio/media_stream_audio.cc pp::VarDictionary var_dictionary_message(var_message); pp 72 ppapi/examples/media_stream_audio/media_stream_audio.cc pp::Var var_track = var_dictionary_message.Get("track"); pp 76 ppapi/examples/media_stream_audio/media_stream_audio.cc pp::Resource resource_track = var_track.AsResource(); pp 77 ppapi/examples/media_stream_audio/media_stream_audio.cc audio_track_ = pp::MediaStreamAudioTrack(resource_track); pp 85 ppapi/examples/media_stream_audio/media_stream_audio.cc pp::Module::Get()->core()->CallOnMainThread( pp 113 ppapi/examples/media_stream_audio/media_stream_audio.cc pp::ImageData image = PaintImage(size_); pp 122 ppapi/examples/media_stream_audio/media_stream_audio.cc pp::ImageData PaintImage(const pp::Size& size) { pp 123 ppapi/examples/media_stream_audio/media_stream_audio.cc pp::ImageData image(this, PP_IMAGEDATAFORMAT_BGRA_PREMUL, size, false); pp 130 ppapi/examples/media_stream_audio/media_stream_audio.cc *image.GetAddr32(pp::Point(x, y)) = kColorGrey1; pp 138 ppapi/examples/media_stream_audio/media_stream_audio.cc *image.GetAddr32(pp::Point(x, mid_height)) = kColorGrey3; pp 139 ppapi/examples/media_stream_audio/media_stream_audio.cc *image.GetAddr32(pp::Point(x, mid_height + max_amplitude)) = kColorGrey2; pp 140 ppapi/examples/media_stream_audio/media_stream_audio.cc *image.GetAddr32(pp::Point(x, mid_height - max_amplitude)) = kColorGrey2; pp 151 ppapi/examples/media_stream_audio/media_stream_audio.cc *image.GetAddr32(pp::Point(x, y)) = (ch == 0 ? kColorRed : kColorGreen); pp 159 ppapi/examples/media_stream_audio/media_stream_audio.cc void OnGetBuffer(int32_t result, pp::AudioBuffer buffer) { pp 190 ppapi/examples/media_stream_audio/media_stream_audio.cc pp::MediaStreamAudioTrack audio_track_; pp 191 ppapi/examples/media_stream_audio/media_stream_audio.cc pp::CompletionCallbackFactory<MediaStreamAudioInstance> callback_factory_; pp 201 ppapi/examples/media_stream_audio/media_stream_audio.cc pp::Size size_; pp 202 ppapi/examples/media_stream_audio/media_stream_audio.cc pp::Graphics2D device_context_; pp 207 ppapi/examples/media_stream_audio/media_stream_audio.cc class MediaStreamAudioModule : public pp::Module { pp 209 ppapi/examples/media_stream_audio/media_stream_audio.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 40 ppapi/examples/media_stream_video/media_stream_video.cc class MediaStreamVideoModule : public pp::Module { pp 42 ppapi/examples/media_stream_video/media_stream_video.cc MediaStreamVideoModule() : pp::Module() {} pp 45 ppapi/examples/media_stream_video/media_stream_video.cc virtual pp::Instance* CreateInstance(PP_Instance instance); pp 48 ppapi/examples/media_stream_video/media_stream_video.cc class MediaStreamVideoDemoInstance : public pp::Instance, pp 49 ppapi/examples/media_stream_video/media_stream_video.cc public pp::Graphics3DClient { pp 51 ppapi/examples/media_stream_video/media_stream_video.cc MediaStreamVideoDemoInstance(PP_Instance instance, pp::Module* module); pp 55 ppapi/examples/media_stream_video/media_stream_video.cc virtual void DidChangeView(const pp::Rect& position, pp 56 ppapi/examples/media_stream_video/media_stream_video.cc const pp::Rect& clip_ignored); pp 57 ppapi/examples/media_stream_video/media_stream_video.cc virtual void HandleMessage(const pp::Var& message_data); pp 83 ppapi/examples/media_stream_video/media_stream_video.cc void OnGetFrame(int32_t result, pp::VideoFrame frame); pp 85 ppapi/examples/media_stream_video/media_stream_video.cc pp::Size position_size_; pp 96 ppapi/examples/media_stream_video/media_stream_video.cc pp::MediaStreamVideoTrack video_track_; pp 97 ppapi/examples/media_stream_video/media_stream_video.cc pp::CompletionCallbackFactory<MediaStreamVideoDemoInstance> callback_factory_; pp 107 ppapi/examples/media_stream_video/media_stream_video.cc pp::Graphics3D* context_; pp 109 ppapi/examples/media_stream_video/media_stream_video.cc pp::Size frame_size_; pp 113 ppapi/examples/media_stream_video/media_stream_video.cc PP_Instance instance, pp::Module* module) pp 114 ppapi/examples/media_stream_video/media_stream_video.cc : pp::Instance(instance), pp 115 ppapi/examples/media_stream_video/media_stream_video.cc pp::Graphics3DClient(this), pp 129 ppapi/examples/media_stream_video/media_stream_video.cc if (!glInitializePPAPI(pp::Module::Get()->get_browser_interface())) { pp 130 ppapi/examples/media_stream_video/media_stream_video.cc LogToConsole(PP_LOGLEVEL_ERROR, pp::Var("Unable to initialize GL PPAPI!")); pp 140 ppapi/examples/media_stream_video/media_stream_video.cc const pp::Rect& position, const pp::Rect& clip_ignored) { pp 153 ppapi/examples/media_stream_video/media_stream_video.cc void MediaStreamVideoDemoInstance::HandleMessage(const pp::Var& var_message) { pp 155 ppapi/examples/media_stream_video/media_stream_video.cc LogToConsole(PP_LOGLEVEL_ERROR, pp::Var("Invalid message!")); pp 159 ppapi/examples/media_stream_video/media_stream_video.cc pp::VarDictionary var_dictionary_message(var_message); pp 163 ppapi/examples/media_stream_video/media_stream_video.cc pp::Var var_track = var_dictionary_message.Get("track"); pp 166 ppapi/examples/media_stream_video/media_stream_video.cc pp::Resource resource_track = var_track.AsResource(); pp 167 ppapi/examples/media_stream_video/media_stream_video.cc video_track_ = pp::MediaStreamVideoTrack(resource_track); pp 186 ppapi/examples/media_stream_video/media_stream_video.cc LogToConsole(PP_LOGLEVEL_ERROR, pp::Var("Invalid command!")); pp 208 ppapi/examples/media_stream_video/media_stream_video.cc context_ = new pp::Graphics3D(this, attributes); pp 282 ppapi/examples/media_stream_video/media_stream_video.cc pp::CompletionCallback cb = callback_factory_.NewCallback( pp 428 ppapi/examples/media_stream_video/media_stream_video.cc int32_t result, pp::VideoFrame frame) { pp 432 ppapi/examples/media_stream_video/media_stream_video.cc pp::Size size; pp 482 ppapi/examples/media_stream_video/media_stream_video.cc pp::Instance* MediaStreamVideoModule::CreateInstance(PP_Instance instance) { pp 15 ppapi/examples/mouse_cursor/mouse_cursor.cc void FillRect(pp::ImageData* image, int left, int top, int width, int height, pp 23 ppapi/examples/mouse_cursor/mouse_cursor.cc *image->GetAddr32(pp::Point(x, y)) = color; pp 27 ppapi/examples/mouse_cursor/mouse_cursor.cc class MyInstance : public pp::Instance { pp 30 ppapi/examples/mouse_cursor/mouse_cursor.cc : pp::Instance(instance), width_(0), height_(0) { pp 37 ppapi/examples/mouse_cursor/mouse_cursor.cc virtual void DidChangeView(const pp::View& view) { pp 42 ppapi/examples/mouse_cursor/mouse_cursor.cc virtual bool HandleInputEvent(const pp::InputEvent& event) { pp 47 ppapi/examples/mouse_cursor/mouse_cursor.cc HandleMove(pp::MouseInputEvent(event)); pp 56 ppapi/examples/mouse_cursor/mouse_cursor.cc void HandleMove(const pp::MouseInputEvent& event) { pp 57 ppapi/examples/mouse_cursor/mouse_cursor.cc pp::Point point = event.GetPosition(); pp 61 ppapi/examples/mouse_cursor/mouse_cursor.cc pp::MouseCursor::SetCursor(this, PP_MOUSECURSOR_TYPE_WAIT); pp 64 ppapi/examples/mouse_cursor/mouse_cursor.cc pp::ImageData cursor(this, pp::ImageData::GetNativeImageDataFormat(), pp 65 ppapi/examples/mouse_cursor/mouse_cursor.cc pp::Size(32, 32), true); pp 69 ppapi/examples/mouse_cursor/mouse_cursor.cc pp::MouseCursor::SetCursor(this, PP_MOUSECURSOR_TYPE_CUSTOM, cursor, pp 70 ppapi/examples/mouse_cursor/mouse_cursor.cc pp::Point(16, 16)); pp 73 ppapi/examples/mouse_cursor/mouse_cursor.cc pp::MouseCursor::SetCursor(this, PP_MOUSECURSOR_TYPE_NONE); pp 83 ppapi/examples/mouse_cursor/mouse_cursor.cc class MyModule : public pp::Module { pp 85 ppapi/examples/mouse_cursor/mouse_cursor.cc MyModule() : pp::Module() {} pp 88 ppapi/examples/mouse_cursor/mouse_cursor.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 23 ppapi/examples/mouse_lock/mouse_lock.cc class MyInstance : public pp::Instance, public pp::MouseLock { pp 26 ppapi/examples/mouse_lock/mouse_lock.cc : pp::Instance(instance), pp 27 ppapi/examples/mouse_lock/mouse_lock.cc pp::MouseLock(this), pp 41 ppapi/examples/mouse_lock/mouse_lock.cc pp::Module::Get()->GetBrowserInterface(PPB_CONSOLE_INTERFACE)); pp 50 ppapi/examples/mouse_lock/mouse_lock.cc virtual bool HandleInputEvent(const pp::InputEvent& event) { pp 53 ppapi/examples/mouse_lock/mouse_lock.cc pp::MouseInputEvent mouse_event(event); pp 61 ppapi/examples/mouse_lock/mouse_lock.cc pp::MouseInputEvent mouse_event(event); pp 70 ppapi/examples/mouse_lock/mouse_lock.cc pp::KeyboardInputEvent key_event(event); pp 91 ppapi/examples/mouse_lock/mouse_lock.cc virtual void DidChangeView(const pp::Rect& position, const pp::Rect& clip) { pp 99 ppapi/examples/mouse_lock/mouse_lock.cc device_context_ = pp::Graphics2D(this, pp::Size(width_, height_), false); pp 137 ppapi/examples/mouse_lock/mouse_lock.cc pp::ImageData image = PaintImage(width_, height_); pp 146 ppapi/examples/mouse_lock/mouse_lock.cc pp::ImageData PaintImage(int width, int height) { pp 147 ppapi/examples/mouse_lock/mouse_lock.cc pp::ImageData image(this, PP_IMAGEDATAFORMAT_BGRA_PREMUL, pp 148 ppapi/examples/mouse_lock/mouse_lock.cc pp::Size(width, height), false); pp 159 ppapi/examples/mouse_lock/mouse_lock.cc pp::Point vertex(mouse_movement_.x() + center_x, pp 161 ppapi/examples/mouse_lock/mouse_lock.cc pp::Point anchor_1; pp 162 ppapi/examples/mouse_lock/mouse_lock.cc pp::Point anchor_2; pp 195 ppapi/examples/mouse_lock/mouse_lock.cc *image.GetAddr32(pp::Point(x, y)) = foreground_color; pp 212 ppapi/examples/mouse_lock/mouse_lock.cc *image.GetAddr32(pp::Point(x, y)) = foreground_color; pp 216 ppapi/examples/mouse_lock/mouse_lock.cc *image.GetAddr32(pp::Point(x, y)) = kBackgroundColor; pp 237 ppapi/examples/mouse_lock/mouse_lock.cc pp::Var value(buf); pp 245 ppapi/examples/mouse_lock/mouse_lock.cc pp::Point mouse_movement_; pp 250 ppapi/examples/mouse_lock/mouse_lock.cc pp::CompletionCallbackFactory<MyInstance> callback_factory_; pp 254 ppapi/examples/mouse_lock/mouse_lock.cc pp::FlashFullscreen flash_fullscreen_; pp 256 ppapi/examples/mouse_lock/mouse_lock.cc pp::Graphics2D device_context_; pp 261 ppapi/examples/mouse_lock/mouse_lock.cc class MyModule : public pp::Module { pp 263 ppapi/examples/mouse_lock/mouse_lock.cc MyModule() : pp::Module() {} pp 267 ppapi/examples/mouse_lock/mouse_lock.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 46 ppapi/examples/printing/printing.cc class MyInstance : public pp::Instance, public pp::Printing_Dev { pp 49 ppapi/examples/printing/printing.cc : pp::Instance(instance), pp 50 ppapi/examples/printing/printing.cc pp::Printing_Dev(this) { pp 66 ppapi/examples/printing/printing.cc virtual pp::Resource PrintPages( pp 70 ppapi/examples/printing/printing.cc pp::Buffer_Dev buffer(this, pdf_len); pp 84 ppapi/examples/printing/printing.cc class MyModule : public pp::Module { pp 86 ppapi/examples/printing/printing.cc MyModule() : pp::Module() {} pp 90 ppapi/examples/printing/printing.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 26 ppapi/examples/scaling/scaling.cc class MyInstance : public pp::Instance { pp 29 ppapi/examples/scaling/scaling.cc : pp::Instance(instance), pp 41 ppapi/examples/scaling/scaling.cc virtual void DidChangeView(const pp::View& view) { pp 42 ppapi/examples/scaling/scaling.cc pp::Rect view_rect = view.GetRect(); pp 60 ppapi/examples/scaling/scaling.cc virtual bool HandleInputEvent(const pp::InputEvent& event) { pp 70 ppapi/examples/scaling/scaling.cc virtual void HandleMessage(const pp::Var& message_data) { pp 94 ppapi/examples/scaling/scaling.cc void HandleMouseDown(const pp::InputEvent& event) { pp 95 ppapi/examples/scaling/scaling.cc pp::MouseInputEvent mouse_event(event); pp 96 ppapi/examples/scaling/scaling.cc pp::Point position(mouse_event.GetPosition()); pp 97 ppapi/examples/scaling/scaling.cc pp::Point position_device(position.x() * device_scale_, pp 104 ppapi/examples/scaling/scaling.cc pp::Point position_css(position.x() / css_scale_, pp 120 ppapi/examples/scaling/scaling.cc device_context_ = pp::Graphics2D(this, pp 121 ppapi/examples/scaling/scaling.cc pp::Size(pixel_width_, pixel_height_), pp 131 ppapi/examples/scaling/scaling.cc device_context_ = pp::Graphics2D(this, pp::Size(width_, height_), true); pp 140 ppapi/examples/scaling/scaling.cc pp::ImageData image(this, PP_IMAGEDATAFORMAT_BGRA_PREMUL, pp 141 ppapi/examples/scaling/scaling.cc pp::Size(width, height), false); pp 197 ppapi/examples/scaling/scaling.cc device_context_.Flush(pp::CompletionCallback(&OnFlush, this)); pp 202 ppapi/examples/scaling/scaling.cc pp::Graphics2D device_context_; pp 214 ppapi/examples/scaling/scaling.cc class MyModule : public pp::Module { pp 216 ppapi/examples/scaling/scaling.cc MyModule() : pp::Module() {} pp 220 ppapi/examples/scaling/scaling.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 21 ppapi/examples/scripting/post_message.cc class MyInstance : public pp::Instance { pp 23 ppapi/examples/scripting/post_message.cc explicit MyInstance(PP_Instance instance) : pp::Instance(instance) {} pp 25 ppapi/examples/scripting/post_message.cc virtual void HandleMessage(const pp::Var& message_data); pp 32 ppapi/examples/scripting/post_message.cc void MyInstance::HandleMessage(const pp::Var& message_data) { pp 38 ppapi/examples/scripting/post_message.cc PostMessage(pp::Var(is_palindrome)); pp 44 ppapi/examples/scripting/post_message.cc class MyModule : public pp::Module { pp 46 ppapi/examples/scripting/post_message.cc MyModule() : pp::Module() {} pp 50 ppapi/examples/scripting/post_message.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 11 ppapi/examples/stub/stub.cc class MyInstance : public pp::Instance { pp 13 ppapi/examples/stub/stub.cc explicit MyInstance(PP_Instance instance) : pp::Instance(instance) {} pp 23 ppapi/examples/stub/stub.cc class MyModule : public pp::Module { pp 25 ppapi/examples/stub/stub.cc MyModule() : pp::Module() {} pp 29 ppapi/examples/stub/stub.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 12 ppapi/examples/threading/threading.cc class MyInstance : public pp::Instance { pp 14 ppapi/examples/threading/threading.cc MyInstance(PP_Instance instance) : pp::Instance(instance) { pp 15 ppapi/examples/threading/threading.cc thread_ = new pp::SimpleThread(this); pp 30 ppapi/examples/threading/threading.cc virtual void DidChangeView(const pp::View& view) { pp 37 ppapi/examples/threading/threading.cc pp::CompletionCallbackFactory<MyInstance> factory_; pp 39 ppapi/examples/threading/threading.cc pp::SimpleThread* thread_; pp 43 ppapi/examples/threading/threading.cc class MyModule : public pp::Module { pp 45 ppapi/examples/threading/threading.cc MyModule() : pp::Module() {} pp 48 ppapi/examples/threading/threading.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 31 ppapi/examples/url_loader/stream_to_file.cc class MyInstance : public pp::Instance { pp 34 ppapi/examples/url_loader/stream_to_file.cc : pp::Instance(instance) { pp 46 ppapi/examples/url_loader/stream_to_file.cc virtual void HandleMessage(const pp::Var& message_data); pp 65 ppapi/examples/url_loader/stream_to_file.cc pp::CompletionCallbackFactory<MyInstance> factory_; pp 67 ppapi/examples/url_loader/stream_to_file.cc pp::URLLoader loader_; pp 68 ppapi/examples/url_loader/stream_to_file.cc pp::URLResponseInfo response_; pp 69 ppapi/examples/url_loader/stream_to_file.cc pp::FileRef dest_file_; pp 70 ppapi/examples/url_loader/stream_to_file.cc pp::FileIO file_io_; pp 80 ppapi/examples/url_loader/stream_to_file.cc void MyInstance::HandleMessage(const pp::Var& message_data) { pp 88 ppapi/examples/url_loader/stream_to_file.cc pp::URLRequestInfo request(this); pp 93 ppapi/examples/url_loader/stream_to_file.cc loader_ = pp::URLLoader(this); pp 112 ppapi/examples/url_loader/stream_to_file.cc file_io_ = pp::FileIO(this); pp 141 ppapi/examples/url_loader/stream_to_file.cc loader_ = pp::URLLoader(); pp 142 ppapi/examples/url_loader/stream_to_file.cc response_ = pp::URLResponseInfo(); pp 143 ppapi/examples/url_loader/stream_to_file.cc dest_file_ = pp::FileRef(); pp 144 ppapi/examples/url_loader/stream_to_file.cc file_io_ = pp::FileIO(); pp 148 ppapi/examples/url_loader/stream_to_file.cc PostMessage(pp::Var(data)); pp 153 ppapi/examples/url_loader/stream_to_file.cc class MyModule : public pp::Module { pp 155 ppapi/examples/url_loader/stream_to_file.cc MyModule() : pp::Module() {} pp 159 ppapi/examples/url_loader/stream_to_file.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 28 ppapi/examples/url_loader/streaming.cc class MyInstance : public pp::Instance { pp 31 ppapi/examples/url_loader/streaming.cc : pp::Instance(instance) { pp 43 ppapi/examples/url_loader/streaming.cc virtual void HandleMessage(const pp::Var& message_data); pp 62 ppapi/examples/url_loader/streaming.cc pp::CompletionCallbackFactory<MyInstance> factory_; pp 64 ppapi/examples/url_loader/streaming.cc pp::URLLoader loader_; pp 65 ppapi/examples/url_loader/streaming.cc pp::URLResponseInfo response_; pp 75 ppapi/examples/url_loader/streaming.cc void MyInstance::HandleMessage(const pp::Var& message_data) { pp 83 ppapi/examples/url_loader/streaming.cc pp::URLRequestInfo request(this); pp 87 ppapi/examples/url_loader/streaming.cc loader_ = pp::URLLoader(this); pp 114 ppapi/examples/url_loader/streaming.cc pp::CompletionCallback cc = pp 153 ppapi/examples/url_loader/streaming.cc PostMessage(pp::Var(data)); pp 158 ppapi/examples/url_loader/streaming.cc class MyModule : public pp::Module { pp 160 ppapi/examples/url_loader/streaming.cc MyModule() : pp::Module() {} pp 164 ppapi/examples/url_loader/streaming.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 45 ppapi/examples/video_capture/video_capture.cc class VCDemoModule : public pp::Module { pp 47 ppapi/examples/video_capture/video_capture.cc VCDemoModule() : pp::Module() {} pp 50 ppapi/examples/video_capture/video_capture.cc virtual pp::Instance* CreateInstance(PP_Instance instance); pp 53 ppapi/examples/video_capture/video_capture.cc class VCDemoInstance : public pp::Instance, pp 54 ppapi/examples/video_capture/video_capture.cc public pp::Graphics3DClient, pp 55 ppapi/examples/video_capture/video_capture.cc public pp::VideoCaptureClient_Dev { pp 57 ppapi/examples/video_capture/video_capture.cc VCDemoInstance(PP_Instance instance, pp::Module* module); pp 61 ppapi/examples/video_capture/video_capture.cc virtual void DidChangeView(const pp::Rect& position, pp 62 ppapi/examples/video_capture/video_capture.cc const pp::Rect& clip_ignored); pp 63 ppapi/examples/video_capture/video_capture.cc virtual void HandleMessage(const pp::Var& message_data); pp 74 ppapi/examples/video_capture/video_capture.cc const std::vector<pp::Buffer_Dev>& buffers) { pp 128 ppapi/examples/video_capture/video_capture.cc void Open(const pp::DeviceRef_Dev& device); pp 132 ppapi/examples/video_capture/video_capture.cc std::vector<pp::DeviceRef_Dev>& devices); pp 139 ppapi/examples/video_capture/video_capture.cc pp::Size position_size_; pp 145 ppapi/examples/video_capture/video_capture.cc pp::VideoCapture_Dev video_capture_; pp 147 ppapi/examples/video_capture/video_capture.cc std::vector<pp::Buffer_Dev> buffers_; pp 148 ppapi/examples/video_capture/video_capture.cc pp::CompletionCallbackFactory<VCDemoInstance> callback_factory_; pp 154 ppapi/examples/video_capture/video_capture.cc pp::Graphics3D* context_; pp 156 ppapi/examples/video_capture/video_capture.cc std::vector<pp::DeviceRef_Dev> enumerate_devices_; pp 157 ppapi/examples/video_capture/video_capture.cc std::vector<pp::DeviceRef_Dev> monitor_devices_; pp 160 ppapi/examples/video_capture/video_capture.cc VCDemoInstance::VCDemoInstance(PP_Instance instance, pp::Module* module) pp 161 ppapi/examples/video_capture/video_capture.cc : pp::Instance(instance), pp 162 ppapi/examples/video_capture/video_capture.cc pp::Graphics3DClient(this), pp 163 ppapi/examples/video_capture/video_capture.cc pp::VideoCaptureClient_Dev(this), pp 187 ppapi/examples/video_capture/video_capture.cc const pp::Rect& position, const pp::Rect& clip_ignored) { pp 201 ppapi/examples/video_capture/video_capture.cc void VCDemoInstance::HandleMessage(const pp::Var& message_data) { pp 208 ppapi/examples/video_capture/video_capture.cc PostMessage(pp::Var("MonitorDeviceChangeFailed")); pp 210 ppapi/examples/video_capture/video_capture.cc pp::CompletionCallbackWithOutput<std::vector<pp::DeviceRef_Dev> > pp 215 ppapi/examples/video_capture/video_capture.cc PostMessage(pp::Var("EnumerationFailed")); pp 217 ppapi/examples/video_capture/video_capture.cc Open(pp::DeviceRef_Dev()); pp 258 ppapi/examples/video_capture/video_capture.cc context_ = new pp::Graphics3D(this, attributes); pp 282 ppapi/examples/video_capture/video_capture.cc pp::CompletionCallback cb = callback_factory_.NewCallback( pp 427 ppapi/examples/video_capture/video_capture.cc void VCDemoInstance::Open(const pp::DeviceRef_Dev& device) { pp 428 ppapi/examples/video_capture/video_capture.cc pp::CompletionCallback callback = callback_factory_.NewCallback( pp 432 ppapi/examples/video_capture/video_capture.cc PostMessage(pp::Var("OpenFailed")); pp 437 ppapi/examples/video_capture/video_capture.cc PostMessage(pp::Var("StopFailed")); pp 442 ppapi/examples/video_capture/video_capture.cc PostMessage(pp::Var("StartFailed")); pp 447 ppapi/examples/video_capture/video_capture.cc std::vector<pp::DeviceRef_Dev>& devices) { pp 452 ppapi/examples/video_capture/video_capture.cc pp::Var name = enumerate_devices_[index].GetName(); pp 459 ppapi/examples/video_capture/video_capture.cc PostMessage(pp::Var(device_names)); pp 461 ppapi/examples/video_capture/video_capture.cc PostMessage(pp::Var("EnumerationFailed")); pp 469 ppapi/examples/video_capture/video_capture.cc PostMessage(pp::Var("OpenFailed")); pp 482 ppapi/examples/video_capture/video_capture.cc thiz->monitor_devices_.push_back(pp::DeviceRef_Dev(devices[index])); pp 483 ppapi/examples/video_capture/video_capture.cc pp::Var name = thiz->monitor_devices_.back().GetName(); pp 490 ppapi/examples/video_capture/video_capture.cc thiz->PostMessage(pp::Var(device_names)); pp 493 ppapi/examples/video_capture/video_capture.cc pp::Instance* VCDemoModule::CreateInstance(PP_Instance instance) { pp 56 ppapi/examples/video_decode/video_decode.cc class VideoDecodeDemoInstance : public pp::Instance, pp 57 ppapi/examples/video_decode/video_decode.cc public pp::Graphics3DClient, pp 58 ppapi/examples/video_decode/video_decode.cc public pp::VideoDecoderClient_Dev { pp 60 ppapi/examples/video_decode/video_decode.cc VideoDecodeDemoInstance(PP_Instance instance, pp::Module* module); pp 64 ppapi/examples/video_decode/video_decode.cc virtual void DidChangeView(const pp::Rect& position, pp 65 ppapi/examples/video_decode/video_decode.cc const pp::Rect& clip_ignored); pp 95 ppapi/examples/video_decode/video_decode.cc pp::VideoDecoder_Dev* decoder); pp 108 ppapi/examples/video_decode/video_decode.cc pp::VideoDecoder_Dev* decoder() { return decoder_; } pp 117 ppapi/examples/video_decode/video_decode.cc pp::VideoDecoder_Dev* decoder_; pp 118 ppapi/examples/video_decode/video_decode.cc pp::CompletionCallbackFactory<DecoderClient> callback_factory_; pp 127 ppapi/examples/video_decode/video_decode.cc typedef std::map<int, pp::Buffer_Dev*> BitstreamBufferMap; pp 157 ppapi/examples/video_decode/video_decode.cc pp::Var(msg).pp_var()); pp 169 ppapi/examples/video_decode/video_decode.cc pp::Size plugin_size_; pp 178 ppapi/examples/video_decode/video_decode.cc pp::CompletionCallbackFactory<VideoDecodeDemoInstance> callback_factory_; pp 186 ppapi/examples/video_decode/video_decode.cc pp::Graphics3D* context_; pp 197 ppapi/examples/video_decode/video_decode.cc VideoDecodeDemoInstance* gles2, pp::VideoDecoder_Dev* decoder) pp 221 ppapi/examples/video_decode/video_decode.cc pp::Module* module) pp 222 ppapi/examples/video_decode/video_decode.cc : pp::Instance(instance), pp::Graphics3DClient(this), pp 223 ppapi/examples/video_decode/video_decode.cc pp::VideoDecoderClient_Dev(this), pp 255 ppapi/examples/video_decode/video_decode.cc const pp::Rect& position, const pp::Rect& clip_ignored) { pp 273 ppapi/examples/video_decode/video_decode.cc this, new pp::VideoDecoder_Dev( pp 333 ppapi/examples/video_decode/video_decode.cc pp::CompletionCallback cb = callback_factory_.NewCallback( pp 341 ppapi/examples/video_decode/video_decode.cc pp::Buffer_Dev* buffer = new pp::Buffer_Dev(gles2_, end_pos - start_pos); pp 350 ppapi/examples/video_decode/video_decode.cc pp::CompletionCallback cb = pp 455 ppapi/examples/video_decode/video_decode.cc pp::CompletionCallback cb = pp 470 ppapi/examples/video_decode/video_decode.cc class VideoDecodeDemoModule : public pp::Module { pp 472 ppapi/examples/video_decode/video_decode.cc VideoDecodeDemoModule() : pp::Module() {} pp 475 ppapi/examples/video_decode/video_decode.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 498 ppapi/examples/video_decode/video_decode.cc context_ = new pp::Graphics3D(this, context_attributes); pp 39 ppapi/examples/video_effects/video_effects.cc class VEDemoModule : public pp::Module { pp 41 ppapi/examples/video_effects/video_effects.cc VEDemoModule() : pp::Module() {} pp 44 ppapi/examples/video_effects/video_effects.cc virtual pp::Instance* CreateInstance(PP_Instance instance); pp 47 ppapi/examples/video_effects/video_effects.cc class VEDemoInstance : public pp::Instance { pp 49 ppapi/examples/video_effects/video_effects.cc VEDemoInstance(PP_Instance instance, pp::Module* module); pp 53 ppapi/examples/video_effects/video_effects.cc virtual void HandleMessage(const pp::Var& message_data); pp 58 ppapi/examples/video_effects/video_effects.cc void GetFrameDone(int32_t result, pp::VideoFrame_Private video_frame); pp 60 ppapi/examples/video_effects/video_effects.cc pp::VideoSource_Private video_source_; pp 61 ppapi/examples/video_effects/video_effects.cc pp::VideoDestination_Private video_destination_; pp 63 ppapi/examples/video_effects/video_effects.cc pp::CompletionCallbackFactory<VEDemoInstance> factory_; pp 64 ppapi/examples/video_effects/video_effects.cc pp::MessageLoop message_loop_; pp 67 ppapi/examples/video_effects/video_effects.cc VEDemoInstance::VEDemoInstance(PP_Instance instance, pp::Module* module) pp 68 ppapi/examples/video_effects/video_effects.cc : pp::Instance(instance), pp 72 ppapi/examples/video_effects/video_effects.cc message_loop_(pp::MessageLoop::GetCurrent()) { pp 81 ppapi/examples/video_effects/video_effects.cc void VEDemoInstance::HandleMessage(const pp::Var& message_data) { pp 86 ppapi/examples/video_effects/video_effects.cc PostMessage(pp::Var("Ignored empty message.")); pp 91 ppapi/examples/video_effects/video_effects.cc PostMessage(pp::Var("Got 'registerStream' with incorrect parameters.")); pp 101 ppapi/examples/video_effects/video_effects.cc PostMessage(pp::Var("Effect ON.")); pp 104 ppapi/examples/video_effects/video_effects.cc PostMessage(pp::Var("Effect OFF.")); pp 112 ppapi/examples/video_effects/video_effects.cc PostMessage(pp::Var("Failed to open destination stream.")); pp 122 ppapi/examples/video_effects/video_effects.cc PostMessage(pp::Var("Failed to open source stream.")); pp 126 ppapi/examples/video_effects/video_effects.cc PostMessage(pp::Var("DoneRegistering")); pp 133 ppapi/examples/video_effects/video_effects.cc pp::VideoFrame_Private video_frame) { pp 135 ppapi/examples/video_effects/video_effects.cc PostMessage(pp::Var("Failed to get frame.")); pp 141 ppapi/examples/video_effects/video_effects.cc pp::ImageData image_data = video_frame.image_data(); pp 142 ppapi/examples/video_effects/video_effects.cc pp::Size size = image_data.size(); pp 164 ppapi/examples/video_effects/video_effects.cc factory_.NewCallbackWithOutput<pp::VideoFrame_Private>( pp 168 ppapi/examples/video_effects/video_effects.cc pp::Instance* VEDemoModule::CreateInstance(PP_Instance instance) { pp 30 ppapi/native_client/src/trusted/plugin/callback_source.h virtual pp::CompletionCallbackWithOutput<T> GetCallback() = 0; pp 100 ppapi/native_client/src/trusted/plugin/file_downloader.cc pp::Module::Get()->GetBrowserInterface(PPB_FILEIO_PRIVATE_INTERFACE)); pp 102 ppapi/native_client/src/trusted/plugin/file_downloader.cc pp::Module::Get()->GetBrowserInterface(PPB_URLLOADERTRUSTED_INTERFACE)); pp 109 ppapi/native_client/src/trusted/plugin/file_downloader.cc const pp::CompletionCallback& callback, pp 118 ppapi/native_client/src/trusted/plugin/file_downloader.cc const pp::CompletionCallback& callback, pp 135 ppapi/native_client/src/trusted/plugin/file_downloader.cc pp::URLRequestInfo url_request(instance_); pp 151 ppapi/native_client/src/trusted/plugin/file_downloader.cc url_loader_ = pp::URLLoader(instance_); pp 152 ppapi/native_client/src/trusted/plugin/file_downloader.cc pp::Var url_var = pp::Var(url); pp 164 ppapi/native_client/src/trusted/plugin/file_downloader.cc pp::Core* core = pp::Module::Get()->core(); pp 190 ppapi/native_client/src/trusted/plugin/file_downloader.cc file_reader_ = pp::FileIO(instance_); pp 198 ppapi/native_client/src/trusted/plugin/file_downloader.cc pp::CompletionCallback onload_callback = pp 257 ppapi/native_client/src/trusted/plugin/file_downloader.cc pp::Var full_url = url_response_.GetURL(); pp 313 ppapi/native_client/src/trusted/plugin/file_downloader.cc const pp::CompletionCallback& callback) { pp 318 ppapi/native_client/src/trusted/plugin/file_downloader.cc pp::CompletionCallback onload_callback = pp 331 ppapi/native_client/src/trusted/plugin/file_downloader.cc pp::CompletionCallback onread_callback = pp 363 ppapi/native_client/src/trusted/plugin/file_downloader.cc pp::Var full_url = url_response_.GetURL(); pp 373 ppapi/native_client/src/trusted/plugin/file_downloader.cc pp::FileRef file(url_response_.GetBodyAsFileRef()); pp 381 ppapi/native_client/src/trusted/plugin/file_downloader.cc pp::CompletionCallback onopen_callback = pp 415 ppapi/native_client/src/trusted/plugin/file_downloader.cc pp::CompletionCallback onread_callback = pp 437 ppapi/native_client/src/trusted/plugin/file_downloader.cc pp::Var headers = url_response_.GetHeaders(); pp 458 ppapi/native_client/src/trusted/plugin/file_downloader.cc pp::CompletionCallbackWithOutput<PP_FileHandle> cb = pp 37 ppapi/native_client/src/trusted/plugin/file_downloader.h typedef pp::CompletionCallbackWithOutput<FileStreamData> StreamCallback; pp 78 ppapi/native_client/src/trusted/plugin/file_downloader.h file_open_notify_callback_(pp::BlockUntilComplete()), pp 79 ppapi/native_client/src/trusted/plugin/file_downloader.h stream_finish_callback_(pp::BlockUntilComplete()), pp 104 ppapi/native_client/src/trusted/plugin/file_downloader.h const pp::CompletionCallback& callback, pp 114 ppapi/native_client/src/trusted/plugin/file_downloader.h const pp::CompletionCallback& callback, pp 122 ppapi/native_client/src/trusted/plugin/file_downloader.h void FinishStreaming(const pp::CompletionCallback& callback); pp 203 ppapi/native_client/src/trusted/plugin/file_downloader.h pp::URLResponseInfo url_response_; pp 204 ppapi/native_client/src/trusted/plugin/file_downloader.h pp::CompletionCallback file_open_notify_callback_; pp 205 ppapi/native_client/src/trusted/plugin/file_downloader.h pp::CompletionCallback stream_finish_callback_; pp 206 ppapi/native_client/src/trusted/plugin/file_downloader.h pp::FileIO file_reader_; pp 209 ppapi/native_client/src/trusted/plugin/file_downloader.h pp::URLLoader url_loader_; pp 210 ppapi/native_client/src/trusted/plugin/file_downloader.h pp::CompletionCallbackFactory<FileDownloader> callback_factory_; pp 416 ppapi/native_client/src/trusted/plugin/json_manifest.cc pp::Var exception; pp 588 ppapi/native_client/src/trusted/plugin/json_manifest.cc pp::Var resolved_url = pp 589 ppapi/native_client/src/trusted/plugin/json_manifest.cc url_util_->ResolveRelativeToURL(pp::Var(manifest_base_url_), pp 21 ppapi/native_client/src/trusted/plugin/json_manifest.h namespace pp { pp 32 ppapi/native_client/src/trusted/plugin/json_manifest.h JsonManifest(const pp::URLUtil_Dev* url_util, pp 97 ppapi/native_client/src/trusted/plugin/json_manifest.h const pp::URLUtil_Dev* url_util_; pp 20 ppapi/native_client/src/trusted/plugin/manifest.h namespace pp { pp 18 ppapi/native_client/src/trusted/plugin/module_ppapi.cc ModulePpapi::ModulePpapi() : pp::Module(), pp 69 ppapi/native_client/src/trusted/plugin/module_ppapi.cc pp::Instance* ModulePpapi::CreateInstance(PP_Instance pp_instance) { pp 12 ppapi/native_client/src/trusted/plugin/module_ppapi.h class ModulePpapi : public pp::Module { pp 20 ppapi/native_client/src/trusted/plugin/module_ppapi.h virtual pp::Instance* CreateInstance(PP_Instance pp_instance); pp 30 ppapi/native_client/src/trusted/plugin/module_ppapi.h namespace pp { pp 88 ppapi/native_client/src/trusted/plugin/plugin.cc pp::Module *module = pp::Module::Get(); pp 107 ppapi/native_client/src/trusted/plugin/plugin.cc pp::TextInputController(this).SetTextInputType(PP_TEXTINPUT_TYPE_NONE); pp 218 ppapi/native_client/src/trusted/plugin/plugin.cc CHECK(!pp::Module::Get()->core()->IsMainThread()); pp 221 ppapi/native_client/src/trusted/plugin/plugin.cc pp::BlockUntilComplete(), pp::BlockUntilComplete()); pp 229 ppapi/native_client/src/trusted/plugin/plugin.cc pp::CompletionCallback sel_ldr_callback = pp 233 ppapi/native_client/src/trusted/plugin/plugin.cc pp::CompletionCallback callback = pp 237 ppapi/native_client/src/trusted/plugin/plugin.cc pp::Module::Get()->core()->CallOnMainThread(0, callback, 0); pp 248 ppapi/native_client/src/trusted/plugin/plugin.cc wrapper, pp::BlockUntilComplete()); pp 258 ppapi/native_client/src/trusted/plugin/plugin.cc pp::CompletionCallback callback) { pp 262 ppapi/native_client/src/trusted/plugin/plugin.cc pp::Module::Get()->core()->CallOnMainThread(0, callback, pp_error); pp 280 ppapi/native_client/src/trusted/plugin/plugin.cc const pp::CompletionCallback& init_done_cb, pp 281 ppapi/native_client/src/trusted/plugin/plugin.cc const pp::CompletionCallback& crash_cb) { pp 283 ppapi/native_client/src/trusted/plugin/plugin.cc CHECK(pp::Module::Get()->core()->IsMainThread()); pp 312 ppapi/native_client/src/trusted/plugin/plugin.cc pp::CompletionCallback callback = callback_factory_.NewCallback( pp 322 ppapi/native_client/src/trusted/plugin/plugin.cc const pp::CompletionCallback& crash_cb) { pp 468 ppapi/native_client/src/trusted/plugin/plugin.cc url_util_ = pp::URLUtil_Dev::Get(); pp 500 ppapi/native_client/src/trusted/plugin/plugin.cc pp::Var base_var = url_util_->GetDocumentURL(this); pp 528 ppapi/native_client/src/trusted/plugin/plugin.cc : pp::Instance(pp_instance), pp 611 ppapi/native_client/src/trusted/plugin/plugin.cc bool Plugin::HandleDocumentLoad(const pp::URLLoader& url_loader) { pp 896 ppapi/native_client/src/trusted/plugin/plugin.cc pp::Var program_url_var(program_url); pp 908 ppapi/native_client/src/trusted/plugin/plugin.cc pp::CompletionCallback translate_callback = pp 922 ppapi/native_client/src/trusted/plugin/plugin.cc pp::CompletionCallback open_callback = pp 945 ppapi/native_client/src/trusted/plugin/plugin.cc pp::Var nmf_resolved_url = pp 946 ppapi/native_client/src/trusted/plugin/plugin.cc url_util_->ResolveRelativeToURL(plugin_base_url(), pp::Var(url)); pp 972 ppapi/native_client/src/trusted/plugin/plugin.cc pp::CompletionCallback open_callback = pp 981 ppapi/native_client/src/trusted/plugin/plugin.cc pp::CompletionCallback open_callback = pp 1023 ppapi/native_client/src/trusted/plugin/plugin.cc pp::CompletionCallback callback) { pp 1064 ppapi/native_client/src/trusted/plugin/plugin.cc const pp::CompletionCallback& callback) { pp 1071 ppapi/native_client/src/trusted/plugin/plugin.cc pp::Var resolved_url = pp 1072 ppapi/native_client/src/trusted/plugin/plugin.cc url_util_->ResolveRelativeToURL(pp::Var(plugin_base_url()), url); pp 1087 ppapi/native_client/src/trusted/plugin/plugin.cc pp::CompletionCallback open_callback = callback_factory_.NewCallback( pp 1124 ppapi/native_client/src/trusted/plugin/plugin.cc Instance* instance = pp::Module::Get()->InstanceForPPInstance(pp_instance); pp 1209 ppapi/native_client/src/trusted/plugin/plugin.cc pp::Var url_var(url); pp 1237 ppapi/native_client/src/trusted/plugin/plugin.cc return url_util_->DocumentCanRequest(this, pp::Var(url)); pp 1241 ppapi/native_client/src/trusted/plugin/plugin.cc pp::Core* core = pp::Module::Get()->core(); pp 1245 ppapi/native_client/src/trusted/plugin/plugin.cc pp::CompletionCallback callback = pp 1254 ppapi/native_client/src/trusted/plugin/plugin.cc DCHECK(pp::Module::Get()->core()->IsMainThread()); pp 42 ppapi/native_client/src/trusted/plugin/plugin.h namespace pp { pp 53 ppapi/native_client/src/trusted/plugin/plugin.h class Plugin : public pp::Instance { pp 66 ppapi/native_client/src/trusted/plugin/plugin.h virtual bool HandleDocumentLoad(const pp::URLLoader& url_loader); pp 93 ppapi/native_client/src/trusted/plugin/plugin.h const pp::CompletionCallback& init_done_cb, pp 94 ppapi/native_client/src/trusted/plugin/plugin.h const pp::CompletionCallback& crash_cb); pp 177 ppapi/native_client/src/trusted/plugin/plugin.h const pp::CompletionCallback& callback); pp 202 ppapi/native_client/src/trusted/plugin/plugin.h const pp::URLUtil_Dev* url_util() const { return url_util_; } pp 208 ppapi/native_client/src/trusted/plugin/plugin.h pp::UMAPrivate& uma_interface() { return uma_interface_; } pp 258 ppapi/native_client/src/trusted/plugin/plugin.h pp::CompletionCallback callback); pp 268 ppapi/native_client/src/trusted/plugin/plugin.h const pp::CompletionCallback& crash_cb); pp 329 ppapi/native_client/src/trusted/plugin/plugin.h pp::CompletionCallback pp_callback); pp 358 ppapi/native_client/src/trusted/plugin/plugin.h pp::CompletionCallbackFactory<Plugin> callback_factory_; pp 365 ppapi/native_client/src/trusted/plugin/plugin.h const pp::URLUtil_Dev* url_util_; pp 384 ppapi/native_client/src/trusted/plugin/plugin.h pp::View view_to_replay_; pp 389 ppapi/native_client/src/trusted/plugin/plugin.h pp::URLLoader document_load_to_replay_; pp 424 ppapi/native_client/src/trusted/plugin/plugin.h pp::UMAPrivate uma_interface_; pp 130 ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc void HistogramTime(pp::UMAPrivate& uma, pp 139 ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc void HistogramSizeKB(pp::UMAPrivate& uma, pp 148 ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc void HistogramRatio(pp::UMAPrivate& uma, pp 157 ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc void HistogramKBPerSec(pp::UMAPrivate& uma, pp 166 ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc void HistogramEnumerateTranslationCache(pp::UMAPrivate& uma, bool hit) { pp 174 ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc void HistogramOptLevel(pp::UMAPrivate& uma, int8_t opt_level) { pp 198 ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc const pp::CompletionCallback& translate_notify_callback) { pp 224 ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc const pp::CompletionCallback& translate_notify_callback) pp 432 ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc pp::CompletionCallback cb = pp 458 ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc pp::CompletionCallback resource_info_read_cb = pp 469 ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc pp::CompletionCallback resources_cb = pp 492 ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc pp::CompletionCallback cb = pp 540 ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc pp::CompletionCallback cb = pp 549 ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc pp::CompletionCallback obj_cb = pp 559 ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc pp::CompletionCallback finish_cb = callback_factory_.NewCallback( pp 642 ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc pp::CompletionCallback PnaclCoordinator::GetCompileProgressCallback( pp 656 ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc pp::CompletionCallback PnaclCoordinator::GetUMATimeCallback( pp 682 ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc pp::CompletionCallback cb = pp 693 ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc pp::CompletionCallback report_translate_finished = pp 90 ppapi/native_client/src/trusted/plugin/pnacl_coordinator.h const pp::CompletionCallback& translate_notify_callback); pp 117 ppapi/native_client/src/trusted/plugin/pnacl_coordinator.h pp::CompletionCallback GetCompileProgressCallback(int64_t bytes_compiled); pp 121 ppapi/native_client/src/trusted/plugin/pnacl_coordinator.h pp::CompletionCallback GetUMATimeCallback(const nacl::string& event_name, pp 148 ppapi/native_client/src/trusted/plugin/pnacl_coordinator.h const pp::CompletionCallback& translate_notify_callback); pp 194 ppapi/native_client/src/trusted/plugin/pnacl_coordinator.h pp::CompletionCallback translate_notify_callback_; pp 202 ppapi/native_client/src/trusted/plugin/pnacl_coordinator.h pp::CompletionCallbackFactory<PnaclCoordinator, pp 203 ppapi/native_client/src/trusted/plugin/pnacl_coordinator.h pp::ThreadSafeThreadTraits> callback_factory_; pp 96 ppapi/native_client/src/trusted/plugin/pnacl_resources.cc const pp::CompletionCallback& resource_info_read_cb) { pp 144 ppapi/native_client/src/trusted/plugin/pnacl_resources.cc pp::Core* core = pp::Module::Get()->core(); pp 204 ppapi/native_client/src/trusted/plugin/pnacl_resources.cc const pp::CompletionCallback& all_loaded_callback) { pp 243 ppapi/native_client/src/trusted/plugin/pnacl_resources.cc pp::Core* core = pp::Module::Get()->core(); pp 63 ppapi/native_client/src/trusted/plugin/pnacl_resources.h const pp::CompletionCallback& resource_info_read_cb); pp 67 ppapi/native_client/src/trusted/plugin/pnacl_resources.h const pp::CompletionCallback& all_loaded_callback); pp 36 ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.cc const pp::CompletionCallback& finish_callback, pp 152 ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.cc pp::Core* core = pp::Module::Get()->core(); pp 327 ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.cc pp::Core* core = pp::Module::Get()->core(); pp 400 ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.cc pp::Core* core = pp::Module::Get()->core(); pp 44 ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.h void RunTranslate(const pp::CompletionCallback& finish_callback, pp 87 ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.h pp::CompletionCallback report_translate_finished_; pp 30 ppapi/native_client/src/trusted/plugin/sel_ldr_launcher_chrome.cc pp::CompletionCallback callback) { pp 32 ppapi/native_client/src/trusted/plugin/sel_ldr_launcher_chrome.cc pp::Module::Get()->core()->CallOnMainThread(0, callback, PP_ERROR_FAILED); pp 28 ppapi/native_client/src/trusted/plugin/sel_ldr_launcher_chrome.h pp::CompletionCallback callback); pp 76 ppapi/native_client/src/trusted/plugin/service_runtime.cc pp::CompletionCallback init_done_cb, pp 77 ppapi/native_client/src/trusted/plugin/service_runtime.cc pp::CompletionCallback crash_cb) pp 120 ppapi/native_client/src/trusted/plugin/service_runtime.cc pp::Module::Get()->core()->CallOnMainThread(0, init_done_cb_, PP_OK); pp 284 ppapi/native_client/src/trusted/plugin/service_runtime.cc pp::CompletionCallback stream_cc = WeakRefNewCallback( pp 376 ppapi/native_client/src/trusted/plugin/service_runtime.cc pp::Module::Get()->core()->CallOnMainThread(0, crash_cb_, PP_OK); pp 424 ppapi/native_client/src/trusted/plugin/service_runtime.cc pp::CompletionCallback init_done_cb, pp 425 ppapi/native_client/src/trusted/plugin/service_runtime.cc pp::CompletionCallback crash_cb) pp 554 ppapi/native_client/src/trusted/plugin/service_runtime.cc pp::CompletionCallback callback) { pp 568 ppapi/native_client/src/trusted/plugin/service_runtime.cc pp::Module::Get()->core()->CallOnMainThread(0, callback, PP_ERROR_FAILED); pp 571 ppapi/native_client/src/trusted/plugin/service_runtime.cc pp::CompletionCallback internal_callback = pp 590 ppapi/native_client/src/trusted/plugin/service_runtime.cc pp::CompletionCallback callback) { pp 596 ppapi/native_client/src/trusted/plugin/service_runtime.cc pp::Var var_error_message_cpp(pp::PASS_REF, start_sel_ldr_error_message_); pp 608 ppapi/native_client/src/trusted/plugin/service_runtime.cc pp::Module::Get()->core()->CallOnMainThread(0, callback, pp_error); pp 625 ppapi/native_client/src/trusted/plugin/service_runtime.cc const pp::CompletionCallback& crash_cb) { pp 649 ppapi/native_client/src/trusted/plugin/service_runtime.cc pp::Module::Get()->core()->CallOnMainThread(0, crash_cb, PP_OK); pp 36 ppapi/native_client/src/trusted/plugin/service_runtime.h namespace pp { pp 145 ppapi/native_client/src/trusted/plugin/service_runtime.h pp::CompletionCallback init_done_cb, pp 146 ppapi/native_client/src/trusted/plugin/service_runtime.h pp::CompletionCallback crash_cb); pp 172 ppapi/native_client/src/trusted/plugin/service_runtime.h const pp::FileIO& file_io); pp 202 ppapi/native_client/src/trusted/plugin/service_runtime.h pp::CompletionCallback init_done_cb_; pp 203 ppapi/native_client/src/trusted/plugin/service_runtime.h pp::CompletionCallback crash_cb_; pp 215 ppapi/native_client/src/trusted/plugin/service_runtime.h pp::CompletionCallback init_done_cb, pp 216 ppapi/native_client/src/trusted/plugin/service_runtime.h pp::CompletionCallback crash_cb); pp 222 ppapi/native_client/src/trusted/plugin/service_runtime.h pp::CompletionCallback callback); pp 237 ppapi/native_client/src/trusted/plugin/service_runtime.h const pp::CompletionCallback& crash_cb); pp 266 ppapi/native_client/src/trusted/plugin/service_runtime.h pp::CompletionCallback callback); pp 288 ppapi/native_client/src/trusted/plugin/service_runtime.h pp::CompletionCallbackFactory<ServiceRuntime> callback_factory_; pp 40 ppapi/native_client/src/trusted/plugin/temporary_file.cc void TempFile::Open(const pp::CompletionCallback& cb, bool writeable) { pp 50 ppapi/native_client/src/trusted/plugin/temporary_file.cc pp::Core* core = pp::Module::Get()->core(); pp 47 ppapi/native_client/src/trusted/plugin/temporary_file.h void Open(const pp::CompletionCallback& cb, bool writeable); pp 54 ppapi/native_client/src/trusted/weak_ref/call_on_main_thread.h template <typename R> pp::CompletionCallback WeakRefNewCallback( pp 61 ppapi/native_client/src/trusted/weak_ref/call_on_main_thread.h pp::CompletionCallback cc_nrvo( pp 73 ppapi/native_client/src/trusted/weak_ref/call_on_main_thread.h pp::CompletionCallback cc = pp 76 ppapi/native_client/src/trusted/weak_ref/call_on_main_thread.h pp::Module::Get()->core()->CallOnMainThread( pp 119 ppapi/native_client/src/trusted/weak_ref/call_on_main_thread.h template <typename R> pp::CompletionCallback WeakRefNewCallback( pp 136 ppapi/native_client/src/trusted/weak_ref/call_on_main_thread.h pp::CompletionCallback cc_nrvo( pp 147 ppapi/native_client/src/trusted/weak_ref/call_on_main_thread.h pp::CompletionCallback cc = pp 149 ppapi/native_client/src/trusted/weak_ref/call_on_main_thread.h pp::Module::Get()->core()->CallOnMainThread( pp 205 ppapi/native_client/src/trusted/weak_ref/call_on_main_thread.h pp::CompletionCallback WeakRefNewCallback( pp 238 ppapi/native_client/src/trusted/weak_ref/call_on_main_thread.h pp::CompletionCallback cc = pp 242 ppapi/native_client/src/trusted/weak_ref/call_on_main_thread.h pp::Module::Get()->core()->CallOnMainThread( pp 20 ppapi/native_client/src/untrusted/nacl_ppapi_util/nacl_ppapi_util.cc : pp::Instance(instance) { pp 190 ppapi/native_client/src/untrusted/nacl_ppapi_util/nacl_ppapi_util.h class NaClPpapiPluginInstance : public pp::Instance { pp 102 ppapi/native_client/tests/nacl_browser/fault_injection/fault_pm_nameservice_test.cc void Initialize(const pp::Var& message_data, nacl::StringBuffer* sb) { pp 124 ppapi/native_client/tests/nacl_browser/fault_injection/fault_pm_nameservice_test.cc void NameServiceDump(const pp::Var& message_data, nacl::StringBuffer* sb) { pp 132 ppapi/native_client/tests/nacl_browser/fault_injection/fault_pm_nameservice_test.cc void RngDump(const pp::Var& message_data, nacl::StringBuffer* sb) { pp 152 ppapi/native_client/tests/nacl_browser/fault_injection/fault_pm_nameservice_test.cc void ManifestTest(const pp::Var& message_data, nacl::StringBuffer* sb) { pp 188 ppapi/native_client/tests/nacl_browser/fault_injection/fault_pm_nameservice_test.cc void (*handler)(const pp::Var& message_data, nacl::StringBuffer* out); pp 192 ppapi/native_client/tests/nacl_browser/fault_injection/fault_pm_nameservice_test.cc class MyInstance : public pp::Instance { pp 194 ppapi/native_client/tests/nacl_browser/fault_injection/fault_pm_nameservice_test.cc explicit MyInstance(PP_Instance instance) : pp::Instance(instance) {} pp 196 ppapi/native_client/tests/nacl_browser/fault_injection/fault_pm_nameservice_test.cc virtual void HandleMessage(const pp::Var& message_data); pp 203 ppapi/native_client/tests/nacl_browser/fault_injection/fault_pm_nameservice_test.cc void MyInstance::HandleMessage(const pp::Var& message_data) { pp 210 ppapi/native_client/tests/nacl_browser/fault_injection/fault_pm_nameservice_test.cc reinterpret_cast<void (*)(const pp::Var&, nacl::StringBuffer*)>(NULL) } pp 240 ppapi/native_client/tests/nacl_browser/fault_injection/fault_pm_nameservice_test.cc PostMessage(pp::Var(sb.ToString())); pp 248 ppapi/native_client/tests/nacl_browser/fault_injection/fault_pm_nameservice_test.cc class MyModule : public pp::Module { pp 250 ppapi/native_client/tests/nacl_browser/fault_injection/fault_pm_nameservice_test.cc MyModule() : pp::Module() {} pp 254 ppapi/native_client/tests/nacl_browser/fault_injection/fault_pm_nameservice_test.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 58 ppapi/proxy/enter_proxy.h const pp::CompletionCallback& callback) pp 106 ppapi/proxy/enter_proxy.h const pp::CompletionCallback& callback) pp 1026 ppapi/proxy/ppb_instance_proxy.cc pp::CompletionCallback cb = callback_factory_.NewCallback( pp 76 ppapi/proxy/proxy_completion_callback_factory.h : public pp::CompletionCallbackFactory<T, ProxyNonThreadSafeThreadTraits> { pp 79 ppapi/proxy/proxy_completion_callback_factory.h : pp::CompletionCallbackFactory<T, ProxyNonThreadSafeThreadTraits>() {} pp 81 ppapi/proxy/proxy_completion_callback_factory.h : pp::CompletionCallbackFactory<T, ProxyNonThreadSafeThreadTraits>(t) {} pp 14 ppapi/tests/extensions/background_keepalive/background.cc class Instance : public pp::Instance { pp 17 ppapi/tests/extensions/background_keepalive/background.cc pp::Instance(instance), pp 25 ppapi/tests/extensions/background_keepalive/background.cc virtual void HandleMessage(const pp::Var& message_var) { pp 36 ppapi/tests/extensions/background_keepalive/background.cc pp::MessageLoop loop = pp::MessageLoop::GetCurrent(); pp 37 ppapi/tests/extensions/background_keepalive/background.cc pp::CompletionCallback c = callback_factory_.NewCallback( pp 43 ppapi/tests/extensions/background_keepalive/background.cc pp::CompletionCallbackFactory<Instance> callback_factory_; pp 48 ppapi/tests/extensions/background_keepalive/background.cc class Module : public pp::Module { pp 50 ppapi/tests/extensions/background_keepalive/background.cc Module() : pp::Module() {} pp 53 ppapi/tests/extensions/background_keepalive/background.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 18 ppapi/tests/extensions/socket/test_socket.cc using namespace pp; pp 19 ppapi/tests/extensions/socket/test_socket.cc using namespace pp::ext; pp 55 ppapi/tests/extensions/socket/test_socket.cc virtual void HandleMessage(const pp::Var& message_data) { pp 14 ppapi/tests/manual/delete_plugin.cc class MyInstance : public pp::Instance { pp 16 ppapi/tests/manual/delete_plugin.cc MyInstance(PP_Instance instance) : pp::Instance(instance) { pp 30 ppapi/tests/manual/delete_plugin.cc pp::Module::Get()->core()->CallOnMainThread(100, pp 44 ppapi/tests/manual/delete_plugin.cc pp::Var code("deletePlugin()"); pp 56 ppapi/tests/manual/delete_plugin.cc pp::CompletionCallbackFactory<MyInstance> factory_; pp 59 ppapi/tests/manual/delete_plugin.cc class MyModule : public pp::Module { pp 61 ppapi/tests/manual/delete_plugin.cc MyModule() : pp::Module() {} pp 64 ppapi/tests/manual/delete_plugin.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 37 ppapi/tests/test_audio.cc pp::Module::Get()->GetBrowserInterface(PPB_AUDIO_INTERFACE_1_1)); pp 39 ppapi/tests/test_audio.cc pp::Module::Get()->GetBrowserInterface(PPB_AUDIO_INTERFACE_1_0)); pp 41 ppapi/tests/test_audio.cc pp::Module::Get()->GetBrowserInterface(PPB_AUDIO_CONFIG_INTERFACE)); pp 43 ppapi/tests/test_audio.cc pp::Module::Get()->GetBrowserInterface(PPB_CORE_INTERFACE)); pp 15 ppapi/tests/test_audio_config.cc pp::Module::Get()->GetBrowserInterface(PPB_AUDIO_CONFIG_INTERFACE)); pp 17 ppapi/tests/test_audio_config.cc pp::Module::Get()->GetBrowserInterface(PPB_CORE_INTERFACE)); pp 220 ppapi/tests/test_broker.cc pp::Module::Get()->GetBrowserInterface(PPB_BROKER_TRUSTED_INTERFACE)); pp 38 ppapi/tests/test_browser_font.cc pp::Var families = pp::BrowserFont_Trusted::GetFontFamilies(instance_); pp 50 ppapi/tests/test_browser_font.cc pp::BrowserFontDescription desc; pp 51 ppapi/tests/test_browser_font.cc pp::BrowserFont_Trusted font(instance_, desc); pp 53 ppapi/tests/test_browser_font.cc int32_t length1 = font.MeasureText(pp::BrowserFontTextRun("WWW")); pp 55 ppapi/tests/test_browser_font.cc int32_t length2 = font.MeasureText(pp::BrowserFontTextRun("WWWWWWWW")); pp 62 ppapi/tests/test_browser_font.cc pp::BrowserFontDescription desc; pp 63 ppapi/tests/test_browser_font.cc pp::BrowserFont_Trusted font(instance_, desc); pp 69 ppapi/tests/test_browser_font.cc pp::BrowserFontTextRun run(mixed); pp 90 ppapi/tests/test_browser_font.cc pp::BrowserFontTextRun forced_run(mixed, false, true); pp 105 ppapi/tests/test_browser_font.cc pp::BrowserFontDescription desc; pp 106 ppapi/tests/test_browser_font.cc pp::BrowserFont_Trusted font(instance_, desc); pp 108 ppapi/tests/test_browser_font.cc pp::BrowserFontTextRun run("Hello, world"); pp 122 ppapi/tests/test_browser_font.cc pp::BrowserFontDescription desc; pp 123 ppapi/tests/test_browser_font.cc pp::BrowserFont_Trusted font(instance_, desc); pp 129 ppapi/tests/test_browser_font.cc pp::BrowserFontTextRun run(mixed); pp 134 ppapi/tests/test_browser_font.cc int pixel_width = font.MeasureText(pp::BrowserFontTextRun(mixed)); pp 149 ppapi/tests/test_browser_font.cc pp::BrowserFontTextRun forced_run(mixed, false, true); pp 164 ppapi/tests/test_browser_font.cc pp::BrowserFontDescription desc; pp 167 ppapi/tests/test_browser_font.cc pp::BrowserFont_Trusted font(instance_, desc); pp 169 ppapi/tests/test_browser_font.cc const pp::Size kSize(30, 10); pp 170 ppapi/tests/test_browser_font.cc pp::ImageData image(instance_, pp 180 ppapi/tests/test_browser_font.cc pp::Point(0, 10), // Baseline position. pp 18 ppapi/tests/test_buffer.cc pp::Module::Get()->GetBrowserInterface(PPB_BUFFER_DEV_INTERFACE)); pp 30 ppapi/tests/test_buffer.cc pp::Buffer_Dev zero_size(instance_, 0); pp 38 ppapi/tests/test_buffer.cc pp::Buffer_Dev buffer(instance_, 100); pp 57 ppapi/tests/test_buffer.cc pp::Resource null_resource; pp 63 ppapi/tests/test_buffer.cc pp::Graphics2D device(instance_, pp::Size(w, h), true); pp 70 ppapi/tests/test_buffer.cc pp::Buffer_Dev buffer(instance_, 100); pp 82 ppapi/tests/test_buffer.cc pp::Buffer_Dev *buffer = new pp::Buffer_Dev(instance_, kBufferSize); pp 100 ppapi/tests/test_buffer.cc pp::Buffer_Dev* copy = new pp::Buffer_Dev(*buffer); pp 116 ppapi/tests/test_case.cc pp::VarPrivate TestCase::GetTestObject() { pp 118 ppapi/tests/test_case.cc pp::deprecated::ScriptableObject* so = CreateTestObject(); pp 120 ppapi/tests/test_case.cc test_object_ = pp::VarPrivate(instance_, so); // Takes ownership. pp 145 ppapi/tests/test_case.cc void TestCase::HandleMessage(const pp::Var& message_data) { pp 148 ppapi/tests/test_case.cc void TestCase::DidChangeView(const pp::View& view) { pp 151 ppapi/tests/test_case.cc bool TestCase::HandleInputEvent(const pp::InputEvent& event) { pp 160 ppapi/tests/test_case.cc pp::deprecated::ScriptableObject* TestCase::CreateTestObject() { pp 202 ppapi/tests/test_case.cc return pp::Module::Get()->core()->GetTimeTicks(); pp 235 ppapi/tests/test_case.cc pp::Var leaked_var(pp::PASS_REF, vars[i]); pp 246 ppapi/tests/test_case.cc pp::CompletionCallback callback(&DoQuitMainMessageLoop, heap_instance); pp 247 ppapi/tests/test_case.cc pp::Module::Get()->core()->CallOnMainThread(0, callback); pp 32 ppapi/tests/test_case.h namespace pp { pp 65 ppapi/tests/test_case.h pp::VarPrivate GetTestObject(); pp 72 ppapi/tests/test_case.h virtual void HandleMessage(const pp::Var& message_data); pp 77 ppapi/tests/test_case.h virtual void DidChangeView(const pp::View& view); pp 82 ppapi/tests/test_case.h virtual bool HandleInputEvent(const pp::InputEvent& event); pp 107 ppapi/tests/test_case.h virtual pp::deprecated::ScriptableObject* CreateTestObject(); pp 149 ppapi/tests/test_case.h pp::MessageLoop background_loop(instance_); pp 178 ppapi/tests/test_case.h pp::MessageLoop loop) pp 207 ppapi/tests/test_case.h pp::MessageLoop loop_; pp 251 ppapi/tests/test_case.h pp::VarPrivate test_object_; pp 22 ppapi/tests/test_char_set.cc pp::Module::Get()->GetBrowserInterface(PPB_CHAR_SET_DEV_INTERFACE)); pp 24 ppapi/tests/test_char_set.cc pp::Module::Get()->GetBrowserInterface(PPB_CHARSET_TRUSTED_INTERFACE)); pp 42 ppapi/tests/test_char_set.cc pp::Memory_Dev memory; pp 225 ppapi/tests/test_char_set.cc pp::Memory_Dev memory; pp 358 ppapi/tests/test_char_set.cc pp::Var result(pp::PASS_REF, char_set_interface_->GetDefaultCharSet(0)); pp 362 ppapi/tests/test_char_set.cc result = pp::Var(pp::PASS_REF, pp 382 ppapi/tests/test_char_set.cc pp::Memory_Dev memory; pp 22 ppapi/tests/test_console.cc pp::Module::Get()->GetBrowserInterface(PPB_CONSOLE_INTERFACE)); pp 34 ppapi/tests/test_console.cc pp::Var source, pp 35 ppapi/tests/test_console.cc pp::Var message) { pp 49 ppapi/tests/test_console.cc pp::Var source(std::string("somewhere")); pp 53 ppapi/tests/test_console.cc TestConsoleSub(interface, pp_instance, source, pp::Var()); pp 54 ppapi/tests/test_console.cc TestConsoleSub(interface, pp_instance, source, pp::Var(pp::Var::Null())); pp 55 ppapi/tests/test_console.cc TestConsoleSub(interface, pp_instance, source, pp::Var(false)); pp 56 ppapi/tests/test_console.cc TestConsoleSub(interface, pp_instance, source, pp::Var(12345678)); pp 57 ppapi/tests/test_console.cc TestConsoleSub(interface, pp_instance, source, pp::Var(-0.0)); pp 58 ppapi/tests/test_console.cc TestConsoleSub(interface, pp_instance, source, pp::Var("Hello World!")); pp 59 ppapi/tests/test_console.cc TestConsoleSub(interface, pp_instance, source, pp::VarArray()); pp 60 ppapi/tests/test_console.cc TestConsoleSub(interface, pp_instance, source, pp::VarArrayBuffer()); pp 61 ppapi/tests/test_console.cc TestConsoleSub(interface, pp_instance, source, pp::VarDictionary()); pp 24 ppapi/tests/test_core.cc pp::Core* core = pp::Module::Get()->core(); pp 37 ppapi/tests/test_core.cc pp::Core* core = pp::Module::Get()->core(); pp 20 ppapi/tests/test_crypto.cc pp::Module::Get()->GetBrowserInterface(PPB_CRYPTO_DEV_INTERFACE)); pp 20 ppapi/tests/test_cursor_control.cc pp::Module::Get()->GetBrowserInterface(PPB_CURSOR_CONTROL_DEV_INTERFACE)); pp 83 ppapi/tests/test_file_io.cc pp::FileIO* file_io, pp 106 ppapi/tests/test_file_io.cc pp::FileIO* file_io, pp 145 ppapi/tests/test_file_io.cc pp::FileIO* file_io, pp 197 ppapi/tests/test_file_io.cc pp::FileSystem file_system(instance_, PP_FILESYSTEMTYPE_LOCALTEMPORARY); pp 198 ppapi/tests/test_file_io.cc pp::FileRef file_ref(file_system, "/file_open"); pp 292 ppapi/tests/test_file_io.cc pp::FileSystem file_system(instance_, PP_FILESYSTEMTYPE_LOCALTEMPORARY); pp 298 ppapi/tests/test_file_io.cc pp::FileRef dir_ref(file_system, "/test_dir_open_directory"); pp 306 ppapi/tests/test_file_io.cc pp::FileIO file_io(instance_); pp 318 ppapi/tests/test_file_io.cc pp::FileSystem file_system(instance_, PP_FILESYSTEMTYPE_LOCALTEMPORARY); pp 319 ppapi/tests/test_file_io.cc pp::FileRef file_ref(file_system, "/file_read_write_setlength"); pp 324 ppapi/tests/test_file_io.cc pp::FileIO file_io(instance_); pp 418 ppapi/tests/test_file_io.cc pp::FileIO file_io2(instance_); pp 446 ppapi/tests/test_file_io.cc pp::FileSystem file_system(instance_, PP_FILESYSTEMTYPE_LOCALTEMPORARY); pp 447 ppapi/tests/test_file_io.cc pp::FileRef file_ref(file_system, "/file_read_write_setlength"); pp 452 ppapi/tests/test_file_io.cc pp::FileIO file_io(instance_); pp 550 ppapi/tests/test_file_io.cc pp::FileSystem file_system(instance_, PP_FILESYSTEMTYPE_LOCALTEMPORARY); pp 555 ppapi/tests/test_file_io.cc pp::FileRef file_ref(file_system, "/file_touch"); pp 556 ppapi/tests/test_file_io.cc pp::FileIO file_io(instance_); pp 607 ppapi/tests/test_file_io.cc pp::FileSystem file_system(instance_, PP_FILESYSTEMTYPE_LOCALTEMPORARY); pp 608 ppapi/tests/test_file_io.cc pp::FileRef file_ref(file_system, "/file_abort_calls"); pp 616 ppapi/tests/test_file_io.cc pp::FileIO file_io(instance_); pp 632 ppapi/tests/test_file_io.cc rv = pp::FileIO(instance_) pp 645 ppapi/tests/test_file_io.cc pp::FileIO file_io(instance_); pp 668 ppapi/tests/test_file_io.cc pp::FileIO file_io(instance_); pp 684 ppapi/tests/test_file_io.cc pp::FileIO file_io(instance_); pp 709 ppapi/tests/test_file_io.cc pp::FileIO file_io(instance_); pp 728 ppapi/tests/test_file_io.cc pp::FileIO file_io(instance_); pp 743 ppapi/tests/test_file_io.cc pp::FileIO file_io(instance_); pp 760 ppapi/tests/test_file_io.cc pp::FileSystem file_system(instance_, PP_FILESYSTEMTYPE_LOCALTEMPORARY); pp 761 ppapi/tests/test_file_io.cc pp::FileRef file_ref(file_system, "/file_parallel_reads"); pp 766 ppapi/tests/test_file_io.cc pp::FileIO file_io(instance_); pp 847 ppapi/tests/test_file_io.cc pp::FileSystem file_system(instance_, PP_FILESYSTEMTYPE_LOCALTEMPORARY); pp 848 ppapi/tests/test_file_io.cc pp::FileRef file_ref(file_system, "/file_parallel_writes"); pp 853 ppapi/tests/test_file_io.cc pp::FileIO file_io(instance_); pp 926 ppapi/tests/test_file_io.cc pp::FileSystem file_system(instance_, PP_FILESYSTEMTYPE_LOCALTEMPORARY); pp 927 ppapi/tests/test_file_io.cc pp::FileRef file_ref(file_system, "/file_not_allow_mixed_read_write"); pp 932 ppapi/tests/test_file_io.cc pp::FileIO file_io(instance_); pp 997 ppapi/tests/test_file_io.cc pp::FileSystem file_system(instance_, PP_FILESYSTEMTYPE_LOCALTEMPORARY); pp 998 ppapi/tests/test_file_io.cc pp::FileRef file_ref(file_system, "/file_os_fd"); pp 1003 ppapi/tests/test_file_io.cc pp::FileIO_Private file_io(instance_); pp 1012 ppapi/tests/test_file_io.cc TestCompletionCallbackWithOutput<pp::PassFileHandle> output_callback( pp 1069 ppapi/tests/test_file_io.cc pp::FileSystem file_system(instance_, PP_FILESYSTEMTYPE_LOCALTEMPORARY); pp 1070 ppapi/tests/test_file_io.cc pp::FileRef file_ref(file_system, "/file_os_fd2"); pp 1079 ppapi/tests/test_file_io.cc pp::FileIO_Private file_io(instance_); pp 1088 ppapi/tests/test_file_io.cc TestCompletionCallbackWithOutput<pp::PassFileHandle> output_callback( pp 1104 ppapi/tests/test_file_io.cc pp::FileSystem file_system(instance_, PP_FILESYSTEMTYPE_LOCALTEMPORARY); pp 1105 ppapi/tests/test_file_io.cc pp::FileRef file_ref(file_system, "/file_os_fd"); pp 1110 ppapi/tests/test_file_io.cc pp::FileIO_Private file_io(instance_); pp 1119 ppapi/tests/test_file_io.cc TestCompletionCallbackWithOutput<pp::PassFileHandle> output_callback( pp 1196 ppapi/tests/test_file_io.cc file_io = pp::FileIO_Private(instance_); pp 1202 ppapi/tests/test_file_io.cc output_callback = TestCompletionCallbackWithOutput<pp::PassFileHandle>( pp 1267 ppapi/tests/test_file_io.cc std::string TestFileIO::MatchOpenExpectations(pp::FileSystem* file_system, pp 1290 ppapi/tests/test_file_io.cc pp::FileRef existent_file_ref( pp 1292 ppapi/tests/test_file_io.cc pp::FileRef nonexistent_file_ref( pp 1306 ppapi/tests/test_file_io.cc pp::FileIO existent_file_io(instance_); pp 1318 ppapi/tests/test_file_io.cc pp::FileIO existent_file_io(instance_); pp 1338 ppapi/tests/test_file_io.cc pp::FileIO nonexistent_file_io(instance_); pp 12 ppapi/tests/test_file_io.h namespace pp { pp 59 ppapi/tests/test_file_io.h std::string MatchOpenExpectations(pp::FileSystem* file_system, pp 28 ppapi/tests/test_file_mapping.cc pp::FileIO* file_io, pp 51 ppapi/tests/test_file_mapping.cc pp::FileIO* file_io, pp 81 ppapi/tests/test_file_mapping.cc pp::FileSystem file_system(instance_, PP_FILESYSTEMTYPE_LOCALTEMPORARY); pp 82 ppapi/tests/test_file_mapping.cc pp::FileRef file_ref(file_system, "/mapped_file"); pp 94 ppapi/tests/test_file_mapping.cc pp::FileIO file_io(instance_); pp 197 ppapi/tests/test_file_mapping.cc pp::Module::Get()->GetBrowserInterface(PPB_FILEMAPPING_INTERFACE_0_1)); pp 211 ppapi/tests/test_file_mapping.cc pp::FileSystem file_system(instance_, PP_FILESYSTEMTYPE_LOCALTEMPORARY); pp 212 ppapi/tests/test_file_mapping.cc pp::FileRef file_ref(file_system, "/mapped_file"); pp 224 ppapi/tests/test_file_mapping.cc pp::FileIO file_io(instance_); pp 419 ppapi/tests/test_file_mapping.cc pp::FileSystem file_system(instance_, PP_FILESYSTEMTYPE_LOCALTEMPORARY); pp 420 ppapi/tests/test_file_mapping.cc pp::FileRef file_ref1(file_system, "/mapped_file1"); pp 421 ppapi/tests/test_file_mapping.cc pp::FileRef file_ref2(file_system, "/mapped_file2"); pp 431 ppapi/tests/test_file_mapping.cc pp::FileIO file_io1(instance_); pp 474 ppapi/tests/test_file_mapping.cc pp::FileIO file_io2(instance_); pp 38 ppapi/tests/test_file_ref.cc typedef std::vector<pp::DirectoryEntry> DirEntries; pp 53 ppapi/tests/test_file_ref.cc std::string TestFileRef::MakeExternalFileRef(pp::FileRef* file_ref_ext) { pp 54 ppapi/tests/test_file_ref.cc pp::URLRequestInfo request(instance_); pp 60 ppapi/tests/test_file_ref.cc pp::URLLoader loader(instance_); pp 65 ppapi/tests/test_file_ref.cc pp::URLResponseInfo response_info(loader.GetResponseInfo()); pp 69 ppapi/tests/test_file_ref.cc *file_ref_ext = pp::FileRef(response_info.GetBodyAsFileRef()); pp 74 ppapi/tests/test_file_ref.cc int32_t TestFileRef::DeleteDirectoryRecursively(pp::FileRef* dir) { pp 92 ppapi/tests/test_file_ref.cc pp::FileRef file_ref = it->file_ref(); pp 134 ppapi/tests/test_file_ref.cc pp::FileSystem file_system_pers( pp 136 ppapi/tests/test_file_ref.cc pp::FileSystem file_system_temp( pp 139 ppapi/tests/test_file_ref.cc pp::FileRef file_ref_pers(file_system_pers, invalid_paths[j].c_str()); pp 144 ppapi/tests/test_file_ref.cc pp::FileRef file_ref_temp(file_system_temp, invalid_paths[j].c_str()); pp 154 ppapi/tests/test_file_ref.cc pp::FileSystem file_system_pers( pp 156 ppapi/tests/test_file_ref.cc pp::FileSystem file_system_temp( pp 159 ppapi/tests/test_file_ref.cc pp::FileRef file_ref_pers(file_system_pers, kPersFilePath); pp 163 ppapi/tests/test_file_ref.cc pp::FileRef file_ref_temp(file_system_temp, kTempFilePath); pp 167 ppapi/tests/test_file_ref.cc pp::FileRef file_ref_ext; pp 175 ppapi/tests/test_file_ref.cc pp::FileSystem file_system_pers( pp 177 ppapi/tests/test_file_ref.cc pp::FileSystem file_system_temp( pp 180 ppapi/tests/test_file_ref.cc pp::FileRef file_ref_pers(file_system_pers, kPersFilePath); pp 185 ppapi/tests/test_file_ref.cc pp::FileRef file_ref_temp(file_system_temp, kTempFilePath); pp 191 ppapi/tests/test_file_ref.cc pp::FileRef file_ref_slash(file_system_temp, "/"); pp 196 ppapi/tests/test_file_ref.cc pp::URLRequestInfo request(instance_); pp 202 ppapi/tests/test_file_ref.cc pp::URLLoader loader(instance_); pp 207 ppapi/tests/test_file_ref.cc pp::URLResponseInfo response_info(loader.GetResponseInfo()); pp 211 ppapi/tests/test_file_ref.cc pp::FileRef file_ref_ext(response_info.GetBodyAsFileRef()); pp 219 ppapi/tests/test_file_ref.cc pp::FileSystem file_system_pers( pp 221 ppapi/tests/test_file_ref.cc pp::FileSystem file_system_temp( pp 224 ppapi/tests/test_file_ref.cc pp::FileRef file_ref_pers(file_system_pers, kPersFilePath); pp 227 ppapi/tests/test_file_ref.cc pp::FileRef file_ref_temp(file_system_temp, kTempFilePath); pp 230 ppapi/tests/test_file_ref.cc pp::URLRequestInfo request(instance_); pp 236 ppapi/tests/test_file_ref.cc pp::URLLoader loader(instance_); pp 241 ppapi/tests/test_file_ref.cc pp::URLResponseInfo response_info(loader.GetResponseInfo()); pp 245 ppapi/tests/test_file_ref.cc pp::FileRef file_ref_ext(response_info.GetBodyAsFileRef()); pp 252 ppapi/tests/test_file_ref.cc pp::FileSystem file_system_pers( pp 254 ppapi/tests/test_file_ref.cc pp::FileSystem file_system_temp( pp 257 ppapi/tests/test_file_ref.cc pp::FileRef file_ref_pers(file_system_pers, kPersFilePath); pp 260 ppapi/tests/test_file_ref.cc pp::FileRef file_ref_temp(file_system_temp, kTempFilePath); pp 264 ppapi/tests/test_file_ref.cc pp::FileRef file_ref_slash(file_system_temp, "/"); pp 268 ppapi/tests/test_file_ref.cc pp::FileRef file_ref_with_root_parent(file_system_temp, "/foo"); pp 271 ppapi/tests/test_file_ref.cc pp::URLRequestInfo request(instance_); pp 277 ppapi/tests/test_file_ref.cc pp::URLLoader loader(instance_); pp 282 ppapi/tests/test_file_ref.cc pp::URLResponseInfo response_info(loader.GetResponseInfo()); pp 286 ppapi/tests/test_file_ref.cc pp::FileRef file_ref_ext(response_info.GetBodyAsFileRef()); pp 296 ppapi/tests/test_file_ref.cc pp::FileSystem file_system(instance_, PP_FILESYSTEMTYPE_LOCALTEMPORARY); pp 302 ppapi/tests/test_file_ref.cc pp::FileRef dir_ref(file_system, "/dir_make_dir"); pp 317 ppapi/tests/test_file_ref.cc rv = pp::FileRef(file_system, "/dir_make_dir_abort") pp 324 ppapi/tests/test_file_ref.cc dir_ref = pp::FileRef(file_system, "/dir_make_nested_dir_1/dir"); pp 331 ppapi/tests/test_file_ref.cc dir_ref = pp::FileRef(file_system, "/dir_make_nested_dir_2/dir"); pp 338 ppapi/tests/test_file_ref.cc dir_ref = pp::FileRef(file_system, "/dir_make_dir_exclusive"); pp 360 ppapi/tests/test_file_ref.cc pp::FileSystem file_system(instance_, PP_FILESYSTEMTYPE_LOCALTEMPORARY); pp 365 ppapi/tests/test_file_ref.cc pp::FileRef file_ref(file_system, "/file_touch"); pp 366 ppapi/tests/test_file_ref.cc pp::FileIO file_io(instance_); pp 394 ppapi/tests/test_file_ref.cc rv = pp::FileRef(file_system, "/file_touch_abort") pp 425 ppapi/tests/test_file_ref.cc rv = pp::FileRef(file_system, "/file_touch").Touch( pp 436 ppapi/tests/test_file_ref.cc pp::FileSystem file_system(instance_, PP_FILESYSTEMTYPE_LOCALTEMPORARY); pp 441 ppapi/tests/test_file_ref.cc pp::FileRef file_ref(file_system, "/file_delete"); pp 442 ppapi/tests/test_file_ref.cc pp::FileIO file_io(instance_); pp 452 ppapi/tests/test_file_ref.cc pp::FileRef dir_ref(file_system, "/dir_delete"); pp 462 ppapi/tests/test_file_ref.cc pp::FileRef nested_dir_ref(file_system, "/dir_delete_1/dir_delete_2"); pp 470 ppapi/tests/test_file_ref.cc pp::FileRef parent_dir_ref = nested_dir_ref.GetParent(); pp 475 ppapi/tests/test_file_ref.cc pp::FileRef nonexistent_file_ref(file_system, "/nonexistent_file_delete"); pp 483 ppapi/tests/test_file_ref.cc pp::FileRef file_ref_abort(file_system, "/file_delete_abort"); pp 484 ppapi/tests/test_file_ref.cc pp::FileIO file_io_abort(instance_); pp 500 ppapi/tests/test_file_ref.cc pp::FileSystem file_system(instance_, PP_FILESYSTEMTYPE_LOCALTEMPORARY); pp 505 ppapi/tests/test_file_ref.cc pp::FileRef file_ref(file_system, "/file_rename"); pp 506 ppapi/tests/test_file_ref.cc pp::FileIO file_io(instance_); pp 512 ppapi/tests/test_file_ref.cc pp::FileRef target_file_ref(file_system, "/target_file_rename"); pp 518 ppapi/tests/test_file_ref.cc pp::FileRef dir_ref(file_system, "/dir_rename"); pp 524 ppapi/tests/test_file_ref.cc pp::FileRef target_dir_ref(file_system, "/target_dir_rename"); pp 530 ppapi/tests/test_file_ref.cc pp::FileRef nested_dir_ref(file_system, "/dir_rename_1/dir_rename_2"); pp 538 ppapi/tests/test_file_ref.cc pp::FileRef target_nested_dir_ref(file_system, "/dir_rename_1"); pp 548 ppapi/tests/test_file_ref.cc pp::FileRef target_file_ref_abort(file_system, pp 551 ppapi/tests/test_file_ref.cc pp::FileRef file_ref_abort(file_system, "/file_rename_abort"); pp 552 ppapi/tests/test_file_ref.cc pp::FileIO file_io_abort(instance_); pp 570 ppapi/tests/test_file_ref.cc pp::FileSystem file_system(instance_, PP_FILESYSTEMTYPE_LOCALTEMPORARY); pp 575 ppapi/tests/test_file_ref.cc pp::FileRef file_ref(file_system, "/file"); pp 576 ppapi/tests/test_file_ref.cc pp::FileIO file_io(instance_); pp 601 ppapi/tests/test_file_ref.cc pp::FileRef file_ref_ext; pp 621 ppapi/tests/test_file_ref.cc pp::FileRef missing_file_ref(file_system, "/missing_file"); pp 632 ppapi/tests/test_file_ref.cc pp::FileSystem file_system(instance_, PP_FILESYSTEMTYPE_LOCALTEMPORARY); pp 639 ppapi/tests/test_file_ref.cc pp::FileRef test_dir_ref(file_system, test_dir_path.c_str()); pp 647 ppapi/tests/test_file_ref.cc pp::FileRef file_ref(file_system, full_file_path.c_str()); pp 648 ppapi/tests/test_file_ref.cc pp::FileIO file_io(instance_); pp 674 ppapi/tests/test_file_ref.cc pp::FileSystem file_system( pp 685 ppapi/tests/test_file_ref.cc pp::FileRef test_dir(file_system, test_dir_name); pp 699 ppapi/tests/test_file_ref.cc pp::FileRef file_ref(file_system, buffer.str().c_str()); pp 701 ppapi/tests/test_file_ref.cc pp::FileIO file_io(instance_); pp 715 ppapi/tests/test_file_ref.cc pp::FileRef file_ref(file_system, buffer.str().c_str()); pp 742 ppapi/tests/test_file_ref.cc pp::FileRef file_ref = it->file_ref(); pp 767 ppapi/tests/test_file_ref.cc rv = pp::FileRef(file_system, test_dir_name) pp 12 ppapi/tests/test_file_ref.h namespace pp { pp 27 ppapi/tests/test_file_ref.h std::string MakeExternalFileRef(pp::FileRef* file_ref_ext); pp 29 ppapi/tests/test_file_ref.h int32_t DeleteDirectoryRecursively(pp::FileRef* dir); pp 32 ppapi/tests/test_file_system.cc pp::FileSystem file_system(instance_, PP_FILESYSTEMTYPE_LOCALTEMPORARY); pp 40 ppapi/tests/test_file_system.cc pp::FileSystem fs(instance_, PP_FILESYSTEMTYPE_LOCALTEMPORARY); pp 53 ppapi/tests/test_file_system.cc pp::FileSystem file_system(instance_, PP_FILESYSTEMTYPE_LOCALTEMPORARY); pp 76 ppapi/tests/test_file_system.cc pp::FileSystem file_system(instance_, PP_FILESYSTEMTYPE_LOCALTEMPORARY); pp 77 ppapi/tests/test_file_system.cc pp::Resource file_system_resource(file_system); pp 78 ppapi/tests/test_file_system.cc ASSERT_TRUE(pp::FileSystem::IsFileSystem(file_system_resource)); pp 79 ppapi/tests/test_file_system.cc pp::FileSystem file_system_resource_file_system(file_system_resource); pp 85 ppapi/tests/test_file_system.cc pp::FileIO non_file_system(instance_); pp 86 ppapi/tests/test_file_system.cc pp::Resource non_file_system_resource(non_file_system); pp 87 ppapi/tests/test_file_system.cc ASSERT_FALSE(pp::FileSystem::IsFileSystem(non_file_system_resource)); pp 17 ppapi/tests/test_flash.cc using pp::flash::Flash; pp 18 ppapi/tests/test_flash.cc using pp::Var; pp 73 ppapi/tests/test_flash.cc Var result = Flash::GetCommandLineArgs(pp::Module::Get()); pp 105 ppapi/tests/test_flash.cc pp::InstanceHandle(static_cast<PP_Instance>(0)), pp 108 ppapi/tests/test_flash.cc result = Flash::GetSetting(pp::InstanceHandle(static_cast<PP_Instance>(0)), pp 111 ppapi/tests/test_flash.cc result = Flash::GetSetting(pp::InstanceHandle(static_cast<PP_Instance>(0)), pp 119 ppapi/tests/test_flash.cc pp::Var url("http://..."); pp 33 ppapi/tests/test_flash.h pp::CompletionCallbackFactory<TestFlash> callback_factory_; pp 46 ppapi/tests/test_flash_clipboard.cc pp::Var text; pp 47 ppapi/tests/test_flash_clipboard.cc bool success = pp::flash::Clipboard::ReadData( pp 62 ppapi/tests/test_flash_clipboard.cc std::vector<pp::Var> data_vector(1, pp::Var(text)); pp 63 ppapi/tests/test_flash_clipboard.cc bool success = pp::flash::Clipboard::WriteData( pp 74 ppapi/tests/test_flash_clipboard.cc bool is_available = pp::flash::Clipboard::IsFormatAvailable( pp 120 ppapi/tests/test_flash_clipboard.cc pp::flash::Clipboard::GetSequenceNumber( pp 154 ppapi/tests/test_flash_clipboard.cc pp::VarArrayBuffer array_buffer(rtf_string.size()); pp 158 ppapi/tests/test_flash_clipboard.cc std::vector<pp::Var> data_vector(1, array_buffer); pp 159 ppapi/tests/test_flash_clipboard.cc ASSERT_TRUE(pp::flash::Clipboard::WriteData( pp 167 ppapi/tests/test_flash_clipboard.cc pp::Var rtf_result; pp 168 ppapi/tests/test_flash_clipboard.cc ASSERT_TRUE(pp::flash::Clipboard::ReadData( pp 174 ppapi/tests/test_flash_clipboard.cc pp::VarArrayBuffer array_buffer_result(rtf_result); pp 185 ppapi/tests/test_flash_clipboard.cc pp::VarArrayBuffer array_buffer(custom_data.size()); pp 189 ppapi/tests/test_flash_clipboard.cc pp::flash::Clipboard::RegisterCustomFormat(instance_, "my-format"); pp 194 ppapi/tests/test_flash_clipboard.cc std::vector<pp::Var> data_vector(1, array_buffer); pp 195 ppapi/tests/test_flash_clipboard.cc ASSERT_TRUE(pp::flash::Clipboard::WriteData( pp 203 ppapi/tests/test_flash_clipboard.cc pp::Var custom_data_result; pp 204 ppapi/tests/test_flash_clipboard.cc ASSERT_TRUE(pp::flash::Clipboard::ReadData( pp 210 ppapi/tests/test_flash_clipboard.cc pp::VarArrayBuffer array_buffer_result(custom_data_result); pp 221 ppapi/tests/test_flash_clipboard.cc std::vector<pp::Var> data; pp 223 ppapi/tests/test_flash_clipboard.cc data.push_back(pp::Var("plain text")); pp 225 ppapi/tests/test_flash_clipboard.cc data.push_back(pp::Var("html")); pp 226 ppapi/tests/test_flash_clipboard.cc bool success = pp::flash::Clipboard::WriteData( pp 246 ppapi/tests/test_flash_clipboard.cc bool success = pp::flash::Clipboard::WriteData( pp 250 ppapi/tests/test_flash_clipboard.cc std::vector<pp::Var>()); pp 271 ppapi/tests/test_flash_clipboard.cc pp::flash::Clipboard::RegisterCustomFormat(instance_, std::string()); pp 276 ppapi/tests/test_flash_clipboard.cc format_id = pp::flash::Clipboard::RegisterCustomFormat(instance_, "a-b"); pp 289 ppapi/tests/test_flash_clipboard.cc pp::flash::Clipboard::RegisterCustomFormat(instance_, "a-b"); pp 294 ppapi/tests/test_flash_clipboard.cc pp::flash::Clipboard::RegisterCustomFormat(instance_, "a-b-c"); pp 303 ppapi/tests/test_flash_clipboard.cc ASSERT_TRUE(pp::flash::Clipboard::GetSequenceNumber( pp 314 ppapi/tests/test_flash_clipboard.cc pp::VarArrayBuffer array_buffer(custom_data.size()); pp 318 ppapi/tests/test_flash_clipboard.cc pp::flash::Clipboard::RegisterCustomFormat(instance_, "my-format"); pp 320 ppapi/tests/test_flash_clipboard.cc std::vector<pp::Var> data_vector(1, array_buffer); pp 321 ppapi/tests/test_flash_clipboard.cc ASSERT_TRUE(pp::flash::Clipboard::WriteData(instance_, pp 330 ppapi/tests/test_flash_clipboard.cc pp::Var custom_data_result; pp 331 ppapi/tests/test_flash_clipboard.cc ASSERT_TRUE(pp::flash::Clipboard::ReadData( pp 336 ppapi/tests/test_flash_clipboard.cc ASSERT_TRUE(pp::flash::Clipboard::GetSequenceNumber( pp 342 ppapi/tests/test_flash_clipboard.cc pp::flash::Clipboard::WriteData(instance_, pp 345 ppapi/tests/test_flash_clipboard.cc std::vector<pp::Var>()); pp 23 ppapi/tests/test_flash_drm.cc using pp::flash::DeviceID; pp 24 ppapi/tests/test_flash_drm.cc using pp::flash::DRM; pp 25 ppapi/tests/test_flash_drm.cc using pp::FileRef; pp 26 ppapi/tests/test_flash_drm.cc using pp::PassRef; pp 27 ppapi/tests/test_flash_drm.cc using pp::Var; pp 111 ppapi/tests/test_flash_drm.cc pp::Module::Get()->GetBrowserInterface(PPB_FILEREFPRIVATE_INTERFACE)); pp 25 ppapi/tests/test_flash_drm.h pp::CompletionCallbackFactory<TestFlashDRM> callback_factory_; pp 24 ppapi/tests/test_flash_file.cc using pp::flash::FileModuleLocal; pp 26 ppapi/tests/test_flash_fullscreen.cc bool IsFullscreenView(const pp::Rect& position, pp 27 ppapi/tests/test_flash_fullscreen.cc const pp::Rect& clip, pp 28 ppapi/tests/test_flash_fullscreen.cc const pp::Size& screen_size) { pp 29 ppapi/tests/test_flash_fullscreen.cc return (position.point() == pp::Point(0, 0) && pp 31 ppapi/tests/test_flash_fullscreen.cc clip.point() == pp::Point(0, 0) && pp 75 ppapi/tests/test_flash_fullscreen.cc pp::Graphics2D graphics2d_fullscreen(instance_, pp::Size(10, 10), false); pp 110 ppapi/tests/test_flash_fullscreen.cc pp::Graphics2D graphics2d_normal(instance_, pp::Size(15, 15), false); pp 137 ppapi/tests/test_flash_fullscreen.cc void TestFlashFullscreen::DidChangeView(const pp::View& view) { pp 138 ppapi/tests/test_flash_fullscreen.cc pp::Rect position = view.GetRect(); pp 139 ppapi/tests/test_flash_fullscreen.cc pp::Rect clip = view.GetClipRect(); pp 15 ppapi/tests/test_flash_fullscreen.h namespace pp { pp 26 ppapi/tests/test_flash_fullscreen.h virtual void DidChangeView(const pp::View& view); pp 32 ppapi/tests/test_flash_fullscreen.h pp::FlashFullscreen screen_mode_; pp 33 ppapi/tests/test_flash_fullscreen.h pp::Size screen_size_; pp 32 ppapi/tests/test_flash_message_loop.cc message_loop_ = new pp::flash::MessageLoop(instance_); pp 34 ppapi/tests/test_flash_message_loop.cc pp::CompletionCallback callback = callback_factory_.NewCallback( pp 36 ppapi/tests/test_flash_message_loop.cc pp::Module::Get()->core()->CallOnMainThread(0, callback); pp 48 ppapi/tests/test_flash_message_loop.cc message_loop_ = new pp::flash::MessageLoop(instance_); pp 50 ppapi/tests/test_flash_message_loop.cc pp::CompletionCallback callback = callback_factory_.NewCallback( pp 52 ppapi/tests/test_flash_message_loop.cc pp::Module::Get()->core()->CallOnMainThread(0, callback); pp 14 ppapi/tests/test_flash_message_loop.h namespace pp { pp 35 ppapi/tests/test_flash_message_loop.h pp::flash::MessageLoop* message_loop_; pp 36 ppapi/tests/test_flash_message_loop.h pp::CompletionCallbackFactory<TestFlashMessageLoop> callback_factory_; pp 37 ppapi/tests/test_fullscreen.cc bool HasMidScreen(const pp::Rect& position, const pp::Size& screen_size) { pp 66 ppapi/tests/test_fullscreen.cc graphics2d_ = pp::Graphics2D(instance_, screen_size_, true); pp 153 ppapi/tests/test_fullscreen.cc pp::Point plugin_center( pp 156 ppapi/tests/test_fullscreen.cc pp::Point mouse_movement; pp 157 ppapi/tests/test_fullscreen.cc pp::MouseInputEvent input_event( pp 190 ppapi/tests/test_fullscreen.cc bool TestFullscreen::HandleInputEvent(const pp::InputEvent& event) { pp 211 ppapi/tests/test_fullscreen.cc bool TestFullscreen::PaintPlugin(pp::Size size, ColorPremul color) { pp 213 ppapi/tests/test_fullscreen.cc PP_ImageDataFormat image_format = pp::ImageData::GetNativeImageDataFormat(); pp 217 ppapi/tests/test_fullscreen.cc pp::Point origin(0, 0); pp 219 ppapi/tests/test_fullscreen.cc pp::ImageData image(instance_, image_format, size, false); pp 227 ppapi/tests/test_fullscreen.cc pp::CompletionCallback cc(FlushCallbackCheckImageData, this); pp 235 ppapi/tests/test_fullscreen.cc PP_ImageDataFormat image_format = pp::ImageData::GetNativeImageDataFormat(); pp 236 ppapi/tests/test_fullscreen.cc pp::ImageData readback(instance_, image_format, painted_size_, false); pp 237 ppapi/tests/test_fullscreen.cc pp::Point origin(0, 0); pp 247 ppapi/tests/test_fullscreen.cc uint32_t* readback_color = readback.GetAddr32(pp::Point(x, y)); pp 273 ppapi/tests/test_fullscreen.cc void TestFullscreen::DidChangeView(const pp::View& view) { pp 274 ppapi/tests/test_fullscreen.cc pp::Rect position = view.GetRect(); pp 275 ppapi/tests/test_fullscreen.cc pp::Rect clip = view.GetClipRect(); pp 17 ppapi/tests/test_fullscreen.h namespace pp { pp 30 ppapi/tests/test_fullscreen.h virtual bool HandleInputEvent(const pp::InputEvent& event); pp 31 ppapi/tests/test_fullscreen.h virtual void DidChangeView(const pp::View& view); pp 44 ppapi/tests/test_fullscreen.h bool PaintPlugin(pp::Size size, ColorPremul color); pp 51 ppapi/tests/test_fullscreen.h pp::Fullscreen screen_mode_; pp 52 ppapi/tests/test_fullscreen.h pp::Size screen_size_; pp 53 ppapi/tests/test_fullscreen.h pp::Rect normal_position_; pp 54 ppapi/tests/test_fullscreen.h pp::Size painted_size_; pp 59 ppapi/tests/test_fullscreen.h pp::Graphics2D graphics2d_; pp 28 ppapi/tests/test_graphics_2d.cc bool CanFlushContext(pp::Instance* instance, pp::Graphics2D* context) { pp 34 ppapi/tests/test_graphics_2d.cc bool CanFlushContextC(pp::Instance* instance, PP_Resource graphics_2d, pp 52 ppapi/tests/test_graphics_2d.cc pp::Module::Get()->GetBrowserInterface(PPB_GRAPHICS_2D_INTERFACE_1_1)); pp 54 ppapi/tests/test_graphics_2d.cc pp::Module::Get()->GetBrowserInterface(PPB_IMAGEDATA_INTERFACE_1_0)); pp 80 ppapi/tests/test_graphics_2d.cc bool TestGraphics2D::ReadImageData(const pp::Graphics2D& dc, pp 81 ppapi/tests/test_graphics_2d.cc pp::ImageData* image, pp 82 ppapi/tests/test_graphics_2d.cc const pp::Point& top_left) const { pp 89 ppapi/tests/test_graphics_2d.cc bool TestGraphics2D::IsDCUniformColor(const pp::Graphics2D& dc, pp 91 ppapi/tests/test_graphics_2d.cc pp::ImageData readback(instance_, PP_IMAGEDATAFORMAT_BGRA_PREMUL, pp 95 ppapi/tests/test_graphics_2d.cc if (!ReadImageData(dc, &readback, pp::Point(0, 0))) pp 97 ppapi/tests/test_graphics_2d.cc return IsSquareInImage(readback, 0, pp::Rect(dc.size()), color); pp 100 ppapi/tests/test_graphics_2d.cc std::string TestGraphics2D::FlushAndWaitForDone(pp::Graphics2D* context) { pp 108 ppapi/tests/test_graphics_2d.cc void TestGraphics2D::FillRectInImage(pp::ImageData* image, pp 109 ppapi/tests/test_graphics_2d.cc const pp::Rect& rect, pp 112 ppapi/tests/test_graphics_2d.cc uint32_t* row = image->GetAddr32(pp::Point(rect.x(), y)); pp 118 ppapi/tests/test_graphics_2d.cc void TestGraphics2D::FillImageWithGradient(pp::ImageData* image) const { pp 124 ppapi/tests/test_graphics_2d.cc uint32_t* pixel = image->GetAddr32(pp::Point(x, y)); pp 130 ppapi/tests/test_graphics_2d.cc bool TestGraphics2D::CompareImages(const pp::ImageData& image1, pp 131 ppapi/tests/test_graphics_2d.cc const pp::ImageData& image2) { pp 133 ppapi/tests/test_graphics_2d.cc image1, pp::Rect(0, 0, image1.size().width(), image1.size().height()), pp 134 ppapi/tests/test_graphics_2d.cc image2, pp::Rect(0, 0, image2.size().width(), image2.size().height())); pp 137 ppapi/tests/test_graphics_2d.cc bool TestGraphics2D::CompareImageRect(const pp::ImageData& image1, pp 138 ppapi/tests/test_graphics_2d.cc const pp::Rect& rc1, pp 139 ppapi/tests/test_graphics_2d.cc const pp::ImageData& image2, pp 140 ppapi/tests/test_graphics_2d.cc const pp::Rect& rc2) const { pp 146 ppapi/tests/test_graphics_2d.cc if (*(image1.GetAddr32(pp::Point(rc1.x() + x, rc1.y() + y))) != pp 147 ppapi/tests/test_graphics_2d.cc *(image2.GetAddr32(pp::Point(rc2.x() + x, rc2.y() + y)))) pp 154 ppapi/tests/test_graphics_2d.cc bool TestGraphics2D::IsSquareInImage(const pp::ImageData& image_data, pp 156 ppapi/tests/test_graphics_2d.cc const pp::Rect& square, pp 160 ppapi/tests/test_graphics_2d.cc uint32_t pixel = *image_data.GetAddr32(pp::Point(x, y)); pp 173 ppapi/tests/test_graphics_2d.cc bool TestGraphics2D::IsSquareInDC(const pp::Graphics2D& dc, pp 175 ppapi/tests/test_graphics_2d.cc const pp::Rect& square, pp 177 ppapi/tests/test_graphics_2d.cc pp::ImageData readback(instance_, PP_IMAGEDATAFORMAT_BGRA_PREMUL, pp 181 ppapi/tests/test_graphics_2d.cc if (!ReadImageData(dc, &readback, pp::Point(0, 0))) pp 188 ppapi/tests/test_graphics_2d.cc pp::Graphics2D* dc, pp 189 ppapi/tests/test_graphics_2d.cc const pp::Size& size) { pp 190 ppapi/tests/test_graphics_2d.cc pp::ImageData image(instance_, PP_IMAGEDATAFORMAT_BGRA_PREMUL, size, true); pp 205 ppapi/tests/test_graphics_2d.cc pp::Graphics2D null_context; pp 206 ppapi/tests/test_graphics_2d.cc pp::ImageData image(instance_, PP_IMAGEDATAFORMAT_BGRA_PREMUL, pp 207 ppapi/tests/test_graphics_2d.cc pp::Size(16, 16), true); pp 264 ppapi/tests/test_graphics_2d.cc pp::Graphics2D a(instance_, pp::Size(16, 0), false); pp 267 ppapi/tests/test_graphics_2d.cc pp::Graphics2D b(instance_, pp::Size(0, 16), false); pp 277 ppapi/tests/test_graphics_2d.cc pp::Module::Get()->core()->ReleaseResource(graphics); pp 284 ppapi/tests/test_graphics_2d.cc pp::Module::Get()->core()->ReleaseResource(graphics); pp 292 ppapi/tests/test_graphics_2d.cc pp::Module::Get()->core()->ReleaseResource(graphics); pp 298 ppapi/tests/test_graphics_2d.cc pp::Graphics2D a(instance_, pp::Size(100000, 100000), false); pp 305 ppapi/tests/test_graphics_2d.cc pp::Graphics2D dc(instance_, pp::Size(w, h), false); pp 310 ppapi/tests/test_graphics_2d.cc pp::ImageData image(instance_, PP_IMAGEDATAFORMAT_BGRA_PREMUL, pp 311 ppapi/tests/test_graphics_2d.cc pp::Size(w, h), true); pp 317 ppapi/tests/test_graphics_2d.cc ASSERT_TRUE(ReadImageData(dc, &image, pp::Point(0, 0))); pp 318 ppapi/tests/test_graphics_2d.cc ASSERT_TRUE(IsSquareInImage(image, 0, pp::Rect(0, 0, w, h), 0)); pp 326 ppapi/tests/test_graphics_2d.cc pp::Graphics2D dc(instance_, pp::Size(w, h), always_opaque); pp 346 ppapi/tests/test_graphics_2d.cc pp::Graphics2D dc(instance_, pp::Size(w, h), false); pp 374 ppapi/tests/test_graphics_2d.cc pp::Graphics2D dc(instance_, pp::Size(w, h), false); pp 382 ppapi/tests/test_graphics_2d.cc pp::ImageData background(instance_, PP_IMAGEDATAFORMAT_BGRA_PREMUL, pp 383 ppapi/tests/test_graphics_2d.cc pp::Size(w, h), false); pp 384 ppapi/tests/test_graphics_2d.cc FillRectInImage(&background, pp::Rect(0, 0, w, h), background_color); pp 385 ppapi/tests/test_graphics_2d.cc dc.PaintImageData(background, pp::Point(0, 0)); pp 390 ppapi/tests/test_graphics_2d.cc pp::ImageData fill(instance_, PP_IMAGEDATAFORMAT_BGRA_PREMUL, pp 391 ppapi/tests/test_graphics_2d.cc pp::Size(fill_w, fill_h), true); pp 393 ppapi/tests/test_graphics_2d.cc FillRectInImage(&fill, pp::Rect(fill.size()), background_color); pp 395 ppapi/tests/test_graphics_2d.cc dc.PaintImageData(fill, pp::Point(paint_x, paint_y)); pp 404 ppapi/tests/test_graphics_2d.cc FillRectInImage(&fill, pp::Rect(fill.size()), fill_color); pp 408 ppapi/tests/test_graphics_2d.cc pp::Rect(paint_x, paint_y, fill_w, fill_h), pp 414 ppapi/tests/test_graphics_2d.cc dc.PaintImageData(background, pp::Point(0, 0)); pp 416 ppapi/tests/test_graphics_2d.cc dc.PaintImageData(fill, pp::Point(second_paint_x, second_paint_y)); pp 417 ppapi/tests/test_graphics_2d.cc dc.PaintImageData(fill, pp::Point(second_paint_x, second_paint_y), pp 418 ppapi/tests/test_graphics_2d.cc pp::Rect(-second_paint_x, -second_paint_y, 1, 1)); pp 422 ppapi/tests/test_graphics_2d.cc ASSERT_TRUE(IsSquareInDC(dc, background_color, pp::Rect(0, 0, 1, 1), pp 426 ppapi/tests/test_graphics_2d.cc pp::ImageData subset(instance_, PP_IMAGEDATAFORMAT_BGRA_PREMUL, pp 427 ppapi/tests/test_graphics_2d.cc pp::Size(w, h), false); pp 430 ppapi/tests/test_graphics_2d.cc *subset.GetAddr32(pp::Point(subset_x, subset_y)) = subset_color; pp 431 ppapi/tests/test_graphics_2d.cc dc.PaintImageData(subset, pp::Point(-subset_x, -subset_y), pp 432 ppapi/tests/test_graphics_2d.cc pp::Rect(subset_x, subset_y, 1, 1)); pp 434 ppapi/tests/test_graphics_2d.cc ASSERT_TRUE(IsSquareInDC(dc, background_color, pp::Rect(0, 0, 1, 1), pp 442 ppapi/tests/test_graphics_2d.cc pp::Graphics2D dc(instance_, pp::Size(w, h), false); pp 450 ppapi/tests/test_graphics_2d.cc pp::ImageData test_image(instance_, PP_IMAGEDATAFORMAT_BGRA_PREMUL, pp 451 ppapi/tests/test_graphics_2d.cc pp::Size(image_width, image_height), false); pp 453 ppapi/tests/test_graphics_2d.cc pp::ImageData no_image(instance_, PP_IMAGEDATAFORMAT_BGRA_PREMUL, pp 454 ppapi/tests/test_graphics_2d.cc pp::Size(image_width, image_height), false); pp 455 ppapi/tests/test_graphics_2d.cc FillRectInImage(&no_image, pp::Rect(0, 0, image_width, image_height), 0); pp 456 ppapi/tests/test_graphics_2d.cc pp::ImageData readback_image(instance_, PP_IMAGEDATAFORMAT_BGRA_PREMUL, pp 457 ppapi/tests/test_graphics_2d.cc pp::Size(image_width, image_height), false); pp 458 ppapi/tests/test_graphics_2d.cc pp::ImageData readback_scroll(instance_, PP_IMAGEDATAFORMAT_BGRA_PREMUL, pp 459 ppapi/tests/test_graphics_2d.cc pp::Size(image_width, image_height), false); pp 461 ppapi/tests/test_graphics_2d.cc ASSERT_EQ(pp::Size(image_width, image_height), test_image.size()); pp 464 ppapi/tests/test_graphics_2d.cc dc.PaintImageData(test_image, pp::Point(image_x, image_y)); pp 474 ppapi/tests/test_graphics_2d.cc pp::Rect clip(image_x, image_y, image_width, image_height); pp 475 ppapi/tests/test_graphics_2d.cc dc.Scroll(clip, pp::Point(dx, dy)); pp 478 ppapi/tests/test_graphics_2d.cc ReadImageData(dc, &readback_scroll, pp::Point(scroll_x, scroll_y))); pp 486 ppapi/tests/test_graphics_2d.cc clip = pp::Rect(0, 0, w, h + 1); pp 487 ppapi/tests/test_graphics_2d.cc dc.Scroll(clip, pp::Point(scroll_x - image_x, scroll_y - image_y)); pp 490 ppapi/tests/test_graphics_2d.cc ReadImageData(dc, &readback_scroll, pp::Point(scroll_x, scroll_y))); pp 498 ppapi/tests/test_graphics_2d.cc clip = pp::Rect(0, 0, image_x, image_y); pp 499 ppapi/tests/test_graphics_2d.cc dc.Scroll(clip, pp::Point(scroll_x - image_x, scroll_y - image_y)); pp 502 ppapi/tests/test_graphics_2d.cc ReadImageData(dc, &readback_scroll, pp::Point(scroll_x, scroll_y))); pp 509 ppapi/tests/test_graphics_2d.cc clip = pp::Rect(0, 0, image_x + part_w, image_y + part_h); pp 510 ppapi/tests/test_graphics_2d.cc dc.Scroll(clip, pp::Point(scroll_x - image_x, scroll_y - image_y)); pp 513 ppapi/tests/test_graphics_2d.cc ReadImageData(dc, &readback_scroll, pp::Point(scroll_x, scroll_y))); pp 515 ppapi/tests/test_graphics_2d.cc pp::Rect part_rect(part_w, part_h); pp 522 ppapi/tests/test_graphics_2d.cc clip = pp::Rect(0, 0, image_x + image_width, image_y + image_height); pp 523 ppapi/tests/test_graphics_2d.cc dc.Scroll(clip, pp::Point(scroll_x - image_x, scroll_y - image_y)); pp 526 ppapi/tests/test_graphics_2d.cc ReadImageData(dc, &readback_scroll, pp::Point(scroll_x, scroll_y))); pp 533 ppapi/tests/test_graphics_2d.cc ASSERT_TRUE(ReadImageData(dc, &readback_image, pp::Point(image_x, image_y))); pp 543 ppapi/tests/test_graphics_2d.cc clip = pp::Rect(image_x, image_y, image_width, image_height); pp 544 ppapi/tests/test_graphics_2d.cc dc.Scroll(clip, pp::Point(dx, dy)); pp 546 ppapi/tests/test_graphics_2d.cc ASSERT_TRUE(ReadImageData(dc, &readback_image, pp::Point(image_x, image_y))); pp 548 ppapi/tests/test_graphics_2d.cc pp::Rect scroll_rect(image_width - dx, image_height - dy); pp 550 ppapi/tests/test_graphics_2d.cc ReadImageData(dc, &readback_scroll, pp::Point(scroll_x, scroll_y))); pp 559 ppapi/tests/test_graphics_2d.cc pp::Graphics2D dc(instance_, pp::Size(w, h), false); pp 563 ppapi/tests/test_graphics_2d.cc pp::ImageData weird_size(instance_, PP_IMAGEDATAFORMAT_BGRA_PREMUL, pp 564 ppapi/tests/test_graphics_2d.cc pp::Size(w - 1, h), true); pp 570 ppapi/tests/test_graphics_2d.cc pp::ImageData background(instance_, PP_IMAGEDATAFORMAT_BGRA_PREMUL, pp 571 ppapi/tests/test_graphics_2d.cc pp::Size(w, h), true); pp 573 ppapi/tests/test_graphics_2d.cc FillRectInImage(&background, pp::Rect(0, 0, w, h), background_color); pp 574 ppapi/tests/test_graphics_2d.cc dc.PaintImageData(background, pp::Point(0, 0)); pp 578 ppapi/tests/test_graphics_2d.cc pp::ImageData swapped(instance_, PP_IMAGEDATAFORMAT_BGRA_PREMUL, pp 579 ppapi/tests/test_graphics_2d.cc pp::Size(w, h), true); pp 581 ppapi/tests/test_graphics_2d.cc FillRectInImage(&swapped, pp::Rect(0, 0, w, h), swapped_color); pp 592 ppapi/tests/test_graphics_2d.cc dc.PaintImageData(swapped, pp::Point(0, 0)); pp 607 ppapi/tests/test_graphics_2d.cc pp::Graphics2D dc(instance_, pp::Size(w, h), false); pp 611 ppapi/tests/test_graphics_2d.cc pp::ImageData background(instance_, PP_IMAGEDATAFORMAT_BGRA_PREMUL, pp 612 ppapi/tests/test_graphics_2d.cc pp::Size(w, h), true); pp 614 ppapi/tests/test_graphics_2d.cc dc.PaintImageData(background, pp::Point(0, 0)); pp 616 ppapi/tests/test_graphics_2d.cc int32_t rv = dc.Flush(pp::BlockUntilComplete()); pp 621 ppapi/tests/test_graphics_2d.cc pp::Graphics2D dc_nopaints(instance_, pp::Size(w, h), false); pp 643 ppapi/tests/test_graphics_2d.cc void TestGraphics2D::DidChangeView(const pp::View& view) { pp 674 ppapi/tests/test_graphics_2d.cc pp::Graphics2D dc(instance_, pp::Size(w, h), true); pp 690 ppapi/tests/test_graphics_2d.cc pp::ImageData chunk(instance_, PP_IMAGEDATAFORMAT_RGBA_PREMUL, pp 691 ppapi/tests/test_graphics_2d.cc pp::Size(w/8, h/8), true); pp 694 ppapi/tests/test_graphics_2d.cc FillRectInImage(&chunk, pp::Rect(chunk.size()), kRed); pp 697 ppapi/tests/test_graphics_2d.cc dc.PaintImageData(chunk, pp::Point(0, h*0.75)); pp 699 ppapi/tests/test_graphics_2d.cc PP_Time begin = pp::Module::Get()->core()->GetTime(); pp 701 ppapi/tests/test_graphics_2d.cc PP_Time actual_time_elapsed = pp::Module::Get()->core()->GetTime() - begin; pp 720 ppapi/tests/test_graphics_2d.cc pp::Graphics2D dc(instance_, pp::Size(w, h), false); pp 767 ppapi/tests/test_graphics_2d.cc pp::Size size(16, 16); pp 768 ppapi/tests/test_graphics_2d.cc pp::Graphics2D dc(instance_, size, false); pp 792 ppapi/tests/test_graphics_2d.cc ASSERT_TRUE(instance_->BindGraphics(pp::Graphics2D())); pp 793 ppapi/tests/test_graphics_2d.cc ASSERT_TRUE(instance_->BindGraphics(pp::Graphics3D())); pp 796 ppapi/tests/test_graphics_2d.cc pp::Graphics2D dc(instance_, pp::Size(w, h), false); pp 800 ppapi/tests/test_graphics_2d.cc ASSERT_TRUE(instance_->BindGraphics(pp::Graphics2D())); pp 801 ppapi/tests/test_graphics_2d.cc ASSERT_TRUE(instance_->BindGraphics(pp::Graphics3D())); pp 15 ppapi/tests/test_graphics_2d.h namespace pp { pp 27 ppapi/tests/test_graphics_2d.h virtual void DidChangeView(const pp::View& view); pp 34 ppapi/tests/test_graphics_2d.h bool ReadImageData(const pp::Graphics2D& dc, pp 35 ppapi/tests/test_graphics_2d.h pp::ImageData* image, pp 36 ppapi/tests/test_graphics_2d.h const pp::Point& top_left) const; pp 38 ppapi/tests/test_graphics_2d.h void FillRectInImage(pp::ImageData* image, pp 39 ppapi/tests/test_graphics_2d.h const pp::Rect& rect, pp 43 ppapi/tests/test_graphics_2d.h void FillImageWithGradient(pp::ImageData* image) const; pp 46 ppapi/tests/test_graphics_2d.h bool CompareImages(const pp::ImageData& image1, pp 47 ppapi/tests/test_graphics_2d.h const pp::ImageData& image2); pp 50 ppapi/tests/test_graphics_2d.h bool CompareImageRect(const pp::ImageData& image1, pp 51 ppapi/tests/test_graphics_2d.h const pp::Rect& rc1, pp 52 ppapi/tests/test_graphics_2d.h const pp::ImageData& image2, pp 53 ppapi/tests/test_graphics_2d.h const pp::Rect& rc2) const; pp 57 ppapi/tests/test_graphics_2d.h bool IsSquareInImage(const pp::ImageData& image_data, pp 59 ppapi/tests/test_graphics_2d.h const pp::Rect& square, uint32_t square_color) const; pp 63 ppapi/tests/test_graphics_2d.h bool IsSquareInDC(const pp::Graphics2D& dc, uint32_t background_color, pp 64 ppapi/tests/test_graphics_2d.h const pp::Rect& square, uint32_t square_color) const; pp 67 ppapi/tests/test_graphics_2d.h bool IsDCUniformColor(const pp::Graphics2D& dc, uint32_t color) const; pp 72 ppapi/tests/test_graphics_2d.h std::string FlushAndWaitForDone(pp::Graphics2D* context); pp 80 ppapi/tests/test_graphics_2d.h PP_Resource ReplaceContentsAndReturnID(pp::Graphics2D* dc, pp 81 ppapi/tests/test_graphics_2d.h const pp::Size& size); pp 27 ppapi/tests/test_graphics_3d.cc pp::Module::Get()->GetBrowserInterface(PPB_OPENGLES2_INTERFACE)); pp 28 ppapi/tests/test_graphics_3d.cc glInitializePPAPI(pp::Module::Get()->get_browser_interface()); pp 47 ppapi/tests/test_graphics_3d.cc pp::Graphics3D context(instance_, attribs); pp 75 ppapi/tests/test_graphics_3d.cc pp::Graphics3D context(instance_, attribs); pp 103 ppapi/tests/test_graphics_3d.cc pp::Graphics3D context(instance_, attribs); pp 138 ppapi/tests/test_graphics_3d.cc int32_t TestGraphics3D::SwapBuffersSync(pp::Graphics3D* context) { pp 145 ppapi/tests/test_graphics_3d.cc pp::Graphics3D* context, pp 13 ppapi/tests/test_graphics_3d.h namespace pp { pp 33 ppapi/tests/test_graphics_3d.h int32_t SwapBuffersSync(pp::Graphics3D* context); pp 34 ppapi/tests/test_graphics_3d.h std::string CheckPixelPPAPI(pp::Graphics3D* context, pp 21 ppapi/tests/test_host_resolver.cc bool host_resolver_is_available = pp::HostResolver::IsAvailable(); pp 25 ppapi/tests/test_host_resolver.cc bool tcp_socket_is_available = pp::TCPSocket::IsAvailable(); pp 48 ppapi/tests/test_host_resolver.cc pp::TCPSocket* socket, pp 49 ppapi/tests/test_host_resolver.cc const pp::NetAddress& address) { pp 57 ppapi/tests/test_host_resolver.cc std::string TestHostResolver::SyncRead(pp::TCPSocket* socket, pp 70 ppapi/tests/test_host_resolver.cc std::string TestHostResolver::SyncWrite(pp::TCPSocket* socket, pp 83 ppapi/tests/test_host_resolver.cc std::string TestHostResolver::CheckHTTPResponse(pp::TCPSocket* socket, pp 101 ppapi/tests/test_host_resolver.cc pp::HostResolver* host_resolver, pp 115 ppapi/tests/test_host_resolver.cc pp::HostResolver host_resolver(instance_); pp 122 ppapi/tests/test_host_resolver.cc pp::NetAddress address; pp 127 ppapi/tests/test_host_resolver.cc pp::TCPSocket socket(instance_); pp 137 ppapi/tests/test_host_resolver.cc pp::Var canonical_name = host_resolver.GetCanonicalName(); pp 149 ppapi/tests/test_host_resolver.cc pp::HostResolver host_resolver(instance_); pp 151 ppapi/tests/test_host_resolver.cc pp::NetAddress address = host_resolver.GetNetAddress(0); pp 13 ppapi/tests/test_host_resolver.h namespace pp { pp 28 ppapi/tests/test_host_resolver.h std::string SyncConnect(pp::TCPSocket* socket, pp 29 ppapi/tests/test_host_resolver.h const pp::NetAddress& address); pp 30 ppapi/tests/test_host_resolver.h std::string SyncRead(pp::TCPSocket* socket, pp 34 ppapi/tests/test_host_resolver.h std::string SyncWrite(pp::TCPSocket* socket, pp 38 ppapi/tests/test_host_resolver.h std::string CheckHTTPResponse(pp::TCPSocket* socket, pp 41 ppapi/tests/test_host_resolver.h std::string SyncResolve(pp::HostResolver* host_resolver, pp 23 ppapi/tests/test_host_resolver_private.cc pp::HostResolverPrivate::IsAvailable(); pp 27 ppapi/tests/test_host_resolver_private.cc bool tcp_socket_private_is_available = pp::TCPSocketPrivate::IsAvailable(); pp 49 ppapi/tests/test_host_resolver_private.cc std::string TestHostResolverPrivate::SyncConnect(pp::TCPSocketPrivate* socket, pp 61 ppapi/tests/test_host_resolver_private.cc pp::TCPSocketPrivate* socket, pp 71 ppapi/tests/test_host_resolver_private.cc std::string TestHostResolverPrivate::SyncRead(pp::TCPSocketPrivate* socket, pp 84 ppapi/tests/test_host_resolver_private.cc std::string TestHostResolverPrivate::SyncWrite(pp::TCPSocketPrivate* socket, pp 98 ppapi/tests/test_host_resolver_private.cc pp::TCPSocketPrivate* socket, pp 116 ppapi/tests/test_host_resolver_private.cc pp::HostResolverPrivate* host_resolver, pp 128 ppapi/tests/test_host_resolver_private.cc pp::HostResolverPrivate host_resolver(instance_); pp 138 ppapi/tests/test_host_resolver_private.cc pp::HostResolverPrivate host_resolver(instance_); pp 149 ppapi/tests/test_host_resolver_private.cc pp::TCPSocketPrivate socket(instance_); pp 158 ppapi/tests/test_host_resolver_private.cc pp::Var canonical_name = host_resolver.GetCanonicalName(); pp 160 ppapi/tests/test_host_resolver_private.cc pp::TCPSocketPrivate socket(instance_); pp 15 ppapi/tests/test_host_resolver_private.h namespace pp { pp 31 ppapi/tests/test_host_resolver_private.h std::string SyncConnect(pp::TCPSocketPrivate* socket, pp 34 ppapi/tests/test_host_resolver_private.h std::string SyncConnect(pp::TCPSocketPrivate* socket, pp 36 ppapi/tests/test_host_resolver_private.h std::string SyncRead(pp::TCPSocketPrivate* socket, pp 40 ppapi/tests/test_host_resolver_private.h std::string SyncWrite(pp::TCPSocketPrivate* socket, pp 44 ppapi/tests/test_host_resolver_private.h std::string CheckHTTPResponse(pp::TCPSocketPrivate* socket, pp 47 ppapi/tests/test_host_resolver_private.h std::string SyncResolve(pp::HostResolverPrivate* host_resolver, pp 21 ppapi/tests/test_host_resolver_private_disallowed.cc pp::HostResolverPrivate::IsAvailable(); pp 40 ppapi/tests/test_host_resolver_private_disallowed.cc pp::HostResolverPrivate host_resolver(instance_); pp 17 ppapi/tests/test_image_data.cc pp::Module::Get()->GetBrowserInterface(PPB_IMAGEDATA_INTERFACE)); pp 32 ppapi/tests/test_image_data.cc pp::ImageData a(instance_, static_cast<PP_ImageDataFormat>(1337), pp 33 ppapi/tests/test_image_data.cc pp::Size(16, 16), true); pp 37 ppapi/tests/test_image_data.cc pp::ImageData b(instance_, static_cast<PP_ImageDataFormat>(-1), pp 38 ppapi/tests/test_image_data.cc pp::Size(16, 16), true); pp 45 ppapi/tests/test_image_data.cc if (!pp::ImageData::IsImageDataFormatSupported(format)) pp 59 ppapi/tests/test_image_data.cc PP_ImageDataFormat format = pp::ImageData::GetNativeImageDataFormat(); pp 60 ppapi/tests/test_image_data.cc if (!pp::ImageData::IsImageDataFormatSupported(format)) pp 66 ppapi/tests/test_image_data.cc pp::ImageData zero_size(instance_, format, pp::Size(0, 0), true); pp 70 ppapi/tests/test_image_data.cc pp::ImageData zero_height(instance_, format, pp::Size(16, 0), true); pp 74 ppapi/tests/test_image_data.cc pp::ImageData zero_width(instance_, format, pp::Size(0, 16), true); pp 108 ppapi/tests/test_image_data.cc pp::ImageData huge_size(instance_, format, pp 109 ppapi/tests/test_image_data.cc pp::Size(100000000, 100000000), true); pp 124 ppapi/tests/test_image_data.cc pp::ImageData img(instance_, format, pp::Size(w, h), true); pp 139 ppapi/tests/test_image_data.cc uint32_t* row = img.GetAddr32(pp::Point(0, y)); pp 158 ppapi/tests/test_image_data.cc pp::ImageData img(instance_, format, pp::Size(w, h), true); pp 168 ppapi/tests/test_image_data.cc pp::Resource null_resource; pp 174 ppapi/tests/test_image_data.cc pp::Graphics2D device(instance_, pp::Size(w, h), true); pp 60 ppapi/tests/test_ime_input_event.cc pp::Module::Get()->GetBrowserInterface(PPB_INPUT_EVENT_INTERFACE)); pp 63 ppapi/tests/test_ime_input_event.cc pp::Module::Get()->GetBrowserInterface( pp 66 ppapi/tests/test_ime_input_event.cc pp::Module::Get()->GetBrowserInterface( pp 98 ppapi/tests/test_ime_input_event.cc bool TestImeInputEvent::HandleInputEvent(const pp::InputEvent& input_event) { pp 125 ppapi/tests/test_ime_input_event.cc void TestImeInputEvent::HandleMessage(const pp::Var& message_data) { pp 133 ppapi/tests/test_ime_input_event.cc void TestImeInputEvent::DidChangeView(const pp::View& view) { pp 137 ppapi/tests/test_ime_input_event.cc pp::InputEvent TestImeInputEvent::CreateImeCompositionStartEvent() { pp 138 ppapi/tests/test_ime_input_event.cc return pp::IMEInputEvent( pp 142 ppapi/tests/test_ime_input_event.cc pp::Var(""), pp 149 ppapi/tests/test_ime_input_event.cc pp::InputEvent TestImeInputEvent::CreateImeCompositionUpdateEvent( pp 154 ppapi/tests/test_ime_input_event.cc return pp::IMEInputEvent( pp 165 ppapi/tests/test_ime_input_event.cc pp::InputEvent TestImeInputEvent::CreateImeCompositionEndEvent( pp 167 ppapi/tests/test_ime_input_event.cc return pp::IMEInputEvent( pp 171 ppapi/tests/test_ime_input_event.cc pp::Var(text), pp 178 ppapi/tests/test_ime_input_event.cc pp::InputEvent TestImeInputEvent::CreateImeTextEvent(const std::string& text) { pp 179 ppapi/tests/test_ime_input_event.cc return pp::IMEInputEvent( pp 183 ppapi/tests/test_ime_input_event.cc pp::Var(text), pp 190 ppapi/tests/test_ime_input_event.cc pp::InputEvent TestImeInputEvent::CreateCharEvent(const std::string& text) { pp 191 ppapi/tests/test_ime_input_event.cc return pp::KeyboardInputEvent( pp 197 ppapi/tests/test_ime_input_event.cc pp::Var(text), pp 198 ppapi/tests/test_ime_input_event.cc pp::Var()); pp 206 ppapi/tests/test_ime_input_event.cc SimulateInputEvent(pp::MouseInputEvent( pp 212 ppapi/tests/test_ime_input_event.cc pp::Point( pp 216 ppapi/tests/test_ime_input_event.cc pp::Point())); // movement pp 221 ppapi/tests/test_ime_input_event.cc bool TestImeInputEvent::SimulateInputEvent(const pp::InputEvent& input_event) { pp 226 ppapi/tests/test_ime_input_event.cc instance_->PostMessage(pp::Var(FINISHED_WAITING_MESSAGE)); pp 254 ppapi/tests/test_ime_input_event.cc return pp::Var(pp::PASS_REF, pp 256 ppapi/tests/test_ime_input_event.cc pp::Var(pp::PASS_REF, pp 290 ppapi/tests/test_ime_input_event.cc return pp::Var(pp::PASS_REF, pp 292 ppapi/tests/test_ime_input_event.cc pp::Var(pp::PASS_REF, pp 302 ppapi/tests/test_ime_input_event.cc pp::Var(pp::PASS_REF, pp 304 ppapi/tests/test_ime_input_event.cc pp::Var(pp::PASS_REF, pp 325 ppapi/tests/test_ime_input_event.cc pp::InputEvent update_event = CreateImeCompositionUpdateEvent( pp 354 ppapi/tests/test_ime_input_event.cc pp::InputEvent update_event = CreateImeCompositionUpdateEvent( pp 383 ppapi/tests/test_ime_input_event.cc pp::InputEvent update_event = CreateImeCompositionUpdateEvent( pp 413 ppapi/tests/test_ime_input_event.cc pp::InputEvent update_event = CreateImeCompositionUpdateEvent( pp 24 ppapi/tests/test_ime_input_event.h virtual bool HandleInputEvent(const pp::InputEvent& input_event); pp 25 ppapi/tests/test_ime_input_event.h virtual void HandleMessage(const pp::Var& message_data); pp 26 ppapi/tests/test_ime_input_event.h virtual void DidChangeView(const pp::View& view); pp 29 ppapi/tests/test_ime_input_event.h pp::InputEvent CreateImeCompositionStartEvent(); pp 30 ppapi/tests/test_ime_input_event.h pp::InputEvent CreateImeCompositionUpdateEvent( pp 35 ppapi/tests/test_ime_input_event.h pp::InputEvent CreateImeCompositionEndEvent(const std::string& text); pp 36 ppapi/tests/test_ime_input_event.h pp::InputEvent CreateImeTextEvent(const std::string& text); pp 37 ppapi/tests/test_ime_input_event.h pp::InputEvent CreateCharEvent(const std::string& text); pp 40 ppapi/tests/test_ime_input_event.h bool SimulateInputEvent(const pp::InputEvent& input_event); pp 53 ppapi/tests/test_ime_input_event.h pp::Rect view_rect_; pp 56 ppapi/tests/test_ime_input_event.h std::vector<pp::InputEvent> expected_events_; pp 24 ppapi/tests/test_input_event.cc pp::Point GetCenter(const pp::Rect& rect) { pp 25 ppapi/tests/test_input_event.cc return pp::Point( pp 74 ppapi/tests/test_input_event.cc pp::Module::Get()->GetBrowserInterface(PPB_INPUT_EVENT_INTERFACE)); pp 76 ppapi/tests/test_input_event.cc pp::Module::Get()->GetBrowserInterface( pp 79 ppapi/tests/test_input_event.cc pp::Module::Get()->GetBrowserInterface( pp 82 ppapi/tests/test_input_event.cc pp::Module::Get()->GetBrowserInterface( pp 85 ppapi/tests/test_input_event.cc pp::Module::Get()->GetBrowserInterface( pp 119 ppapi/tests/test_input_event.cc pp::InputEvent TestInputEvent::CreateMouseEvent( pp 122 ppapi/tests/test_input_event.cc return pp::MouseInputEvent( pp 130 ppapi/tests/test_input_event.cc pp::Point()); // movement pp 133 ppapi/tests/test_input_event.cc pp::InputEvent TestInputEvent::CreateWheelEvent() { pp 134 ppapi/tests/test_input_event.cc return pp::WheelInputEvent( pp 138 ppapi/tests/test_input_event.cc pp::FloatPoint(1, 2), pp 139 ppapi/tests/test_input_event.cc pp::FloatPoint(3, 4), pp 143 ppapi/tests/test_input_event.cc pp::InputEvent TestInputEvent::CreateKeyEvent(PP_InputEvent_Type type, pp 146 ppapi/tests/test_input_event.cc return pp::KeyboardInputEvent( pp 152 ppapi/tests/test_input_event.cc pp::Var(), pp 153 ppapi/tests/test_input_event.cc pp::Var(code)); pp 156 ppapi/tests/test_input_event.cc pp::InputEvent TestInputEvent::CreateCharEvent(const std::string& text) { pp 157 ppapi/tests/test_input_event.cc return pp::KeyboardInputEvent( pp 163 ppapi/tests/test_input_event.cc pp::Var(text), pp 164 ppapi/tests/test_input_event.cc pp::Var()); pp 167 ppapi/tests/test_input_event.cc pp::InputEvent TestInputEvent::CreateTouchEvent(PP_InputEvent_Type type, pp 168 ppapi/tests/test_input_event.cc const pp::FloatPoint& point) { pp 172 ppapi/tests/test_input_event.cc pp::TouchInputEvent touch_event(instance_, type, 100, 0); pp 182 ppapi/tests/test_input_event.cc instance_->PostMessage(pp::Var(FINISHED_WAITING_MESSAGE)); pp 190 ppapi/tests/test_input_event.cc const pp::InputEvent& input_event) { pp 191 ppapi/tests/test_input_event.cc expected_input_event_ = pp::InputEvent(input_event.pp_resource()); pp 235 ppapi/tests/test_input_event.cc pp::FloatPoint(wheel_input_event_interface_->GetDelta(received)) == pp 236 ppapi/tests/test_input_event.cc pp::FloatPoint(wheel_input_event_interface_->GetDelta(expected)) && pp 237 ppapi/tests/test_input_event.cc pp::FloatPoint(wheel_input_event_interface_->GetTicks(received)) == pp 238 ppapi/tests/test_input_event.cc pp::FloatPoint(wheel_input_event_interface_->GetTicks(expected)) && pp 253 ppapi/tests/test_input_event.cc pp::Var(pp::PASS_REF, pp 255 ppapi/tests/test_input_event.cc pp::Var(pp::PASS_REF, pp 299 ppapi/tests/test_input_event.cc bool TestInputEvent::HandleInputEvent(const pp::InputEvent& input_event) { pp 311 ppapi/tests/test_input_event.cc void TestInputEvent::HandleMessage(const pp::Var& message_data) { pp 320 ppapi/tests/test_input_event.cc void TestInputEvent::DidChangeView(const pp::View& view) { pp 345 ppapi/tests/test_input_event.cc pp::FloatPoint(12, 23)))); pp 24 ppapi/tests/test_input_event.h virtual bool HandleInputEvent(const pp::InputEvent& input_event); pp 25 ppapi/tests/test_input_event.h virtual void HandleMessage(const pp::Var& message_data); pp 26 ppapi/tests/test_input_event.h virtual void DidChangeView(const pp::View& view); pp 33 ppapi/tests/test_input_event.h pp::InputEvent CreateMouseEvent(PP_InputEvent_Type type, pp 35 ppapi/tests/test_input_event.h pp::InputEvent CreateWheelEvent(); pp 36 ppapi/tests/test_input_event.h pp::InputEvent CreateKeyEvent(PP_InputEvent_Type type, pp 38 ppapi/tests/test_input_event.h pp::InputEvent CreateCharEvent(const std::string& text); pp 39 ppapi/tests/test_input_event.h pp::InputEvent CreateTouchEvent(PP_InputEvent_Type type, pp 40 ppapi/tests/test_input_event.h const pp::FloatPoint& location); pp 43 ppapi/tests/test_input_event.h bool SimulateInputEvent(const pp::InputEvent& input_event); pp 60 ppapi/tests/test_input_event.h pp::Rect view_rect_; pp 61 ppapi/tests/test_input_event.h pp::InputEvent expected_input_event_; pp 22 ppapi/tests/test_instance_deprecated.cc class InstanceSO : public pp::deprecated::ScriptableObject { pp 28 ppapi/tests/test_instance_deprecated.cc bool HasMethod(const pp::Var& name, pp::Var* exception); pp 29 ppapi/tests/test_instance_deprecated.cc pp::Var Call(const pp::Var& name, pp 30 ppapi/tests/test_instance_deprecated.cc const std::vector<pp::Var>& args, pp 31 ppapi/tests/test_instance_deprecated.cc pp::Var* exception); pp 71 ppapi/tests/test_instance_deprecated.cc pp::Var ret = test_instance_->instance()->ExecuteScript( pp 80 ppapi/tests/test_instance_deprecated.cc bool InstanceSO::HasMethod(const pp::Var& name, pp::Var* exception) { pp 88 ppapi/tests/test_instance_deprecated.cc pp::Var InstanceSO::Call(const pp::Var& method_name, pp 89 ppapi/tests/test_instance_deprecated.cc const std::vector<pp::Var>& args, pp 90 ppapi/tests/test_instance_deprecated.cc pp::Var* exception) { pp 97 ppapi/tests/test_instance_deprecated.cc *exception = pp::Var("Bad argument to SetValue(<string>)"); pp 102 ppapi/tests/test_instance_deprecated.cc *exception = pp::Var("Bad argument to SetException(<string>)"); pp 107 ppapi/tests/test_instance_deprecated.cc *exception = pp::Var("Need single arg to call ReturnValue"); pp 111 ppapi/tests/test_instance_deprecated.cc *exception = pp::Var("Bad function call"); pp 114 ppapi/tests/test_instance_deprecated.cc return pp::Var(); pp 137 ppapi/tests/test_instance_deprecated.cc pp::Var ret = instance()->ExecuteScript( pp 149 ppapi/tests/test_instance_deprecated.cc void TestInstance::LeakReferenceAndIgnore(const pp::Var& leaked) { pp 151 ppapi/tests/test_instance_deprecated.cc pp::Module::Get()->GetBrowserInterface(PPB_VAR_INTERFACE)); pp 156 ppapi/tests/test_instance_deprecated.cc pp::deprecated::ScriptableObject* TestInstance::CreateTestObject() { pp 162 ppapi/tests/test_instance_deprecated.cc pp::Var exception; pp 163 ppapi/tests/test_instance_deprecated.cc pp::Var ret = instance_->ExecuteScript( pp 188 ppapi/tests/test_instance_deprecated.cc exception = pp::Var(); pp 199 ppapi/tests/test_instance_deprecated.cc class ObjectWithChildren : public pp::deprecated::ScriptableObject { pp 203 ppapi/tests/test_instance_deprecated.cc child_ = pp::VarPrivate(i->instance(), pp 210 ppapi/tests/test_instance_deprecated.cc child_ = pp::VarPrivate(i->instance(), pp 217 ppapi/tests/test_instance_deprecated.cc pp::VarPrivate child_; pp 222 ppapi/tests/test_instance_deprecated.cc pp::VarPrivate not_leaked(instance(), new ObjectWithChildren(this, 50)); pp 230 ppapi/tests/test_instance_deprecated.cc pp::VarPrivate leaked( pp 244 ppapi/tests/test_instance_deprecated.cc class BadDestructorObject : public pp::deprecated::ScriptableObject { pp 253 ppapi/tests/test_instance_deprecated.cc pp::VarPrivate leaked(instance(), new BadDestructorObject()); pp 262 ppapi/tests/test_instance_deprecated.cc pp::Var exception; pp 263 ppapi/tests/test_instance_deprecated.cc pp::Var result = instance()->ExecuteScript( pp 278 ppapi/tests/test_instance_deprecated.cc pp::Var result = instance()->ExecuteScript( pp 27 ppapi/tests/test_instance_deprecated.h void LeakReferenceAndIgnore(const pp::Var& leaked); pp 31 ppapi/tests/test_instance_deprecated.h virtual pp::deprecated::ScriptableObject* CreateTestObject(); pp 75 ppapi/tests/test_media_stream_audio_track.cc void TestMediaStreamAudioTrack::HandleMessage(const pp::Var& message) { pp 77 ppapi/tests/test_media_stream_audio_track.cc audio_track_ = pp::MediaStreamAudioTrack(message.AsResource()); pp 95 ppapi/tests/test_media_stream_audio_track.cc audio_track_ = pp::MediaStreamAudioTrack(); pp 113 ppapi/tests/test_media_stream_audio_track.cc TestCompletionCallbackWithOutput<pp::AudioBuffer> cc( pp 117 ppapi/tests/test_media_stream_audio_track.cc pp::AudioBuffer buffer = cc.output(); pp 140 ppapi/tests/test_media_stream_audio_track.cc audio_track_ = pp::MediaStreamAudioTrack(); pp 25 ppapi/tests/test_media_stream_audio_track.h virtual void HandleMessage(const pp::Var& message_data); pp 30 ppapi/tests/test_media_stream_audio_track.h pp::MediaStreamAudioTrack audio_track_; pp 58 ppapi/tests/test_media_stream_video_track.cc void TestMediaStreamVideoTrack::HandleMessage(const pp::Var& message) { pp 60 ppapi/tests/test_media_stream_video_track.cc video_track_ = pp::MediaStreamVideoTrack(message.AsResource()); pp 77 ppapi/tests/test_media_stream_video_track.cc video_track_ = pp::MediaStreamVideoTrack(); pp 95 ppapi/tests/test_media_stream_video_track.cc TestCompletionCallbackWithOutput<pp::VideoFrame> cc( pp 99 ppapi/tests/test_media_stream_video_track.cc pp::VideoFrame frame = cc.output(); pp 104 ppapi/tests/test_media_stream_video_track.cc pp::Size size; pp 127 ppapi/tests/test_media_stream_video_track.cc video_track_ = pp::MediaStreamVideoTrack(); pp 162 ppapi/tests/test_media_stream_video_track.cc TestCompletionCallbackWithOutput<pp::VideoFrame> cc2( pp 166 ppapi/tests/test_media_stream_video_track.cc pp::VideoFrame frame = cc2.output(); pp 176 ppapi/tests/test_media_stream_video_track.cc pp::Size size; pp 210 ppapi/tests/test_media_stream_video_track.cc TestCompletionCallbackWithOutput<pp::VideoFrame> cc2( pp 214 ppapi/tests/test_media_stream_video_track.cc pp::VideoFrame frame = cc2.output(); pp 219 ppapi/tests/test_media_stream_video_track.cc pp::Size size; pp 234 ppapi/tests/test_media_stream_video_track.cc video_track_ = pp::MediaStreamVideoTrack(); pp 24 ppapi/tests/test_media_stream_video_track.h virtual void HandleMessage(const pp::Var& message_data); pp 30 ppapi/tests/test_media_stream_video_track.h pp::MediaStreamVideoTrack video_track_; pp 22 ppapi/tests/test_memory.cc pp::Module::Get()->GetBrowserInterface(PPB_MEMORY_DEV_INTERFACE)); pp 35 ppapi/tests/test_message_loop.cc ASSERT_NE(0, pp::MessageLoop::GetForMainThread().pp_resource()); pp 36 ppapi/tests/test_message_loop.cc ASSERT_EQ(pp::MessageLoop::GetForMainThread().pp_resource(), pp 37 ppapi/tests/test_message_loop.cc pp::MessageLoop::GetCurrent().pp_resource()); pp 40 ppapi/tests/test_message_loop.cc pp::MessageLoop loop(instance_); pp 45 ppapi/tests/test_message_loop.cc pp::MessageLoop::GetForMainThread().Run()); pp 55 ppapi/tests/test_message_loop.cc pp::MessageLoop::GetCurrent().PostWork(callback_factory_.NewCallback( pp 61 ppapi/tests/test_message_loop.cc pp::SimpleThread thread(instance_); pp 80 ppapi/tests/test_message_loop.cc pp::MessageLoop::GetForMainThread().Run()); pp 101 ppapi/tests/test_message_loop.cc pp::MessageLoop::GetForMainThread().PostWork( pp 14 ppapi/tests/test_message_loop.h namespace pp { pp 43 ppapi/tests/test_message_loop.h pp::CompletionCallbackFactory<TestMessageLoop> callback_factory_; pp 19 ppapi/tests/test_mouse_cursor.cc pp::Module::Get()->GetBrowserInterface(PPB_MOUSECURSOR_INTERFACE)); pp 40 ppapi/tests/test_mouse_cursor.cc pp::ImageData valid_image(instance_, pp 41 ppapi/tests/test_mouse_cursor.cc pp::ImageData::GetNativeImageDataFormat(), pp 42 ppapi/tests/test_mouse_cursor.cc pp::Size(16, 16), true); pp 58 ppapi/tests/test_mouse_cursor.cc pp::ImageData big_image(instance_, pp::ImageData::GetNativeImageDataFormat(), pp 59 ppapi/tests/test_mouse_cursor.cc pp::Size(65, 12), true); pp 68 ppapi/tests/test_mouse_cursor.cc pp::ImageData valid_image(instance_, pp 69 ppapi/tests/test_mouse_cursor.cc pp::ImageData::GetNativeImageDataFormat(), pp 70 ppapi/tests/test_mouse_cursor.cc pp::Size(16, 16), true); pp 31 ppapi/tests/test_mouse_lock.cc void TestMouseLock::DidChangeView(const pp::View& view) { pp 66 ppapi/tests/test_mouse_lock.cc pp::Point mouse_movement; pp 67 ppapi/tests/test_mouse_lock.cc pp::MouseInputEvent input_event( pp 15 ppapi/tests/test_mouse_lock.h class TestMouseLock: public TestCase, public pp::MouseLock { pp 23 ppapi/tests/test_mouse_lock.h virtual void DidChangeView(const pp::View& view); pp 34 ppapi/tests/test_mouse_lock.h pp::Rect position_; pp 13 ppapi/tests/test_net_address.cc using pp::NetAddress; pp 32 ppapi/tests/test_net_address.cc const pp::InstanceHandle& instance, pp 14 ppapi/tests/test_net_address_private.cc using pp::NetAddressPrivate; pp 17 ppapi/tests/test_net_address_private_untrusted.cc using pp::NetAddressPrivate; pp 18 ppapi/tests/test_net_address_private_untrusted.cc using pp::TCPSocketPrivate; pp 66 ppapi/tests/test_net_address_private_untrusted.cc pp::TCPSocketPrivate socket(instance_); pp 83 ppapi/tests/test_net_address_private_untrusted.cc pp::TCPSocketPrivate socket(instance_); pp 100 ppapi/tests/test_net_address_private_untrusted.cc pp::TCPSocketPrivate socket(instance_); pp 121 ppapi/tests/test_net_address_private_untrusted.cc pp::TCPSocketPrivate socket(instance_); pp 158 ppapi/tests/test_net_address_private_untrusted.cc pp::TCPSocketPrivate socket(instance_); pp 174 ppapi/tests/test_net_address_private_untrusted.cc pp::TCPSocketPrivate socket(instance_); pp 189 ppapi/tests/test_net_address_private_untrusted.cc pp::TCPSocketPrivate socket(instance_); pp 27 ppapi/tests/test_net_address_private_untrusted.h int32_t Connect(pp::TCPSocketPrivate* socket, pp 25 ppapi/tests/test_network_monitor.cc explicit MonitorDeletionCallbackDelegate(pp::NetworkMonitor* monitor) pp 35 ppapi/tests/test_network_monitor.cc pp::NetworkMonitor* monitor_; pp 45 ppapi/tests/test_network_monitor.cc if (!pp::NetworkMonitor::IsAvailable()) pp 58 ppapi/tests/test_network_monitor.cc const pp::NetworkList& network_list) { pp 66 ppapi/tests/test_network_monitor.cc std::vector<pp::NetAddress> addresses; pp 134 ppapi/tests/test_network_monitor.cc TestCompletionCallbackWithOutput<pp::NetworkList> test_callback( pp 136 ppapi/tests/test_network_monitor.cc pp::NetworkMonitor network_monitor(instance_); pp 147 ppapi/tests/test_network_monitor.cc TestCompletionCallbackWithOutput<pp::NetworkList> test_callback( pp 149 ppapi/tests/test_network_monitor.cc pp::NetworkMonitor network_monitor(instance_); pp 156 ppapi/tests/test_network_monitor.cc TestCompletionCallbackWithOutput<pp::NetworkList> test_callback_2( pp 158 ppapi/tests/test_network_monitor.cc pp::NetworkMonitor network_monitor_2(instance_); pp 169 ppapi/tests/test_network_monitor.cc pp::NetworkMonitor* network_monitor = pp 170 ppapi/tests/test_network_monitor.cc new pp::NetworkMonitor(instance_); pp 172 ppapi/tests/test_network_monitor.cc TestCompletionCallbackWithOutput<pp::NetworkList> test_callback( pp 13 ppapi/tests/test_network_monitor.h namespace pp { pp 31 ppapi/tests/test_network_monitor.h std::string VerifyNetworkList(const pp::NetworkList& network_list); pp 23 ppapi/tests/test_network_proxy.cc TestCompletionCallbackWithOutput<pp::Var> callback(instance_->pp_instance(), pp 26 ppapi/tests/test_network_proxy.cc pp::NetworkProxy::GetProxyForURL(instance_, pp 27 ppapi/tests/test_network_proxy.cc pp::Var("http://127.0.0.1/foobar/"), pp 31 ppapi/tests/test_network_proxy.cc pp::Var output = callback.output(); pp 37 ppapi/tests/test_network_proxy.cc pp::NetworkProxy::GetProxyForURL(instance_, pp 38 ppapi/tests/test_network_proxy.cc pp::Var("http://www.google.com"), pp 47 ppapi/tests/test_network_proxy.cc pp::NetworkProxy::GetProxyForURL(instance_, pp 48 ppapi/tests/test_network_proxy.cc pp::Var("file:///tmp"), pp 58 ppapi/tests/test_network_proxy.cc pp::NetworkProxy::GetProxyForURL(instance_, pp 59 ppapi/tests/test_network_proxy.cc pp::Var("this isn't a url"), pp 66 ppapi/tests/test_network_proxy.cc pp::NetworkProxy::GetProxyForURL(instance_, pp 67 ppapi/tests/test_network_proxy.cc pp::Var(42), // non-string Var pp 19 ppapi/tests/test_output_protection_private.cc pp::Module::Get()->GetBrowserInterface( pp 40 ppapi/tests/test_paint_aggregator.cc pp::PaintAggregator greg; pp 47 ppapi/tests/test_paint_aggregator.cc pp::PaintAggregator greg; pp 49 ppapi/tests/test_paint_aggregator.cc pp::Rect rect(2, 4, 10, 16); pp 62 ppapi/tests/test_paint_aggregator.cc pp::PaintAggregator greg; pp 64 ppapi/tests/test_paint_aggregator.cc pp::Rect r1(2, 4, 2, 4); pp 65 ppapi/tests/test_paint_aggregator.cc pp::Rect r2(4, 2, 4, 2); pp 70 ppapi/tests/test_paint_aggregator.cc pp::Rect expected_bounds = r1.Union(r2); pp 81 ppapi/tests/test_paint_aggregator.cc pp::PaintAggregator greg; pp 83 ppapi/tests/test_paint_aggregator.cc pp::Rect r1(2, 4, 2, 4); pp 84 ppapi/tests/test_paint_aggregator.cc pp::Rect r2(4, 2, 4, 2); pp 89 ppapi/tests/test_paint_aggregator.cc pp::Rect expected_bounds = r1.Union(r2); pp 100 ppapi/tests/test_paint_aggregator.cc pp::PaintAggregator greg; pp 102 ppapi/tests/test_paint_aggregator.cc pp::Rect rect(1, 2, 3, 4); pp 103 ppapi/tests/test_paint_aggregator.cc pp::Point delta1(1, 0); pp 104 ppapi/tests/test_paint_aggregator.cc pp::Point delta2(1, 0); pp 114 ppapi/tests/test_paint_aggregator.cc pp::Point expected_delta(delta1.x() + delta2.x(), pp 119 ppapi/tests/test_paint_aggregator.cc pp::Rect resulting_damage = greg.GetPendingUpdate().paint_rects[0]; pp 120 ppapi/tests/test_paint_aggregator.cc pp::Rect expected_damage(1, 2, 2, 4); pp 126 ppapi/tests/test_paint_aggregator.cc pp::PaintAggregator greg; pp 131 ppapi/tests/test_paint_aggregator.cc pp::Rect rect(1, 2, 3, 4); pp 132 ppapi/tests/test_paint_aggregator.cc pp::Point delta1(1, 0); pp 133 ppapi/tests/test_paint_aggregator.cc pp::Point delta2(-1, 0); pp 142 ppapi/tests/test_paint_aggregator.cc pp::PaintAggregator greg; pp 147 ppapi/tests/test_paint_aggregator.cc pp::Rect rect(1, 2, 3, 4); pp 148 ppapi/tests/test_paint_aggregator.cc pp::Point delta(1, 1); pp 160 ppapi/tests/test_paint_aggregator.cc pp::PaintAggregator greg; pp 162 ppapi/tests/test_paint_aggregator.cc pp::Rect scroll_rect(0, 0, 10, 10); pp 163 ppapi/tests/test_paint_aggregator.cc greg.ScrollRect(scroll_rect, pp::Point(2, 0)); pp 165 ppapi/tests/test_paint_aggregator.cc pp::Rect paint_rect(4, 4, 2, 2); pp 181 ppapi/tests/test_paint_aggregator.cc pp::PaintAggregator greg; pp 183 ppapi/tests/test_paint_aggregator.cc pp::Rect paint_rect(4, 4, 2, 2); pp 186 ppapi/tests/test_paint_aggregator.cc pp::Rect scroll_rect(0, 0, 10, 10); pp 187 ppapi/tests/test_paint_aggregator.cc greg.ScrollRect(scroll_rect, pp::Point(2, 0)); pp 204 ppapi/tests/test_paint_aggregator.cc pp::PaintAggregator greg; pp 206 ppapi/tests/test_paint_aggregator.cc pp::Rect paint_rect1(4, 4, 2, 2); pp 209 ppapi/tests/test_paint_aggregator.cc pp::Rect scroll_rect(0, 0, 10, 10); pp 210 ppapi/tests/test_paint_aggregator.cc greg.ScrollRect(scroll_rect, pp::Point(2, 0)); pp 212 ppapi/tests/test_paint_aggregator.cc pp::Rect paint_rect2(6, 4, 2, 2); pp 215 ppapi/tests/test_paint_aggregator.cc pp::Rect expected_paint_rect = paint_rect2; pp 229 ppapi/tests/test_paint_aggregator.cc pp::PaintAggregator greg; pp 231 ppapi/tests/test_paint_aggregator.cc pp::Rect scroll_rect(0, 0, 10, 10); pp 232 ppapi/tests/test_paint_aggregator.cc greg.ScrollRect(scroll_rect, pp::Point(0, 1)); pp 234 ppapi/tests/test_paint_aggregator.cc pp::Rect paint_rect(0, 0, 10, 9); // Repaint 90% pp 247 ppapi/tests/test_paint_aggregator.cc pp::PaintAggregator greg; pp 249 ppapi/tests/test_paint_aggregator.cc pp::Rect paint_rect(0, 0, 10, 9); // Repaint 90% pp 252 ppapi/tests/test_paint_aggregator.cc pp::Rect scroll_rect(0, 0, 10, 10); pp 253 ppapi/tests/test_paint_aggregator.cc greg.ScrollRect(scroll_rect, pp::Point(0, 1)); pp 265 ppapi/tests/test_paint_aggregator.cc pp::PaintAggregator greg; pp 267 ppapi/tests/test_paint_aggregator.cc pp::Rect paint_rect(4, 4, 10, 2); pp 270 ppapi/tests/test_paint_aggregator.cc pp::Rect scroll_rect(0, 0, 10, 10); pp 271 ppapi/tests/test_paint_aggregator.cc greg.ScrollRect(scroll_rect, pp::Point(2, 0)); pp 273 ppapi/tests/test_paint_aggregator.cc pp::Rect expected_paint_rect = scroll_rect.Union(paint_rect); pp 285 ppapi/tests/test_paint_aggregator.cc pp::PaintAggregator greg; pp 287 ppapi/tests/test_paint_aggregator.cc pp::Rect scroll_rect(0, 0, 10, 10); pp 288 ppapi/tests/test_paint_aggregator.cc greg.ScrollRect(scroll_rect, pp::Point(2, 0)); pp 290 ppapi/tests/test_paint_aggregator.cc pp::Rect paint_rect(4, 4, 10, 2); pp 293 ppapi/tests/test_paint_aggregator.cc pp::Rect expected_paint_rect = scroll_rect.Union(paint_rect); pp 305 ppapi/tests/test_paint_aggregator.cc pp::PaintAggregator greg; pp 307 ppapi/tests/test_paint_aggregator.cc pp::Rect paint_rect(4, 4, 10, 2); pp 310 ppapi/tests/test_paint_aggregator.cc pp::Rect scroll_rect(0, 0, 2, 10); pp 311 ppapi/tests/test_paint_aggregator.cc greg.ScrollRect(scroll_rect, pp::Point(2, 0)); pp 324 ppapi/tests/test_paint_aggregator.cc pp::PaintAggregator greg; pp 326 ppapi/tests/test_paint_aggregator.cc pp::Rect scroll_rect(0, 0, 2, 10); pp 327 ppapi/tests/test_paint_aggregator.cc greg.ScrollRect(scroll_rect, pp::Point(2, 0)); pp 329 ppapi/tests/test_paint_aggregator.cc pp::Rect paint_rect(4, 4, 10, 2); pp 343 ppapi/tests/test_paint_aggregator.cc pp::PaintAggregator greg; pp 345 ppapi/tests/test_paint_aggregator.cc pp::Rect paint_rect(4, 4, 6, 6); pp 348 ppapi/tests/test_paint_aggregator.cc pp::Rect scroll_rect(0, 0, 10, 10); pp 349 ppapi/tests/test_paint_aggregator.cc greg.ScrollRect(scroll_rect, pp::Point(2, 0)); pp 352 ppapi/tests/test_paint_aggregator.cc pp::Rect expected_paint_rect(6, 4, 4, 6); pp 365 ppapi/tests/test_paint_aggregator.cc pp::PaintAggregator greg; pp 367 ppapi/tests/test_paint_aggregator.cc pp::Rect paint_rect(4, 4, 6, 6); pp 370 ppapi/tests/test_paint_aggregator.cc pp::Rect scroll_rect(0, 0, 10, 10); pp 371 ppapi/tests/test_paint_aggregator.cc greg.ScrollRect(scroll_rect, pp::Point(6, 0)); pp 384 ppapi/tests/test_paint_aggregator.cc pp::PaintAggregator greg; pp 386 ppapi/tests/test_paint_aggregator.cc pp::Rect scroll_rect(0, 0, 10, 10); pp 387 ppapi/tests/test_paint_aggregator.cc greg.ScrollRect(scroll_rect, pp::Point(4, 0)); pp 389 ppapi/tests/test_paint_aggregator.cc pp::Rect paint_rect(2, 0, 4, 10); pp 392 ppapi/tests/test_paint_aggregator.cc pp::Rect expected_scroll_damage(0, 0, 4, 10); pp 393 ppapi/tests/test_paint_aggregator.cc pp::Rect expected_paint_rect(4, 0, 2, 10); pp 408 ppapi/tests/test_paint_aggregator.cc pp::PaintAggregator greg; pp 410 ppapi/tests/test_paint_aggregator.cc pp::Rect scroll_rect(0, 0, 10, 10); pp 411 ppapi/tests/test_paint_aggregator.cc greg.ScrollRect(scroll_rect, pp::Point(4, 0)); pp 413 ppapi/tests/test_paint_aggregator.cc pp::Rect paint_rect(2, 0, 2, 10); pp 416 ppapi/tests/test_paint_aggregator.cc pp::Rect expected_scroll_damage(0, 0, 4, 10); pp 26 ppapi/tests/test_pdf.cc pp::Var string = pp::PDF::GetLocalizedString(instance_, pp 35 ppapi/tests/test_pdf.cc pp::ImageData data = pp 36 ppapi/tests/test_pdf.cc pp::PDF::GetResourceImage(instance_, PP_RESOURCEIMAGE_PDF_BUTTON_ZOOMIN); pp 41 ppapi/tests/test_pdf.cc pp::Point point(i, j); pp 25 ppapi/tests/test_platform_verification_private.cc pp::PlatformVerification platform_verification_api(instance_); pp 27 ppapi/tests/test_platform_verification_private.cc pp::VarArrayBuffer challenge_array(256); pp 34 ppapi/tests/test_platform_verification_private.cc pp::Var signed_data, signed_data_signature, platform_key_certificate; pp 36 ppapi/tests/test_platform_verification_private.cc pp::Var(service_id_str), challenge_array, &signed_data, pp 55 ppapi/tests/test_post_message.cc InvokePostMessageThreadArg(pp::Instance* i, const pp::Var& v) pp 57 ppapi/tests/test_post_message.cc pp::Instance* instance; pp 58 ppapi/tests/test_post_message.cc pp::Var value_to_send; pp 70 ppapi/tests/test_post_message.cc bool VarsEqual(const pp::Var& expected, pp 71 ppapi/tests/test_post_message.cc const pp::Var& actual, pp 98 ppapi/tests/test_post_message.cc pp::VarArray expected_array(expected); pp 99 ppapi/tests/test_post_message.cc pp::VarArray actual_array(actual); pp 108 ppapi/tests/test_post_message.cc pp::VarDictionary expected_dict(expected); pp 109 ppapi/tests/test_post_message.cc pp::VarDictionary actual_dict(actual); pp 115 ppapi/tests/test_post_message.cc pp::Var key = expected_dict.GetKeys().Get(i); pp 127 ppapi/tests/test_post_message.cc bool VarsEqual(const pp::Var& expected, pp 128 ppapi/tests/test_post_message.cc const pp::Var& actual) { pp 159 ppapi/tests/test_post_message.cc instance_->PostMessage(pp::Var("This isn't guaranteed to be received, but " pp 202 ppapi/tests/test_post_message.cc instance_->PostMessage(pp::Var(kTestString)); pp 225 ppapi/tests/test_post_message.cc void TestPostMessage::HandleMessage(const pp::Var& message_data) { pp 284 ppapi/tests/test_post_message.cc instance_->PostMessage(pp::Var(FINISHED_WAITING_MESSAGE)); pp 293 ppapi/tests/test_post_message.cc const pp::Var& test_data, pp 337 ppapi/tests/test_post_message.cc instance_->PostMessage(pp::Var(kTestBool)); pp 344 ppapi/tests/test_post_message.cc instance_->PostMessage(pp::Var(kTestInt)); pp 352 ppapi/tests/test_post_message.cc instance_->PostMessage(pp::Var(kTestDouble)); pp 359 ppapi/tests/test_post_message.cc instance_->PostMessage(pp::Var()); pp 365 ppapi/tests/test_post_message.cc instance_->PostMessage(pp::Var(pp::Var::Null())); pp 393 ppapi/tests/test_post_message.cc instance_->PostMessage(pp::Var(kTestString)); pp 425 ppapi/tests/test_post_message.cc pp::VarArrayBuffer test_data(sizes[i]); pp 466 ppapi/tests/test_post_message.cc pp::VarArrayBuffer received(message_data_.back()); pp 492 ppapi/tests/test_post_message.cc pp::VarArray array; pp 493 ppapi/tests/test_post_message.cc array.Set(0, pp::Var(kTestBool)); pp 494 ppapi/tests/test_post_message.cc array.Set(1, pp::Var(kTestString)); pp 496 ppapi/tests/test_post_message.cc array.Set(3, pp::Var(kTestInt)); pp 497 ppapi/tests/test_post_message.cc array.Set(4, pp::Var(kTestDouble)); pp 538 ppapi/tests/test_post_message.cc pp::VarDictionary dictionary; pp 539 ppapi/tests/test_post_message.cc dictionary.Set(pp::Var("foo"), pp::Var(kTestBool)); pp 540 ppapi/tests/test_post_message.cc dictionary.Set(pp::Var("bar"), pp::Var(kTestString)); pp 541 ppapi/tests/test_post_message.cc dictionary.Set(pp::Var("abc"), pp::Var(kTestInt)); pp 542 ppapi/tests/test_post_message.cc dictionary.Set(pp::Var("def"), pp::Var()); pp 592 ppapi/tests/test_post_message.cc pp::FileSystem file_system(instance_, PP_FILESYSTEMTYPE_LOCALTEMPORARY); pp 596 ppapi/tests/test_post_message.cc pp::FileRef write_file_ref(file_system, file_path.c_str()); pp 598 ppapi/tests/test_post_message.cc pp::FileIO write_file_io(instance_); pp 614 ppapi/tests/test_post_message.cc pp::Var file_system_var(file_system); pp 639 ppapi/tests/test_post_message.cc pp::Var var = message_data_.back(); pp 641 ppapi/tests/test_post_message.cc pp::Resource result = var.AsResource(); pp 642 ppapi/tests/test_post_message.cc ASSERT_TRUE(pp::FileSystem::IsFileSystem(result)); pp 644 ppapi/tests/test_post_message.cc pp::FileSystem received_file_system(result); pp 645 ppapi/tests/test_post_message.cc pp::FileRef file_ref(received_file_system, file_path.c_str()); pp 657 ppapi/tests/test_post_message.cc pp::FileIO file_io(instance_); pp 688 ppapi/tests/test_post_message.cc pp::Var string(kTestString); pp 689 ppapi/tests/test_post_message.cc pp::VarDictionary dictionary; pp 690 ppapi/tests/test_post_message.cc dictionary.Set(pp::Var("foo"), pp::Var(kTestBool)); pp 691 ppapi/tests/test_post_message.cc dictionary.Set(pp::Var("bar"), string); pp 692 ppapi/tests/test_post_message.cc dictionary.Set(pp::Var("abc"), pp::Var(kTestInt)); pp 693 ppapi/tests/test_post_message.cc dictionary.Set(pp::Var("def"), pp::Var()); pp 696 ppapi/tests/test_post_message.cc pp::VarArray array; pp 697 ppapi/tests/test_post_message.cc array.Set(0, pp::Var(kTestBool)); pp 700 ppapi/tests/test_post_message.cc array.Set(3, pp::Var(kTestInt)); pp 701 ppapi/tests/test_post_message.cc array.Set(4, pp::Var(kTestDouble)); pp 703 ppapi/tests/test_post_message.cc dictionary.Set(pp::Var("array-ref1"), array); pp 704 ppapi/tests/test_post_message.cc dictionary.Set(pp::Var("array-ref2"), array); pp 714 ppapi/tests/test_post_message.cc pp::VarDictionary result(message_data_.back()); pp 723 ppapi/tests/test_post_message.cc pp::VarArray array2; pp 725 ppapi/tests/test_post_message.cc dictionary.Set(pp::Var("array2"), array2); pp 734 ppapi/tests/test_post_message.cc dictionary.Delete(pp::Var("array2")); pp 763 ppapi/tests/test_post_message.cc instance_->PostMessage(pp::Var(kTestInt)); pp 780 ppapi/tests/test_post_message.cc instance_->PostMessage(pp::Var(kTestInt)); pp 793 ppapi/tests/test_post_message.cc instance_->PostMessage(pp::Var(kTestInt)); pp 826 ppapi/tests/test_post_message.cc instance_->PostMessage(pp::Var()); pp 843 ppapi/tests/test_post_message.cc instance_->PostMessage(pp::Var()); pp 866 ppapi/tests/test_post_message.cc void* arg = new InvokePostMessageThreadArg(instance_, pp::Var(i)); pp 871 ppapi/tests/test_post_message.cc instance_->PostMessage(pp::Var(kThreadsToRun)); pp 891 ppapi/tests/test_post_message.cc const pp::Var& latest_var(message_data_[i]); pp 25 ppapi/tests/test_post_message.h virtual void HandleMessage(const pp::Var& message_data); pp 60 ppapi/tests/test_post_message.h const pp::Var& test_data, pp 104 ppapi/tests/test_post_message.h typedef std::vector<pp::Var> VarVector; pp 19 ppapi/tests/test_printing.cc class TestPrinting_Dev : public pp::Printing_Dev { pp 21 ppapi/tests/test_printing.cc explicit TestPrinting_Dev(pp::Instance* instance) : pp 22 ppapi/tests/test_printing.cc pp::Printing_Dev(instance) {} pp 27 ppapi/tests/test_printing.cc virtual pp::Resource PrintPages( pp 30 ppapi/tests/test_printing.cc return pp::Resource(); pp 49 ppapi/tests/test_printing.cc pp::CompletionCallbackWithOutput<PP_PrintSettings_Dev> cb = pp 32 ppapi/tests/test_printing.h pp::CompletionCallbackFactory<TestPrinting> callback_factory_; pp 33 ppapi/tests/test_scrollbar.cc pp::Rect location; pp 40 ppapi/tests/test_scrollbar.cc pp::Core* core = pp::Module::Get()->core(); pp 41 ppapi/tests/test_scrollbar.cc pp::KeyboardInputEvent input_event( pp 46 ppapi/tests/test_scrollbar.cc pp::Var(), pp 47 ppapi/tests/test_scrollbar.cc pp::Var("ArrowDown")); pp 54 ppapi/tests/test_scrollbar.cc void TestScrollbar::InvalidateWidget(pp::Widget_Dev widget, pp 55 ppapi/tests/test_scrollbar.cc const pp::Rect& dirty_rect) { pp 58 ppapi/tests/test_scrollbar.cc void TestScrollbar::ScrollbarValueChanged(pp::Scrollbar_Dev scrollbar, pp 64 ppapi/tests/test_scrollbar.cc void TestScrollbar::ScrollbarOverlayChanged(pp::Scrollbar_Dev scrollbar, pp 14 ppapi/tests/test_scrollbar.h public pp::WidgetClient_Dev { pp 25 ppapi/tests/test_scrollbar.h virtual void InvalidateWidget(pp::Widget_Dev widget, pp 26 ppapi/tests/test_scrollbar.h const pp::Rect& dirty_rect); pp 27 ppapi/tests/test_scrollbar.h virtual void ScrollbarValueChanged(pp::Scrollbar_Dev scrollbar, pp 29 ppapi/tests/test_scrollbar.h virtual void ScrollbarOverlayChanged(pp::Scrollbar_Dev scrollbar, pp 32 ppapi/tests/test_scrollbar.h pp::Scrollbar_Dev scrollbar_; pp 32 ppapi/tests/test_talk_private.cc pp::Module::Get()->GetBrowserInterface(PPB_TALK_PRIVATE_INTERFACE_1_0)); pp 17 ppapi/tests/test_tcp_server_socket_private.cc using pp::NetAddressPrivate; pp 18 ppapi/tests/test_tcp_server_socket_private.cc using pp::TCPServerSocketPrivate; pp 19 ppapi/tests/test_tcp_server_socket_private.cc using pp::TCPSocketPrivate; pp 153 ppapi/tests/test_tcp_server_socket_private.cc pp::MessageLoop current_thread_loop(pp::MessageLoop::GetCurrent()); pp 155 ppapi/tests/test_tcp_server_socket_private.cc current_thread_loop = pp::MessageLoop(instance_); pp 175 ppapi/tests/test_tcp_server_socket_private.cc TCPSocketPrivate accepted_socket(pp::PassRef(), resource); pp 229 ppapi/tests/test_tcp_server_socket_private.cc accepted_sockets[i] = new TCPSocketPrivate(pp::PassRef(), resources[i]); pp 16 ppapi/tests/test_tcp_server_socket_private.h namespace pp { pp 33 ppapi/tests/test_tcp_server_socket_private.h std::string SyncRead(pp::TCPSocketPrivate* socket, pp 36 ppapi/tests/test_tcp_server_socket_private.h std::string SyncWrite(pp::TCPSocketPrivate* socket, pp 39 ppapi/tests/test_tcp_server_socket_private.h std::string SyncConnect(pp::TCPSocketPrivate* socket, pp 41 ppapi/tests/test_tcp_server_socket_private.h void ForceConnect(pp::TCPSocketPrivate* socket, pp 43 ppapi/tests/test_tcp_server_socket_private.h std::string SyncListen(pp::TCPServerSocketPrivate* socket, pp 25 ppapi/tests/test_tcp_server_socket_private_disallowed.cc pp::Module::Get()->GetBrowserInterface(PPB_CORE_INTERFACE)); pp 31 ppapi/tests/test_tcp_server_socket_private_disallowed.cc pp::Module::Get()->GetBrowserInterface( pp 38 ppapi/tests/test_tcp_server_socket_private_disallowed.cc bool net_address_private_is_available = pp::NetAddressPrivate::IsAvailable(); pp 59 ppapi/tests/test_tcp_server_socket_private_disallowed.cc pp::NetAddressPrivate::GetAnyAddress(false, &base_address); pp 60 ppapi/tests/test_tcp_server_socket_private_disallowed.cc ASSERT_TRUE(pp::NetAddressPrivate::ReplacePort( pp 34 ppapi/tests/test_tcp_socket.cc if (!pp::TCPSocket::IsAvailable()) pp 38 ppapi/tests/test_tcp_socket.cc pp::Module::Get()->GetBrowserInterface(PPB_TCPSOCKET_INTERFACE_1_0)); pp 70 ppapi/tests/test_tcp_socket.cc pp::TCPSocket socket(instance_); pp 77 ppapi/tests/test_tcp_socket.cc pp::NetAddress local_addr, remote_addr; pp 90 ppapi/tests/test_tcp_socket.cc pp::TCPSocket socket(instance_); pp 93 ppapi/tests/test_tcp_socket.cc pp::NetAddress any_port_address; pp 104 ppapi/tests/test_tcp_socket.cc pp::NetAddress local_addr, remote_addr; pp 120 ppapi/tests/test_tcp_socket.cc pp::TCPSocket socket(instance_); pp 138 ppapi/tests/test_tcp_socket.cc pp::TCPSocket socket(instance_); pp 192 ppapi/tests/test_tcp_socket.cc pp::TCPSocket server_socket(instance_); pp 197 ppapi/tests/test_tcp_socket.cc TestCompletionCallbackWithOutput<pp::TCPSocket> pp 200 ppapi/tests/test_tcp_socket.cc pp::MessageLoop current_thread_loop(pp::MessageLoop::GetCurrent()); pp 202 ppapi/tests/test_tcp_socket.cc current_thread_loop = pp::MessageLoop(instance_); pp 208 ppapi/tests/test_tcp_socket.cc pp::TCPSocket client_socket; pp 211 ppapi/tests/test_tcp_socket.cc client_socket = pp::TCPSocket(instance_); pp 217 ppapi/tests/test_tcp_socket.cc pp::NetAddress client_local_addr = client_socket.GetLocalAddress(); pp 218 ppapi/tests/test_tcp_socket.cc pp::NetAddress client_remote_addr = client_socket.GetRemoteAddress(); pp 226 ppapi/tests/test_tcp_socket.cc pp::TCPSocket accepted_socket(accept_callback.output()); pp 227 ppapi/tests/test_tcp_socket.cc pp::NetAddress accepted_local_addr = accepted_socket.GetLocalAddress(); pp 228 ppapi/tests/test_tcp_socket.cc pp::NetAddress accepted_remote_addr = accepted_socket.GetRemoteAddress(); pp 254 ppapi/tests/test_tcp_socket.cc pp::TCPSocket server_socket(instance_); pp 257 ppapi/tests/test_tcp_socket.cc std::vector<pp::TCPSocket*> client_sockets(kBacklog); pp 260 ppapi/tests/test_tcp_socket.cc pp::NetAddress address = server_socket.GetLocalAddress(); pp 262 ppapi/tests/test_tcp_socket.cc client_sockets[i] = new pp::TCPSocket(instance_); pp 269 ppapi/tests/test_tcp_socket.cc std::vector<pp::TCPSocket*> accepted_sockets(kBacklog); pp 271 ppapi/tests/test_tcp_socket.cc TestCompletionCallbackWithOutput<pp::TCPSocket> callback( pp 277 ppapi/tests/test_tcp_socket.cc accepted_sockets[i] = new pp::TCPSocket(callback.output()); pp 333 ppapi/tests/test_tcp_socket.cc pp::Module::Get()->core()->ReleaseResource(socket); pp 337 ppapi/tests/test_tcp_socket.cc std::string TestTCPSocket::ReadFirstLineFromSocket(pp::TCPSocket* socket, pp 381 ppapi/tests/test_tcp_socket.cc std::string TestTCPSocket::ReadFromSocket(pp::TCPSocket* socket, pp 397 ppapi/tests/test_tcp_socket.cc std::string TestTCPSocket::WriteToSocket(pp::TCPSocket* socket, pp 431 ppapi/tests/test_tcp_socket.cc std::string TestTCPSocket::GetAddressToBind(pp::NetAddress* address) { pp 432 ppapi/tests/test_tcp_socket.cc pp::TCPSocket socket(instance_); pp 444 ppapi/tests/test_tcp_socket.cc std::string TestTCPSocket::StartListen(pp::TCPSocket* socket, int32_t backlog) { pp 445 ppapi/tests/test_tcp_socket.cc pp::NetAddress any_port_address; pp 15 ppapi/tests/test_tcp_socket.h namespace pp { pp 35 ppapi/tests/test_tcp_socket.h std::string ReadFirstLineFromSocket(pp::TCPSocket* socket, std::string* s); pp 38 ppapi/tests/test_tcp_socket.h std::string ReadFromSocket(pp::TCPSocket* socket, pp 41 ppapi/tests/test_tcp_socket.h std::string WriteToSocket(pp::TCPSocket* socket, const std::string& s); pp 44 ppapi/tests/test_tcp_socket.h std::string GetAddressToBind(pp::NetAddress* address); pp 45 ppapi/tests/test_tcp_socket.h std::string StartListen(pp::TCPSocket* socket, int32_t backlog); pp 47 ppapi/tests/test_tcp_socket.h pp::NetAddress addr_; pp 34 ppapi/tests/test_tcp_socket_private.cc if (!pp::TCPSocketPrivate::IsAvailable()) pp 61 ppapi/tests/test_tcp_socket_private.cc pp::TCPSocketPrivate socket(instance_); pp 79 ppapi/tests/test_tcp_socket_private.cc pp::TCPSocketPrivate socket(instance_); pp 99 ppapi/tests/test_tcp_socket_private.cc pp::TCPSocketPrivate socket(instance_); pp 128 ppapi/tests/test_tcp_socket_private.cc pp::TCPSocketPrivate socket(instance_); pp 139 ppapi/tests/test_tcp_socket_private.cc pp::TCPSocketPrivate socket(instance_); pp 157 ppapi/tests/test_tcp_socket_private.cc pp::TCPSocketPrivate socket(instance_); pp 188 ppapi/tests/test_tcp_socket_private.cc pp::TCPSocketPrivate socket(instance_); pp 217 ppapi/tests/test_tcp_socket_private.cc pp::TCPSocketPrivate* socket, pp 243 ppapi/tests/test_tcp_socket_private.cc int32_t TestTCPSocketPrivate::WriteStringToSocket(pp::TCPSocketPrivate* socket, pp 13 ppapi/tests/test_tcp_socket_private.h namespace pp { pp 33 ppapi/tests/test_tcp_socket_private.h int32_t ReadFirstLineFromSocket(pp::TCPSocketPrivate* socket, std::string* s); pp 34 ppapi/tests/test_tcp_socket_private.h int32_t WriteStringToSocket(pp::TCPSocketPrivate* socket, pp 27 ppapi/tests/test_tcp_socket_private_disallowed.cc pp::Module::Get()->GetBrowserInterface(PPB_TCPSOCKET_PRIVATE_INTERFACE)); pp 20 ppapi/tests/test_tcp_socket_private_trusted.cc if (!pp::TCPSocketPrivate::IsAvailable()) pp 42 ppapi/tests/test_tcp_socket_private_trusted.cc pp::TCPSocketPrivate socket(instance_); pp 55 ppapi/tests/test_tcp_socket_private_trusted.cc const pp::X509CertificatePrivate& cert = socket.GetServerCertificate(); pp 19 ppapi/tests/test_trace_event.cc pp::Module::Get()->GetBrowserInterface(PPB_TRACE_EVENT_DEV_INTERFACE)); pp 68 ppapi/tests/test_truetype_font.cc pp::Module::Get()->GetBrowserInterface(PPB_TRUETYPEFONT_DEV_INTERFACE)); pp 73 ppapi/tests/test_truetype_font.cc pp::Module::Get()->GetBrowserInterface(PPB_CORE_INTERFACE)); pp 78 ppapi/tests/test_truetype_font.cc pp::Module::Get()->GetBrowserInterface(PPB_VAR_INTERFACE)); pp 103 ppapi/tests/test_truetype_font.cc TestCompletionCallbackWithOutput< std::vector<pp::Var> > cc( pp 105 ppapi/tests/test_truetype_font.cc cc.WaitForResult(pp::TrueTypeFont_Dev::GetFontFamilies(instance_, pp 107 ppapi/tests/test_truetype_font.cc const std::vector<pp::Var> font_families = cc.output(); pp 116 ppapi/tests/test_truetype_font.cc TestCompletionCallbackWithOutput< std::vector<pp::Var> > cc( pp 134 ppapi/tests/test_truetype_font.cc TestCompletionCallbackWithOutput< std::vector<pp::Var> > cc( pp 136 ppapi/tests/test_truetype_font.cc cc.WaitForResult(pp::TrueTypeFont_Dev::GetFontFamilies(instance_, pp 139 ppapi/tests/test_truetype_font.cc const std::vector<pp::Var> families = cc.output(); pp 140 ppapi/tests/test_truetype_font.cc pp::Var family("Arial"); pp 142 ppapi/tests/test_truetype_font.cc family = pp::Var("Times"); pp 149 ppapi/tests/test_truetype_font.cc TestCompletionCallbackWithOutput< std::vector<pp::TrueTypeFontDesc_Dev> > pp 151 ppapi/tests/test_truetype_font.cc cc2.WaitForResult(pp::TrueTypeFont_Dev::GetFontsInFamily( pp 155 ppapi/tests/test_truetype_font.cc std::vector<pp::TrueTypeFontDesc_Dev> fonts_in_family = cc2.output(); pp 161 ppapi/tests/test_truetype_font.cc pp::TrueTypeFontDesc_Dev& font_in_family = fonts_in_family[i]; pp 162 ppapi/tests/test_truetype_font.cc pp::TrueTypeFont_Dev font(instance_, font_in_family); pp 163 ppapi/tests/test_truetype_font.cc TestCompletionCallbackWithOutput<pp::TrueTypeFontDesc_Dev> cc( pp 166 ppapi/tests/test_truetype_font.cc const pp::TrueTypeFontDesc_Dev desc = cc.output(); pp 175 ppapi/tests/test_truetype_font.cc TestCompletionCallbackWithOutput< std::vector<pp::TrueTypeFontDesc_Dev> > pp 177 ppapi/tests/test_truetype_font.cc pp::Var family("Times"); pp 220 ppapi/tests/test_truetype_font.cc pp::TrueTypeFontDesc_Dev create_desc; pp 224 ppapi/tests/test_truetype_font.cc pp::TrueTypeFont_Dev font(instance_, create_desc); pp 227 ppapi/tests/test_truetype_font.cc TestCompletionCallbackWithOutput<pp::TrueTypeFontDesc_Dev> cc( pp 230 ppapi/tests/test_truetype_font.cc const pp::TrueTypeFontDesc_Dev desc = cc.output(); pp 257 ppapi/tests/test_truetype_font.cc pp::TrueTypeFontDesc_Dev desc; pp 258 ppapi/tests/test_truetype_font.cc pp::TrueTypeFont_Dev font(instance_, desc); pp 304 ppapi/tests/test_truetype_font.cc pp::TrueTypeFontDesc_Dev desc; pp 305 ppapi/tests/test_truetype_font.cc pp::TrueTypeFont_Dev font(instance_, desc); pp 23 ppapi/tests/test_udp_socket.cc pp::NetAddress ReplacePort(const pp::InstanceHandle& instance, pp 24 ppapi/tests/test_udp_socket.cc const pp::NetAddress& addr, pp 32 ppapi/tests/test_udp_socket.cc return pp::NetAddress(instance, ipv4_addr); pp 39 ppapi/tests/test_udp_socket.cc return pp::NetAddress(instance, ipv6_addr); pp 45 ppapi/tests/test_udp_socket.cc return pp::NetAddress(); pp 54 ppapi/tests/test_udp_socket.cc bool tcp_socket_is_available = pp::TCPSocket::IsAvailable(); pp 58 ppapi/tests/test_udp_socket.cc bool udp_socket_is_available = pp::UDPSocket::IsAvailable(); pp 62 ppapi/tests/test_udp_socket.cc bool net_address_is_available = pp::NetAddress::IsAvailable(); pp 88 ppapi/tests/test_udp_socket.cc std::string TestUDPSocket::GetLocalAddress(pp::NetAddress* address) { pp 89 ppapi/tests/test_udp_socket.cc pp::TCPSocket socket(instance_); pp 100 ppapi/tests/test_udp_socket.cc std::string TestUDPSocket::SetBroadcastOptions(pp::UDPSocket* socket) { pp 103 ppapi/tests/test_udp_socket.cc PP_UDPSOCKET_OPTION_ADDRESS_REUSE, pp::Var(true), pp 110 ppapi/tests/test_udp_socket.cc PP_UDPSOCKET_OPTION_BROADCAST, pp::Var(true), callback_2.GetCallback())); pp 117 ppapi/tests/test_udp_socket.cc std::string TestUDPSocket::BindUDPSocket(pp::UDPSocket* socket, pp 118 ppapi/tests/test_udp_socket.cc const pp::NetAddress& address) { pp 127 ppapi/tests/test_udp_socket.cc pp::UDPSocket* socket, pp 128 ppapi/tests/test_udp_socket.cc pp::NetAddress* address) { pp 129 ppapi/tests/test_udp_socket.cc pp::NetAddress base_address; pp 134 ppapi/tests/test_udp_socket.cc pp::NetAddress new_address = ReplacePort(instance_, base_address, port); pp 150 ppapi/tests/test_udp_socket.cc std::string TestUDPSocket::ReadSocket(pp::UDPSocket* socket, pp 151 ppapi/tests/test_udp_socket.cc pp::NetAddress* address, pp 155 ppapi/tests/test_udp_socket.cc TestCompletionCallbackWithOutput<pp::NetAddress> callback( pp 167 ppapi/tests/test_udp_socket.cc std::string TestUDPSocket::PassMessage(pp::UDPSocket* target, pp 168 ppapi/tests/test_udp_socket.cc pp::UDPSocket* source, pp 169 ppapi/tests/test_udp_socket.cc const pp::NetAddress& target_address, pp 171 ppapi/tests/test_udp_socket.cc pp::NetAddress* recvfrom_address) { pp 189 ppapi/tests/test_udp_socket.cc pp::UDPSocket server_socket(instance_), client_socket(instance_); pp 190 ppapi/tests/test_udp_socket.cc pp::NetAddress server_address, client_address; pp 197 ppapi/tests/test_udp_socket.cc pp::NetAddress recvfrom_address; pp 213 ppapi/tests/test_udp_socket.cc pp::UDPSocket server1(instance_), server2(instance_); pp 219 ppapi/tests/test_udp_socket.cc pp::NetAddress any_address(instance_, any_ipv4_address); pp 222 ppapi/tests/test_udp_socket.cc pp::NetAddress server_address = server1.GetBoundAddress(); pp 232 ppapi/tests/test_udp_socket.cc pp::NetAddress broadcast_address(instance_, broadcast_ipv4_address); pp 238 ppapi/tests/test_udp_socket.cc pp::NetAddress recvfrom_address; pp 259 ppapi/tests/test_udp_socket.cc pp::UDPSocket socket(instance_); pp 266 ppapi/tests/test_udp_socket.cc PP_UDPSOCKET_OPTION_ADDRESS_REUSE, pp::Var(1), callback.GetCallback())); pp 271 ppapi/tests/test_udp_socket.cc PP_UDPSOCKET_OPTION_BROADCAST, pp::Var(false), callback.GetCallback())); pp 278 ppapi/tests/test_udp_socket.cc PP_UDPSOCKET_OPTION_SEND_BUFFER_SIZE, pp::Var(4096), pp 284 ppapi/tests/test_udp_socket.cc PP_UDPSOCKET_OPTION_RECV_BUFFER_SIZE, pp::Var(512), pp 289 ppapi/tests/test_udp_socket.cc pp::NetAddress address; pp 294 ppapi/tests/test_udp_socket.cc PP_UDPSOCKET_OPTION_ADDRESS_REUSE, pp::Var(true), pp 300 ppapi/tests/test_udp_socket.cc PP_UDPSOCKET_OPTION_BROADCAST, pp::Var(true), callback.GetCallback())); pp 306 ppapi/tests/test_udp_socket.cc PP_UDPSOCKET_OPTION_SEND_BUFFER_SIZE, pp::Var(2048), pp 312 ppapi/tests/test_udp_socket.cc PP_UDPSOCKET_OPTION_RECV_BUFFER_SIZE, pp::Var(1024), pp 14 ppapi/tests/test_udp_socket.h namespace pp { pp 27 ppapi/tests/test_udp_socket.h std::string GetLocalAddress(pp::NetAddress* address); pp 28 ppapi/tests/test_udp_socket.h std::string SetBroadcastOptions(pp::UDPSocket* socket); pp 29 ppapi/tests/test_udp_socket.h std::string BindUDPSocket(pp::UDPSocket* socket, pp 30 ppapi/tests/test_udp_socket.h const pp::NetAddress& address); pp 31 ppapi/tests/test_udp_socket.h std::string LookupPortAndBindUDPSocket(pp::UDPSocket* socket, pp 32 ppapi/tests/test_udp_socket.h pp::NetAddress* address); pp 33 ppapi/tests/test_udp_socket.h std::string ReadSocket(pp::UDPSocket* socket, pp 34 ppapi/tests/test_udp_socket.h pp::NetAddress* address, pp 37 ppapi/tests/test_udp_socket.h std::string PassMessage(pp::UDPSocket* target, pp 38 ppapi/tests/test_udp_socket.h pp::UDPSocket* source, pp 39 ppapi/tests/test_udp_socket.h const pp::NetAddress& target_address, pp 41 ppapi/tests/test_udp_socket.h pp::NetAddress* recvfrom_address); pp 47 ppapi/tests/test_udp_socket.h pp::NetAddress address_; pp 31 ppapi/tests/test_udp_socket_private.cc bool tcp_socket_private_is_available = pp::TCPSocketPrivate::IsAvailable(); pp 35 ppapi/tests/test_udp_socket_private.cc bool udp_socket_private_is_available = pp::UDPSocketPrivate::IsAvailable(); pp 39 ppapi/tests/test_udp_socket_private.cc bool net_address_private_is_available = pp::NetAddressPrivate::IsAvailable(); pp 65 ppapi/tests/test_udp_socket_private.cc pp::TCPSocketPrivate socket(instance_); pp 77 ppapi/tests/test_udp_socket_private.cc pp::UDPSocketPrivate* socket) { pp 79 ppapi/tests/test_udp_socket_private.cc PP_UDPSOCKETFEATURE_PRIVATE_ADDRESS_REUSE, pp::Var(true)); pp 84 ppapi/tests/test_udp_socket_private.cc pp::Var(true)); pp 92 ppapi/tests/test_udp_socket_private.cc pp::UDPSocketPrivate* socket, pp 102 ppapi/tests/test_udp_socket_private.cc pp::UDPSocketPrivate* socket, pp 109 ppapi/tests/test_udp_socket_private.cc if (!pp::NetAddressPrivate::ReplacePort(base_address, port, address)) pp 124 ppapi/tests/test_udp_socket_private.cc pp::UDPSocketPrivate* socket, pp 134 ppapi/tests/test_udp_socket_private.cc std::string TestUDPSocketPrivate::ReadSocket(pp::UDPSocketPrivate* socket, pp 149 ppapi/tests/test_udp_socket_private.cc std::string TestUDPSocketPrivate::PassMessage(pp::UDPSocketPrivate* target, pp 150 ppapi/tests/test_udp_socket_private.cc pp::UDPSocketPrivate* source, pp 168 ppapi/tests/test_udp_socket_private.cc pp::UDPSocketPrivate server_socket(instance_), client_socket(instance_); pp 181 ppapi/tests/test_udp_socket_private.cc ASSERT_TRUE(pp::NetAddressPrivate::AreEqual(recv_from_address, pp 193 ppapi/tests/test_udp_socket_private.cc pp::UDPSocketPrivate socket(instance_); pp 206 ppapi/tests/test_udp_socket_private.cc pp::UDPSocketPrivate server1(instance_), server2(instance_); pp 211 ppapi/tests/test_udp_socket_private.cc ASSERT_TRUE(pp::NetAddressPrivate::GetAnyAddress(false, &server_address)); pp 217 ppapi/tests/test_udp_socket_private.cc const uint16_t port = pp::NetAddressPrivate::GetPort(server_address); pp 219 ppapi/tests/test_udp_socket_private.cc ASSERT_TRUE(pp::NetAddressPrivate::CreateFromIPv4Address( pp 248 ppapi/tests/test_udp_socket_private.cc pp::UDPSocketPrivate socket(instance_); pp 251 ppapi/tests/test_udp_socket_private.cc pp::Var(true)); pp 256 ppapi/tests/test_udp_socket_private.cc pp::Var(1)); pp 24 ppapi/tests/test_udp_socket_private.h std::string SetBroadcastOptions(pp::UDPSocketPrivate* socket); pp 25 ppapi/tests/test_udp_socket_private.h std::string BindUDPSocket(pp::UDPSocketPrivate* socket, pp 27 ppapi/tests/test_udp_socket_private.h std::string LookupPortAndBindUDPSocket(pp::UDPSocketPrivate* socket, pp 29 ppapi/tests/test_udp_socket_private.h std::string BindUDPSocketFailure(pp::UDPSocketPrivate* socket, pp 31 ppapi/tests/test_udp_socket_private.h std::string ReadSocket(pp::UDPSocketPrivate* socket, pp 35 ppapi/tests/test_udp_socket_private.h std::string PassMessage(pp::UDPSocketPrivate* target, pp 36 ppapi/tests/test_udp_socket_private.h pp::UDPSocketPrivate* source, pp 21 ppapi/tests/test_udp_socket_private_disallowed.cc pp::Module::Get()->GetBrowserInterface(PPB_UDPSOCKET_PRIVATE_INTERFACE)); pp 36 ppapi/tests/test_udp_socket_private_disallowed.cc pp::NetAddressPrivate::GetAnyAddress(false, &addr); pp 15 ppapi/tests/test_uma.cc pp::Module::Get()->GetBrowserInterface(PPB_UMA_PRIVATE_INTERFACE)); pp 26 ppapi/tests/test_uma.cc pp::Var name_var = pp::Var("Test.CountHistogram"); pp 42 ppapi/tests/test_uma.cc pp::Var name_var = pp::Var("Test.TimeHistogram"); pp 58 ppapi/tests/test_uma.cc pp::Var name_var = pp::Var("Test.EnumHistogram"); pp 33 ppapi/tests/test_url_loader.cc pp::FileIO* file_io, pp 72 ppapi/tests/test_url_loader.cc pp::Module::Get()->GetBrowserInterface(PPB_FILEIO_INTERFACE)); pp 77 ppapi/tests/test_url_loader.cc pp::Module::Get()->GetBrowserInterface(PPB_FILEIO_PRIVATE_INTERFACE)); pp 81 ppapi/tests/test_url_loader.cc pp::Module::Get()->GetBrowserInterface(PPB_URLLOADERTRUSTED_INTERFACE)); pp 153 ppapi/tests/test_url_loader.cc std::string TestURLLoader::ReadEntireFile(pp::FileIO* file_io, pp 173 ppapi/tests/test_url_loader.cc std::string TestURLLoader::ReadEntireResponseBody(pp::URLLoader* loader, pp 192 ppapi/tests/test_url_loader.cc const pp::URLRequestInfo& request, pp 196 ppapi/tests/test_url_loader.cc pp::URLLoader loader(instance_); pp 201 ppapi/tests/test_url_loader.cc pp::URLResponseInfo response_info(loader.GetResponseInfo()); pp 221 ppapi/tests/test_url_loader.cc int32_t TestURLLoader::OpenFileSystem(pp::FileSystem* file_system, pp 237 ppapi/tests/test_url_loader.cc const pp::FileRef& file_ref, pp 241 ppapi/tests/test_url_loader.cc pp::FileIO file_io(instance_); pp 270 ppapi/tests/test_url_loader.cc pp::Var document_url( pp 271 ppapi/tests/test_url_loader.cc pp::PASS_REF, pp 298 ppapi/tests/test_url_loader.cc pp::URLRequestInfo request(instance_); pp 308 ppapi/tests/test_url_loader.cc pp::URLRequestInfo request(instance_); pp 316 ppapi/tests/test_url_loader.cc int32_t TestURLLoader::OpenUntrusted(const pp::URLRequestInfo& request) { pp 320 ppapi/tests/test_url_loader.cc int32_t TestURLLoader::OpenTrusted(const pp::URLRequestInfo& request) { pp 324 ppapi/tests/test_url_loader.cc int32_t TestURLLoader::Open(const pp::URLRequestInfo& request, pp 326 ppapi/tests/test_url_loader.cc pp::URLLoader loader(instance_); pp 335 ppapi/tests/test_url_loader.cc pp::URLRequestInfo request(instance_); pp 341 ppapi/tests/test_url_loader.cc pp::URLRequestInfo request(instance_); pp 352 ppapi/tests/test_url_loader.cc pp::FileSystem file_system(instance_, PP_FILESYSTEMTYPE_LOCALTEMPORARY); pp 357 ppapi/tests/test_url_loader.cc pp::FileRef file_ref(file_system, "/file_post_test"); pp 363 ppapi/tests/test_url_loader.cc pp::URLRequestInfo request(instance_); pp 373 ppapi/tests/test_url_loader.cc pp::FileSystem file_system(instance_, PP_FILESYSTEMTYPE_LOCALTEMPORARY); pp 378 ppapi/tests/test_url_loader.cc pp::FileRef file_ref(file_system, "/file_range_post_test"); pp 384 ppapi/tests/test_url_loader.cc pp::URLRequestInfo request(instance_); pp 392 ppapi/tests/test_url_loader.cc pp::URLRequestInfo request(instance_); pp 403 ppapi/tests/test_url_loader.cc pp::URLRequestInfo request(instance_); pp 411 ppapi/tests/test_url_loader.cc pp::URLRequestInfo request(instance_); pp 423 ppapi/tests/test_url_loader.cc pp::URLRequestInfo request(instance_); pp 430 ppapi/tests/test_url_loader.cc pp::URLRequestInfo request(instance_); pp 447 ppapi/tests/test_url_loader.cc pp::URLRequestInfo request(instance_); pp 453 ppapi/tests/test_url_loader.cc pp::URLLoader loader(instance_); pp 458 ppapi/tests/test_url_loader.cc pp::URLResponseInfo response_info(loader.GetResponseInfo()); pp 465 ppapi/tests/test_url_loader.cc pp::FileRef body(response_info.GetBodyAsFileRef()); pp 473 ppapi/tests/test_url_loader.cc pp::FileIO reader(instance_); pp 495 ppapi/tests/test_url_loader.cc pp::URLRequestInfo request(instance_); pp 509 ppapi/tests/test_url_loader.cc pp::URLRequestInfo request(instance_); pp 522 ppapi/tests/test_url_loader.cc pp::URLRequestInfo request(instance_); pp 537 ppapi/tests/test_url_loader.cc pp::URLRequestInfo request(instance_); pp 551 ppapi/tests/test_url_loader.cc pp::URLRequestInfo request(instance_); pp 564 ppapi/tests/test_url_loader.cc pp::URLRequestInfo request(instance_); pp 616 ppapi/tests/test_url_loader.cc pp::URLRequestInfo request(instance_); pp 626 ppapi/tests/test_url_loader.cc pp::URLRequestInfo request(instance_); pp 672 ppapi/tests/test_url_loader.cc pp::URLRequestInfo request(instance_); pp 681 ppapi/tests/test_url_loader.cc pp::URLRequestInfo request(instance_); pp 695 ppapi/tests/test_url_loader.cc pp::URLRequestInfo request(instance_); pp 708 ppapi/tests/test_url_loader.cc pp::URLRequestInfo request(instance_); pp 720 ppapi/tests/test_url_loader.cc pp::URLLoader loader(instance_); pp 727 ppapi/tests/test_url_loader.cc pp::URLResponseInfo response_info(loader.GetResponseInfo()); pp 750 ppapi/tests/test_url_loader.cc pp::URLRequestInfo request(instance_); pp 758 ppapi/tests/test_url_loader.cc rv = pp::URLLoader(instance_).Open(request, callback.GetCallback()); pp 767 ppapi/tests/test_url_loader.cc pp::URLLoader loader(instance_); pp 791 ppapi/tests/test_url_loader.cc pp::URLRequestInfo request(instance_); pp 796 ppapi/tests/test_url_loader.cc pp::URLLoader loader(instance_); pp 815 ppapi/tests/test_url_loader.cc if (pp::Module::Get()->core()->IsMainThread()) { pp 834 ppapi/tests/test_url_loader.cc pp::URLRequestInfo request(instance_); pp 14 ppapi/tests/test_url_loader.h namespace pp { pp 31 ppapi/tests/test_url_loader.h std::string ReadEntireFile(pp::FileIO* file_io, std::string* data); pp 32 ppapi/tests/test_url_loader.h std::string ReadEntireResponseBody(pp::URLLoader* loader, pp 34 ppapi/tests/test_url_loader.h std::string LoadAndCompareBody(const pp::URLRequestInfo& request, pp 36 ppapi/tests/test_url_loader.h int32_t OpenFileSystem(pp::FileSystem* file_system, std::string* message); pp 37 ppapi/tests/test_url_loader.h int32_t PrepareFileForPost(const pp::FileRef& file_ref, pp 42 ppapi/tests/test_url_loader.h int32_t OpenUntrusted(const pp::URLRequestInfo& request); pp 43 ppapi/tests/test_url_loader.h int32_t OpenTrusted(const pp::URLRequestInfo& request); pp 48 ppapi/tests/test_url_loader.h int32_t Open(const pp::URLRequestInfo& request, pp 49 ppapi/tests/test_url_request.cc pp::Module::Get()->GetBrowserInterface(PPB_URLREQUESTINFO_INTERFACE)); pp 51 ppapi/tests/test_url_request.cc pp::Module::Get()->GetBrowserInterface(PPB_URLLOADER_INTERFACE)); pp 53 ppapi/tests/test_url_request.cc pp::Module::Get()->GetBrowserInterface(PPB_URLRESPONSEINFO_INTERFACE)); pp 55 ppapi/tests/test_url_request.cc pp::Module::Get()->GetBrowserInterface(PPB_CORE_INTERFACE)); pp 57 ppapi/tests/test_url_request.cc pp::Module::Get()->GetBrowserInterface(PPB_VAR_INTERFACE)); pp 276 ppapi/tests/test_url_request.cc pp::Var var(pp::Var::DontManage(), test_data[i].var); pp 378 ppapi/tests/test_url_request.cc pp::FileSystem file_system(instance_, PP_FILESYSTEMTYPE_LOCALTEMPORARY); pp 383 ppapi/tests/test_url_request.cc pp::FileRef ref(file_system, "/test_file"); pp 384 ppapi/tests/test_url_request.cc pp::FileIO io(instance_); pp 17 ppapi/tests/test_url_request.h namespace pp { pp 19 ppapi/tests/test_url_util.cc util_ = pp::URLUtil_Dev::Get(); pp 36 ppapi/tests/test_url_util.cc pp::Var result = util_->Canonicalize("http://Google.com"); pp 90 ppapi/tests/test_url_util.cc pp::Var result = util_->ResolveRelativeToURL(test_cases[i].base, pp 123 ppapi/tests/test_url_util.cc pp::Var url = util_->GetDocumentURL(instance_); pp 125 ppapi/tests/test_url_util.cc pp::VarPrivate window = instance_->GetWindowObject(); pp 126 ppapi/tests/test_url_util.cc pp::Var href = window.GetProperty("location").GetProperty("href"); pp 134 ppapi/tests/test_url_util.cc pp::Var url = util_->GetPluginInstanceURL(instance_); pp 142 ppapi/tests/test_url_util.cc pp::Var url = util_->GetPluginReferrerURL(instance_); pp 144 ppapi/tests/test_url_util.cc pp::VarPrivate window = instance_->GetWindowObject(); pp 145 ppapi/tests/test_url_util.cc pp::Var href = window.GetProperty("location").GetProperty("href"); pp 29 ppapi/tests/test_url_util.h const pp::URLUtil_Dev* util_; pp 42 ppapi/tests/test_utils.cc pp::Module::Get()->GetBrowserInterface( pp 72 ppapi/tests/test_utils.cc pp::Var pp_url(pp::PASS_REF, pp 107 ppapi/tests/test_utils.cc bool EqualNetAddress(const pp::NetAddress& addr1, const pp::NetAddress& addr2) { pp 137 ppapi/tests/test_utils.cc pp::NetAddress* addr) { pp 139 ppapi/tests/test_utils.cc pp::InstanceHandle instance_handle(instance); pp 140 ppapi/tests/test_utils.cc pp::HostResolverPrivate host_resolver(instance_handle); pp 154 ppapi/tests/test_utils.cc switch (pp::NetAddressPrivate::GetFamily(addr_private)) { pp 158 ppapi/tests/test_utils.cc pp::NetAddressPrivate::GetPort(addr_private)); pp 159 ppapi/tests/test_utils.cc if (!pp::NetAddressPrivate::GetAddress(addr_private, ipv4_addr.addr, pp 163 ppapi/tests/test_utils.cc *addr = pp::NetAddress(instance_handle, ipv4_addr); pp 169 ppapi/tests/test_utils.cc pp::NetAddressPrivate::GetPort(addr_private)); pp 170 ppapi/tests/test_utils.cc if (!pp::NetAddressPrivate::GetAddress(addr_private, ipv6_addr.addr, pp 174 ppapi/tests/test_utils.cc *addr = pp::NetAddress(instance_handle, ipv6_addr); pp 184 ppapi/tests/test_utils.cc const pp::NetAddress& input_addr, pp 186 ppapi/tests/test_utils.cc pp::NetAddress* output_addr) { pp 193 ppapi/tests/test_utils.cc *output_addr = pp::NetAddress(pp::InstanceHandle(instance), ipv4_addr); pp 201 ppapi/tests/test_utils.cc *output_addr = pp::NetAddress(pp::InstanceHandle(instance), ipv6_addr); pp 210 ppapi/tests/test_utils.cc uint16_t GetPort(const pp::NetAddress& addr) { pp 231 ppapi/tests/test_utils.cc PP_DCHECK(pp::Module::Get()->core()->IsMainThread()); pp 244 ppapi/tests/test_utils.cc if (pp::Module::Get()->core()->IsMainThread()) pp 251 ppapi/tests/test_utils.cc pp::Module::Get()->core()->CallOnMainThread( pp 253 ppapi/tests/test_utils.cc pp::CompletionCallback(&SignalThunk, this), pp 258 ppapi/tests/test_utils.cc PP_DCHECK(pp::Module::Get()->core()->IsMainThread()); pp 265 ppapi/tests/test_utils.cc PP_DCHECK(pp::Module::Get()->core()->IsMainThread()); pp 359 ppapi/tests/test_utils.cc pp::CompletionCallback TestCompletionCallback::GetCallback() { pp 363 ppapi/tests/test_utils.cc return pp::CompletionCallback(); pp 366 ppapi/tests/test_utils.cc target_loop_ = pp::MessageLoop::GetCurrent(); pp 367 ppapi/tests/test_utils.cc return pp::CompletionCallback(&TestCompletionCallback::Handler, pp 396 ppapi/tests/test_utils.cc if (callback->target_loop_ != pp::MessageLoop::GetCurrent()) { pp 407 ppapi/tests/test_utils.cc pp::MessageLoop loop(pp::MessageLoop::GetCurrent()); pp 410 ppapi/tests/test_utils.cc if (loop.is_null() || loop == pp::MessageLoop::GetForMainThread()) pp 417 ppapi/tests/test_utils.cc pp::MessageLoop loop(pp::MessageLoop::GetCurrent()); pp 420 ppapi/tests/test_utils.cc if (loop.is_null() || loop == pp::MessageLoop::GetForMainThread()) { pp 17 ppapi/tests/test_utils.h namespace pp { pp 31 ppapi/tests/test_utils.h bool EqualNetAddress(const pp::NetAddress& addr1, const pp::NetAddress& addr2); pp 36 ppapi/tests/test_utils.h pp::NetAddress* addr); pp 38 ppapi/tests/test_utils.h const pp::NetAddress& input_addr, pp 40 ppapi/tests/test_utils.h pp::NetAddress* output_addr); pp 41 ppapi/tests/test_utils.h uint16_t GetPort(const pp::NetAddress& addr); pp 157 ppapi/tests/test_utils.h pp::CompletionCallback GetCallback(); pp 168 ppapi/tests/test_utils.h void set_target_loop(const pp::MessageLoop& loop) { target_loop_ = loop; } pp 187 ppapi/tests/test_utils.h pp::MessageLoop target_loop_; pp 250 ppapi/tests/test_utils.h callback_.set_target_loop(pp::MessageLoop::GetCurrent()); pp 262 ppapi/tests/test_utils.h OutputT, pp::CompletionCallbackWithOutput<OutputT> > { pp 279 ppapi/tests/test_utils.h OutputT, pp::CompletionCallbackWithOutput<OutputT> > BaseType; pp 285 ppapi/tests/test_utils.h OutputT, pp::ext::ExtCompletionCallbackWithOutput<OutputT> > { pp 302 ppapi/tests/test_utils.h OutputT, pp::ext::ExtCompletionCallbackWithOutput<OutputT> > BaseType; pp 28 ppapi/tests/test_var.cc pp::Module::Get()->GetBrowserInterface(PPB_VAR_INTERFACE)); pp 66 ppapi/tests/test_var.cc pp::Var a("test"); pp 91 ppapi/tests/test_var.cc pp::Var int_var(42); pp 97 ppapi/tests/test_var.cc pp::Var empty_string(""); pp 109 ppapi/tests/test_var.cc pp::Var sjis(kSjisString); pp 142 ppapi/tests/test_var.cc pp::Var null_var(null_string); pp 154 ppapi/tests/test_var.cc pp::Var converted_string(kValidUtf8); pp 180 ppapi/tests/test_var.cc pp::Var converted_string(orig_string); pp 27 ppapi/tests/test_var_deprecated.cc class VarScriptableObject : public pp::deprecated::ScriptableObject { pp 32 ppapi/tests/test_var_deprecated.cc bool HasMethod(const pp::Var& name, pp::Var* exception); pp 33 ppapi/tests/test_var_deprecated.cc pp::Var Call(const pp::Var& name, pp 34 ppapi/tests/test_var_deprecated.cc const std::vector<pp::Var>& args, pp 35 ppapi/tests/test_var_deprecated.cc pp::Var* exception); pp 41 ppapi/tests/test_var_deprecated.cc bool VarScriptableObject::HasMethod(const pp::Var& name, pp::Var* exception) { pp 47 ppapi/tests/test_var_deprecated.cc pp::Var VarScriptableObject::Call(const pp::Var& method_name, pp 48 ppapi/tests/test_var_deprecated.cc const std::vector<pp::Var>& args, pp 49 ppapi/tests/test_var_deprecated.cc pp::Var* exception) { pp 56 ppapi/tests/test_var_deprecated.cc *exception = pp::Var("Bad argument to SetValue(<value>)"); pp 58 ppapi/tests/test_var_deprecated.cc test_var_deprecated_->set_var_from_page(pp::VarPrivate(args[0])); pp 61 ppapi/tests/test_var_deprecated.cc return pp::Var(); pp 70 ppapi/tests/test_var_deprecated.cc pp::Module::Get()->GetBrowserInterface(PPB_VAR_DEPRECATED_INTERFACE)); pp 86 ppapi/tests/test_var_deprecated.cc pp::deprecated::ScriptableObject* TestVarDeprecated::CreateTestObject() { pp 96 ppapi/tests/test_var_deprecated.cc PP_Var str = var_interface_->VarFromUtf8(pp::Module::Get()->pp_module(), pp 133 ppapi/tests/test_var_deprecated.cc pp::Var int_var(42); pp 139 ppapi/tests/test_var_deprecated.cc pp::Var empty_string(""); pp 151 ppapi/tests/test_var_deprecated.cc pp::Var sjis(kSjisString); pp 166 ppapi/tests/test_var_deprecated.cc pp::Module::Get()->pp_module(), NULL, 0); pp 185 ppapi/tests/test_var_deprecated.cc pp::Var null_var(null_string); pp 197 ppapi/tests/test_var_deprecated.cc pp::Var converted_string(kValidUtf8); pp 223 ppapi/tests/test_var_deprecated.cc pp::Var converted_string(orig_string); pp 296 ppapi/tests/test_var_deprecated.cc pp::VarPrivate window = instance_->GetWindowObject(); pp 300 ppapi/tests/test_var_deprecated.cc pp::Var exception; pp 321 ppapi/tests/test_var_deprecated.cc exception = pp::Var(); pp 323 ppapi/tests/test_var_deprecated.cc exception = pp::Var(); pp 328 ppapi/tests/test_var_deprecated.cc exception = pp::Var(); pp 329 ppapi/tests/test_var_deprecated.cc pp::VarPrivate string_object("asdf"); pp 332 ppapi/tests/test_var_deprecated.cc exception = pp::Var(); pp 342 ppapi/tests/test_var_deprecated.cc pp::Var("find").pp_var(), pp 349 ppapi/tests/test_var_deprecated.cc pp::Var("find").pp_var(), pp 355 ppapi/tests/test_var_deprecated.cc exception = pp::Var("Bad something-or-other exception"); pp 367 ppapi/tests/test_var_deprecated.cc var_from_page_ = pp::Var(); pp 370 ppapi/tests/test_var_deprecated.cc pp::Var exception; pp 371 ppapi/tests/test_var_deprecated.cc pp::Var ret = instance_->ExecuteScript( pp 384 ppapi/tests/test_var_deprecated.cc pp::VarPrivate function(var_from_page_); pp 385 ppapi/tests/test_var_deprecated.cc pp::Var result = var_from_page_.Call(pp::Var(), "nice"); pp 391 ppapi/tests/test_var_deprecated.cc var_from_page_ = pp::Var(); pp 22 ppapi/tests/test_var_deprecated.h void set_var_from_page(const pp::VarPrivate& v) { var_from_page_ = v; } pp 26 ppapi/tests/test_var_deprecated.h virtual pp::deprecated::ScriptableObject* CreateTestObject(); pp 43 ppapi/tests/test_var_deprecated.h pp::VarPrivate var_from_page_; pp 17 ppapi/tests/test_var_resource.cc pp::Module::Get()->GetBrowserInterface(PPB_CORE_INTERFACE)); pp 19 ppapi/tests/test_var_resource.cc pp::Module::Get()->GetBrowserInterface(PPB_FILESYSTEM_INTERFACE)); pp 21 ppapi/tests/test_var_resource.cc pp::Module::Get()->GetBrowserInterface(PPB_VAR_INTERFACE)); pp 16 ppapi/tests/test_video_decoder.cc pp::Module::Get()->GetBrowserInterface(PPB_VIDEODECODER_DEV_INTERFACE)); pp 41 ppapi/tests/test_video_destination.cc pp::Module::Get()->GetBrowserInterface( pp 48 ppapi/tests/test_video_destination.cc pp::Module::Get()->GetBrowserInterface(PPB_CORE_INTERFACE)); pp 65 ppapi/tests/test_video_destination.cc void TestVideoDestination::HandleMessage(const pp::Var& message_data) { pp 110 ppapi/tests/test_video_destination.cc pp::VideoDestination_Private video_destination(instance_); pp 115 ppapi/tests/test_video_destination.cc pp::ImageData image_data(instance_, pp 117 ppapi/tests/test_video_destination.cc pp::Size(640, 480), pp 119 ppapi/tests/test_video_destination.cc pp::VideoFrame_Private video_frame(image_data, pp 25 ppapi/tests/test_video_destination.h virtual void HandleMessage(const pp::Var& message_data); pp 41 ppapi/tests/test_video_source.cc pp::Module::Get()->GetBrowserInterface( pp 47 ppapi/tests/test_video_source.cc pp::Module::Get()->GetBrowserInterface(PPB_CORE_INTERFACE)); pp 62 ppapi/tests/test_video_source.cc void TestVideoSource::HandleMessage(const pp::Var& message_data) { pp 106 ppapi/tests/test_video_source.cc pp::VideoSource_Private video_source(instance_); pp 110 ppapi/tests/test_video_source.cc TestCompletionCallbackWithOutput<pp::VideoFrame_Private> cc2( pp 114 ppapi/tests/test_video_source.cc const pp::VideoFrame_Private video_frame = cc2.output(); pp 25 ppapi/tests/test_video_source.h virtual void HandleMessage(const pp::Var& message_data); pp 29 ppapi/tests/test_view.cc void TestView::DidChangeView(const pp::View& view) { pp 54 ppapi/tests/test_view.cc pp::CompletionCallbackFactory<TestView> factory(this); pp 55 ppapi/tests/test_view.cc pp::CompletionCallback timeout = pp 57 ppapi/tests/test_view.cc pp::Module::Get()->core()->CallOnMainThread( pp 106 ppapi/tests/test_view.cc PP_Time begin_time = pp::Module::Get()->core()->GetTime(); pp 109 ppapi/tests/test_view.cc pp::Module::Get()->core()->GetTime() - begin_time < pp 127 ppapi/tests/test_view.cc begin_time = pp::Module::Get()->core()->GetTime(); pp 130 ppapi/tests/test_view.cc pp::Module::Get()->core()->GetTime() - begin_time < pp 139 ppapi/tests/test_view.cc pp::Rect original_rect = last_view_.GetRect(); pp 141 ppapi/tests/test_view.cc pp::Rect desired_rect = original_rect; pp 154 ppapi/tests/test_view.cc PP_Time begin_time = pp::Module::Get()->core()->GetTime(); pp 156 ppapi/tests/test_view.cc pp::Module::Get()->core()->GetTime() - begin_time < pp 165 ppapi/tests/test_view.cc pp::Rect original_rect = last_view_.GetRect(); pp 168 ppapi/tests/test_view.cc pp::Rect original_clip = last_view_.GetClipRect(); pp 190 ppapi/tests/test_view.cc pp::Rect desired_clip = original_clip; pp 194 ppapi/tests/test_view.cc PP_Time begin_time = pp::Module::Get()->core()->GetTime(); pp 196 ppapi/tests/test_view.cc pp::Module::Get()->core()->GetTime() - begin_time < pp 15 ppapi/tests/test_view.h virtual void DidChangeView(const pp::View& view); pp 39 ppapi/tests/test_view.h pp::View last_view_; pp 65 ppapi/tests/test_websocket.cc const pp::Var& var) pp 74 ppapi/tests/test_websocket.cc pp::Var var; pp 96 ppapi/tests/test_websocket.cc class TestWebSocketAPI : public pp::WebSocketAPI { pp 98 ppapi/tests/test_websocket.cc explicit TestWebSocketAPI(pp::Instance* instance) pp 99 ppapi/tests/test_websocket.cc : pp::WebSocketAPI(instance), pp 111 ppapi/tests/test_websocket.cc WebSocketEvent(WebSocketEvent::EVENT_OPEN, true, 0U, pp::Var())); pp 120 ppapi/tests/test_websocket.cc bool was_clean, uint16_t code, const pp::Var& reason) { pp 132 ppapi/tests/test_websocket.cc virtual void HandleWebSocketMessage(const pp::Var &message) { pp 145 ppapi/tests/test_websocket.cc WebSocketEvent(WebSocketEvent::EVENT_ERROR, true, 0U, pp::Var())); pp 190 ppapi/tests/test_websocket.cc pp::Module::Get()->GetBrowserInterface(PPB_WEBSOCKET_INTERFACE)); pp 192 ppapi/tests/test_websocket.cc pp::Module::Get()->GetBrowserInterface(PPB_VAR_INTERFACE)); pp 194 ppapi/tests/test_websocket.cc pp::Module::Get()->GetBrowserInterface( pp 197 ppapi/tests/test_websocket.cc pp::Module::Get()->GetBrowserInterface(PPB_CORE_INTERFACE)); pp 333 ppapi/tests/test_websocket.cc pp::Resource null_resource; pp 764 ppapi/tests/test_websocket.cc pp::MessageLoop message_loop = pp::MessageLoop::GetCurrent(); pp 765 ppapi/tests/test_websocket.cc pp::CompletionCallbackFactory<TestWebSocket> factory(this); pp 1161 ppapi/tests/test_websocket.cc pp::WebSocket ws(instance_); pp 1177 ppapi/tests/test_websocket.cc pp::Var(GetFullURL(kCloseServerURL)), NULL, 0U, pp 1183 ppapi/tests/test_websocket.cc int32_t result = ws.SendMessage(pp::Var(text_message)); pp 1190 ppapi/tests/test_websocket.cc pp::Var(pp::PASS_REF, CreateVarBinary(binary))); pp 1193 ppapi/tests/test_websocket.cc pp::Var text_receive_var; pp 1203 ppapi/tests/test_websocket.cc pp::Var binary_receive_var; pp 1216 ppapi/tests/test_websocket.cc PP_WEBSOCKETSTATUSCODE_NORMAL_CLOSURE, pp::Var(reason), pp 1236 ppapi/tests/test_websocket.cc const pp::Var protocols[] = { pp::Var() }; pp 1239 ppapi/tests/test_websocket.cc int32_t result = websocket.Connect(pp::Var(), protocols, 1U); pp 1243 ppapi/tests/test_websocket.cc result = websocket.Connect(pp::Var(), protocols, 1U); pp 1249 ppapi/tests/test_websocket.cc result = ws.Connect(pp::Var(std::string(kInvalidURLs[i])), protocols, 0U); pp 1266 ppapi/tests/test_websocket.cc const pp::Var bad_protocols[] = { pp 1267 ppapi/tests/test_websocket.cc pp::Var(std::string("x-test")), pp::Var(std::string("x-test")) }; pp 1268 ppapi/tests/test_websocket.cc const pp::Var good_protocols[] = { pp 1269 ppapi/tests/test_websocket.cc pp::Var(std::string("x-test")), pp::Var(std::string("x-yatest")) }; pp 1274 ppapi/tests/test_websocket.cc pp::Var(GetFullURL(kEchoServerURL)), bad_protocols, 2U); pp 1282 ppapi/tests/test_websocket.cc pp::Var(GetFullURL(kEchoServerURL)), good_protocols, 2U); pp 1299 ppapi/tests/test_websocket.cc const pp::Var protocols[] = { pp::Var() }; pp 1304 ppapi/tests/test_websocket.cc pp::Var(std::string(kInvalidURLs[i])), protocols, 0U); pp 1315 ppapi/tests/test_websocket.cc pp::Var url = websocket.GetURL(); pp 1323 ppapi/tests/test_websocket.cc const pp::Var protocols[] = { pp::Var() }; pp 1326 ppapi/tests/test_websocket.cc pp::Var(GetFullURL(kEchoServerURL)), protocols, 0U); pp 1339 ppapi/tests/test_websocket.cc const pp::Var reason = pp::Var(std::string("close for test")); pp 1353 ppapi/tests/test_websocket.cc int32_t result = websocket.Connect(pp::Var(GetFullURL(kEchoServerURL)), pp 1369 ppapi/tests/test_websocket.cc pp::Var url = pp::Var(GetFullURL(kCloseServerURL)); pp 1378 ppapi/tests/test_websocket.cc PP_WEBSOCKETSTATUSCODE_NORMAL_CLOSURE, pp::Var(reason)); pp 1398 ppapi/tests/test_websocket.cc PP_WEBSOCKETSTATUSCODE_NORMAL_CLOSURE, pp::Var(reason)); pp 1418 ppapi/tests/test_websocket.cc PP_WEBSOCKETSTATUSCODE_NORMAL_CLOSURE, pp::Var(reason)); pp 1421 ppapi/tests/test_websocket.cc PP_WEBSOCKETSTATUSCODE_NORMAL_CLOSURE, pp::Var(reason)); pp 1439 ppapi/tests/test_websocket.cc const pp::Var protocols[] = { pp::Var(protocol) }; pp 1443 ppapi/tests/test_websocket.cc int32_t result = websocket.Connect(pp::Var(url), protocols, 1U); pp 1461 ppapi/tests/test_websocket.cc const pp::Var protocols[] = { pp::Var() }; pp 1464 ppapi/tests/test_websocket.cc websocket.Connect(pp::Var(GetFullURL(kEchoServerURL)), protocols, 0U); pp 1470 ppapi/tests/test_websocket.cc result = websocket.Send(pp::Var(std::string(message1))); pp 1478 ppapi/tests/test_websocket.cc result = websocket.Send(pp::Var(std::string(message2))); pp 1495 ppapi/tests/test_websocket.cc const pp::Var protocols[] = { pp::Var() }; pp 1498 ppapi/tests/test_websocket.cc websocket.Connect(pp::Var(GetFullURL(kEchoServerURL)), protocols, 0U); pp 1507 ppapi/tests/test_websocket.cc pp::VarArrayBuffer message(len); pp 1527 ppapi/tests/test_websocket.cc const pp::Var protocols[] = { pp::Var() }; pp 1530 ppapi/tests/test_websocket.cc websocket.Connect(pp::Var(GetFullURL(kEchoServerURL)), protocols, 0U); pp 1540 ppapi/tests/test_websocket.cc result = websocket.Send(pp::Var(message)); pp 1551 ppapi/tests/test_websocket.cc PP_WEBSOCKETSTATUSCODE_NORMAL_CLOSURE, pp::Var(reason)); pp 1561 ppapi/tests/test_websocket.cc result = websocket.Send(pp::Var(std::string())); pp 1567 ppapi/tests/test_websocket.cc result = websocket.Send(pp::Var(reason)); pp 20 ppapi/tests/test_x509_certificate_private.cc const pp::X509CertificatePrivate& certificate, pp 23 ppapi/tests/test_x509_certificate_private.cc pp::Var field_value = certificate.GetField(field); pp 30 ppapi/tests/test_x509_certificate_private.cc const pp::X509CertificatePrivate& certificate, pp 33 ppapi/tests/test_x509_certificate_private.cc pp::Var field_value = certificate.GetField(field); pp 41 ppapi/tests/test_x509_certificate_private.cc const pp::X509CertificatePrivate& certificate, pp 45 ppapi/tests/test_x509_certificate_private.cc pp::Var field_value = certificate.GetField(field); pp 48 ppapi/tests/test_x509_certificate_private.cc pp::VarArrayBuffer array_buffer(field_value); pp 57 ppapi/tests/test_x509_certificate_private.cc const pp::X509CertificatePrivate& certificate, pp 142 ppapi/tests/test_x509_certificate_private.cc if (!pp::X509CertificatePrivate::IsAvailable()) pp 154 ppapi/tests/test_x509_certificate_private.cc pp::X509CertificatePrivate certificate(instance_); pp 227 ppapi/tests/test_x509_certificate_private.cc pp::X509CertificatePrivate null_certificate(instance_); pp 231 ppapi/tests/test_x509_certificate_private.cc pp::X509CertificatePrivate bad_certificate(instance_); pp 29 ppapi/tests/testing_instance.cc : pp::Instance(instance), pp 31 ppapi/tests/testing_instance.cc : pp::InstancePrivate(instance), pp 85 ppapi/tests/testing_instance.cc pp::Var TestingInstance::GetInstanceObject() { pp 89 ppapi/tests/testing_instance.cc return pp::VarPrivate(); pp 93 ppapi/tests/testing_instance.cc void TestingInstance::HandleMessage(const pp::Var& message_data) { pp 98 ppapi/tests/testing_instance.cc void TestingInstance::DidChangeView(const pp::View& view) { pp 101 ppapi/tests/testing_instance.cc pp::Module::Get()->core()->CallOnMainThread( pp 109 ppapi/tests/testing_instance.cc bool TestingInstance::HandleInputEvent(const pp::InputEvent& event) { pp 128 ppapi/tests/testing_instance.cc PP_TimeTicks end_time(pp::Module::Get()->core()->GetTimeTicks()); pp 251 ppapi/tests/testing_instance.cc PostMessage(pp::Var(msg)); pp 311 ppapi/tests/testing_instance.cc class Module : public pp::Module { pp 313 ppapi/tests/testing_instance.cc Module() : pp::Module() {} pp 316 ppapi/tests/testing_instance.cc virtual pp::Instance* CreateInstance(PP_Instance instance) { pp 46 ppapi/tests/testing_instance.h pp::Instance { pp 48 ppapi/tests/testing_instance.h pp::InstancePrivate { pp 56 ppapi/tests/testing_instance.h virtual void DidChangeView(const pp::View& view); pp 57 ppapi/tests/testing_instance.h virtual bool HandleInputEvent(const pp::InputEvent& event); pp 60 ppapi/tests/testing_instance.h virtual pp::Var GetInstanceObject(); pp 96 ppapi/tests/testing_instance.h virtual void HandleMessage(const pp::Var& message_data); pp 148 ppapi/tests/testing_instance.h pp::CompletionCallbackFactory<TestingInstance> callback_factory_; pp 14 ppapi/utility/completion_callback_factory.h namespace pp { pp 22 ppapi/utility/completion_callback_factory_thread_traits.h namespace pp { pp 68 ppapi/utility/completion_callback_factory_thread_traits.h typedef pp::Lock Lock; pp 69 ppapi/utility/completion_callback_factory_thread_traits.h typedef pp::AutoLock AutoLock; pp 17 ppapi/utility/graphics/paint_aggregator.h namespace pp { pp 18 ppapi/utility/graphics/paint_manager.h namespace pp { pp 14 ppapi/utility/threading/lock.h namespace pp { pp 17 ppapi/utility/threading/simple_thread.h namespace pp { pp 13 ppapi/utility/websocket/websocket_api.h namespace pp { pp 200 remoting/client/plugin/chromoting_instance.cc : pp::Instance(pp_instance), pp 291 remoting/client/plugin/chromoting_instance.cc void ChromotingInstance::HandleMessage(const pp::Var& message) { pp 356 remoting/client/plugin/chromoting_instance.cc void ChromotingInstance::DidChangeView(const pp::View& view) { pp 367 remoting/client/plugin/chromoting_instance.cc bool ChromotingInstance::HandleInputEvent(const pp::InputEvent& event) { pp 526 remoting/client/plugin/chromoting_instance.cc if (pp::ImageData::GetNativeImageDataFormat() != pp 544 remoting/client/plugin/chromoting_instance.cc scoped_ptr<pp::ImageData> cursor_image; pp 545 remoting/client/plugin/chromoting_instance.cc pp::Point cursor_hotspot; pp 571 remoting/client/plugin/chromoting_instance.cc cursor_image.reset(new pp::ImageData(this, PP_IMAGEDATAFORMAT_BGRA_PREMUL, pp 572 remoting/client/plugin/chromoting_instance.cc pp::Size(width, height), false)); pp 573 remoting/client/plugin/chromoting_instance.cc cursor_hotspot = pp::Point(hotspot_x, hotspot_y); pp 933 remoting/client/plugin/chromoting_instance.cc const pp::VarDictionary& data) { pp 934 remoting/client/plugin/chromoting_instance.cc pp::VarDictionary message; pp 935 remoting/client/plugin/chromoting_instance.cc message.Set(pp::Var("method"), pp::Var(method)); pp 936 remoting/client/plugin/chromoting_instance.cc message.Set(pp::Var("data"), data); pp 949 remoting/client/plugin/chromoting_instance.cc PostMessage(pp::Var(message_json)); pp 1090 remoting/client/plugin/chromoting_instance.cc const pp::URLUtil_Dev* url_util = pp::URLUtil_Dev::Get(); pp 1095 remoting/client/plugin/chromoting_instance.cc pp::Var url_var = url_util->GetDocumentURL(this, &url_components); pp 1128 remoting/client/plugin/chromoting_instance.cc pp::VarArrayBuffer array_buffer(buffer_size); pp 1132 remoting/client/plugin/chromoting_instance.cc pp::VarDictionary data_dictionary; pp 1133 remoting/client/plugin/chromoting_instance.cc data_dictionary.Set(pp::Var("buffer"), array_buffer); pp 42 remoting/client/plugin/chromoting_instance.h namespace pp { pp 75 remoting/client/plugin/chromoting_instance.h public pp::Instance { pp 112 remoting/client/plugin/chromoting_instance.h virtual void DidChangeView(const pp::View& view) OVERRIDE; pp 115 remoting/client/plugin/chromoting_instance.h virtual void HandleMessage(const pp::Var& message) OVERRIDE; pp 116 remoting/client/plugin/chromoting_instance.h virtual bool HandleInputEvent(const pp::InputEvent& event) OVERRIDE; pp 217 remoting/client/plugin/chromoting_instance.h const pp::VarDictionary& data); pp 265 remoting/client/plugin/chromoting_instance.h pp::View plugin_view_; pp 17 remoting/client/plugin/pepper_audio_player.cc PepperAudioPlayer::PepperAudioPlayer(pp::Instance* instance) pp 45 remoting/client/plugin/pepper_audio_player.cc samples_per_frame_ = pp::AudioConfig::RecommendSampleFrameCount( pp 50 remoting/client/plugin/pepper_audio_player.cc pp::AudioConfig audio_config = pp::AudioConfig( pp 54 remoting/client/plugin/pepper_audio_player.cc audio_ = pp::Audio(instance_, audio_config, AudioPlayerCallback, this); pp 18 remoting/client/plugin/pepper_audio_player.h explicit PepperAudioPlayer(pp::Instance* instance); pp 27 remoting/client/plugin/pepper_audio_player.h pp::Instance* instance_; pp 28 remoting/client/plugin/pepper_audio_player.h pp::Audio audio_; pp 16 remoting/client/plugin/pepper_entrypoints.cc static pp::Module* g_module_singleton = NULL; pp 28 remoting/client/plugin/pepper_entrypoints.cc class ChromotingModule : public pp::Module { pp 54 remoting/client/plugin/pepper_entrypoints.cc delete pp::Module::Get(); pp 59 remoting/client/plugin/pepper_entrypoints.cc if (!pp::Module::Get()) pp 61 remoting/client/plugin/pepper_entrypoints.cc return pp::Module::Get()->GetPluginInterface(interface_name); pp 65 remoting/client/plugin/pepper_entrypoints.cc if (!pp::Module::Get()) pp 67 remoting/client/plugin/pepper_entrypoints.cc return pp::Module::Get()->GetBrowserInterface(interface_name); pp 20 remoting/client/plugin/pepper_input_handler.cc pp::Instance* instance, pp 22 remoting/client/plugin/pepper_input_handler.cc : pp::MouseLock(instance), pp 38 remoting/client/plugin/pepper_input_handler.cc uint32_t GetUsbKeyCode(pp::KeyboardInputEvent pp_key_event) { pp 47 remoting/client/plugin/pepper_input_handler.cc bool PepperInputHandler::HandleInputEvent(const pp::InputEvent& event) { pp 57 remoting/client/plugin/pepper_input_handler.cc pp::KeyboardInputEvent pp_key_event(event); pp 78 remoting/client/plugin/pepper_input_handler.cc pp::MouseInputEvent pp_mouse_event(event); pp 101 remoting/client/plugin/pepper_input_handler.cc pp::Point delta = pp_mouse_event.GetMovement(); pp 114 remoting/client/plugin/pepper_input_handler.cc pp::MouseInputEvent pp_mouse_event(event); pp 121 remoting/client/plugin/pepper_input_handler.cc pp::Point delta = pp_mouse_event.GetMovement(); pp 131 remoting/client/plugin/pepper_input_handler.cc pp::WheelInputEvent pp_wheel_event(event); pp 138 remoting/client/plugin/pepper_input_handler.cc pp::FloatPoint delta = pp_wheel_event.GetDelta(); pp 141 remoting/client/plugin/pepper_input_handler.cc pp::FloatPoint ticks = pp_wheel_event.GetTicks(); pp 198 remoting/client/plugin/pepper_input_handler.cc void PepperInputHandler::SetMouseCursor(scoped_ptr<pp::ImageData> image, pp 199 remoting/client/plugin/pepper_input_handler.cc const pp::Point& hotspot) { pp 222 remoting/client/plugin/pepper_input_handler.cc pp::CompletionCallback callback = pp 224 remoting/client/plugin/pepper_input_handler.cc int result = pp::MouseLock::LockMouse(callback); pp 228 remoting/client/plugin/pepper_input_handler.cc pp::MouseCursor::SetCursor(instance_, PP_MOUSECURSOR_TYPE_NONE); pp 251 remoting/client/plugin/pepper_input_handler.cc pp::MouseLock::UnlockMouse(); pp 268 remoting/client/plugin/pepper_input_handler.cc pp::MouseCursor::SetCursor(instance_, PP_MOUSECURSOR_TYPE_CUSTOM, pp 275 remoting/client/plugin/pepper_input_handler.cc pp::MouseCursor::SetCursor(instance_, PP_MOUSECURSOR_TYPE_POINTER); pp 15 remoting/client/plugin/pepper_input_handler.h namespace pp { pp 27 remoting/client/plugin/pepper_input_handler.h class PepperInputHandler : public pp::MouseLock { pp 30 remoting/client/plugin/pepper_input_handler.h PepperInputHandler(pp::Instance* instance, protocol::InputStub* input_stub); pp 33 remoting/client/plugin/pepper_input_handler.h bool HandleInputEvent(const pp::InputEvent& event); pp 44 remoting/client/plugin/pepper_input_handler.h void SetMouseCursor(scoped_ptr<pp::ImageData> image, pp 45 remoting/client/plugin/pepper_input_handler.h const pp::Point& hotspot); pp 73 remoting/client/plugin/pepper_input_handler.h pp::Instance* instance_; pp 76 remoting/client/plugin/pepper_input_handler.h pp::CompletionCallbackFactory<PepperInputHandler> callback_factory_; pp 81 remoting/client/plugin/pepper_input_handler.h scoped_ptr<pp::ImageData> cursor_image_; pp 84 remoting/client/plugin/pepper_input_handler.h pp::Point cursor_hotspot_; pp 19 remoting/client/plugin/pepper_network_manager.cc PepperNetworkManager::PepperNetworkManager(const pp::InstanceHandle& instance) pp 25 remoting/client/plugin/pepper_network_manager.cc pp::CompletionCallbackWithOutput<pp::NetworkList> callback = pp 51 remoting/client/plugin/pepper_network_manager.cc const pp::NetworkList& list) { pp 61 remoting/client/plugin/pepper_network_manager.cc pp::CompletionCallbackWithOutput<pp::NetworkList> callback = pp 70 remoting/client/plugin/pepper_network_manager.cc std::vector<pp::NetAddress> addresses; pp 15 remoting/client/plugin/pepper_network_manager.h namespace pp { pp 26 remoting/client/plugin/pepper_network_manager.h PepperNetworkManager(const pp::InstanceHandle& instance); pp 37 remoting/client/plugin/pepper_network_manager.h void OnNetworkList(int32_t result, const pp::NetworkList& list); pp 41 remoting/client/plugin/pepper_network_manager.h pp::NetworkMonitor monitor_; pp 45 remoting/client/plugin/pepper_network_manager.h pp::CompletionCallbackFactory<PepperNetworkManager> callback_factory_; pp 31 remoting/client/plugin/pepper_packet_socket_factory.cc explicit UdpPacketSocket(const pp::InstanceHandle& instance); pp 60 remoting/client/plugin/pepper_packet_socket_factory.cc const pp::NetAddress& address); pp 63 remoting/client/plugin/pepper_packet_socket_factory.cc pp::NetAddress address; pp 72 remoting/client/plugin/pepper_packet_socket_factory.cc void OnReadCompleted(int result, pp::NetAddress address); pp 73 remoting/client/plugin/pepper_packet_socket_factory.cc void HandleReadResult(int result, pp::NetAddress address); pp 75 remoting/client/plugin/pepper_packet_socket_factory.cc pp::InstanceHandle instance_; pp 77 remoting/client/plugin/pepper_packet_socket_factory.cc pp::UDPSocket socket_; pp 95 remoting/client/plugin/pepper_packet_socket_factory.cc pp::CompletionCallbackFactory<UdpPacketSocket> callback_factory_; pp 103 remoting/client/plugin/pepper_packet_socket_factory.cc const pp::NetAddress& address) pp 109 remoting/client/plugin/pepper_packet_socket_factory.cc UdpPacketSocket::UdpPacketSocket(const pp::InstanceHandle& instance) pp 136 remoting/client/plugin/pepper_packet_socket_factory.cc pp::NetAddress pp_local_address; pp 142 remoting/client/plugin/pepper_packet_socket_factory.cc pp::CompletionCallback callback = pp 160 remoting/client/plugin/pepper_packet_socket_factory.cc pp::NetAddress address = socket_.GetBoundAddress(); pp 171 remoting/client/plugin/pepper_packet_socket_factory.cc pp::NetAddress pp_local_address; pp 174 remoting/client/plugin/pepper_packet_socket_factory.cc pp::CompletionCallback callback = pp 216 remoting/client/plugin/pepper_packet_socket_factory.cc pp::NetAddress pp_address; pp 263 remoting/client/plugin/pepper_packet_socket_factory.cc pp::CompletionCallback callback = pp 312 remoting/client/plugin/pepper_packet_socket_factory.cc pp::CompletionCallbackWithOutput<pp::NetAddress> callback = pp 320 remoting/client/plugin/pepper_packet_socket_factory.cc void UdpPacketSocket::OnReadCompleted(int result, pp::NetAddress address) { pp 327 remoting/client/plugin/pepper_packet_socket_factory.cc void UdpPacketSocket::HandleReadResult(int result, pp::NetAddress address) { pp 341 remoting/client/plugin/pepper_packet_socket_factory.cc const pp::InstanceHandle& instance) pp 16 remoting/client/plugin/pepper_packet_socket_factory.h explicit PepperPacketSocketFactory(const pp::InstanceHandle& instance); pp 36 remoting/client/plugin/pepper_packet_socket_factory.h const pp::InstanceHandle pp_instance_; pp 13 remoting/client/plugin/pepper_plugin_thread_delegate.cc : core_(pp::Module::Get()->core()) { pp 26 remoting/client/plugin/pepper_plugin_thread_delegate.cc delay.InMilliseconds(), pp::CompletionCallback( pp 10 remoting/client/plugin/pepper_plugin_thread_delegate.h namespace pp { pp 25 remoting/client/plugin/pepper_plugin_thread_delegate.h pp::Core* core_; pp 41 remoting/client/plugin/pepper_port_allocator.cc const pp::InstanceHandle& instance); pp 57 remoting/client/plugin/pepper_port_allocator.cc pp::InstanceHandle instance_; pp 59 remoting/client/plugin/pepper_port_allocator.cc pp::HostResolver stun_address_resolver_; pp 63 remoting/client/plugin/pepper_port_allocator.cc scoped_ptr<pp::URLLoader> relay_url_loader_; pp 67 remoting/client/plugin/pepper_port_allocator.cc pp::CompletionCallbackFactory<PepperPortAllocatorSession> callback_factory_; pp 81 remoting/client/plugin/pepper_port_allocator.cc const pp::InstanceHandle& instance) pp 156 remoting/client/plugin/pepper_port_allocator.cc pp::CompletionCallback callback = callback_factory_.NewCallback( pp 178 remoting/client/plugin/pepper_port_allocator.cc pp::NetAddress address = stun_address_resolver_.GetNetAddress(0); pp 209 remoting/client/plugin/pepper_port_allocator.cc relay_url_loader_.reset(new pp::URLLoader(instance_)); pp 210 remoting/client/plugin/pepper_port_allocator.cc pp::URLRequestInfo request_info(instance_); pp 221 remoting/client/plugin/pepper_port_allocator.cc pp::CompletionCallback callback = pp 239 remoting/client/plugin/pepper_port_allocator.cc pp::URLResponseInfo response = relay_url_loader_->GetResponseInfo(); pp 255 remoting/client/plugin/pepper_port_allocator.cc pp::CompletionCallback callback = callback_factory_.NewCallback( pp 295 remoting/client/plugin/pepper_port_allocator.cc const pp::InstanceHandle& instance) { pp 306 remoting/client/plugin/pepper_port_allocator.cc const pp::InstanceHandle& instance, pp 27 remoting/client/plugin/pepper_port_allocator.h const pp::InstanceHandle& instance); pp 39 remoting/client/plugin/pepper_port_allocator.h const pp::InstanceHandle& instance, pp 43 remoting/client/plugin/pepper_port_allocator.h pp::InstanceHandle instance_; pp 17 remoting/client/plugin/pepper_util.cc const pp::InstanceHandle& instance, pp 19 remoting/client/plugin/pepper_util.cc pp::NetAddress* pp_address, pp 27 remoting/client/plugin/pepper_util.cc *pp_address = pp::NetAddress(instance, ip_addr); pp 35 remoting/client/plugin/pepper_util.cc *pp_address = pp::NetAddress(instance, ip_addr); pp 45 remoting/client/plugin/pepper_util.cc bool SocketAddressToPpNetAddress(const pp::InstanceHandle& instance, pp 47 remoting/client/plugin/pepper_util.cc pp::NetAddress* pp_net_address) { pp 54 remoting/client/plugin/pepper_util.cc void PpNetAddressToSocketAddress(const pp::NetAddress& pp_net_address, pp 12 remoting/client/plugin/pepper_util.h namespace pp { pp 25 remoting/client/plugin/pepper_util.h const pp::InstanceHandle& instance, pp 27 remoting/client/plugin/pepper_util.h pp::NetAddress* pp_net_address, pp 29 remoting/client/plugin/pepper_util.h bool SocketAddressToPpNetAddress(const pp::InstanceHandle& instance, pp 31 remoting/client/plugin/pepper_util.h pp::NetAddress* pp_net_address); pp 32 remoting/client/plugin/pepper_util.h void PpNetAddressToSocketAddress(const pp::NetAddress& pp_net_address, pp 33 remoting/client/plugin/pepper_view.cc explicit PepperDesktopFrame(const pp::ImageData& buffer); pp 36 remoting/client/plugin/pepper_view.cc const pp::ImageData& buffer() const { pp 41 remoting/client/plugin/pepper_view.cc pp::ImageData buffer_; pp 44 remoting/client/plugin/pepper_view.cc PepperDesktopFrame::PepperDesktopFrame(const pp::ImageData& buffer) pp 101 remoting/client/plugin/pepper_view.cc void PepperView::SetView(const pp::View& view) { pp 104 remoting/client/plugin/pepper_view.cc pp::Rect pp_size = view.GetRect(); pp 131 remoting/client/plugin/pepper_view.cc pp::Size pp_size = pp::Size(view_size_.width(), view_size_.height()); pp 132 remoting/client/plugin/pepper_view.cc graphics2d_ = pp::Graphics2D(instance_, pp_size, false); pp 143 remoting/client/plugin/pepper_view.cc pp::Rect pp_clip = view.GetClipRect(); pp 229 remoting/client/plugin/pepper_view.cc pp::ImageData buffer_data(instance_, pp 231 remoting/client/plugin/pepper_view.cc pp::Size(clip_area_.width(), pp 286 remoting/client/plugin/pepper_view.cc pp::Point(clip_area.left(), clip_area.top()), pp 287 remoting/client/plugin/pepper_view.cc pp::Rect(rect.left(), rect.top(), rect.width(), rect.height())); pp 301 remoting/client/plugin/pepper_view.cc pp::CompletionCallback callback = pp 60 remoting/client/plugin/pepper_view.h void SetView(const pp::View& view); pp 97 remoting/client/plugin/pepper_view.h pp::Graphics2D graphics2d_; pp 141 remoting/client/plugin/pepper_view.h pp::CompletionCallbackFactory<PepperView> callback_factory_; pp 24 remoting/protocol/connection_to_host.h namespace pp { pp 18 remoting/protocol/jingle_session_manager.h namespace pp { pp 44 sandbox/win/src/policy_engine_opcodes.cc EvalResult OpcodeEval(PolicyOpcode* opcode, const ParameterSet* pp, pp 293 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc parse_uint (const char *pp, const char *end, uint32_t *pv) pp 296 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc unsigned int len = MIN (ARRAY_LENGTH (buf) - 1, (unsigned int) (end - pp)); pp 297 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc strncpy (buf, pp, len); pp 306 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc if (errno || p == pend || pend - p != end - pp) pp 314 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc parse_int (const char *pp, const char *end, int32_t *pv) pp 317 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc unsigned int len = MIN (ARRAY_LENGTH (buf) - 1, (unsigned int) (end - pp)); pp 318 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc strncpy (buf, pp, len); pp 327 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc if (errno || p == pend || pend - p != end - pp) pp 38 third_party/harfbuzz-ng/src/hb-shape.cc parse_space (const char **pp, const char *end) pp 41 third_party/harfbuzz-ng/src/hb-shape.cc while (*pp < end && (c = **pp, ISSPACE (c))) pp 42 third_party/harfbuzz-ng/src/hb-shape.cc (*pp)++; pp 46 third_party/harfbuzz-ng/src/hb-shape.cc parse_char (const char **pp, const char *end, char c) pp 48 third_party/harfbuzz-ng/src/hb-shape.cc parse_space (pp, end); pp 50 third_party/harfbuzz-ng/src/hb-shape.cc if (*pp == end || **pp != c) pp 53 third_party/harfbuzz-ng/src/hb-shape.cc (*pp)++; pp 58 third_party/harfbuzz-ng/src/hb-shape.cc parse_uint (const char **pp, const char *end, unsigned int *pv) pp 61 third_party/harfbuzz-ng/src/hb-shape.cc unsigned int len = MIN (ARRAY_LENGTH (buf) - 1, (unsigned int) (end - *pp)); pp 62 third_party/harfbuzz-ng/src/hb-shape.cc strncpy (buf, *pp, len); pp 77 third_party/harfbuzz-ng/src/hb-shape.cc *pp += pend - p; pp 82 third_party/harfbuzz-ng/src/hb-shape.cc parse_feature_value_prefix (const char **pp, const char *end, hb_feature_t *feature) pp 84 third_party/harfbuzz-ng/src/hb-shape.cc if (parse_char (pp, end, '-')) pp 87 third_party/harfbuzz-ng/src/hb-shape.cc parse_char (pp, end, '+'); pp 95 third_party/harfbuzz-ng/src/hb-shape.cc parse_feature_tag (const char **pp, const char *end, hb_feature_t *feature) pp 97 third_party/harfbuzz-ng/src/hb-shape.cc const char *p = *pp; pp 100 third_party/harfbuzz-ng/src/hb-shape.cc parse_space (pp, end); pp 103 third_party/harfbuzz-ng/src/hb-shape.cc while (*pp < end && (c = **pp, ISALNUM(c))) pp 104 third_party/harfbuzz-ng/src/hb-shape.cc (*pp)++; pp 107 third_party/harfbuzz-ng/src/hb-shape.cc if (p == *pp) pp 110 third_party/harfbuzz-ng/src/hb-shape.cc feature->tag = hb_tag_from_string (p, *pp - p); pp 115 third_party/harfbuzz-ng/src/hb-shape.cc parse_feature_indices (const char **pp, const char *end, hb_feature_t *feature) pp 117 third_party/harfbuzz-ng/src/hb-shape.cc parse_space (pp, end); pp 124 third_party/harfbuzz-ng/src/hb-shape.cc if (!parse_char (pp, end, '[')) pp 127 third_party/harfbuzz-ng/src/hb-shape.cc has_start = parse_uint (pp, end, &feature->start); pp 129 third_party/harfbuzz-ng/src/hb-shape.cc if (parse_char (pp, end, ':')) { pp 130 third_party/harfbuzz-ng/src/hb-shape.cc parse_uint (pp, end, &feature->end); pp 136 third_party/harfbuzz-ng/src/hb-shape.cc return parse_char (pp, end, ']'); pp 140 third_party/harfbuzz-ng/src/hb-shape.cc parse_feature_value_postfix (const char **pp, const char *end, hb_feature_t *feature) pp 142 third_party/harfbuzz-ng/src/hb-shape.cc return !parse_char (pp, end, '=') || parse_uint (pp, end, &feature->value); pp 147 third_party/harfbuzz-ng/src/hb-shape.cc parse_one_feature (const char **pp, const char *end, hb_feature_t *feature) pp 149 third_party/harfbuzz-ng/src/hb-shape.cc return parse_feature_value_prefix (pp, end, feature) && pp 150 third_party/harfbuzz-ng/src/hb-shape.cc parse_feature_tag (pp, end, feature) && pp 151 third_party/harfbuzz-ng/src/hb-shape.cc parse_feature_indices (pp, end, feature) && pp 152 third_party/harfbuzz-ng/src/hb-shape.cc parse_feature_value_postfix (pp, end, feature) && pp 153 third_party/harfbuzz-ng/src/hb-shape.cc *pp == end; pp 119 third_party/liblouis/nacl_wrapper/liblouis_instance.cc : pp::Instance(instance), liblouis_thread_(this), cc_factory_(this) {} pp 133 third_party/liblouis/nacl_wrapper/liblouis_instance.cc pp::Module::Get()->get_browser_interface()); pp 142 third_party/liblouis/nacl_wrapper/liblouis_instance.cc void LibLouisInstance::HandleMessage(const pp::Var& var_message) { pp 186 third_party/liblouis/nacl_wrapper/liblouis_instance.cc pp::Var var_reply(writer.write(reply)); pp 194 third_party/liblouis/nacl_wrapper/liblouis_instance.cc pp::Var var_reply(writer.write(reply)); pp 205 third_party/liblouis/nacl_wrapper/liblouis_instance.cc pp::Var var_reply(writer.write(reply)); pp 34 third_party/liblouis/nacl_wrapper/liblouis_instance.h class LibLouisInstance : public pp::Instance { pp 40 third_party/liblouis/nacl_wrapper/liblouis_instance.h virtual void HandleMessage(const pp::Var& var_message); pp 44 third_party/liblouis/nacl_wrapper/liblouis_instance.h int32_t PostWorkToBackground(const pp::CompletionCallback& callback) { pp 84 third_party/liblouis/nacl_wrapper/liblouis_instance.h pp::SimpleThread liblouis_thread_; pp 85 third_party/liblouis/nacl_wrapper/liblouis_instance.h pp::CompletionCallbackFactory<LibLouisInstance> cc_factory_; pp 23 third_party/liblouis/nacl_wrapper/liblouis_module.cc LibLouisModule::LibLouisModule() : pp::Module() {} pp 27 third_party/liblouis/nacl_wrapper/liblouis_module.cc pp::Instance* LibLouisModule::CreateInstance(PP_Instance instance) { pp 26 third_party/liblouis/nacl_wrapper/liblouis_module.h class LibLouisModule : public pp::Module { pp 31 third_party/liblouis/nacl_wrapper/liblouis_module.h virtual pp::Instance* CreateInstance(PP_Instance instance); pp 1176 third_party/libpng/pngrutil.c png_sPLT_entryp pp; pp 1279 third_party/libpng/pngrutil.c pp = new_palette.entries + i; pp 1283 third_party/libpng/pngrutil.c pp->red = *entry_start++; pp 1284 third_party/libpng/pngrutil.c pp->green = *entry_start++; pp 1285 third_party/libpng/pngrutil.c pp->blue = *entry_start++; pp 1286 third_party/libpng/pngrutil.c pp->alpha = *entry_start++; pp 1290 third_party/libpng/pngrutil.c pp->red = png_get_uint_16(entry_start); entry_start += 2; pp 1291 third_party/libpng/pngrutil.c pp->green = png_get_uint_16(entry_start); entry_start += 2; pp 1292 third_party/libpng/pngrutil.c pp->blue = png_get_uint_16(entry_start); entry_start += 2; pp 1293 third_party/libpng/pngrutil.c pp->alpha = png_get_uint_16(entry_start); entry_start += 2; pp 1295 third_party/libpng/pngrutil.c pp->frequency = png_get_uint_16(entry_start); entry_start += 2; pp 1298 third_party/libpng/pngrutil.c pp = new_palette.entries; pp 1304 third_party/libpng/pngrutil.c pp[i].red = *entry_start++; pp 1305 third_party/libpng/pngrutil.c pp[i].green = *entry_start++; pp 1306 third_party/libpng/pngrutil.c pp[i].blue = *entry_start++; pp 1307 third_party/libpng/pngrutil.c pp[i].alpha = *entry_start++; pp 1311 third_party/libpng/pngrutil.c pp[i].red = png_get_uint_16(entry_start); entry_start += 2; pp 1312 third_party/libpng/pngrutil.c pp[i].green = png_get_uint_16(entry_start); entry_start += 2; pp 1313 third_party/libpng/pngrutil.c pp[i].blue = png_get_uint_16(entry_start); entry_start += 2; pp 1314 third_party/libpng/pngrutil.c pp[i].alpha = png_get_uint_16(entry_start); entry_start += 2; pp 1316 third_party/libpng/pngrutil.c pp->frequency = png_get_uint_16(entry_start); entry_start += 2; pp 2970 third_party/libpng/pngrutil.c png_bytep pp = prev_row; pp 2974 third_party/libpng/pngrutil.c *rp = (png_byte)(((int)(*rp) + (int)(*pp++)) & 0xff); pp 2983 third_party/libpng/pngrutil.c png_bytep pp = prev_row; pp 2991 third_party/libpng/pngrutil.c ((int)(*pp++) / 2 )) & 0xff); pp 2998 third_party/libpng/pngrutil.c (int)(*pp++ + *lp++) / 2 ) & 0xff); pp 3007 third_party/libpng/pngrutil.c png_bytep pp = prev_row; pp 3015 third_party/libpng/pngrutil.c *rp = (png_byte)(((int)(*rp) + (int)(*pp++)) & 0xff); pp 3024 third_party/libpng/pngrutil.c b = *pp++; pp 2374 third_party/libpng/pngwutil.c png_bytep rp, dp, pp; pp 2378 third_party/libpng/pngwutil.c pp = prev_row + 1; i < row_bytes; pp 2379 third_party/libpng/pngwutil.c i++, rp++, pp++, dp++) pp 2381 third_party/libpng/pngwutil.c *dp = (png_byte)(((int)*rp - (int)*pp) & 0xff); pp 2388 third_party/libpng/pngwutil.c png_bytep rp, dp, pp; pp 2426 third_party/libpng/pngwutil.c pp = prev_row + 1; i < row_bytes; i++) pp 2428 third_party/libpng/pngwutil.c v = *dp++ = (png_byte)(((int)*rp++ - (int)*pp++) & 0xff); pp 2477 third_party/libpng/pngwutil.c png_bytep rp, dp, pp, lp; pp 2480 third_party/libpng/pngwutil.c pp = prev_row + 1; i < bpp; i++) pp 2482 third_party/libpng/pngwutil.c *dp++ = (png_byte)(((int)*rp++ - ((int)*pp++ / 2)) & 0xff); pp 2486 third_party/libpng/pngwutil.c *dp++ = (png_byte)(((int)*rp++ - (((int)*pp++ + (int)*lp++) / 2)) pp 2494 third_party/libpng/pngwutil.c png_bytep rp, dp, pp, lp; pp 2531 third_party/libpng/pngwutil.c pp = prev_row + 1; i < bpp; i++) pp 2533 third_party/libpng/pngwutil.c v = *dp++ = (png_byte)(((int)*rp++ - ((int)*pp++ / 2)) & 0xff); pp 2540 third_party/libpng/pngwutil.c (png_byte)(((int)*rp++ - (((int)*pp++ + (int)*lp++) / 2)) & 0xff); pp 2589 third_party/libpng/pngwutil.c png_bytep rp, dp, pp, cp, lp; pp 2592 third_party/libpng/pngwutil.c pp = prev_row + 1; i < bpp; i++) pp 2594 third_party/libpng/pngwutil.c *dp++ = (png_byte)(((int)*rp++ - (int)*pp++) & 0xff); pp 2601 third_party/libpng/pngwutil.c b = *pp++; pp 2627 third_party/libpng/pngwutil.c png_bytep rp, dp, pp, cp, lp; pp 2664 third_party/libpng/pngwutil.c pp = prev_row + 1; i < bpp; i++) pp 2666 third_party/libpng/pngwutil.c v = *dp++ = (png_byte)(((int)*rp++ - (int)*pp++) & 0xff); pp 2675 third_party/libpng/pngwutil.c b = *pp++; pp 12704 third_party/libxml/src/xpath.c int pp; pp 12715 third_party/libxml/src/xpath.c pp = ctxt->context->proximityPosition; pp 12736 third_party/libxml/src/xpath.c ctxt->context->proximityPosition = pp; pp 13125 third_party/libxml/src/xpath.c int pp; pp 13136 third_party/libxml/src/xpath.c pp = ctxt->context->proximityPosition; pp 13146 third_party/libxml/src/xpath.c ctxt->context->proximityPosition = pp; pp 13162 third_party/libxml/src/xpath.c pp = ctxt->context->proximityPosition; pp 13172 third_party/libxml/src/xpath.c ctxt->context->proximityPosition = pp; pp 13188 third_party/libxml/src/xpath.c pp = ctxt->context->proximityPosition; pp 13194 third_party/libxml/src/xpath.c ctxt->context->proximityPosition = pp; pp 13207 third_party/libxml/src/xpath.c pp = ctxt->context->proximityPosition; pp 13213 third_party/libxml/src/xpath.c ctxt->context->proximityPosition = pp; pp 13223 third_party/libxml/src/xpath.c pp = ctxt->context->proximityPosition; pp 13230 third_party/libxml/src/xpath.c ctxt->context->proximityPosition = pp; pp 13249 third_party/libxml/src/xpath.c pp = ctxt->context->proximityPosition; pp 13255 third_party/libxml/src/xpath.c ctxt->context->proximityPosition = pp; pp 13269 third_party/libxml/src/xpath.c pp = ctxt->context->proximityPosition; pp 13275 third_party/libxml/src/xpath.c ctxt->context->proximityPosition = pp; pp 13430 third_party/libxml/src/xpath.c pp = ctxt->context->proximityPosition; pp 13435 third_party/libxml/src/xpath.c ctxt->context->proximityPosition = pp; pp 45 third_party/lzma_sdk/7zDec.c static Byte ReadByte(void *pp) pp 47 third_party/lzma_sdk/7zDec.c CByteInToLook *p = (CByteInToLook *)pp; pp 239 third_party/lzma_sdk/7zFile.c static SRes FileSeqInStream_Read(void *pp, void *buf, size_t *size) pp 241 third_party/lzma_sdk/7zFile.c CFileSeqInStream *p = (CFileSeqInStream *)pp; pp 253 third_party/lzma_sdk/7zFile.c static SRes FileInStream_Read(void *pp, void *buf, size_t *size) pp 255 third_party/lzma_sdk/7zFile.c CFileInStream *p = (CFileInStream *)pp; pp 259 third_party/lzma_sdk/7zFile.c static SRes FileInStream_Seek(void *pp, Int64 *pos, ESzSeek origin) pp 261 third_party/lzma_sdk/7zFile.c CFileInStream *p = (CFileInStream *)pp; pp 274 third_party/lzma_sdk/7zFile.c static size_t FileOutStream_Write(void *pp, const void *data, size_t size) pp 276 third_party/lzma_sdk/7zFile.c CFileOutStream *p = (CFileOutStream *)pp; pp 69 third_party/lzma_sdk/7zStream.c static SRes LookToRead_Look_Lookahead(void *pp, const void **buf, size_t *size) pp 72 third_party/lzma_sdk/7zStream.c CLookToRead *p = (CLookToRead *)pp; pp 87 third_party/lzma_sdk/7zStream.c static SRes LookToRead_Look_Exact(void *pp, const void **buf, size_t *size) pp 90 third_party/lzma_sdk/7zStream.c CLookToRead *p = (CLookToRead *)pp; pp 106 third_party/lzma_sdk/7zStream.c static SRes LookToRead_Skip(void *pp, size_t offset) pp 108 third_party/lzma_sdk/7zStream.c CLookToRead *p = (CLookToRead *)pp; pp 113 third_party/lzma_sdk/7zStream.c static SRes LookToRead_Read(void *pp, void *buf, size_t *size) pp 115 third_party/lzma_sdk/7zStream.c CLookToRead *p = (CLookToRead *)pp; pp 127 third_party/lzma_sdk/7zStream.c static SRes LookToRead_Seek(void *pp, Int64 *pos, ESzSeek origin) pp 129 third_party/lzma_sdk/7zStream.c CLookToRead *p = (CLookToRead *)pp; pp 149 third_party/lzma_sdk/7zStream.c static SRes SecToLook_Read(void *pp, void *buf, size_t *size) pp 151 third_party/lzma_sdk/7zStream.c CSecToLook *p = (CSecToLook *)pp; pp 160 third_party/lzma_sdk/7zStream.c static SRes SecToRead_Read(void *pp, void *buf, size_t *size) pp 162 third_party/lzma_sdk/7zStream.c CSecToRead *p = (CSecToRead *)pp; pp 339 third_party/lzma_sdk/LzmaEnc.c void LzmaEnc_SaveState(CLzmaEncHandle pp) pp 341 third_party/lzma_sdk/LzmaEnc.c CLzmaEnc *p = (CLzmaEnc *)pp; pp 365 third_party/lzma_sdk/LzmaEnc.c void LzmaEnc_RestoreState(CLzmaEncHandle pp) pp 367 third_party/lzma_sdk/LzmaEnc.c CLzmaEnc *dest = (CLzmaEnc *)pp; pp 391 third_party/lzma_sdk/LzmaEnc.c SRes LzmaEnc_SetProps(CLzmaEncHandle pp, const CLzmaEncProps *props2) pp 393 third_party/lzma_sdk/LzmaEnc.c CLzmaEnc *p = (CLzmaEnc *)pp; pp 2037 third_party/lzma_sdk/LzmaEnc.c static SRes LzmaEnc_Prepare(CLzmaEncHandle pp, ISeqOutStream *outStream, ISeqInStream *inStream, pp 2040 third_party/lzma_sdk/LzmaEnc.c CLzmaEnc *p = (CLzmaEnc *)pp; pp 2047 third_party/lzma_sdk/LzmaEnc.c SRes LzmaEnc_PrepareForLzma2(CLzmaEncHandle pp, pp 2051 third_party/lzma_sdk/LzmaEnc.c CLzmaEnc *p = (CLzmaEnc *)pp; pp 2064 third_party/lzma_sdk/LzmaEnc.c SRes LzmaEnc_MemPrepare(CLzmaEncHandle pp, const Byte *src, SizeT srcLen, pp 2067 third_party/lzma_sdk/LzmaEnc.c CLzmaEnc *p = (CLzmaEnc *)pp; pp 2074 third_party/lzma_sdk/LzmaEnc.c void LzmaEnc_Finish(CLzmaEncHandle pp) pp 2077 third_party/lzma_sdk/LzmaEnc.c CLzmaEnc *p = (CLzmaEnc *)pp; pp 2081 third_party/lzma_sdk/LzmaEnc.c pp = pp; pp 2093 third_party/lzma_sdk/LzmaEnc.c static size_t MyWrite(void *pp, const void *data, size_t size) pp 2095 third_party/lzma_sdk/LzmaEnc.c CSeqOutStreamBuf *p = (CSeqOutStreamBuf *)pp; pp 2108 third_party/lzma_sdk/LzmaEnc.c UInt32 LzmaEnc_GetNumAvailableBytes(CLzmaEncHandle pp) pp 2110 third_party/lzma_sdk/LzmaEnc.c const CLzmaEnc *p = (CLzmaEnc *)pp; pp 2114 third_party/lzma_sdk/LzmaEnc.c const Byte *LzmaEnc_GetCurBuf(CLzmaEncHandle pp) pp 2116 third_party/lzma_sdk/LzmaEnc.c const CLzmaEnc *p = (CLzmaEnc *)pp; pp 2120 third_party/lzma_sdk/LzmaEnc.c SRes LzmaEnc_CodeOneMemBlock(CLzmaEncHandle pp, Bool reInit, pp 2123 third_party/lzma_sdk/LzmaEnc.c CLzmaEnc *p = (CLzmaEnc *)pp; pp 2184 third_party/lzma_sdk/LzmaEnc.c SRes LzmaEnc_Encode(CLzmaEncHandle pp, ISeqOutStream *outStream, ISeqInStream *inStream, ICompressProgress *progress, pp 2187 third_party/lzma_sdk/LzmaEnc.c RINOK(LzmaEnc_Prepare(pp, outStream, inStream, alloc, allocBig)); pp 2188 third_party/lzma_sdk/LzmaEnc.c return LzmaEnc_Encode2((CLzmaEnc *)pp, progress); pp 2191 third_party/lzma_sdk/LzmaEnc.c SRes LzmaEnc_WriteProperties(CLzmaEncHandle pp, Byte *props, SizeT *size) pp 2193 third_party/lzma_sdk/LzmaEnc.c CLzmaEnc *p = (CLzmaEnc *)pp; pp 2220 third_party/lzma_sdk/LzmaEnc.c SRes LzmaEnc_MemEncode(CLzmaEncHandle pp, Byte *dest, SizeT *destLen, const Byte *src, SizeT srcLen, pp 2224 third_party/lzma_sdk/LzmaEnc.c CLzmaEnc *p = (CLzmaEnc *)pp; pp 2238 third_party/lzma_sdk/LzmaEnc.c res = LzmaEnc_MemPrepare(pp, src, srcLen, 0, alloc, allocBig); pp 14061 third_party/sqlite/amalgamation/sqlite3.c void volatile **pp /* OUT: Pointer to mapping */ pp 14063 third_party/sqlite/amalgamation/sqlite3.c return id->pMethods->xShmMap(id, iPage, pgsz, bExtend, pp); pp 17966 third_party/sqlite/amalgamation/sqlite3.c static int mallocWithAlarm(int n, void **pp){ pp 17993 third_party/sqlite/amalgamation/sqlite3.c *pp = p; pp 23083 third_party/sqlite/amalgamation/sqlite3.c void volatile **pp /* OUT: Mapped memory */ pp 23092 third_party/sqlite/amalgamation/sqlite3.c *pp = NULL; pp 23141 third_party/sqlite/amalgamation/sqlite3.c *pp = pNode->apRegion[iRegion]; pp 23151 third_party/sqlite/amalgamation/sqlite3.c *pp = pNode->apRegion[iRegion]; pp 24950 third_party/sqlite/amalgamation/sqlite3.c struct vxworksFileId **pp; pp 24951 third_party/sqlite/amalgamation/sqlite3.c for(pp=&vxworksFileList; *pp && *pp!=pId; pp = &((*pp)->pNext)){} pp 24952 third_party/sqlite/amalgamation/sqlite3.c assert( *pp==pId ); pp 24953 third_party/sqlite/amalgamation/sqlite3.c *pp = pId->pNext; pp 28033 third_party/sqlite/amalgamation/sqlite3.c void volatile **pp /* OUT: Mapped memory */ pp 28121 third_party/sqlite/amalgamation/sqlite3.c *pp = pShmNode->apRegion[iRegion]; pp 28123 third_party/sqlite/amalgamation/sqlite3.c *pp = 0; pp 28270 third_party/sqlite/amalgamation/sqlite3.c unixShm **pp; /* For looping over sibling connections */ pp 28284 third_party/sqlite/amalgamation/sqlite3.c for(pp=&pShmNode->pFirst; (*pp)!=p; pp = &(*pp)->pNext){} pp 28285 third_party/sqlite/amalgamation/sqlite3.c *pp = p->pNext; pp 28925 third_party/sqlite/amalgamation/sqlite3.c UnixUnusedFd **pp; pp 28926 third_party/sqlite/amalgamation/sqlite3.c for(pp=&pInode->pUnused; *pp && (*pp)->flags!=flags; pp=&((*pp)->pNext)); pp 28927 third_party/sqlite/amalgamation/sqlite3.c pUnused = *pp; pp 28929 third_party/sqlite/amalgamation/sqlite3.c *pp = pUnused->pNext; pp 32511 third_party/sqlite/amalgamation/sqlite3.c winShmNode **pp; pp 32515 third_party/sqlite/amalgamation/sqlite3.c pp = &winShmNodeList; pp 32516 third_party/sqlite/amalgamation/sqlite3.c while( (p = *pp)!=0 ){ pp 32540 third_party/sqlite/amalgamation/sqlite3.c *pp = p->pNext; pp 32544 third_party/sqlite/amalgamation/sqlite3.c pp = &p->pNext; pp 32675 third_party/sqlite/amalgamation/sqlite3.c winShm **pp; /* For looping over sibling connections */ pp 32685 third_party/sqlite/amalgamation/sqlite3.c for(pp=&pShmNode->pFirst; (*pp)!=p; pp = &(*pp)->pNext){} pp 32686 third_party/sqlite/amalgamation/sqlite3.c *pp = p->pNext; pp 32851 third_party/sqlite/amalgamation/sqlite3.c void volatile **pp /* OUT: Mapped memory */ pp 32948 third_party/sqlite/amalgamation/sqlite3.c *pp = (void *)&p[iOffsetShift]; pp 32950 third_party/sqlite/amalgamation/sqlite3.c *pp = 0; pp 35368 third_party/sqlite/amalgamation/sqlite3.c PgHdr1 **pp; pp 35372 third_party/sqlite/amalgamation/sqlite3.c for(pp=&pCache->apHash[h]; (*pp)!=pPage; pp=&(*pp)->pNext); pp 35373 third_party/sqlite/amalgamation/sqlite3.c *pp = (*pp)->pNext; pp 35408 third_party/sqlite/amalgamation/sqlite3.c PgHdr1 **pp = &pCache->apHash[h]; pp 35410 third_party/sqlite/amalgamation/sqlite3.c while( (pPage = *pp)!=0 ){ pp 35413 third_party/sqlite/amalgamation/sqlite3.c *pp = pPage->pNext; pp 35417 third_party/sqlite/amalgamation/sqlite3.c pp = &pPage->pNext; pp 35749 third_party/sqlite/amalgamation/sqlite3.c PgHdr1 **pp; pp 35757 third_party/sqlite/amalgamation/sqlite3.c pp = &pCache->apHash[h]; pp 35758 third_party/sqlite/amalgamation/sqlite3.c while( (*pp)!=pPage ){ pp 35759 third_party/sqlite/amalgamation/sqlite3.c pp = &(*pp)->pNext; pp 35761 third_party/sqlite/amalgamation/sqlite3.c *pp = pPage->pNext; pp 44765 third_party/sqlite/amalgamation/sqlite3.c static int walIteratorInit(Wal *pWal, WalIterator **pp){ pp 44837 third_party/sqlite/amalgamation/sqlite3.c *pp = p; pp 55578 third_party/sqlite/amalgamation/sqlite3.c sqlite3_backup **pp; pp 55580 third_party/sqlite/amalgamation/sqlite3.c pp = sqlite3PagerBackupPtr(sqlite3BtreePager(p->pSrc)); pp 55581 third_party/sqlite/amalgamation/sqlite3.c p->pNext = *pp; pp 55582 third_party/sqlite/amalgamation/sqlite3.c *pp = p; pp 55804 third_party/sqlite/amalgamation/sqlite3.c sqlite3_backup **pp; /* Ptr to head of pagers backup list */ pp 55822 third_party/sqlite/amalgamation/sqlite3.c pp = sqlite3PagerBackupPtr(sqlite3BtreePager(p->pSrc)); pp 55823 third_party/sqlite/amalgamation/sqlite3.c while( *pp!=p ){ pp 55824 third_party/sqlite/amalgamation/sqlite3.c pp = &(*pp)->pNext; pp 55826 third_party/sqlite/amalgamation/sqlite3.c *pp = p->pNext; pp 95184 third_party/sqlite/amalgamation/sqlite3.c Trigger **pp; pp 95185 third_party/sqlite/amalgamation/sqlite3.c for(pp=&pTab->pTrigger; *pp!=pTrigger; pp=&((*pp)->pNext)); pp 95186 third_party/sqlite/amalgamation/sqlite3.c *pp = (*pp)->pNext; pp 100041 third_party/sqlite/amalgamation/sqlite3.c sqlite3_value **pp pp 100048 third_party/sqlite/amalgamation/sqlite3.c *pp = sqlite3VdbeGetValue(pParse->pReprepare, iVar, aff); pp 100051 third_party/sqlite/amalgamation/sqlite3.c return sqlite3ValueFromExpr(pParse->db, pExpr, SQLITE_UTF8, aff, pp); pp 102252 third_party/sqlite/amalgamation/sqlite3.c sqlite3_index_info **pp = &pWInfo->a[j].pIdxInfo; pp 102254 third_party/sqlite/amalgamation/sqlite3.c &sCost, pp); pp 110000 third_party/sqlite/amalgamation/sqlite3.c sqlite3 **pp; pp 110002 third_party/sqlite/amalgamation/sqlite3.c for(pp=&sqlite3BlockedList; *pp; pp = &(*pp)->pNextBlocked){ pp 110003 third_party/sqlite/amalgamation/sqlite3.c if( *pp==db ){ pp 110004 third_party/sqlite/amalgamation/sqlite3.c *pp = (*pp)->pNextBlocked; pp 110015 third_party/sqlite/amalgamation/sqlite3.c sqlite3 **pp; pp 110018 third_party/sqlite/amalgamation/sqlite3.c pp=&sqlite3BlockedList; pp 110019 third_party/sqlite/amalgamation/sqlite3.c *pp && (*pp)->xUnlockNotify!=db->xUnlockNotify; pp 110020 third_party/sqlite/amalgamation/sqlite3.c pp=&(*pp)->pNextBlocked pp 110022 third_party/sqlite/amalgamation/sqlite3.c db->pNextBlocked = *pp; pp 110023 third_party/sqlite/amalgamation/sqlite3.c *pp = db; pp 110145 third_party/sqlite/amalgamation/sqlite3.c sqlite3 **pp; /* Iterator variable */ pp 110154 third_party/sqlite/amalgamation/sqlite3.c for(pp=&sqlite3BlockedList; *pp; /* no-op */ ){ pp 110155 third_party/sqlite/amalgamation/sqlite3.c sqlite3 *p = *pp; pp 110223 third_party/sqlite/amalgamation/sqlite3.c *pp = p->pNextBlocked; pp 110226 third_party/sqlite/amalgamation/sqlite3.c pp = &p->pNextBlocked; pp 113467 third_party/sqlite/amalgamation/sqlite3.c static void fts3GetDeltaVarint(char **pp, sqlite3_int64 *pVal){ pp 113469 third_party/sqlite/amalgamation/sqlite3.c *pp += sqlite3Fts3GetVarint(*pp, &iVal); pp 113479 third_party/sqlite/amalgamation/sqlite3.c static void fts3GetDeltaVarint2(char **pp, char *pEnd, sqlite3_int64 *pVal){ pp 113480 third_party/sqlite/amalgamation/sqlite3.c if( *pp>=pEnd ){ pp 113481 third_party/sqlite/amalgamation/sqlite3.c *pp = 0; pp 113483 third_party/sqlite/amalgamation/sqlite3.c fts3GetDeltaVarint(pp, pVal); pp 114409 third_party/sqlite/amalgamation/sqlite3.c char **pp, /* IN/OUT: Output pointer */ pp 114414 third_party/sqlite/amalgamation/sqlite3.c *pp += sqlite3Fts3PutVarint(*pp, iVal-*piPrev); pp 114432 third_party/sqlite/amalgamation/sqlite3.c static void fts3PoslistCopy(char **pp, char **ppPoslist){ pp 114452 third_party/sqlite/amalgamation/sqlite3.c if( pp ){ pp 114454 third_party/sqlite/amalgamation/sqlite3.c char *p = *pp; pp 114457 third_party/sqlite/amalgamation/sqlite3.c *pp = p; pp 114479 third_party/sqlite/amalgamation/sqlite3.c static void fts3ColumnlistCopy(char **pp, char **ppPoslist){ pp 114490 third_party/sqlite/amalgamation/sqlite3.c if( pp ){ pp 114492 third_party/sqlite/amalgamation/sqlite3.c char *p = *pp; pp 114495 third_party/sqlite/amalgamation/sqlite3.c *pp = p; pp 114525 third_party/sqlite/amalgamation/sqlite3.c char **pp, /* IN/OUT: Pointer into position-list buffer */ pp 114528 third_party/sqlite/amalgamation/sqlite3.c if( (**pp)&0xFE ){ pp 114529 third_party/sqlite/amalgamation/sqlite3.c fts3GetDeltaVarint(pp, pi); pp 114545 third_party/sqlite/amalgamation/sqlite3.c static int fts3PutColNumber(char **pp, int iCol){ pp 114548 third_party/sqlite/amalgamation/sqlite3.c char *p = *pp; /* Output pointer */ pp 114551 third_party/sqlite/amalgamation/sqlite3.c *pp = &p[n]; pp 114564 third_party/sqlite/amalgamation/sqlite3.c char **pp, /* Output buffer */ pp 114568 third_party/sqlite/amalgamation/sqlite3.c char *p = *pp; pp 114625 third_party/sqlite/amalgamation/sqlite3.c *pp = p; pp 114654 third_party/sqlite/amalgamation/sqlite3.c char **pp, /* IN/OUT: Preallocated output buffer */ pp 114661 third_party/sqlite/amalgamation/sqlite3.c char *p = (pp ? *pp : 0); pp 114687 third_party/sqlite/amalgamation/sqlite3.c if( pp && iCol1 ){ pp 114702 third_party/sqlite/amalgamation/sqlite3.c if( !pp ){ pp 114723 third_party/sqlite/amalgamation/sqlite3.c assert( pp && p ); pp 114760 third_party/sqlite/amalgamation/sqlite3.c if( !pp || *pp==p ){ pp 114764 third_party/sqlite/amalgamation/sqlite3.c *pp = p; pp 114772 third_party/sqlite/amalgamation/sqlite3.c char **pp, /* Output buffer */ pp 114782 third_party/sqlite/amalgamation/sqlite3.c if( !pp ){ pp 114799 third_party/sqlite/amalgamation/sqlite3.c fts3PoslistMerge(pp, &aTmp, &aTmp2); pp 114801 third_party/sqlite/amalgamation/sqlite3.c fts3PoslistCopy(pp, &aTmp); pp 114803 third_party/sqlite/amalgamation/sqlite3.c fts3PoslistCopy(pp, &aTmp2); pp 117989 third_party/sqlite/amalgamation/sqlite3.c const sqlite3_tokenizer_module **pp pp 117995 third_party/sqlite/amalgamation/sqlite3.c *pp = 0; pp 118004 third_party/sqlite/amalgamation/sqlite3.c memcpy((void *)pp, sqlite3_column_blob(pStmt, 0), sizeof(*pp)); pp 119536 third_party/sqlite/amalgamation/sqlite3.c const sqlite3_tokenizer_module **pp pp 119542 third_party/sqlite/amalgamation/sqlite3.c *pp = 0; pp 119551 third_party/sqlite/amalgamation/sqlite3.c memcpy((void *)pp, sqlite3_column_blob(pStmt, 0), sizeof(*pp)); pp 120110 third_party/sqlite/amalgamation/sqlite3.c sqlite3_stmt **pp, /* OUT: Statement handle */ pp 120177 third_party/sqlite/amalgamation/sqlite3.c *pp = pStmt; pp 120326 third_party/sqlite/amalgamation/sqlite3.c PendingList **pp, /* IN/OUT: Pointer to PendingList struct */ pp 120329 third_party/sqlite/amalgamation/sqlite3.c PendingList *p = *pp; pp 120345 third_party/sqlite/amalgamation/sqlite3.c sqlite3_free(*pp); pp 120346 third_party/sqlite/amalgamation/sqlite3.c *pp = 0; pp 120356 third_party/sqlite/amalgamation/sqlite3.c *pp = p; pp 120370 third_party/sqlite/amalgamation/sqlite3.c PendingList **pp, /* IN/OUT: PendingList structure */ pp 120376 third_party/sqlite/amalgamation/sqlite3.c PendingList *p = *pp; pp 120414 third_party/sqlite/amalgamation/sqlite3.c if( p!=*pp ){ pp 120415 third_party/sqlite/amalgamation/sqlite3.c *pp = p; pp 122762 third_party/sqlite/amalgamation/sqlite3.c static void fts3GetDeltaPosition(char **pp, int *piPos){ pp 122764 third_party/sqlite/amalgamation/sqlite3.c *pp += sqlite3Fts3GetVarint32(*pp, &iVal); pp 123408 third_party/sqlite/amalgamation/sqlite3.c static void fts3LoadColumnlistCounts(char **pp, u32 *aOut, int isGlobal){ pp 123409 third_party/sqlite/amalgamation/sqlite3.c char *pCsr = *pp; pp 123425 third_party/sqlite/amalgamation/sqlite3.c *pp = pCsr; pp 124688 third_party/sqlite/amalgamation/sqlite3.c RtreeNode **pp; pp 124690 third_party/sqlite/amalgamation/sqlite3.c pp = &pRtree->aHash[nodeHash(pNode->iNode)]; pp 124691 third_party/sqlite/amalgamation/sqlite3.c for( ; (*pp)!=pNode; pp = &(*pp)->pNext){ assert(*pp); } pp 124692 third_party/sqlite/amalgamation/sqlite3.c *pp = pNode->pNext; pp 977 third_party/sqlite/src/ext/async/sqlite3async.c AsyncLock **pp; pp 981 third_party/sqlite/src/ext/async/sqlite3async.c for(pp=&async.pLock; *pp!=pLock; pp=&((*pp)->pNext)); pp 982 third_party/sqlite/src/ext/async/sqlite3async.c *pp = pLock->pNext; pp 248 third_party/sqlite/src/ext/fts2/fts2_tokenizer.c const sqlite3_tokenizer_module **pp pp 254 third_party/sqlite/src/ext/fts2/fts2_tokenizer.c *pp = 0; pp 263 third_party/sqlite/src/ext/fts2/fts2_tokenizer.c memcpy(pp, sqlite3_column_blob(pStmt, 0), sizeof(*pp)); pp 417 third_party/sqlite/src/ext/fts3/fts3.c static void fts3GetDeltaVarint(char **pp, sqlite3_int64 *pVal){ pp 419 third_party/sqlite/src/ext/fts3/fts3.c *pp += sqlite3Fts3GetVarint(*pp, &iVal); pp 429 third_party/sqlite/src/ext/fts3/fts3.c static void fts3GetDeltaVarint2(char **pp, char *pEnd, sqlite3_int64 *pVal){ pp 430 third_party/sqlite/src/ext/fts3/fts3.c if( *pp>=pEnd ){ pp 431 third_party/sqlite/src/ext/fts3/fts3.c *pp = 0; pp 433 third_party/sqlite/src/ext/fts3/fts3.c fts3GetDeltaVarint(pp, pVal); pp 1359 third_party/sqlite/src/ext/fts3/fts3.c char **pp, /* IN/OUT: Output pointer */ pp 1364 third_party/sqlite/src/ext/fts3/fts3.c *pp += sqlite3Fts3PutVarint(*pp, iVal-*piPrev); pp 1382 third_party/sqlite/src/ext/fts3/fts3.c static void fts3PoslistCopy(char **pp, char **ppPoslist){ pp 1402 third_party/sqlite/src/ext/fts3/fts3.c if( pp ){ pp 1404 third_party/sqlite/src/ext/fts3/fts3.c char *p = *pp; pp 1407 third_party/sqlite/src/ext/fts3/fts3.c *pp = p; pp 1429 third_party/sqlite/src/ext/fts3/fts3.c static void fts3ColumnlistCopy(char **pp, char **ppPoslist){ pp 1440 third_party/sqlite/src/ext/fts3/fts3.c if( pp ){ pp 1442 third_party/sqlite/src/ext/fts3/fts3.c char *p = *pp; pp 1445 third_party/sqlite/src/ext/fts3/fts3.c *pp = p; pp 1475 third_party/sqlite/src/ext/fts3/fts3.c char **pp, /* IN/OUT: Pointer into position-list buffer */ pp 1478 third_party/sqlite/src/ext/fts3/fts3.c if( (**pp)&0xFE ){ pp 1479 third_party/sqlite/src/ext/fts3/fts3.c fts3GetDeltaVarint(pp, pi); pp 1495 third_party/sqlite/src/ext/fts3/fts3.c static int fts3PutColNumber(char **pp, int iCol){ pp 1498 third_party/sqlite/src/ext/fts3/fts3.c char *p = *pp; /* Output pointer */ pp 1501 third_party/sqlite/src/ext/fts3/fts3.c *pp = &p[n]; pp 1514 third_party/sqlite/src/ext/fts3/fts3.c char **pp, /* Output buffer */ pp 1518 third_party/sqlite/src/ext/fts3/fts3.c char *p = *pp; pp 1575 third_party/sqlite/src/ext/fts3/fts3.c *pp = p; pp 1604 third_party/sqlite/src/ext/fts3/fts3.c char **pp, /* IN/OUT: Preallocated output buffer */ pp 1611 third_party/sqlite/src/ext/fts3/fts3.c char *p = (pp ? *pp : 0); pp 1637 third_party/sqlite/src/ext/fts3/fts3.c if( pp && iCol1 ){ pp 1652 third_party/sqlite/src/ext/fts3/fts3.c if( !pp ){ pp 1673 third_party/sqlite/src/ext/fts3/fts3.c assert( pp && p ); pp 1710 third_party/sqlite/src/ext/fts3/fts3.c if( !pp || *pp==p ){ pp 1714 third_party/sqlite/src/ext/fts3/fts3.c *pp = p; pp 1722 third_party/sqlite/src/ext/fts3/fts3.c char **pp, /* Output buffer */ pp 1732 third_party/sqlite/src/ext/fts3/fts3.c if( !pp ){ pp 1749 third_party/sqlite/src/ext/fts3/fts3.c fts3PoslistMerge(pp, &aTmp, &aTmp2); pp 1751 third_party/sqlite/src/ext/fts3/fts3.c fts3PoslistCopy(pp, &aTmp); pp 1753 third_party/sqlite/src/ext/fts3/fts3.c fts3PoslistCopy(pp, &aTmp2); pp 765 third_party/sqlite/src/ext/fts3/fts3_expr.c const sqlite3_tokenizer_module **pp pp 771 third_party/sqlite/src/ext/fts3/fts3_expr.c *pp = 0; pp 780 third_party/sqlite/src/ext/fts3/fts3_expr.c memcpy((void *)pp, sqlite3_column_blob(pStmt, 0), sizeof(*pp)); pp 129 third_party/sqlite/src/ext/fts3/fts3_snippet.c static void fts3GetDeltaPosition(char **pp, int *piPos){ pp 131 third_party/sqlite/src/ext/fts3/fts3_snippet.c *pp += sqlite3Fts3GetVarint32(*pp, &iVal); pp 775 third_party/sqlite/src/ext/fts3/fts3_snippet.c static void fts3LoadColumnlistCounts(char **pp, u32 *aOut, int isGlobal){ pp 776 third_party/sqlite/src/ext/fts3/fts3_snippet.c char *pCsr = *pp; pp 792 third_party/sqlite/src/ext/fts3/fts3_snippet.c *pp = pCsr; pp 354 third_party/sqlite/src/ext/fts3/fts3_tokenizer.c const sqlite3_tokenizer_module **pp pp 360 third_party/sqlite/src/ext/fts3/fts3_tokenizer.c *pp = 0; pp 369 third_party/sqlite/src/ext/fts3/fts3_tokenizer.c memcpy((void *)pp, sqlite3_column_blob(pStmt, 0), sizeof(*pp)); pp 204 third_party/sqlite/src/ext/fts3/fts3_write.c sqlite3_stmt **pp, /* OUT: Statement handle */ pp 271 third_party/sqlite/src/ext/fts3/fts3_write.c *pp = pStmt; pp 420 third_party/sqlite/src/ext/fts3/fts3_write.c PendingList **pp, /* IN/OUT: Pointer to PendingList struct */ pp 423 third_party/sqlite/src/ext/fts3/fts3_write.c PendingList *p = *pp; pp 439 third_party/sqlite/src/ext/fts3/fts3_write.c sqlite3_free(*pp); pp 440 third_party/sqlite/src/ext/fts3/fts3_write.c *pp = 0; pp 450 third_party/sqlite/src/ext/fts3/fts3_write.c *pp = p; pp 464 third_party/sqlite/src/ext/fts3/fts3_write.c PendingList **pp, /* IN/OUT: PendingList structure */ pp 470 third_party/sqlite/src/ext/fts3/fts3_write.c PendingList *p = *pp; pp 508 third_party/sqlite/src/ext/fts3/fts3_write.c if( p!=*pp ){ pp 509 third_party/sqlite/src/ext/fts3/fts3_write.c *pp = p; pp 431 third_party/sqlite/src/ext/rtree/rtree.c RtreeNode **pp; pp 433 third_party/sqlite/src/ext/rtree/rtree.c pp = &pRtree->aHash[nodeHash(pNode->iNode)]; pp 434 third_party/sqlite/src/ext/rtree/rtree.c for( ; (*pp)!=pNode; pp = &(*pp)->pNext){ assert(*pp); } pp 435 third_party/sqlite/src/ext/rtree/rtree.c *pp = pNode->pNext; pp 315 third_party/sqlite/src/src/backup.c sqlite3_backup **pp; pp 317 third_party/sqlite/src/src/backup.c pp = sqlite3PagerBackupPtr(sqlite3BtreePager(p->pSrc)); pp 318 third_party/sqlite/src/src/backup.c p->pNext = *pp; pp 319 third_party/sqlite/src/src/backup.c *pp = p; pp 541 third_party/sqlite/src/src/backup.c sqlite3_backup **pp; /* Ptr to head of pagers backup list */ pp 559 third_party/sqlite/src/src/backup.c pp = sqlite3PagerBackupPtr(sqlite3BtreePager(p->pSrc)); pp 560 third_party/sqlite/src/src/backup.c while( *pp!=p ){ pp 561 third_party/sqlite/src/src/backup.c pp = &(*pp)->pNext; pp 563 third_party/sqlite/src/src/backup.c *pp = p->pNext; pp 261 third_party/sqlite/src/src/malloc.c static int mallocWithAlarm(int n, void **pp){ pp 288 third_party/sqlite/src/src/malloc.c *pp = p; pp 84 third_party/sqlite/src/src/notify.c sqlite3 **pp; pp 86 third_party/sqlite/src/src/notify.c for(pp=&sqlite3BlockedList; *pp; pp = &(*pp)->pNextBlocked){ pp 87 third_party/sqlite/src/src/notify.c if( *pp==db ){ pp 88 third_party/sqlite/src/src/notify.c *pp = (*pp)->pNextBlocked; pp 99 third_party/sqlite/src/src/notify.c sqlite3 **pp; pp 102 third_party/sqlite/src/src/notify.c pp=&sqlite3BlockedList; pp 103 third_party/sqlite/src/src/notify.c *pp && (*pp)->xUnlockNotify!=db->xUnlockNotify; pp 104 third_party/sqlite/src/src/notify.c pp=&(*pp)->pNextBlocked pp 106 third_party/sqlite/src/src/notify.c db->pNextBlocked = *pp; pp 107 third_party/sqlite/src/src/notify.c *pp = db; pp 229 third_party/sqlite/src/src/notify.c sqlite3 **pp; /* Iterator variable */ pp 238 third_party/sqlite/src/src/notify.c for(pp=&sqlite3BlockedList; *pp; /* no-op */ ){ pp 239 third_party/sqlite/src/src/notify.c sqlite3 *p = *pp; pp 307 third_party/sqlite/src/src/notify.c *pp = p->pNextBlocked; pp 310 third_party/sqlite/src/src/notify.c pp = &p->pNextBlocked; pp 117 third_party/sqlite/src/src/os.c void volatile **pp /* OUT: Pointer to mapping */ pp 119 third_party/sqlite/src/src/os.c return id->pMethods->xShmMap(id, iPage, pgsz, bExtend, pp); pp 1071 third_party/sqlite/src/src/os_os2.c void volatile **pp /* OUT: Mapped memory */ pp 1080 third_party/sqlite/src/src/os_os2.c *pp = NULL; pp 1129 third_party/sqlite/src/src/os_os2.c *pp = pNode->apRegion[iRegion]; pp 1139 third_party/sqlite/src/src/os_os2.c *pp = pNode->apRegion[iRegion]; pp 809 third_party/sqlite/src/src/os_unix.c struct vxworksFileId **pp; pp 810 third_party/sqlite/src/src/os_unix.c for(pp=&vxworksFileList; *pp && *pp!=pId; pp = &((*pp)->pNext)){} pp 811 third_party/sqlite/src/src/os_unix.c assert( *pp==pId ); pp 812 third_party/sqlite/src/src/os_unix.c *pp = pId->pNext; pp 3892 third_party/sqlite/src/src/os_unix.c void volatile **pp /* OUT: Mapped memory */ pp 3980 third_party/sqlite/src/src/os_unix.c *pp = pShmNode->apRegion[iRegion]; pp 3982 third_party/sqlite/src/src/os_unix.c *pp = 0; pp 4129 third_party/sqlite/src/src/os_unix.c unixShm **pp; /* For looping over sibling connections */ pp 4143 third_party/sqlite/src/src/os_unix.c for(pp=&pShmNode->pFirst; (*pp)!=p; pp = &(*pp)->pNext){} pp 4144 third_party/sqlite/src/src/os_unix.c *pp = p->pNext; pp 4784 third_party/sqlite/src/src/os_unix.c UnixUnusedFd **pp; pp 4785 third_party/sqlite/src/src/os_unix.c for(pp=&pInode->pUnused; *pp && (*pp)->flags!=flags; pp=&((*pp)->pNext)); pp 4786 third_party/sqlite/src/src/os_unix.c pUnused = *pp; pp 4788 third_party/sqlite/src/src/os_unix.c *pp = pUnused->pNext; pp 1392 third_party/sqlite/src/src/os_win.c winShmNode **pp; pp 1396 third_party/sqlite/src/src/os_win.c pp = &winShmNodeList; pp 1397 third_party/sqlite/src/src/os_win.c while( (p = *pp)!=0 ){ pp 1421 third_party/sqlite/src/src/os_win.c *pp = p->pNext; pp 1425 third_party/sqlite/src/src/os_win.c pp = &p->pNext; pp 1556 third_party/sqlite/src/src/os_win.c winShm **pp; /* For looping over sibling connections */ pp 1566 third_party/sqlite/src/src/os_win.c for(pp=&pShmNode->pFirst; (*pp)!=p; pp = &(*pp)->pNext){} pp 1567 third_party/sqlite/src/src/os_win.c *pp = p->pNext; pp 1732 third_party/sqlite/src/src/os_win.c void volatile **pp /* OUT: Mapped memory */ pp 1829 third_party/sqlite/src/src/os_win.c *pp = (void *)&p[iOffsetShift]; pp 1831 third_party/sqlite/src/src/os_win.c *pp = 0; pp 454 third_party/sqlite/src/src/pcache1.c PgHdr1 **pp; pp 458 third_party/sqlite/src/src/pcache1.c for(pp=&pCache->apHash[h]; (*pp)!=pPage; pp=&(*pp)->pNext); pp 459 third_party/sqlite/src/src/pcache1.c *pp = (*pp)->pNext; pp 494 third_party/sqlite/src/src/pcache1.c PgHdr1 **pp = &pCache->apHash[h]; pp 496 third_party/sqlite/src/src/pcache1.c while( (pPage = *pp)!=0 ){ pp 499 third_party/sqlite/src/src/pcache1.c *pp = pPage->pNext; pp 503 third_party/sqlite/src/src/pcache1.c pp = &pPage->pNext; pp 835 third_party/sqlite/src/src/pcache1.c PgHdr1 **pp; pp 843 third_party/sqlite/src/src/pcache1.c pp = &pCache->apHash[h]; pp 844 third_party/sqlite/src/src/pcache1.c while( (*pp)!=pPage ){ pp 845 third_party/sqlite/src/src/pcache1.c pp = &(*pp)->pNext; pp 847 third_party/sqlite/src/src/pcache1.c *pp = pPage->pNext; pp 540 third_party/sqlite/src/src/test6.c void volatile **pp /* OUT: Mapped memory */ pp 542 third_party/sqlite/src/src/test6.c return sqlite3OsShmMap(((CrashFile*)pFile)->pRealFile, iRegion, sz, w, pp); pp 247 third_party/sqlite/src/src/test_devsym.c void volatile **pp pp 250 third_party/sqlite/src/src/test_devsym.c return sqlite3OsShmMap(p->pReal, iRegion, szRegion, isWrite, pp); pp 251 third_party/sqlite/src/src/test_journal.c jt_file **pp; pp 257 third_party/sqlite/src/src/test_journal.c for(pp=&g.pList; *pp!=p; pp=&(*pp)->pNext); pp 258 third_party/sqlite/src/src/test_journal.c *pp = p->pNext; pp 281 third_party/sqlite/src/src/test_malloc.c static int textToPointer(const char *z, void **pp){ pp 292 third_party/sqlite/src/src/test_malloc.c if( sizeof(n)==sizeof(*pp) ){ pp 293 third_party/sqlite/src/src/test_malloc.c memcpy(pp, &n, sizeof(n)); pp 294 third_party/sqlite/src/src/test_malloc.c }else if( sizeof(u)==sizeof(*pp) ){ pp 296 third_party/sqlite/src/src/test_malloc.c memcpy(pp, &u, sizeof(u)); pp 836 third_party/sqlite/src/src/test_multiplex.c void volatile **pp /* OUT: Mapped memory */ pp 842 third_party/sqlite/src/src/test_multiplex.c return pSubOpen->pMethods->xShmMap(pSubOpen, iRegion, szRegion, bExtend, pp); pp 438 third_party/sqlite/src/src/test_osinst.c volatile void **pp pp 444 third_party/sqlite/src/src/test_osinst.c rc = p->pReal->pMethods->xShmMap(p->pReal, iRegion, szRegion, isWrite, pp); pp 531 third_party/sqlite/src/src/test_quota.c void volatile **pp /* OUT: Mapped memory */ pp 534 third_party/sqlite/src/src/test_quota.c return pSubOpen->pMethods->xShmMap(pSubOpen, iRegion, szRegion, bExtend, pp); pp 786 third_party/sqlite/src/src/test_vfs.c void volatile **pp /* OUT: Mapped memory */ pp 818 third_party/sqlite/src/src/test_vfs.c *pp = (void volatile *)pFd->pShm->aPage[iPage]; pp 925 third_party/sqlite/src/src/test_vfs.c TestvfsBuffer **pp; pp 926 third_party/sqlite/src/src/test_vfs.c for(pp=&p->pBuffer; *pp!=pBuffer; pp=&((*pp)->pNext)); pp 927 third_party/sqlite/src/src/test_vfs.c *pp = (*pp)->pNext; pp 449 third_party/sqlite/src/src/test_vfstrace.c void volatile **pp pp 456 third_party/sqlite/src/src/test_vfstrace.c rc = p->pReal->pMethods->xShmMap(p->pReal, iRegion, szRegion, isWrite, pp); pp 598 third_party/sqlite/src/src/trigger.c Trigger **pp; pp 599 third_party/sqlite/src/src/trigger.c for(pp=&pTab->pTrigger; *pp!=pTrigger; pp=&((*pp)->pNext)); pp 600 third_party/sqlite/src/src/trigger.c *pp = (*pp)->pNext; pp 1485 third_party/sqlite/src/src/wal.c static int walIteratorInit(Wal *pWal, WalIterator **pp){ pp 1557 third_party/sqlite/src/src/wal.c *pp = p; pp 2387 third_party/sqlite/src/src/where.c sqlite3_value **pp pp 2394 third_party/sqlite/src/src/where.c *pp = sqlite3VdbeGetValue(pParse->pReprepare, iVar, aff); pp 2397 third_party/sqlite/src/src/where.c return sqlite3ValueFromExpr(pParse->db, pExpr, SQLITE_UTF8, aff, pp); pp 4598 third_party/sqlite/src/src/where.c sqlite3_index_info **pp = &pWInfo->a[j].pIdxInfo; pp 4600 third_party/sqlite/src/src/where.c &sCost, pp); pp 237 third_party/talloc/talloc.c const char *pp = (const char *)ptr; pp 238 third_party/talloc/talloc.c struct talloc_chunk *tc = discard_const_p(struct talloc_chunk, pp - TC_HDR_SIZE); pp 445 third_party/tcmalloc/chromium/src/windows/preamble_patcher.cc void** pp = &preamble_page->free_; pp 451 third_party/tcmalloc/chromium/src/windows/preamble_patcher.cc *pp = ptr; pp 452 third_party/tcmalloc/chromium/src/windows/preamble_patcher.cc pp = reinterpret_cast<void**>(ptr); pp 455 third_party/tcmalloc/chromium/src/windows/preamble_patcher.cc *pp = NULL; pp 445 third_party/tcmalloc/vendor/src/windows/preamble_patcher.cc void** pp = &preamble_page->free_; pp 451 third_party/tcmalloc/vendor/src/windows/preamble_patcher.cc *pp = ptr; pp 452 third_party/tcmalloc/vendor/src/windows/preamble_patcher.cc pp = reinterpret_cast<void**>(ptr); pp 455 third_party/tcmalloc/vendor/src/windows/preamble_patcher.cc *pp = NULL; pp 1705 ui/views/view.cc char pp[kMaxPointerStringLength]; pp 1707 ui/views/view.cc base::snprintf(pp, kMaxPointerStringLength, "%p", parent_); pp 1709 ui/views/view.cc result.append(pp + 2);