HomeSort by relevance Sort by last modified time
    Searched refs:handle (Results 276 - 300 of 3550) sorted by null

<<11121314151617181920>>

  /external/libsepol/src/
users.c 7 #include "handle.h"
15 static int user_to_record(sepol_handle_t * handle,
28 if (sepol_user_create(handle, &tmp_record) < 0)
31 if (sepol_user_set_name(handle, tmp_record, name) < 0)
38 if (sepol_user_add_role(handle, tmp_record, role) < 0)
51 ERR(handle, "could not copy MLS level");
57 ERR(handle, "could not copy MLS level");
61 if (mls_to_string(handle, policydb, &context, &str) < 0) {
67 if (sepol_user_set_mlslevel(handle, tmp_record, str) < 0) {
75 ERR(handle, "could not copy MLS range")
    [all...]
interfaces.c 5 #include "handle.h"
12 static int iface_from_record(sepol_handle_t * handle,
30 if (context_from_record(handle, policydb,
39 if (context_from_record(handle, policydb,
51 ERR(handle, "out of memory");
62 ERR(handle, "error creating interface structure");
66 static int iface_to_record(sepol_handle_t * handle,
78 if (sepol_iface_create(handle, &tmp_record) < 0)
81 if (sepol_iface_set_name(handle, tmp_record, name) < 0)
84 if (context_to_record(handle, policydb, ifcon, &tmp_con) < 0
    [all...]
user_record.c 30 int sepol_user_key_create(sepol_handle_t * handle,
38 ERR(handle, "out of memory, "
59 int sepol_user_key_extract(sepol_handle_t * handle,
64 if (sepol_user_key_create(handle, user->name, key_ptr) < 0) {
65 ERR(handle, "could not extract key from user %s", user->name);
96 int sepol_user_set_name(sepol_handle_t * handle,
102 ERR(handle, "out of memory, could not set name");
121 int sepol_user_set_mlslevel(sepol_handle_t * handle,
127 ERR(handle, "out of memory, "
146 int sepol_user_set_mlsrange(sepol_handle_t * handle,
    [all...]
  /external/bluetooth/bluedroid/bta/ag/
bta_ag_rfc.c 88 static void bta_ag_port_cback(UINT32 code, UINT16 port_handle, UINT16 handle)
93 if ((p_scb = bta_ag_scb_by_idx(handle)) != NULL)
95 /* ignore port events for port handles other than connected handle */
98 APPL_TRACE_DEBUG3("ag_port_cback ignoring handle:%d conn_handle = %d other handle = %d",
99 port_handle, p_scb->conn_handle, handle);
106 p_buf->layer_specific = handle;
122 static void bta_ag_mgmt_cback(UINT32 code, UINT16 port_handle, UINT16 handle)
130 APPL_TRACE_DEBUG3("ag_mgmt_cback : code = %d, port_handle = %d, handle = %d",
131 code, port_handle, handle);
    [all...]
bta_ag_ci.c 43 void bta_ag_ci_rx_write(UINT16 handle, char *p_data, UINT16 len)
60 p_buf->hdr.layer_specific = handle;
88 void bta_ag_ci_slc_ready(UINT16 handle)
95 p_buf->hdr.layer_specific = handle;
  /system/core/adb/
usb_osx.c 258 usb_handle* handle = CheckInterface((IOUSBInterfaceInterface**)iface, local
260 if (handle == NULL) {
267 register_usb_transport(handle, (serial[0] ? serial : NULL), devpath, 1);
276 handle,
277 &handle->usbNotification);
288 usb_handle *handle = (usb_handle *)refCon; local
291 if (!handle) {
292 DBG("ERR: NULL handle\n");
296 IOObjectRelease(handle->usbNotification);
297 usb_kick(handle);
306 usb_handle* handle = NULL; local
    [all...]
  /frameworks/native/libs/ui/
GraphicBuffer.cpp 45 handle = NULL;
58 handle = NULL;
74 handle = inHandle;
87 handle = buffer->handle;
92 if (handle) {
100 mBufferMapper.unregisterBuffer(handle);
101 native_handle_close(handle);
102 native_handle_delete(const_cast<native_handle*>(handle));
105 allocator.free(handle);
    [all...]
  /external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
DTMNodeList.java 110 int handle=m_iter.item(index); local
111 if (handle == DTM.NULL) {
114 return m_iter.getDTM(handle).getNode(handle);
  /external/bluetooth/bluedroid/bta/pan/
bta_pan_ci.c 53 void bta_pan_ci_tx_ready(UINT16 handle)
59 p_buf->layer_specific = handle;
78 void bta_pan_ci_rx_ready(UINT16 handle)
84 p_buf->layer_specific = handle;
96 ** disable data flow when it is congested and cannot handle
105 void bta_pan_ci_tx_flow(UINT16 handle, BOOLEAN enable)
111 p_buf->hdr.layer_specific = handle;
130 void bta_pan_ci_rx_write(UINT16 handle, BD_ADDR dst, BD_ADDR src, UINT16 protocol,
151 p_buf->layer_specific = handle;
173 void bta_pan_ci_rx_writebuf(UINT16 handle, BD_ADDR dst, BD_ADDR src, UINT16 protocol
    [all...]
  /external/chromium/webkit/glue/
webfileutilities_impl.cc 118 void WebFileUtilitiesImpl::closeFile(base::PlatformFile& handle) {
119 if (handle == base::kInvalidPlatformFileValue)
121 if (base::ClosePlatformFile(handle))
122 handle = base::kInvalidPlatformFileValue;
125 long long WebFileUtilitiesImpl::seekFile(base::PlatformFile handle,
128 if (handle == base::kInvalidPlatformFileValue)
130 net::FileStream file_stream(handle, 0);
134 bool WebFileUtilitiesImpl::truncateFile(base::PlatformFile handle,
136 if (handle == base::kInvalidPlatformFileValue || offset < 0)
138 net::FileStream file_stream(handle, base::PLATFORM_FILE_WRITE)
    [all...]
  /external/chromium_org/base/win/
scoped_hdc.h 29 // GDI handle exhaustion. In this case Chrome is going to behave badly no
53 typedef HDC Handle;
55 static bool CloseHandle(HDC handle) {
56 return ::DeleteDC(handle) != FALSE;
59 static bool IsHandleValid(HDC handle) {
60 return handle != NULL;
  /external/chromium_org/cc/output/
software_frame_data.h 22 base::SharedMemoryHandle handle; member in class:cc::SoftwareFrameData
  /external/chromium_org/chrome/browser/
browser_util_win.cc 19 static HANDLE handle = NULL; local
26 if (handle != NULL)
27 CloseHandle(handle);
28 handle = CreateEvent(NULL, TRUE, TRUE, exe.c_str());
  /external/chromium_org/mojo/system/
raw_channel_win.cc 18 RawChannel* RawChannel::Create(const PlatformChannelHandle& handle,
  /external/chromium_org/ppapi/c/private/
ppb_file_io_private.h 33 * Returns a file handle corresponding to the given FileIO
36 * of the returned file handle and must close it.
39 PP_FileHandle* handle,
  /external/chromium_org/ppapi/thunk/
ppb_buffer_api.h 25 virtual int32_t GetSharedMemory(int* handle) = 0;
  /external/chromium_org/sandbox/win/src/
process_thread_policy.h 33 // Opens a thread from the child process and returns the handle.
41 HANDLE* handle);
43 // Opens the process id passed in and returns the duplicated handle to
49 HANDLE* handle);
52 // handle to the child. We only allow the child processes to open his own
55 HANDLE process,
57 HANDLE* handle);
    [all...]
shared_handles.cc 30 bool SharedHandles::SetHandle(uint32 tag, HANDLE handle) {
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) {
54 *handle = found->item;
  /external/chromium_org/third_party/WebKit/Source/core/frame/
WindowTimers.idl 33 void clearTimeout([Default=Undefined] optional long handle);
35 void clearInterval([Default=Undefined] optional long handle);
  /external/chromium_org/third_party/mesa/src/src/gallium/winsys/sw/android/
android_sw_winsys.h 40 buffer_handle_t handle; member in struct:android_winsys_handle
  /external/chromium_org/ui/base/win/
touch_input.h 16 UI_EXPORT BOOL GetTouchInputInfoWrapper(HTOUCHINPUT handle,
  /external/iptables/iptables/
ip6tables-standalone.c 50 struct ip6tc_handle *handle = NULL; local
66 ret = do_command6(argc, argv, &table, &handle);
68 ret = ip6tc_commit(handle);
69 ip6tc_free(handle);
iptables-standalone.c 52 struct iptc_handle *handle = NULL; local
69 ret = do_command4(argc, argv, &table, &handle);
71 ret = iptc_commit(handle);
72 iptc_free(handle);
  /external/javasqlite/src/main/java/SQLite/
FunctionContext.java 12 * Internal handle for the native SQLite API.
15 private long handle = 0; field in class:FunctionContext
Vm.java 10 * Internal handle for the compiled SQLite VM.
13 private long handle = 0; field in class:Vm

Completed in 198 milliseconds

<<11121314151617181920>>