/external/chromium_org/components/ |
D | nacl.gyp | 10 'nacl/nacl_defines.gypi', 27 # .cc, .h, and .mm files under nacl that are used on all 30 'nacl/loader/nacl_ipc_adapter.cc', 31 'nacl/loader/nacl_ipc_adapter.h', 32 'nacl/loader/nacl_main.cc', 33 'nacl/loader/nacl_main_platform_delegate.h', 34 'nacl/loader/nacl_main_platform_delegate_linux.cc', 35 'nacl/loader/nacl_main_platform_delegate_mac.mm', 36 'nacl/loader/nacl_main_platform_delegate_win.cc', 37 'nacl/loader/nacl_listener.cc', [all …]
|
/external/chromium_org/ppapi/native_client/src/trusted/plugin/ |
D | pnacl_resources.h | 31 static nacl::string GetBaseUrl(); 34 static nacl::string PrependPlatformPrefix(const nacl::string& url); 36 static bool IsPnaclComponent(const nacl::string& full_url); 37 static nacl::string PnaclComponentURLToFilename( 38 const nacl::string& full_url); 42 static const nacl::string GetResourceInfoUrl() { in GetResourceInfoUrl() 43 return nacl::string(kResourceInfoUrl); in GetResourceInfoUrl() 66 const nacl::string& resource_info_url, 73 const nacl::string& GetLlcUrl() { in GetLlcUrl() 77 const nacl::string& GetLdUrl() { in GetLdUrl() [all …]
|
D | pnacl_resources.cc | 24 nacl::string PnaclUrls::GetBaseUrl() { in GetBaseUrl() 25 return nacl::string(kPnaclComponentScheme); in GetBaseUrl() 28 nacl::string PnaclUrls::PrependPlatformPrefix(const nacl::string& url) { in PrependPlatformPrefix() 29 return nacl::string(GetSandboxISA()) + "/" + url; in PrependPlatformPrefix() 36 bool PnaclUrls::IsPnaclComponent(const nacl::string& full_url) { in IsPnaclComponent() 42 nacl::string PnaclUrls::PnaclComponentURLToFilename( in PnaclComponentURLToFilename() 43 const nacl::string& full_url) { in PnaclComponentURLToFilename() 45 nacl::string r = full_url.substr( in PnaclComponentURLToFilename() 46 nacl::string(kPnaclComponentScheme).length()); in PnaclComponentURLToFilename() 52 while(replace_pos != nacl::string::npos) { in PnaclComponentURLToFilename() [all …]
|
D | json_manifest.cc | 94 bool FindMatchingProperty(const nacl::string& property_name, in FindMatchingProperty() 111 const nacl::string& container_key, in IsValidDictionary() 112 const nacl::string& parent_key, in IsValidDictionary() 117 nacl::string* error_string) { in IsValidDictionary() 119 nacl::stringstream error_stream; in IsValidDictionary() 129 nacl::string property_name = members[i]; in IsValidDictionary() 143 nacl::stringstream error_stream; in IsValidDictionary() 157 const nacl::string& container_key, in IsValidUrlSpec() 158 const nacl::string& parent_key, in IsValidUrlSpec() 159 const nacl::string& sandbox_isa, in IsValidUrlSpec() [all …]
|
D | plugin.h | 36 namespace nacl { 96 bool LoadNaClModule(nacl::DescWrapper* wrapper, ErrorInfo* error_info, 120 NaClSubprocess* LoadHelperNaClModule(nacl::DescWrapper* wrapper, 142 void AddToConsole(const nacl::string& text); 151 const nacl::string& url, 165 nacl::string plugin_base_url() const { return plugin_base_url_; } in plugin_base_url() 166 void set_plugin_base_url(const nacl::string& url) { plugin_base_url_ = url; } in set_plugin_base_url() 169 nacl::string manifest_base_url() const { return manifest_base_url_; } in manifest_base_url() 170 void set_manifest_base_url(const nacl::string& url) { in set_manifest_base_url() 176 const nacl::string& manifest_url() const { return manifest_url_; } in manifest_url() [all …]
|
D | json_manifest.h | 33 const nacl::string& manifest_base_url, in JsonManifest() 34 const nacl::string& sandbox_isa) in JsonManifest() 43 bool Init(const nacl::string& json, ErrorInfo* error_info); 47 virtual bool GetProgramURL(nacl::string* full_url, 52 virtual bool ResolveURL(const nacl::string& relative_url, 53 nacl::string* full_url, 60 virtual bool GetFileKeys(std::set<nacl::string>* keys) const; 66 virtual bool ResolveKey(const nacl::string& key, 67 nacl::string* full_url, 80 nacl::string manifest_base_url_; [all …]
|
D | service_runtime.h | 32 namespace nacl { 51 SelLdrStartParams(const nacl::string& url, in SelLdrStartParams() 68 nacl::string url; 150 class PluginReverseInterface: public nacl::ReverseInterface { 152 PluginReverseInterface(nacl::WeakRefAnchor* anchor, 163 virtual void Log(nacl::string message); 165 virtual void DoPostMessage(nacl::string message); 169 virtual bool EnumerateManifestKeys(std::set<nacl::string>* out_keys); 171 virtual bool OpenManifestEntry(nacl::string url_key, 180 virtual int64_t RequestQuotaForWrite(nacl::string file_id, [all …]
|
D | nacl_subprocess.h | 33 NaClSubprocess(const nacl::string& description, in NaClSubprocess() 51 nacl::string description() const { return description_; } in description() 55 nacl::string detailed_description() const; 65 bool InvokeSrpcMethod(const nacl::string& method_name, 66 const nacl::string& input_signature, 76 bool VInvokeSrpcMethod(const nacl::string& method_name, 77 const nacl::string& signature, 81 nacl::string description_; 84 nacl::scoped_ptr<ServiceRuntime> service_runtime_; 86 nacl::scoped_ptr<SrpcClient> srpc_client_;
|
D | temporary_file.h | 53 nacl::DescWrapper* write_wrapper() { return write_wrapper_.get(); } in write_wrapper() 54 nacl::DescWrapper* read_wrapper() { return read_wrapper_.get(); } in read_wrapper() 55 nacl::DescWrapper* release_read_wrapper() { in release_read_wrapper() 62 const nacl::string identifier() const { in identifier() 63 return nacl::string(reinterpret_cast<const char*>(identifier_)); in identifier() 70 nacl::scoped_ptr<nacl::DescWrapper> read_wrapper_; 71 nacl::scoped_ptr<nacl::DescWrapper> write_wrapper_;
|
D | pnacl_coordinator.h | 85 const nacl::string& pexe_url, 91 nacl::DescWrapper* ReleaseTranslatedFD(); 95 void ReportNonPpapiError(PluginErrorCode err, const nacl::string& message); 100 int32_t pp_error, const nacl::string& message); 138 const nacl::string& pexe_url, 195 nacl::scoped_ptr<const Manifest> manifest_; 197 nacl::scoped_ptr<PnaclResources> resources_; 200 nacl::string pexe_url_; 205 nacl::scoped_ptr<TempFile> obj_file_; 207 nacl::scoped_ptr<TempFile> temp_nexe_file_; [all …]
|
D | service_runtime.cc | 72 nacl::WeakRefAnchor* anchor, in PluginReverseInterface() 96 nacl::MutexLocker take(&mu_); in ShutDown() 102 void PluginReverseInterface::Log(nacl::string message) { in Log() 115 void PluginReverseInterface::DoPostMessage(nacl::string message) { in DoPostMessage() 161 std::set<nacl::string>* out_keys) { in EnumerateManifestKeys() 174 bool PluginReverseInterface::OpenManifestEntry(nacl::string url_key, in OpenManifestEntry() 200 nacl::MutexLocker take(&mu_); in OpenManifestEntry() 272 nacl::MutexLocker take(&mu_); in OpenManifestEntry_MainThreadContinuation() 299 nacl::MutexLocker take(&mu_); in OpenManifestEntry_MainThreadContinuation() 326 nacl::MutexLocker take(&mu_); in OpenManifestEntry_MainThreadContinuation() [all …]
|
D | srpc_client.h | 19 namespace nacl { 34 static SrpcClient* New(nacl::DescWrapper* wrapper); 38 bool Init(nacl::DescWrapper* socket); 44 bool HasMethod(const nacl::string& method_name); 46 bool Invoke(const nacl::string& method_name, SrpcParams* params); 49 bool InitParams(const nacl::string& method_name, SrpcParams* params); 58 typedef std::map<nacl::string, MethodInfo*> Methods;
|
D | file_downloader.h | 78 bool Open(const nacl::string& url, 89 bool OpenStream(const nacl::string& url, 102 void OpenFast(const nacl::string& url, PP_FileHandle file_handle, 120 const nacl::string& url() const { return url_; } in url() 123 const nacl::string& url_to_open() const { return url_to_open_; } in url_to_open() 150 nacl::string GetResponseHeaders() const; 152 void set_request_headers(const nacl::string& extra_request_headers) { in set_request_headers() 181 nacl::string url_to_open_; 182 nacl::string url_; 183 nacl::string extra_request_headers_;
|
D | pnacl_translate_thread.h | 22 namespace nacl { 76 NaClSubprocess* StartSubprocess(const nacl::string& url, 86 const nacl::string& error_string); 89 const nacl::string& soname, 90 const nacl::string& lib_dependencies); 96 nacl::scoped_ptr<NaClThread> translate_thread_; 100 nacl::scoped_ptr<NaClSubprocess> llc_subprocess_; 101 nacl::scoped_ptr<NaClSubprocess> ld_subprocess_;
|
D | manifest.h | 44 virtual bool GetProgramURL(nacl::string* full_url, 49 virtual bool ResolveURL(const nacl::string& relative_url, 50 nacl::string* full_url, 57 virtual bool GetFileKeys(std::set<nacl::string>* keys) const = 0; 65 virtual bool ResolveKey(const nacl::string& key, 66 nacl::string* full_url,
|
D | pnacl_translate_thread.cc | 108 const nacl::string& url_for_nexe, in StartSubprocess() 113 nacl::DescWrapper* wrapper = resources_->WrapperForUrl(url_for_nexe); in StartSubprocess() 114 nacl::scoped_ptr<NaClSubprocess> subprocess( in StartSubprocess() 133 nacl::DescWrapper* llc_out_file = obj_file_->write_wrapper(); in DoTranslate() 136 nacl::MutexLocker ml(&subprocess_mu_); in DoTranslate() 171 nacl::string("Stream init failed: ") + in DoTranslate() 172 nacl::string(params.outs()[0]->arrays.str)); in DoTranslate() 246 nacl::string soname = params.outs()[1]->arrays.str; in DoTranslate() 247 nacl::string lib_dependencies = params.outs()[2]->arrays.str; in DoTranslate() 266 const nacl::string& soname, in RunLdSubprocess() [all …]
|
D | pnacl_coordinator.cc | 43 virtual bool GetProgramURL(nacl::string* full_url, in GetProgramURL() 56 virtual bool ResolveURL(const nacl::string& relative_url, in ResolveURL() 57 nacl::string* full_url, in ResolveURL() 66 virtual bool GetFileKeys(std::set<nacl::string>* keys) const { in GetFileKeys() 73 virtual bool ResolveKey(const nacl::string& key, in ResolveKey() 74 nacl::string* full_url, in ResolveKey() 80 const nacl::string kFilesPrefix = "files/"; in ResolveKey() 82 if (files_prefix_pos == nacl::string::npos) { in ResolveKey() 89 nacl::string key_basename = key.substr(kFilesPrefix.length()); in ResolveKey() 97 nacl::string manifest_base_url_; [all …]
|
/external/chromium_org/native_client_sdk/src/build_tools/ |
D | sdk_files.list | 297 toolchain/${PLATFORM}_arm_newlib/arm-nacl/include/irt.h 298 toolchain/${PLATFORM}_arm_newlib/arm-nacl/include/irt_dev.h 299 toolchain/${PLATFORM}_arm_newlib/arm-nacl/include/irt_ppapi.h 300 toolchain/${PLATFORM}_arm_newlib/arm-nacl/include/nacl/dynamic_annotations.h 301 toolchain/${PLATFORM}_arm_newlib/arm-nacl/include/nacl/nacl_dyncode.h 302 toolchain/${PLATFORM}_arm_newlib/arm-nacl/include/nacl/nacl_exception.h 303 toolchain/${PLATFORM}_arm_newlib/arm-nacl/include/nacl/nacl_minidump.h 304 toolchain/${PLATFORM}_arm_newlib/arm-nacl/include/nacl/nacl_startup.h 305 toolchain/${PLATFORM}_arm_newlib/arm-nacl/include/nacl/nacl_thread.h 306 toolchain/${PLATFORM}_arm_newlib/arm-nacl/include/pthread.h [all …]
|
D | nacl.gypi | 7 ['CC.target' , '../../toolchain/linux_x86/bin/i686-nacl-gcc'], 8 ['CXX.target' , '../../toolchain/linux_x86/bin/i686-nacl-g++'], 9 ['LINK.target' , '../../toolchain/linux_x86/bin/i686-nacl-g++'], 10 ['AR.target' , '../../toolchain/linux_x86/bin/i686-nacl-ar'], 16 'OBJDUMP': '<(TOOLROOT)/linux_x86_glibc/bin/i686-nacl-objdump', 17 'NMF_PATH1': '<(TOOLROOT)/linux_x86_glibc/x86_64-nacl/lib32', 18 'NMF_PATH2': '<(TOOLROOT)/linux_x86_glibc/x86_64-nacl/lib',
|
/external/chromium_org/ppapi/native_client/src/trusted/weak_ref/ |
D | call_on_main_thread.h | 55 nacl::WeakRefAnchor* anchor, in WeakRefNewCallback() 56 void callback_fn(nacl::WeakRef<R>* weak_data, int32_t err), in WeakRefNewCallback() 58 nacl::WeakRef<R>* wp = anchor->MakeWeakRef<R>(raw_data); in WeakRefNewCallback() 69 nacl::WeakRefAnchor* anchor, in WeakRefCallOnMainThread() 71 void callback_fn(nacl::WeakRef<R>* weak_data, int32_t err), in WeakRefCallOnMainThread() 91 nacl::scoped_ptr<R> orig_data; 101 nacl::WeakRef<WeakRefAutoAbandonWrapper<R> >* wr, in WeakRefAutoAbandoner() 103 nacl::scoped_ptr<WeakRefAutoAbandonWrapper<R> > p; in WeakRefAutoAbandoner() 120 nacl::WeakRefAnchor* anchor, in WeakRefNewCallback() 129 nacl::WeakRef<WeakRefAutoAbandonWrapper<R> >* wp = in WeakRefNewCallback() [all …]
|
/external/chromium/chrome/browser/nacl_host/ |
D | nacl_process_host.cc | 35 void SetCloseOnExec(nacl::Handle fd) { in SetCloseOnExec() 48 std::vector<nacl::Handle> sockets_for_renderer; 49 std::vector<nacl::Handle> sockets_for_sel_ldr; 73 nacl::Close(internal_->sockets_for_renderer[i]); in ~NaClProcessHost() 76 nacl::Close(internal_->sockets_for_sel_ldr[i]); in ~NaClProcessHost() 111 nacl::Handle pair[2]; in Launch() 113 if (nacl::SocketPair(pair) == -1) in Launch() 143 nacl::CopyNaClCommandLineArguments(cmd_line); in LaunchSelLdr() 189 std::vector<nacl::FileDescriptor> handles_for_renderer; in OnProcessLaunched() 205 reinterpret_cast<nacl::FileDescriptor>(handle_in_renderer)); in OnProcessLaunched() [all …]
|
/external/chromium_org/components/nacl/browser/ |
D | nacl_file_host.cc | 35 nacl::NaClHostMessageFilter* nacl_host_message_filter, in NotifyRendererOfError() 56 scoped_refptr<nacl::NaClHostMessageFilter> nacl_host_message_filter, in DoOpenPnaclFile() 64 if (!nacl::NaClBrowser::GetDelegate()->GetPnaclDirectory(&pnacl_dir) || in DoOpenPnaclFile() 98 scoped_refptr<nacl::NaClHostMessageFilter> nacl_host_message_filter, in DoRegisterOpenedNaClExecutableFile() 105 nacl::NaClBrowser* nacl_browser = nacl::NaClBrowser::GetInstance(); in DoRegisterOpenedNaClExecutableFile() 124 scoped_refptr<nacl::NaClHostMessageFilter> nacl_host_message_filter, in DoOpenNaClExecutableOnThreadPool() 130 if (!nacl::NaClBrowser::GetDelegate()->MapUrlToLocalFilePath( in DoOpenNaClExecutableOnThreadPool() 136 base::PlatformFile file = nacl::OpenNaClExecutableImpl(file_path); in DoOpenNaClExecutableOnThreadPool() 157 scoped_refptr<nacl::NaClHostMessageFilter> nacl_host_message_filter, in GetReadonlyPnaclFd() 192 if (!nacl::NaClBrowser::GetDelegate()->GetPnaclDirectory(&pnacl_dir) || in PnaclCanOpenFile() [all …]
|
D | pnacl_host_unittest.cc | 108 static nacl::PnaclCacheInfo GetTestCacheInfo() { in GetTestCacheInfo() 109 nacl::PnaclCacheInfo info; in GetTestCacheInfo() 132 nacl::PnaclCacheInfo info = GetTestCacheInfo(); in TEST_F() 155 nacl::PnaclCacheInfo info = GetTestCacheInfo(); in TEST_F() 168 nacl::PnaclCacheInfo info = GetTestCacheInfo(); in TEST_F() 181 nacl::PnaclCacheInfo info = GetTestCacheInfo(); in TEST_F() 217 nacl::PnaclCacheInfo info = GetTestCacheInfo(); in TEST_F() 237 nacl::PnaclCacheInfo info = GetTestCacheInfo(); in TEST_F() 254 nacl::PnaclCacheInfo info = GetTestCacheInfo(); in TEST_F() 271 nacl::PnaclCacheInfo info = GetTestCacheInfo(); in TEST_F() [all …]
|
/external/chromium_org/ppapi/native_client/tests/nacl_browser/manifest_file/ |
D | pm_manifest_file_test.cc | 97 void Initialize(nacl::StringBuffer *sb); 98 void NameServiceDump(nacl::StringBuffer *sb); 99 void ManifestListTest(nacl::StringBuffer *sb); 100 void ManifestOpenTest(nacl::StringBuffer *sb); 110 bool InitializeChannel(nacl::StringBuffer *sb); 125 nacl::WeakRefAnchor *anchor_; 144 void (Worker::*mfunc)(nacl::StringBuffer *sb); 176 bool EnumerateNames(NaClSrpcChannel *nschan, nacl::StringBuffer *sb) { in EnumerateNames() 267 nacl::MutexLocker take(&mu_); in Unref() 290 nacl::MutexLocker take(&mu_); in ShouldExit() [all …]
|
/external/chromium_org/components/nacl/common/ |
D | nacl_host_messages.h | 22 IPC_STRUCT_TRAITS_BEGIN(nacl::NaClLaunchParams) 32 IPC_STRUCT_TRAITS_BEGIN(nacl::NaClLaunchResult) 39 IPC_STRUCT_TRAITS_BEGIN(nacl::PnaclCacheInfo) 53 nacl::NaClLaunchParams /* launch_params */, 54 nacl::NaClLaunchResult /* launch_result */, 73 nacl::PnaclCacheInfo /* cache info */)
|