Searched refs:handle (Results 251 - 275 of 2331) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/skia/ext/
H A Devent_tracer_impl.cc28 SkEventTracer::Handle handle) OVERRIDE;
52 base::debug::TraceEventHandle handle = TRACE_EVENT_API_ADD_TRACE_EVENT( local
56 memcpy(&result, &handle, sizeof(result));
64 SkEventTracer::Handle handle) {
66 memcpy(&traceEventHandle, &handle, sizeof(handle));
61 updateTraceEventDuration( const uint8_t* categoryEnabledFlag, const char *name, SkEventTracer::Handle handle) argument
/external/chromium_org/third_party/WebKit/Source/platform/network/
H A DSocketStreamHandleInternal.h50 static PassOwnPtr<SocketStreamHandleInternal> create(SocketStreamHandle* handle) argument
52 return adoptPtr(new SocketStreamHandleInternal(handle));
66 static blink::WebSocketStreamHandle* toWebSocketStreamHandle(SocketStreamHandle* handle) argument
68 if (handle && handle->m_internal)
69 return handle->m_internal->m_socket.get();
/external/chromium_org/third_party/webrtc/modules/audio_processing/
H A Dlevel_estimator_impl.cc32 RMSLevel* rms_level = static_cast<RMSLevel*>(handle(0));
54 RMSLevel* rms_level = static_cast<RMSLevel*>(handle(0));
64 void LevelEstimatorImpl::DestroyHandle(void* handle) const {
65 delete static_cast<RMSLevel*>(handle);
68 int LevelEstimatorImpl::InitializeHandle(void* handle) const {
69 static_cast<RMSLevel*>(handle)->Reset();
73 int LevelEstimatorImpl::ConfigureHandle(void* /*handle*/) const {
81 int LevelEstimatorImpl::GetHandleError(void* /*handle*/) const {
/external/chromium_org/third_party/webrtc/modules/desktop_capture/win/
H A Dscoped_gdi_object.h62 // The traits class that uses DeleteObject() to close a handle.
66 // Closes the handle.
67 static void Close(T handle) { argument
68 if (handle)
69 DeleteObject(handle);
76 // The traits class that uses DestroyCursor() to close a handle.
79 // Closes the handle.
80 static void Close(HCURSOR handle) { argument
81 if (handle)
82 DestroyCursor(handle);
[all...]
/external/libsepol/include/sepol/
H A Dport_record.h5 #include <sepol/handle.h>
22 extern int sepol_port_key_create(sepol_handle_t * handle,
29 extern int sepol_port_key_extract(sepol_handle_t * handle,
54 extern int sepol_port_set_con(sepol_handle_t * handle,
58 extern int sepol_port_create(sepol_handle_t * handle, sepol_port_t ** port_ptr);
60 extern int sepol_port_clone(sepol_handle_t * handle,
/external/qemu/distrib/sdl-1.2.15/src/thread/beos/
H A DSDL_systhread.c65 thread->handle=spawn_thread(RunThread, "SDL", B_NORMAL_PRIORITY, args);
66 if ( (thread->handle == B_NO_MORE_THREADS) ||
67 (thread->handle == B_NO_MEMORY) ) {
71 resume_thread(thread->handle);
90 wait_for_thread(thread->handle, &the_status);
95 kill_thread(thread->handle);
/external/qemu/distrib/sdl-1.2.15/src/thread/symbian/
H A DSDL_sysmutex.cpp51 TInt handle; member in struct:SDL_mutex
56 TInt handle; member in struct:_SDL_mutex
83 mutex->handle = rmutex.Handle();
94 rmutex.SetHandle(mutex->handle);
114 rmutex.SetHandle(mutex->handle);
127 rmutex.SetHandle(mutex->handle);
/external/libsepol/src/
H A Dnode_record.c44 static int node_parse_addr(sepol_handle_t * handle, argument
55 ERR(handle, "could not parse IPv4 address "
68 ERR(handle, "could not parse IPv6 address "
81 ERR(handle, "unsupported protocol %u, could not "
92 static int node_alloc_addr(sepol_handle_t * handle, argument
116 ERR(handle, "unsupported protocol %u", proto);
125 ERR(handle, "out of memory");
129 ERR(handle, "could not allocate address of protocol %s",
138 static int node_expand_addr(sepol_handle_t * handle, argument
153 ERR(handle,
193 node_alloc_addr_string(sepol_handle_t * handle, int proto, char **addr) argument
232 sepol_node_key_create(sepol_handle_t * handle, const char *addr, const char *mask, int proto, sepol_node_key_t ** key_ptr) argument
365 sepol_node_get_addr(sepol_handle_t * handle, const sepol_node_t * node, char **addr) argument
[all...]
/external/webrtc/src/common_audio/vad/
H A Dvad_unittest.cc82 VadInst* handle = NULL; local
113 EXPECT_EQ(-1, WebRtcVad_Assign(&handle, NULL));
114 EXPECT_EQ(0, WebRtcVad_Assign(&handle, tmp_handle));
115 EXPECT_EQ(handle, tmp_handle);
119 ASSERT_EQ(0, WebRtcVad_Create(&handle));
122 EXPECT_EQ(-1, WebRtcVad_Process(handle, kRates[0], speech, kFrameLengths[0]));
123 EXPECT_EQ(-1, WebRtcVad_set_mode(handle, kModes[0]));
126 ASSERT_EQ(0, WebRtcVad_Init(handle));
129 EXPECT_EQ(-1, WebRtcVad_set_mode(handle, kModes[0] - 1));
130 EXPECT_EQ(-1, WebRtcVad_set_mode(handle, kMode
187 VadInstT* handle = (VadInstT*) malloc(sizeof(VadInstT)); local
[all...]
/external/chromium_org/base/process/
H A Dkill_posix.cc25 bool WaitpidWithTimeout(ProcessHandle handle, argument
53 return HANDLE_EINTR(waitpid(handle, status, 0)) > 0;
56 pid_t ret_pid = HANDLE_EINTR(waitpid(handle, status, WNOHANG));
76 ret_pid = HANDLE_EINTR(waitpid(handle, status, WNOHANG));
87 TerminationStatus GetTerminationStatusImpl(ProcessHandle handle, argument
91 const pid_t result = HANDLE_EINTR(waitpid(handle, &status,
94 DPLOG(ERROR) << "waitpid(" << handle << ")";
195 TerminationStatus GetTerminationStatus(ProcessHandle handle, int* exit_code) { argument
196 return GetTerminationStatusImpl(handle, false /* can_block */, exit_code);
199 TerminationStatus GetKnownDeadTerminationStatus(ProcessHandle handle, argument
209 WaitForExitCode(ProcessHandle handle, int* exit_code) argument
226 WaitForExitCodeWithTimeout(ProcessHandle handle, int* exit_code, base::TimeDelta timeout) argument
268 WaitForSingleNonChildProcess(ProcessHandle handle, base::TimeDelta wait) argument
355 WaitForSingleProcess(ProcessHandle handle, base::TimeDelta wait) argument
[all...]
/external/bluetooth/bluedroid/stack/pan/
H A Dpan_int.h54 UINT16 handle; member in struct:__anon1686
112 extern void pan_conn_ind_cb (UINT16 handle,
117 extern void pan_connect_state_cb (UINT16 handle, BD_ADDR rem_bda, tBNEP_RESULT result, BOOLEAN is_role_change);
118 extern void pan_data_ind_cb (UINT16 handle,
125 extern void pan_data_buf_ind_cb (UINT16 handle,
131 extern void pan_tx_data_flow_cb (UINT16 handle,
133 void pan_proto_filt_ind_cb (UINT16 handle,
138 void pan_mcast_filt_ind_cb (UINT16 handle,
144 extern tPAN_CONN *pan_allocate_pcb (BD_ADDR p_bda, UINT16 handle);
145 extern tPAN_CONN *pan_get_pcb_by_handle (UINT16 handle);
[all...]
H A Dpan_main.c85 ** Parameters: handle - handle for the connection
94 void pan_conn_ind_cb (UINT16 handle, argument
145 BNEP_ConnectResp (handle, BNEP_CONN_FAILED_SRC_UUID);
179 BNEP_ConnectResp (handle, BNEP_CONN_FAILED_DST_UUID);
183 PAN_TRACE_EVENT ("pan_conn_ind_cb - for handle %d, current role %d, dst uuid 0x%x, src uuid 0x%x, role change %s",
184 handle, pan_cb.role, local_uuid->uu.uuid16, remote_uuid->uu.uuid16, is_role_change?"YES":"NO");
189 BNEP_ConnectResp (handle, BNEP_CONN_FAILED_UUID_SIZE);
200 BNEP_ConnectResp (handle, BNEP_CONN_FAILED_SRC_UUID);
210 BNEP_ConnectResp (handle, BNEP_CONN_FAILED_DST_UUI
333 pan_connect_state_cb(UINT16 handle, BD_ADDR rem_bda, tBNEP_RESULT result, BOOLEAN is_role_change) argument
435 pan_data_ind_cb(UINT16 handle, UINT8 *src, UINT8 *dst, UINT16 protocol, UINT8 *p_data, UINT16 len, BOOLEAN ext) argument
540 pan_data_buf_ind_cb(UINT16 handle, UINT8 *src, UINT8 *dst, UINT16 protocol, BT_HDR *p_buf, BOOLEAN ext) argument
648 pan_tx_data_flow_cb(UINT16 handle, tBNEP_RESULT event) argument
678 pan_proto_filt_ind_cb(UINT16 handle, BOOLEAN indication, tBNEP_RESULT result, UINT16 num_filters, UINT8 *p_filters) argument
716 pan_mcast_filt_ind_cb(UINT16 handle, BOOLEAN indication, tBNEP_RESULT result, UINT16 num_filters, UINT8 *p_filters) argument
[all...]
/external/chromium_org/base/memory/
H A Dshared_memory_nacl.cc28 SharedMemory::SharedMemory(SharedMemoryHandle handle, bool read_only) argument
29 : mapped_file_(handle.fd),
37 SharedMemory::SharedMemory(SharedMemoryHandle handle, bool read_only, argument
39 : mapped_file_(handle.fd),
53 bool SharedMemory::IsHandleValid(const SharedMemoryHandle& handle) { argument
54 return handle.fd >= 0;
63 void SharedMemory::CloseHandle(const SharedMemoryHandle& handle) { argument
64 DCHECK_GE(handle.fd, 0);
65 if (close(handle.fd) < 0)
123 SharedMemoryHandle SharedMemory::handle() cons function in class:base::SharedMemory
[all...]
/external/chromium_org/third_party/libjingle/source/talk/base/
H A Dwin32toolhelp.h89 // Checks the state of the snapshot handle.
110 static bool CloseHandle(HANDLE handle) { argument
111 return ::CloseHandle(handle) == TRUE;
119 static bool First(HANDLE handle, Type* t) { argument
120 return ::Process32First(handle, t) == TRUE;
123 static bool Next(HANDLE handle, Type* t) { argument
124 return ::Process32Next(handle, t) == TRUE;
143 static bool First(HANDLE handle, Type* t) { argument
144 return ::Module32First(handle, t) == TRUE;
147 static bool Next(HANDLE handle, Typ argument
[all...]
/external/chromium_org/third_party/webrtc/base/
H A Dwin32toolhelp.h95 // Checks the state of the snapshot handle.
116 static bool CloseHandle(HANDLE handle) { argument
117 return ::CloseHandle(handle) == TRUE;
125 static bool First(HANDLE handle, Type* t) { argument
126 return ::Process32First(handle, t) == TRUE;
129 static bool Next(HANDLE handle, Type* t) { argument
130 return ::Process32Next(handle, t) == TRUE;
149 static bool First(HANDLE handle, Type* t) { argument
150 return ::Module32First(handle, t) == TRUE;
153 static bool Next(HANDLE handle, Typ argument
[all...]
/external/chromium_org/ui/ozone/platform/dri/
H A Ddri_buffer.cc41 void DestroyDumbBuffer(int fd, uint32_t handle) { argument
43 destroy_request.handle = handle;
49 uint32_t* handle,
64 *handle = request.handle;
68 map_request.handle = request.handle;
72 DestroyDumbBuffer(dri->get_fd(), request.handle);
85 DestroyDumbBuffer(dri->get_fd(), request.handle);
47 CreateDumbBuffer(DriWrapper* dri, const SkImageInfo& info, uint32_t* handle, uint32_t* stride, void** pixels) argument
[all...]
/external/iproute2/tc/
H A Df_basic.c38 static int basic_parse_opt(struct filter_util *qu, char *handle, argument
48 if (handle) {
49 h = strtol(handle, NULL, 0);
51 fprintf(stderr, "Illegal handle \"%s\", must be numeric.\n",
52 handle);
72 unsigned handle; local
74 if (get_tc_classid(&handle, *argv)) {
78 addattr_l(n, MAX_MSG, TCA_BASIC_CLASSID, &handle, 4);
110 struct rtattr *opt, __u32 handle)
119 if (handle)
109 basic_print_opt(struct filter_util *qu, FILE *f, struct rtattr *opt, __u32 handle) argument
[all...]
/external/webrtc/src/modules/audio_processing/
H A Dlevel_estimator_impl.cc98 Level* level = static_cast<Level*>(handle(0));
129 Level* level = static_cast<Level*>(handle(0));
144 int LevelEstimatorImpl::DestroyHandle(void* handle) const {
145 assert(handle != NULL);
146 Level* level = static_cast<Level*>(handle);
151 int LevelEstimatorImpl::InitializeHandle(void* handle) const {
152 assert(handle != NULL);
153 Level* level = static_cast<Level*>(handle);
159 int LevelEstimatorImpl::ConfigureHandle(void* /*handle*/) const {
167 int LevelEstimatorImpl::GetHandleError(void* handle) cons
[all...]
/external/webrtc/src/modules/audio_processing/utility/
H A Dring_buffer.c68 int WebRtc_CreateBuffer(void** handle, argument
73 if (handle == NULL) {
81 *handle = self;
96 int WebRtc_InitBuffer(void* handle) { argument
97 buf_t* self = (buf_t*) handle;
113 int WebRtc_FreeBuffer(void* handle) { argument
114 buf_t* self = (buf_t*) handle;
126 size_t WebRtc_ReadBuffer(void* handle, argument
131 buf_t* self = (buf_t*) handle;
166 WebRtc_MoveReadPtr(handle, (in
172 WebRtc_WriteBuffer(void* handle, const void* data, size_t element_count) argument
209 WebRtc_MoveReadPtr(void* handle, int element_count) argument
249 WebRtc_available_read(const void* handle) argument
263 WebRtc_available_write(const void* handle) argument
[all...]
/external/bluetooth/bluedroid/bta/include/
H A Dbta_jv_api.h38 #define BTA_JV_BUSY 2 /* Temporarily can not handle this request. */
227 UINT32 handle; /* The SDP record handle was updated */ member in struct:__anon884
234 UINT32 handle; /* The SDP record handle was updated */ member in struct:__anon885
241 UINT32 handle; /* The SDP record handle was updated */ member in struct:__anon886
248 UINT32 handle; /* The connection handle */ member in struct:__anon887
257 UINT32 handle; /* Th member in struct:__anon888
265 UINT32 handle; /* The connection handle */ member in struct:__anon889
273 UINT32 handle; /* The connection handle */ member in struct:__anon890
281 UINT32 handle; /* The connection handle */ member in struct:__anon891
289 UINT32 handle; /* The connection handle */ member in struct:__anon892
300 UINT32 handle; /* The connection handle */ member in struct:__anon893
311 UINT32 handle; /* The connection handle */ member in struct:__anon894
321 UINT32 handle; /* The connection handle */ member in struct:__anon895
328 UINT32 handle; /* The connection handle */ member in struct:__anon896
339 UINT32 handle; /* The connection handle */ member in struct:__anon897
347 UINT32 handle; /* The connection handle */ member in struct:__anon898
356 UINT32 handle; /* The connection handle */ member in struct:__anon899
363 UINT32 handle; /* The connection handle */ member in struct:__anon900
370 UINT32 handle; /* The connection handle */ member in struct:__anon901
378 UINT32 handle; /* The connection handle */ member in struct:__anon902
389 UINT32 handle; /* The connection handle */ member in struct:__anon903
399 UINT32 handle; /* Connection handle */ member in struct:__anon904
406 UINT32 handle; /* Connection handle */ member in struct:__anon905
[all...]
/external/nfacct/
H A Dnfacct.c186 struct nl_sock *handle; local
222 handle = nl_socket_alloc();
223 if ((ret = nfnl_connect(handle))) {
224 NL_DBG(2, "Can't connect handle: %s line: %d\n",
229 if ((ret = nl_send_auto_complete(handle, msg)) < 0) {
235 nl_socket_modify_cb(handle, NL_CB_VALID, NL_CB_CUSTOM, valid_input, NULL);
236 ret = nl_recvmsgs_default(handle);
243 nl_close(handle);
244 nl_socket_free(handle);
253 struct nl_sock *handle; local
328 struct nl_sock *handle; local
396 struct nl_sock *handle; local
491 struct nl_sock *handle; local
[all...]
/external/bluetooth/bluedroid/bta/ag/
H A Dbta_ag_api.c158 void BTA_AgDeregister(UINT16 handle) argument
165 p_buf->layer_specific = handle;
183 void BTA_AgOpen(UINT16 handle, BD_ADDR bd_addr, tBTA_SEC sec_mask, tBTA_SERVICE_MASK services) argument
190 p_buf->hdr.layer_specific = handle;
209 void BTA_AgClose(UINT16 handle) argument
216 p_buf->layer_specific = handle;
232 void BTA_AgAudioOpen(UINT16 handle) argument
239 p_buf->layer_specific = handle;
255 void BTA_AgAudioClose(UINT16 handle) argument
262 p_buf->layer_specific = handle;
280 BTA_AgResult(UINT16 handle, tBTA_AG_RES result, tBTA_AG_RES_DATA *p_data) argument
309 BTA_AgSetCodec(UINT16 handle, tBTA_AG_PEER_CODEC codec) argument
[all...]
/external/bluetooth/bluedroid/stack/include/
H A Dbnep_api.h63 BNEP_WRONG_HANDLE, /* Wrong handle for the connection */
78 ** Connection handle
85 typedef void (tBNEP_CONN_STATE_CB) (UINT16 handle,
95 ** and flag to indicate role change and handle to the connection
99 typedef void (tBNEP_CONNECT_IND_CB) (UINT16 handle,
115 typedef void (tBNEP_DATA_BUF_CB) (UINT16 handle,
132 typedef void (tBNEP_DATA_IND_CB) (UINT16 handle,
144 typedef void (tBNEP_TX_DATA_FLOW_CB) (UINT16 handle,
160 typedef void (tBNEP_FILTER_IND_CB) (UINT16 handle,
180 typedef void (tBNEP_MFILTER_IND_CB) (UINT16 handle,
[all...]
/external/chromium_org/net/socket/
H A Dtransport_client_socket_pool_unittest.cc40 // Make sure |handle| sets load times correctly when it has been assigned a
42 void TestLoadTimingInfoConnectedReused(const ClientSocketHandle& handle) { argument
46 EXPECT_TRUE(handle.GetLoadTimingInfo(true, &load_timing_info));
55 // Make sure |handle| sets load times correctly when it has been assigned a
59 void TestLoadTimingInfoConnectedNotReused(const ClientSocketHandle& handle) { argument
60 EXPECT_FALSE(handle.is_reused());
63 EXPECT_TRUE(handle.GetLoadTimingInfo(false, &load_timing_info));
72 TestLoadTimingInfoConnectedReused(handle);
577 ClientSocketHandle handle; local
578 int rv = handle
596 ClientSocketHandle handle; local
607 ClientSocketHandle handle; local
622 ClientSocketHandle handle; local
736 ClientSocketHandle handle; local
744 ClientSocketHandle handle; local
765 ClientSocketHandle handle; local
855 RequestSocketCallback(ClientSocketHandle* handle, TransportClientSocketPool* pool) argument
902 ClientSocketHandle handle; local
969 ClientSocketHandle handle; local
997 ClientSocketHandle handle; local
1053 ClientSocketHandle handle; local
1095 ClientSocketHandle handle; local
1141 ClientSocketHandle handle; local
1189 ClientSocketHandle handle; local
1245 ClientSocketHandle handle; local
1290 ClientSocketHandle handle; local
1324 ClientSocketHandle handle; local
1357 ClientSocketHandle handle; local
[all...]
/external/bluetooth/bluedroid/bta/jv/
H A Dbta_jv_api.c70 /* set handle to invalid value by default */
73 bta_jv_cb.pm_cb[i].handle = BTA_JV_PM_HANDLE_CLEAR;
863 tBTA_JV_STATUS BTA_JvUpdateRecord(UINT32 handle, UINT16 *p_ids, argument
866 UNUSED(handle);
879 p_msg->handle = handle;
904 tBTA_JV_STATUS BTA_JvAddAttribute(UINT32 handle, UINT16 attr_id, argument
914 p_msg->handle = handle;
936 tBTA_JV_STATUS BTA_JvDeleteAttribute(UINT32 handle, UINT1 argument
963 BTA_JvDeleteRecord(UINT32 handle) argument
991 BTA_JvReadRecord(UINT32 handle, UINT8 *p_data, INT32 *p_data_len) argument
1055 BTA_JvL2capClose(UINT32 handle) argument
1154 BTA_JvL2capRead(UINT32 handle, UINT32 req_id, UINT8 *p_data, UINT16 len) argument
1222 BTA_JvL2capReceive(UINT32 handle, UINT32 req_id, UINT8 *p_data, UINT16 len) argument
1274 BTA_JvL2capReady(UINT32 handle, UINT32 *p_data_size) argument
1317 BTA_JvL2capWrite(UINT32 handle, UINT32 req_id, UINT8 *p_data, UINT16 len) argument
1389 BTA_JvRfcommClose(UINT32 handle, void *user_data) argument
1471 BTA_JvRfcommStopServer(UINT32 handle, void * user_data) argument
1499 BTA_JvRfcommRead(UINT32 handle, UINT32 req_id, UINT8 *p_data, UINT16 len) argument
1535 BTA_JvRfcommGetPortHdl(UINT32 handle) argument
1559 BTA_JvRfcommReady(UINT32 handle, UINT32 *p_data_size) argument
1589 BTA_JvRfcommWrite(UINT32 handle, UINT32 req_id) argument
1635 BTA_JvSetPmProfile(UINT32 handle, tBTA_JV_PM_ID app_id, tBTA_JV_CONN_STATE init_st) argument
[all...]

Completed in 775 milliseconds

<<11121314151617181920>>