Searched defs:handle (Results 276 - 300 of 1314) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/chrome/browser/automation/
H A Dautomation_resource_tracker.h47 bool ContainsHandleImpl(int handle);
48 const void* GetResourceImpl(int handle);
82 // Adds the given resource to this tracker, and returns a handle that
84 // being tracked, the handle may be the same as one returned previously.
101 // Returns true if this tracker currently tracks the given handle.
102 bool ContainsHandle(int handle) { argument
103 return ContainsHandleImpl(handle);
106 // Returns the resource pointer associated with a given handle, or NULL
107 // if that handle is not present in the mapping.
109 T GetResource(int handle) { argument
[all...]
/external/chromium_org/chrome/browser/common/
H A Dcancelable_request.cc14 Handle handle; local
18 handle = next_handle_;
25 consumer->OnRequestAdded(this, handle);
27 request->Init(this, handle, consumer);
28 return handle;
31 void CancelableRequestProvider::CancelRequest(Handle handle) { argument
33 CancelRequestLocked(pending_requests_.find(handle));
60 void CancelableRequestProvider::RequestCompleted(Handle handle) { argument
65 CancelableRequestMap::iterator i = pending_requests_.find(handle);
80 consumer->OnRequestRemoved(this, handle);
102 Init(CancelableRequestProvider* provider, CancelableRequestProvider::Handle handle, CancelableRequestConsumerBase* consumer) argument
[all...]
/external/chromium_org/chrome/browser/safe_browsing/
H A Dmalware_details_history.cc106 HistoryService::Handle handle,
105 OnGotQueryRedirectsTo( HistoryService::Handle handle, GURL url, bool success, history::RedirectList* redirect_list) argument
/external/chromium_org/chrome/browser/signin/
H A Dmutable_profile_oauth2_token_service.cc65 WebDataServiceBase::Handle handle,
67 DCHECK_EQ(web_data_service_request_, handle);
64 OnWebDataServiceRequestDone( WebDataServiceBase::Handle handle, const WDTypedResult* result) argument
/external/chromium_org/chrome/browser/ui/webui/ntp/
H A Dsuggestions_source_top_sites.cc86 CancelableRequestProvider::Handle handle,
85 OnSuggestionsUrlsAvailable( CancelableRequestProvider::Handle handle, const history::FilteredURLList& data) argument
/external/chromium_org/chrome/browser/ui/webui/options/
H A Dadvanced_options_utils_linux.cc95 base::ProcessHandle handle; local
96 if (!base::LaunchProcess(argv, base::LaunchOptions(), &handle)) {
100 base::EnsureProcessGetsReaped(handle);
/external/chromium_org/chrome/browser/usb/
H A Dusb_device.cc103 PlatformUsbDeviceHandle handle; local
104 int rv = libusb_open(platform_device_, &handle);
110 new UsbDeviceHandle(context_, this, handle, interfaces);
117 bool UsbDevice::Close(scoped_refptr<UsbDeviceHandle> handle) { argument
123 if (*it == handle) {
/external/chromium_org/chrome/test/base/
H A Dchrome_process_util.cc66 base::ProcessHandle handle; local
67 if (!base::OpenProcessHandle(*it, &handle)) {
68 // Ignore processes for which we can't open the handle. We don't
73 base::KillProcess(handle, content::RESULT_CODE_KILLED, true);
74 base::CloseProcessHandle(handle);
/external/chromium_org/components/nacl/browser/
H A Dnacl_broker_host_win.cc91 base::ProcessHandle handle) {
92 NaClBrokerService::GetInstance()->OnLoaderLaunched(loader_channel_id, handle);
98 base::ProcessHandle broker_process = process_->GetData().handle;
90 OnLoaderLaunched(const std::string& loader_channel_id, base::ProcessHandle handle) argument
H A Dnacl_broker_service_win.cc50 base::ProcessHandle handle) {
57 client->OnProcessLaunchedByBroker(handle);
49 OnLoaderLaunched(const std::string& channel_id, base::ProcessHandle handle) argument
/external/chromium_org/components/nacl/loader/
H A Dnacl_listener.cc156 base::PlatformFile handle = variable
160 *fd = reinterpret_cast<uintptr_t>(handle);
162 *fd = handle;
245 IPC::ChannelHandle handle = local
248 new NaClIPCAdapter(handle, io_thread_.message_loop_proxy().get()));
255 handle.socket = base::FileDescriptor(
258 if (!Send(new NaClProcessHostMsg_PpapiChannelCreated(handle)))
259 LOG(ERROR) << "Failed to send IPC channel handle to NaClProcessHost.";
295 // Otherwise, the IRT handle is not even sent.
H A Dnacl_validation_query.cc119 static void* CreateQuery(void* handle) { argument
120 return static_cast<NaClValidationQueryContext*>(handle)->CreateQuery();
139 static int ResolveFileToken(void* handle, struct NaClFileToken* file_token, argument
145 bool ok = static_cast<NaClValidationQueryContext*>(handle)->
164 cache->handle = new NaClValidationQueryContext(db, profile_key, nacl_version);
/external/chromium_org/content/browser/gamepad/
H A Dgamepad_provider_unittest.cc86 base::SharedMemoryHandle handle = provider->GetSharedMemoryHandleForProcess( local
89 new base::SharedMemory(handle, true));
/external/chromium_org/content/browser/indexed_db/leveldb/
H A Dleveldb_unittest.cc66 base::PlatformFile handle = base::CreatePlatformFile( local
71 base::TruncatePlatformFile(handle, 0);
72 base::ClosePlatformFile(handle);
/external/chromium_org/content/browser/loader/
H A Dupload_data_stream_builder.cc73 scoped_ptr<webkit_blob::BlobDataHandle> handle = local
75 DCHECK(handle);
76 if (!handle)
80 if (handle->data()->items().empty())
84 for (size_t i = 0; i < handle->data()->items().size(); ++i) {
85 const BlobData::Item& item = handle->data()->items().at(i);
91 // upload completion. The |body| takes ownership of |handle|.
92 const void* key = handle.get();
93 body->SetUserData(key, handle.release());
/external/chromium_org/content/browser/renderer_host/pepper/
H A Dbrowser_ppapi_host_impl.h56 void set_plugin_process_handle(base::ProcessHandle handle) { argument
57 plugin_process_handle_ = handle;
/external/chromium_org/content/renderer/device_orientation/
H A Ddevice_motion_event_pump_unittest.cc65 base::SharedMemoryHandle handle; local
72 shared_memory.ShareToProcess(base::kNullProcessHandle, &handle);
84 motion_pump->OnDidStart(handle);
122 base::SharedMemoryHandle handle; local
129 shared_memory.ShareToProcess(base::kNullProcessHandle, &handle);
141 motion_pump->OnDidStart(handle);
H A Ddevice_orientation_event_pump.cc73 base::SharedMemoryHandle handle) {
77 return reader_->Initialize(handle);
72 InitializeReader( base::SharedMemoryHandle handle) argument
/external/chromium_org/content/renderer/gpu/
H A Dcompositor_software_output_device.h51 base::SharedMemoryHandle handle() const { return mem_->handle(); } function in class:content::CompositorSoftwareOutputDevice::Buffer
/external/chromium_org/content/renderer/pepper/
H A Dmock_renderer_ppapi_host.cc76 base::PlatformFile handle,
75 ShareHandleWithRemote( base::PlatformFile handle, bool should_close_source) argument
H A Dpepper_platform_audio_output.cc73 base::SharedMemoryHandle handle,
77 DCHECK(handle);
80 DCHECK_NE(-1, handle.fd);
90 client_->StreamCreated(handle, length, socket_handle);
93 base::Bind(&PepperPlatformAudioOutput::OnStreamCreated, this, handle,
72 OnStreamCreated( base::SharedMemoryHandle handle, base::SyncSocket::Handle socket_handle, int length) argument
H A Dppb_broker_impl.cc45 // The plugin owns the handle.
99 int32_t PPB_Broker_Impl::GetHandle(int32_t* handle) { argument
102 *handle = pipe_handle_;
112 // Transfers ownership of the handle to the plugin.
113 void PPB_Broker_Impl::BrokerConnected(int32_t handle, int32_t result) { argument
117 handle == PlatformFileToInt(base::kInvalidPlatformFileValue));
119 pipe_handle_ = handle;
141 const IPC::ChannelHandle& handle) {
142 broker_->OnBrokerChannelConnected(broker_pid, handle);
139 OnPpapiBrokerChannelCreated( base::ProcessId broker_pid, const IPC::ChannelHandle& handle) argument
/external/chromium_org/media/audio/android/
H A Dopensles_wrapper.cc41 base::NativeLibrary handle = local
43 DCHECK(handle) << "Unable to load " << kOpenSLLibraryName;
65 base::GetFunctionPointerFromNativeLibrary(handle, kSymbols[i].name),
70 return handle;
76 // The handle is lazily initialized on the first call.
/external/chromium_org/mojo/apps/js/bindings/
H A Dcore.cc17 #include "mojo/apps/js/bindings/handle.h"
36 MojoResult WriteMessage(MojoHandle handle, argument
40 return MojoWriteMessage(handle,
48 gin::Dictionary ReadMessage(const gin::Arguments& args, MojoHandle handle, argument
53 handle, NULL, &num_bytes, NULL, &num_handles, flags);
68 result = MojoReadMessage(handle,
/external/chromium_org/mojo/common/
H A Dbindings_support_impl.cc58 const Handle& handle,
64 watcher->Start(handle,
57 AsyncWait( const Handle& handle, MojoWaitFlags flags, AsyncWaitCallback* callback) argument

Completed in 1785 milliseconds

<<11121314151617181920>>