Searched defs:handle (Results 126 - 150 of 1326) sorted by relevance

1234567891011>>

/external/chromium_org/ppapi/thunk/
H A Dppb_broker_thunk.cc38 int32_t GetHandle(PP_Resource resource, int32_t* handle) { argument
42 return enter.object()->GetHandle(handle);
/external/chromium_org/sandbox/win/sandbox_poc/pocdll/
H A Dutils.h28 // Translates a HANDLE (handle) to a FILE * opened with the mode "mode".
30 FILE* Translate(HANDLE handle, const char *mode) { argument
37 handle,
/external/chromium_org/sandbox/win/src/
H A Dhandle_closer_agent.cc15 // that can be generated when handle tracing is enabled.
16 NTSTATUS QueryObjectTypeInformation(HANDLE handle, argument
25 status = QueryObject(handle, ObjectTypeInformation, buffer, *size, size);
56 // Grab all the handle names.
92 HANDLE handle = NULL;
99 reinterpret_cast<size_t&>(handle) += kHandleOffset;
104 rc = QueryObjectTypeInformation(handle, type_info, &size);
110 rc = QueryObjectTypeInformation(handle, type_info, &size);
123 // Check if we're looking for this type of handle.
130 // Move on to the next handle i
[all...]
H A Dhandle_policy_test.cc26 // Attempts to duplicate an event handle into the target process.
31 // Create a test event to use as a handle.
40 HANDLE handle = NULL; local
42 test_event.Get(), target_process_id, &handle, 0, DUPLICATE_SAME_ACCESS);
61 // Now successfully open the event after adding a duplicate handle rule.
83 // Now successfully open the event after adding a duplicate handle rule.
106 // Now successfully open the event after adding a broker handle rule.
H A Djob.cc89 DWORD Job::UserHandleGrantAccess(HANDLE handle) { argument
93 if (!::UserHandleGrantAccess(handle,
H A Dshared_handles.cc30 bool SharedHandles::SetHandle(uint32 tag, HANDLE handle) { argument
35 // Find empty slot and put the tag and the handle there
41 empty_slot->item = handle;
45 bool SharedHandles::GetHandle(uint32 tag, HANDLE* handle) { argument
54 *handle = found->item;
/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/WebKit/Tools/Scripts/webkitpy/test/
H A Drunner.py57 def handle(self, message_name, source, test_name, delay=None, failures=None, errors=None): member in class:Runner
81 def handle(self, message_name, source, test_name): member in class:_Worker
/external/chromium_org/third_party/boringssl/src/crypto/
H A Ddirectory_win.c43 HANDLE handle; member in struct:OPENSSL_dir_context_st
82 (*ctx)->handle = FindFirstFile(wdir, &(*ctx)->ctx);
86 (*ctx)->handle = FindFirstFile((TCHAR *)directory, &(*ctx)->ctx);
89 if ((*ctx)->handle == INVALID_HANDLE_VALUE) {
96 if (FindNextFile((*ctx)->handle, &(*ctx)->ctx) == FALSE) {
129 FindClose((*ctx)->handle);
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/
H A Dwebrtctexturevideoframe_unittest.cc47 NativeHandleImpl handle; local
48 cricket::WebRtcTextureVideoFrame frame(&handle, 640, 480, 100, 200);
49 EXPECT_EQ(&handle, frame.GetNativeHandle());
61 NativeHandleImpl handle; local
62 cricket::WebRtcTextureVideoFrame frame1(&handle, 640, 480, 100, 200);
73 NativeHandleImpl handle; local
74 EXPECT_EQ(0, handle.ref_count());
76 new cricket::WebRtcTextureVideoFrame(&handle, 640, 480, 100, 200);
77 EXPECT_EQ(1, handle.ref_count());
79 EXPECT_EQ(2, handle
[all...]
/external/chromium_org/third_party/libusb/src/libusb/
H A Dhotplug.h57 libusb_hotplug_callback_handle handle; member in struct:libusb_hotplug_callback
/external/chromium_org/third_party/mesa/src/src/egl/main/
H A Deglsync.h84 * Link a sync to its display and return the handle of the link.
85 * The handle can be passed to client directly.
106 * Lookup a handle to find the linked sync.
107 * Return NULL if the handle has no corresponding linked sync.
110 _eglLookupSync(EGLSyncKHR handle, _EGLDisplay *dpy) argument
112 _EGLSync *sync = (_EGLSync *) handle;
120 * Return the handle of a linked sync, or EGL_NO_SYNC_KHR.
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
H A Dlp_state_rasterizer.c60 * handle, and what we'll look after ourselves.
83 * handle ourselves. If we *are* using the pipeline, do everything
98 llvmpipe_bind_rasterizer_state(struct pipe_context *pipe, void *handle) argument
102 (const struct lp_rast_state *) handle;
106 draw_set_rasterizer_state(llvmpipe->draw, &state->draw_state, handle);
127 draw_set_rasterizer_state(llvmpipe->draw, NULL, handle);
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
H A Dsvga_sampler_view.h70 struct svga_winsys_surface *handle; member in struct:svga_sampler_view
H A Dsvga_surface.h48 struct svga_winsys_surface *handle; member in struct:svga_surface
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Ddlopen.h67 _mesa_dlsym(void *handle, const char *fname) argument
81 u.v = dlsym(handle, fname2);
83 u.v = dlsym(handle, fname);
85 u.v = (void *) GetProcAddress(handle, fname);
96 _mesa_dlclose(void *handle) argument
99 (void) handle;
101 dlclose(handle);
103 FreeLibrary(handle);
105 (void) handle;
/external/chromium_org/third_party/skia/src/gpu/gl/iOS/
H A DGrGLCreateNativeInterface_iOS.cpp27 void* handle() const { function in class:GLLoader
40 return (GrGLFuncPtr) dlsym(fLoader.handle(), name);
/external/chromium_org/third_party/skia/src/gpu/gl/mac/
H A DGrGLCreateNativeInterface_mac.cpp29 void* handle() const { function in class:GLLoader
42 return (GrGLFuncPtr) dlsym(fLoader.handle(), name);
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
H A Dlogging.cc59 void RawWrite(RawFD handle, const char* buf, size_t len) { argument
62 BOOL ok = WriteFile(handle, buf, len, &wrote, NULL);
63 // We do not use an asynchronous file handle, so ok==false means an error
70 void RawClose(RawFD handle) { argument
71 CloseHandle(handle);
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
H A Dlogging.cc59 void RawWrite(RawFD handle, const char* buf, size_t len) { argument
62 BOOL ok = WriteFile(handle, buf, len, &wrote, NULL);
63 // We do not use an asynchronous file handle, so ok==false means an error
70 void RawClose(RawFD handle) { argument
71 CloseHandle(handle);
/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/common_video/
H A Dtexture_video_frame_unittest.cc35 NativeHandleImpl handle; local
36 TextureVideoFrame frame(&handle, 640, 480, 100, 10);
41 EXPECT_EQ(&handle, frame.native_handle());
54 NativeHandleImpl handle; local
55 EXPECT_EQ(0, handle.ref_count());
56 TextureVideoFrame *frame = new TextureVideoFrame(&handle, 640, 480, 100, 200);
57 EXPECT_EQ(1, handle.ref_count());
59 EXPECT_EQ(0, handle.ref_count());
63 NativeHandleImpl handle; local
64 TextureVideoFrame frame1(&handle, 64
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_device/linux/
H A Dlatebindingsymboltable_linux.cc54 DllHandle handle = dlopen(dll_name, RTLD_NOW); local
58 if (handle == kInvalidDllHandle) {
62 return handle;
65 void InternalUnloadDll(DllHandle handle) { argument
75 if (dlclose(handle) != 0) {
85 static bool LoadSymbol(DllHandle handle, argument
89 *symbol = dlsym(handle, symbol_name);
109 bool InternalLoadSymbols(DllHandle handle, argument
118 if (!LoadSymbol(handle, symbol_names[i], &symbols[i])) {
/external/chromium_org/third_party/webrtc/modules/audio_processing/ns/
H A Dnoise_suppression.c55 float WebRtcNs_prior_speech_probability(NsHandle* handle) { argument
56 NSinst_t* self = (NSinst_t*) handle;
57 if (handle == NULL) {
/external/chromium_org/third_party/webrtc/modules/audio_processing/
H A Dprocessing_component.cc58 void* ProcessingComponent::handle(int index) const { function in class:webrtc::ProcessingComponent

Completed in 3192 milliseconds

1234567891011>>