Searched refs:handle (Results 151 - 175 of 2418) sorted by relevance

1234567891011>>

/external/chromium_org/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
H A DInterfaceRequest.java21 * The handle which will be sent and will be connected to the implementation.
28 * @param handle the handle which will be sent and will be connected to the implementation.
30 InterfaceRequest(MessagePipeHandle handle) { argument
31 mHandle = handle;
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/
H A Dfake_core_interface.h16 virtual void AddRefResource(PP_Resource handle);
17 virtual void ReleaseResource(PP_Resource handle);
/external/chromium_org/third_party/WebKit/Source/platform/exported/
H A DWebCryptoKey.cpp44 WebCryptoKeyPrivate(PassOwnPtr<WebCryptoKeyHandle> handle, WebCryptoKeyType type, bool extractable, const WebCryptoKeyAlgorithm& algorithm, WebCryptoKeyUsageMask usages) argument
45 : handle(handle)
54 const OwnPtr<WebCryptoKeyHandle> handle; member in class:blink::WebCryptoKeyPrivate
61 WebCryptoKey WebCryptoKey::create(WebCryptoKeyHandle* handle, WebCryptoKeyType type, bool extractable, const WebCryptoKeyAlgorithm& algorithm, WebCryptoKeyUsageMask usages) argument
64 key.m_private = adoptRef(new WebCryptoKeyPrivate(adoptPtr(handle), type, extractable, algorithm, usages));
73 WebCryptoKeyHandle* WebCryptoKey::handle() const function in class:blink::WebCryptoKey
76 return m_private->handle.get();
/external/chromium_org/third_party/webrtc/base/
H A Dwin32window_unittest.cc43 EXPECT_TRUE(wnd.handle() == NULL);
46 EXPECT_TRUE(wnd.handle() != NULL);
47 EXPECT_EQ(kDummyResult, ::SendMessage(wnd.handle(), WM_USER, 1, 2));
52 EXPECT_TRUE(wnd.handle() == NULL);
60 EXPECT_TRUE(wnd1.handle() != NULL);
61 EXPECT_TRUE(wnd2.handle() != NULL);
64 EXPECT_TRUE(wnd2.handle() == NULL);
65 EXPECT_TRUE(wnd1.handle() == NULL);
/external/chromium_org/third_party/webrtc/modules/desktop_capture/
H A Dshared_memory.cc21 SharedMemory::SharedMemory(void* data, size_t size, Handle handle, int id) argument
24 handle_(handle),
/external/chromium_org/ui/base/win/
H A Dtouch_input.cc9 BOOL GetTouchInputInfoWrapper(HTOUCHINPUT handle, argument
19 return get_touch_input_info_func(handle, count, pointer, size);
/external/libsepol/include/sepol/
H A Diface_record.h4 #include <sepol/handle.h>
22 extern int sepol_iface_key_create(sepol_handle_t * handle,
26 extern int sepol_iface_key_extract(sepol_handle_t * handle,
35 extern int sepol_iface_set_name(sepol_handle_t * handle,
41 extern int sepol_iface_set_ifcon(sepol_handle_t * handle,
46 extern int sepol_iface_set_msgcon(sepol_handle_t * handle,
50 extern int sepol_iface_create(sepol_handle_t * handle,
53 extern int sepol_iface_clone(sepol_handle_t * handle,
/external/libsepol/include/sepol/policydb/
H A Dlink.h9 #include <sepol/handle.h>
16 extern int link_modules(sepol_handle_t * handle,
/external/libsepol/src/
H A Dhandle.h4 #include <sepol/handle.h>
15 sepol_handle_t * handle, const char *fmt, ...);
H A Dcontext.h8 #include <sepol/handle.h>
11 extern int context_from_record(sepol_handle_t * handle,
16 extern int context_to_record(sepol_handle_t * handle,
22 extern int context_from_string(sepol_handle_t * handle,
32 extern int context_to_string(sepol_handle_t * handle,
/external/qemu/distrib/sdl-1.2.15/src/loadso/macos/
H A DSDL_sysloadso.c40 void *handle = NULL; local
70 handle = (void *)(library_id);
74 return(handle);
77 void *SDL_LoadFunction(void *handle, const char *name) argument
82 CFragConnectionID library_id = (CFragConnectionID)handle;
97 void SDL_UnloadObject(void *handle) argument
100 if ( handle != NULL ) {
101 library_id = (CFragConnectionID)handle;
/external/chromium_org/mojo/common/test/
H A Dmultiprocess_test_helper_unittest.cc21 bool IsNonBlocking(const embedder::PlatformHandle& handle) { argument
27 return fcntl(handle.fd, F_GETFL) & O_NONBLOCK;
31 bool WriteByte(const embedder::PlatformHandle& handle, char c) { argument
33 BlockingWrite(handle, &c, 1, &bytes_written);
37 bool ReadByte(const embedder::PlatformHandle& handle, char* c) { argument
39 BlockingRead(handle, c, 1, &bytes_read);
70 // Take ownership of the handle.
71 embedder::ScopedPlatformHandle handle = helper.server_platform_handle.Pass(); local
73 // The handle should be non-blocking.
74 EXPECT_TRUE(IsNonBlocking(handle
93 embedder::ScopedPlatformHandle handle = local
[all...]
/external/chromium_org/third_party/webrtc/common_audio/vad/
H A Dvad_unittest.cc60 VadInst* handle = NULL; local
77 ASSERT_EQ(0, WebRtcVad_Create(&handle));
80 EXPECT_EQ(-1, WebRtcVad_Process(handle, kRates[0], speech, kFrameLengths[0]));
81 EXPECT_EQ(-1, WebRtcVad_set_mode(handle, kModes[0]));
84 ASSERT_EQ(0, WebRtcVad_Init(handle));
88 EXPECT_EQ(-1, WebRtcVad_set_mode(handle,
91 EXPECT_EQ(-1, WebRtcVad_set_mode(handle,
97 EXPECT_EQ(-1, WebRtcVad_Process(handle, kRates[0], NULL, kFrameLengths[0]));
99 EXPECT_EQ(-1, WebRtcVad_Process(handle, 9999, speech, kFrameLengths[0]));
101 EXPECT_EQ(0, WebRtcVad_Process(handle, kRate
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_processing/
H A Dvoice_detection_impl.cc66 int vad_ret = WebRtcVad_Process(static_cast<Handle*>(handle(0)),
151 Handle* handle = NULL; local
152 if (WebRtcVad_Create(&handle) != apm_->kNoError) {
153 handle = NULL;
155 assert(handle != NULL);
158 return handle;
161 void VoiceDetectionImpl::DestroyHandle(void* handle) const {
162 WebRtcVad_Free(static_cast<Handle*>(handle));
165 int VoiceDetectionImpl::InitializeHandle(void* handle) const {
166 return WebRtcVad_Init(static_cast<Handle*>(handle));
[all...]
H A Dnoise_suppression_impl.cc67 Handle* my_handle = static_cast<Handle*>(handle(i));
89 Handle* my_handle = static_cast<Handle*>(handle(i));
139 Handle* my_handle = static_cast<Handle*>(handle(i));
150 Handle* handle = NULL; local
152 if (WebRtcNs_Create(&handle) != apm_->kNoError)
154 if (WebRtcNsx_Create(&handle) != apm_->kNoError)
157 handle = NULL;
159 assert(handle != NULL);
162 return handle;
165 void NoiseSuppressionImpl::DestroyHandle(void* handle) cons
[all...]
/external/webrtc/src/modules/audio_processing/
H A Dvoice_detection_impl.cc77 int vad_ret = WebRtcVad_Process(static_cast<Handle*>(handle(0)),
170 Handle* handle = NULL; local
171 if (WebRtcVad_Create(&handle) != apm_->kNoError) {
172 handle = NULL;
174 assert(handle != NULL);
177 return handle;
180 int VoiceDetectionImpl::DestroyHandle(void* handle) const {
181 return WebRtcVad_Free(static_cast<Handle*>(handle));
184 int VoiceDetectionImpl::InitializeHandle(void* handle) const {
185 return WebRtcVad_Init(static_cast<Handle*>(handle));
[all...]
H A Dnoise_suppression_impl.cc67 Handle* my_handle = static_cast<Handle*>(handle(i));
69 err = WebRtcNs_Process(static_cast<Handle*>(handle(i)),
75 err = WebRtcNsx_Process(static_cast<Handle*>(handle(i)),
128 Handle* handle = NULL; local
130 if (WebRtcNs_Create(&handle) != apm_->kNoError)
132 if (WebRtcNsx_Create(&handle) != apm_->kNoError)
135 handle = NULL;
137 assert(handle != NULL);
140 return handle;
143 int NoiseSuppressionImpl::DestroyHandle(void* handle) cons
[all...]
/external/chromium_org/third_party/angle/src/libGLESv2/
H A DResourceManager.cpp83 GLuint handle = mBufferHandleAllocator.allocate(); local
85 mBufferMap[handle] = NULL;
87 return handle;
93 GLuint handle = mProgramShaderHandleAllocator.allocate(); local
97 mShaderMap[handle] = new Shader(this, mRenderer->createShader(type), type, handle);
101 return handle;
107 GLuint handle = mProgramShaderHandleAllocator.allocate(); local
109 mProgramMap[handle] = new Program(mRenderer, this, handle);
117 GLuint handle = mTextureHandleAllocator.allocate(); local
127 GLuint handle = mRenderbufferHandleAllocator.allocate(); local
137 GLuint handle = mSamplerHandleAllocator.allocate(); local
147 GLuint handle = mFenceSyncHandleAllocator.allocate(); local
254 getBuffer(unsigned int handle) argument
268 getShader(unsigned int handle) argument
282 getTexture(unsigned int handle) argument
298 getProgram(unsigned int handle) argument
312 getRenderbuffer(unsigned int handle) argument
326 getSampler(unsigned int handle) argument
340 getFenceSync(unsigned int handle) argument
354 setRenderbuffer(GLuint handle, Renderbuffer *buffer) argument
[all...]
/external/chromium_org/content/common/gpu/
H A Dgpu_memory_buffer_factory_win.cc18 const gfx::GpuMemoryBufferHandle& handle,
26 const gfx::GpuMemoryBufferHandle& handle) OVERRIDE {
30 const gfx::GpuMemoryBufferHandle& handle,
34 switch (handle.type) {
38 if (!image->Initialize(handle))
/external/chromium_org/ipc/
H A Dipc_platform_file.cc13 PlatformFileForTransit GetFileHandleForProcess(base::PlatformFile handle, argument
21 if (handle == INVALID_HANDLE_VALUE ||
23 handle,
34 // When we're not closing the source, we need to duplicate the handle and take
36 // generate IPC messages, and the handle must remain valid until it's sent to
38 // close the source handle before the message is sent, creating a race
40 int fd = close_source_handle ? handle : ::dup(handle);
/external/chromium_org/mojo/services/gles2/
H A Dmojo_buffer_backing.cc12 MojoBufferBacking::MojoBufferBacking(mojo::ScopedSharedBufferHandle handle, argument
15 : handle_(handle.Pass()), memory_(memory), size_(size) {}
21 mojo::ScopedSharedBufferHandle handle,
25 handle.get(), 0, size, &memory, MOJO_MAP_BUFFER_FLAG_NONE);
30 new MojoBufferBacking(handle.Pass(), memory, size));
20 Create( mojo::ScopedSharedBufferHandle handle, size_t size) argument
/external/chromium_org/ppapi/cpp/private/
H A Dpass_file_handle.h15 // A wrapper class for PP_FileHandle to make sure a file handle is
16 // closed. This object takes the ownership of the file handle when it
22 // This constructor takes the ownership of |handle|.
23 explicit PassFileHandle(PP_FileHandle handle);
24 // Moves the ownership of |handle| to this object.
25 PassFileHandle(PassFileHandle& handle);
28 // Releases |handle_|. The caller must close the file handle returned.
35 PP_FileHandle handle; member in struct:pp::PassFileHandle::PassFileHandleRef
37 : handle(h) {
43 : handle_(ref.handle) {
[all...]
/external/chromium_org/ui/gl/
H A Dgl_image_shared_memory.cc21 bool GLImageSharedMemory::Initialize(const gfx::GpuMemoryBufferHandle& handle) { argument
25 if (!base::SharedMemory::IsHandleValid(handle.handle))
28 base::SharedMemory shared_memory(handle.handle, true);
30 // Duplicate the handle.
34 DVLOG(0) << "Failed to duplicate shared memory handle.";
/external/libselinux/include/selinux/
H A Dlabel.h60 * selabel_open - Create a labeling handle.
68 * backend. Return value is the created handle on success or NULL with
76 * selabel_close - Close a labeling handle.
77 * @handle: specifies handle to close
79 * Destroy the specified handle, closing files, freeing allocated memory,
80 * etc. The handle may not be further used after it has been closed.
82 void selabel_close(struct selabel_handle *handle);
86 * @handle: specifies backend instance to query
97 int selabel_lookup(struct selabel_handle *handle, cha
[all...]
/external/qemu/distrib/libselinux/include/selinux/
H A Dlabel.h60 * selabel_open - Create a labeling handle.
68 * backend. Return value is the created handle on success or NULL with
76 * selabel_close - Close a labeling handle.
77 * @handle: specifies handle to close
79 * Destroy the specified handle, closing files, freeing allocated memory,
80 * etc. The handle may not be further used after it has been closed.
82 void selabel_close(struct selabel_handle *handle);
86 * @handle: specifies backend instance to query
97 int selabel_lookup(struct selabel_handle *handle, cha
[all...]

Completed in 627 milliseconds

1234567891011>>