/external/chromium_org/remoting/base/ |
scoped_sc_handle_win.h | 16 typedef SC_HANDLE Handle; 18 // Closes the handle. 19 static bool CloseHandle(SC_HANDLE handle) { 20 return ::CloseServiceHandle(handle) != FALSE; 23 // Returns true if the handle value is valid. 24 static bool IsHandleValid(SC_HANDLE handle) { 25 return handle != NULL; 28 // Returns NULL handle value.
|
/external/iproute2/include/ |
dlfcn.h | 22 static inline void *dlsym(void *handle, const char *sym) 24 if (handle != _FAKE_DLFCN_HDL) 34 static inline int dlclose(void *handle) 36 return (handle == _FAKE_DLFCN_HDL) ? 0 : 1;
|
/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/ |
Exynos_OSAL_Library.c | 41 void *Exynos_OSAL_dlsym(void *handle, const char *symbol) 43 return dlsym(handle, symbol); 46 int Exynos_OSAL_dlclose(void *handle) 48 return dlclose(handle);
|
Exynos_OSAL_SharedMemory.h | 45 void Exynos_OSAL_SharedMemory_Close(OMX_HANDLETYPE handle); 46 OMX_PTR Exynos_OSAL_SharedMemory_Alloc(OMX_HANDLETYPE handle, OMX_U32 size, MEMORY_TYPE memoryType); 47 void Exynos_OSAL_SharedMemory_Free(OMX_HANDLETYPE handle, OMX_PTR pBuffer); 48 int Exynos_OSAL_SharedMemory_VirtToION(OMX_HANDLETYPE handle, OMX_PTR pBuffer); 49 OMX_PTR Exynos_OSAL_SharedMemory_IONToVirt(OMX_HANDLETYPE handle, int ion_addr);
|
/hardware/ti/omap4xxx/camera/inc/ |
VideoMetadata.h | 27 void* handle; member in struct:__anon32927
|
/system/core/adb/ |
usb_windows.c | 40 /// Handle to USB interface 43 /// Handle to USB read pipe (endpoint) 46 /// Handle to USB write pipe (endpoint) 68 /// Checks if there is opened usb handle in handle_list for this device. 71 /// Checks if there is opened usb handle in handle_list for this device. 75 /// Registers opened usb handle (adds it to handle_list). 76 int register_new_device(usb_handle* handle); 79 int recognized_device(usb_handle* handle); 98 /// Writes data to the opened usb handle 99 int usb_write(usb_handle* handle, const void* data, int len) 451 usb_handle* handle = NULL; local [all...] |
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
DTMChildIterNodeList.java | 74 * @param parentHandle DTM node-handle integer 96 int handle=m_firstChild; local 97 while(--index>=0 && handle!=DTM.NULL) { 98 handle=m_parentDTM.getNextSibling(handle); 100 if (handle == DTM.NULL) { 103 return m_parentDTM.getNode(handle); 112 for (int handle=m_firstChild; 113 handle!=DTM.NULL; 114 handle=m_parentDTM.getNextSibling(handle)) [all...] |
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/ |
SFTPInputStream.java | 16 private SFTPv3FileHandle handle; field in class:SFTPInputStream 23 public SFTPInputStream(SFTPv3FileHandle handle) { 24 this.handle = handle; 38 int read = handle.getClient().read(handle, readOffset, buffer, offset, len); 62 int read = handle.getClient().read(handle, readOffset, buffer, 0, 1); 84 handle.getClient().closeFile(handle); [all...] |
SFTPOutputStream.java | 16 private SFTPv3FileHandle handle; field in class:SFTPOutputStream 23 public SFTPOutputStream(SFTPv3FileHandle handle) { 24 this.handle = handle; 44 handle.getClient().write(handle, writeOffset, buffer, offset, len); 53 handle.getClient().write(handle, writeOffset, buffer, 0, 1); 65 handle.getClient().closeFile(handle); [all...] |
/external/chromium/webkit/glue/ |
websocketstreamhandle_delegate.h | 21 virtual void WillOpenStream(WebKit::WebSocketStreamHandle* handle, 23 virtual void WillSendData(WebKit::WebSocketStreamHandle* handle, 26 virtual void DidOpenStream(WebKit::WebSocketStreamHandle* handle, 28 virtual void DidSendData(WebKit::WebSocketStreamHandle* handle, 30 virtual void DidReceiveData(WebKit::WebSocketStreamHandle* handle,
|
/external/chromium_org/base/process/ |
process.h | 20 explicit Process(ProcessHandle handle) : process_(handle) { 23 // A handle to the current process. 28 // Get/Set the handle for this process. The handle will be 0 if the process 30 ProcessHandle handle() const { return process_; } function in class:base::Process 31 void set_handle(ProcessHandle handle) { 32 process_ = handle; 41 // Close the process handle. This will not terminate the process.
|
/external/valgrind/main/cachegrind/tests/ |
dlclose.c | 15 void *handle; local 19 handle = dlopen ("./myprint.so", RTLD_LAZY); 20 if (!handle) { 25 myprint = dlsym(handle, "myprint"); 34 dlclose(handle);
|
/external/webrtc/src/modules/audio_processing/ |
processing_component.h | 35 void* handle(int index) const; 40 virtual int InitializeHandle(void* handle) const = 0; 41 virtual int ConfigureHandle(void* handle) const = 0; 42 virtual int DestroyHandle(void* handle) const = 0; 44 virtual int GetHandleError(void* handle) const = 0;
|
/external/iptables/include/libiptc/ |
libip6tc.h | 24 int ip6tc_is_chain(const char *chain, struct ip6tc_handle *const handle); 33 const char *ip6tc_first_chain(struct ip6tc_handle *handle); 34 const char *ip6tc_next_chain(struct ip6tc_handle *handle); 38 struct ip6tc_handle *handle); 42 struct ip6tc_handle *handle); 46 struct ip6tc_handle *handle); 49 int ip6tc_builtin(const char *chain, struct ip6tc_handle *const handle); 54 struct ip6tc_handle *handle); 64 struct ip6tc_handle *handle); 70 struct ip6tc_handle *handle); [all...] |
libiptc.h | 28 int iptc_is_chain(const char *chain, struct iptc_handle *const handle); 37 const char *iptc_first_chain(struct iptc_handle *handle); 38 const char *iptc_next_chain(struct iptc_handle *handle); 42 struct iptc_handle *handle); 46 struct iptc_handle *handle); 50 struct iptc_handle *handle); 53 int iptc_builtin(const char *chain, struct iptc_handle *const handle); 58 struct iptc_handle *handle); 68 struct iptc_handle *handle); 74 struct iptc_handle *handle); [all...] |
/external/iproute2/include/libiptc/ |
libip6tc.h | 20 /* Transparent handle type. */ 24 int ip6tc_is_chain(const char *chain, const ip6tc_handle_t handle); 33 const char *ip6tc_first_chain(ip6tc_handle_t *handle); 34 const char *ip6tc_next_chain(ip6tc_handle_t *handle); 38 ip6tc_handle_t *handle); 42 ip6tc_handle_t *handle); 46 ip6tc_handle_t *handle); 49 int ip6tc_builtin(const char *chain, const ip6tc_handle_t handle); 54 ip6tc_handle_t *handle); 64 ip6tc_handle_t *handle); [all...] |
libiptc.h | 28 /* Transparent handle type. */ 32 int iptc_is_chain(const char *chain, const iptc_handle_t handle); 41 const char *iptc_first_chain(iptc_handle_t *handle); 42 const char *iptc_next_chain(iptc_handle_t *handle); 46 iptc_handle_t *handle); 50 iptc_handle_t *handle); 54 iptc_handle_t *handle); 57 int iptc_builtin(const char *chain, const iptc_handle_t handle); 62 iptc_handle_t *handle); 72 iptc_handle_t *handle); [all...] |
/external/libsepol/include/sepol/ |
context_record.h | 4 #include <sepol/handle.h> 15 extern int sepol_context_set_user(sepol_handle_t * handle, 21 extern int sepol_context_set_role(sepol_handle_t * handle, 27 extern int sepol_context_set_type(sepol_handle_t * handle, 33 extern int sepol_context_set_mls(sepol_handle_t * handle, 37 extern int sepol_context_create(sepol_handle_t * handle, 40 extern int sepol_context_clone(sepol_handle_t * handle, 47 extern int sepol_context_from_string(sepol_handle_t * handle, 50 extern int sepol_context_to_string(sepol_handle_t * handle,
|
/external/qemu/distrib/sdl-1.2.15/src/loadso/dlopen/ |
SDL_sysloadso.c | 36 void *handle = dlopen(sofile, RTLD_NOW); local 38 if ( handle == NULL ) { 41 return(handle); 44 void *SDL_LoadFunction(void *handle, const char *name) 46 void *symbol = dlsym(handle, name); 53 symbol = dlsym(handle, _name); 62 void SDL_UnloadObject(void *handle) 64 if ( handle != NULL ) { 65 dlclose(handle);
|
/external/qemu/distrib/sdl-1.2.15/src/loadso/os2/ |
SDL_sysloadso.c | 38 HMODULE handle = NULL; local 40 APIRET ulrc = DosLoadModule(buf, sizeof (buf), (char *) sofile, &handle); 43 if ((ulrc != NO_ERROR) || (handle == NULL)) 46 return((void *) handle); 49 void *SDL_LoadFunction(void *handle, const char *name) 53 APIRET ulrc = DosQueryProcAddr((HMODULE)handle, 0, (char *)name, &symbol); 55 loaderror = "Invalid module handle"; 65 void SDL_UnloadObject(void *handle) 67 if ( handle != NULL ) 68 DosFreeModule((HMODULE) handle); [all...] |
/external/chromium/chrome/browser/automation/ |
automation_resource_tracker.cc | 21 int handle = GenerateHandle(); local 22 DCHECK(!ContainsHandleImpl(handle)); 24 resource_to_handle_[resource] = handle; 25 handle_to_resource_[handle] = resource; 29 return handle; 36 int handle = resource_to_handle_[resource]; local 37 DCHECK_EQ(resource, handle_to_resource_[handle]); 42 handle_to_resource_.erase(handle); 46 static int handle = 0; local 47 return ++handle; [all...] |
testing_automation_provider_win.cc | 15 void TestingAutomationProvider::ActivateWindow(int handle) { 16 if (window_tracker_->ContainsHandle(handle)) { 17 ::SetActiveWindow(window_tracker_->GetResource(handle)); 21 void TestingAutomationProvider::IsWindowMaximized(int handle, 26 HWND hwnd = window_tracker_->GetResource(handle); 35 void TestingAutomationProvider::TerminateSession(int handle, bool* success) { 38 if (browser_tracker_->ContainsHandle(handle)) { 39 Browser* browser = browser_tracker_->GetResource(handle); 45 void TestingAutomationProvider::GetWindowBounds(int handle, 49 HWND hwnd = window_tracker_->GetResource(handle); [all...] |
/external/chromium_org/chrome/browser/automation/ |
automation_resource_tracker.cc | 21 int handle = GenerateHandle(); local 22 DCHECK(!ContainsHandleImpl(handle)); 24 resource_to_handle_[resource] = handle; 25 handle_to_resource_[handle] = resource; 29 return handle; 36 int handle = resource_to_handle_[resource]; local 37 DCHECK_EQ(resource, handle_to_resource_[handle]); 42 handle_to_resource_.erase(handle); 46 static int handle = 0; local 47 return ++handle; [all...] |
/external/libpcap/ |
pcap-linux.c | 215 static int fix_program(pcap_t *handle, struct sock_fprog *fcode); 217 static int set_kernel_filter(pcap_t *handle, struct sock_fprog *fcode); 218 static int reset_kernel_filter(pcap_t *handle); 227 * Get a handle for a live capture from the given device. You can 240 pcap_t *handle; local 258 /* Allocate a handle for this session. */ 260 handle = malloc(sizeof(*handle)); 261 if (handle == NULL) { 269 memset(handle, 0, sizeof(*handle)) 1694 struct pcap *handle; local [all...] |
/external/libsepol/src/ |
debug.c | 4 #include "handle.h" 21 int sepol_msg_get_level(sepol_handle_t * handle) 23 return handle->msg_level; 28 const char *sepol_msg_get_channel(sepol_handle_t * handle) 30 return handle->msg_channel; 35 const char *sepol_msg_get_fname(sepol_handle_t * handle) 37 return handle->msg_fname; 45 sepol_handle_t * handle, 51 switch (sepol_msg_get_level(handle)) { 64 sepol_msg_get_channel(handle), sepol_msg_get_fname(handle)) [all...] |