/external/libsepol/src/ |
H A D | port_record.c | 28 int sepol_port_key_create(sepol_handle_t * handle, argument 37 ERR(handle, "out of memory, could not create " "port key"); 62 int sepol_port_key_extract(sepol_handle_t * handle, 68 (handle, port->low, port->high, port->proto, key_ptr) < 0) { 70 ERR(handle, "could not extract key from port %s %d:%d", 203 int sepol_port_create(sepol_handle_t * handle, sepol_port_t ** port) 209 ERR(handle, "out of memory, could not create " "port record"); 225 int sepol_port_clone(sepol_handle_t * handle, 230 if (sepol_port_create(handle, &new_port) < 0) 238 (sepol_context_clone(handle, por [all...] |
/external/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_sampler_view.c | 128 sv->handle = tex->handle; 144 sv->handle = svga_texture_view_surface(svga, tex, flags, format, 150 if (!sv->handle) { 153 sv->handle = tex->handle; 179 if (v->handle == tex->handle) 193 tex->handle, 0, 0, 0, i, k, 194 v->handle, [all...] |
H A D | svga_surface.c | 60 src.handle = src_handle; 65 dst.handle = dst_handle; 115 struct svga_winsys_surface *handle; local 145 handle = svga_screen_surface_create(ss, key); 146 if (!handle) { 151 SVGA_DBG(DEBUG_DMA, " --> got sid %p (texture view)\n", handle); 167 tex->handle, 171 handle, 0, 0, 0, i, j, 179 return handle; 264 s->handle [all...] |
/external/qemu/android/utils/ |
H A D | mapfile.c | 97 mapfile_close(MapFile* handle) argument 100 if (CloseHandle(handle)) { 107 return close((int)(ptrdiff_t)handle); 112 mapfile_read(MapFile* handle, void* buf, size_t nbyte) argument 117 if (ReadFile(handle, buf, nbyte, &read_bytes, NULL)) { 125 return HANDLE_EINTR(read((int)(ptrdiff_t)handle, buf, nbyte)); 130 mapfile_read_at(MapFile* handle, size_t offset, void* buf, size_t nbyte) argument 135 if ((SetFilePointer(handle, convert.LowPart, &convert.HighPart, 141 return mapfile_read(handle, buf, nbyte); 143 ssize_t res = lseek((int)(ptrdiff_t)handle, offse 149 mapfile_map(MapFile* handle, size_t offset, size_t size, int prot, void** mapped_offset, size_t* mapped_size) argument [all...] |
/external/wpa_supplicant_8/hostapd/src/eap_peer/ |
H A D | eap_methods.c | 184 void *handle; local 188 handle = dlopen(so, RTLD_LAZY); 189 if (handle == NULL) { 195 dyn_init = dlsym(handle, "eap_peer_method_dynamic_init"); 197 dlclose(handle); 205 dlclose(handle); 211 /* Store the handle for this shared object. It will be freed with 213 eap_methods->dl_handle = handle; 234 void *handle; local 253 handle 348 void *handle; local [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
H A D | eap_methods.c | 184 void *handle; local 188 handle = dlopen(so, RTLD_LAZY); 189 if (handle == NULL) { 195 dyn_init = dlsym(handle, "eap_peer_method_dynamic_init"); 197 dlclose(handle); 205 dlclose(handle); 211 /* Store the handle for this shared object. It will be freed with 213 eap_methods->dl_handle = handle; 234 void *handle; local 253 handle 348 void *handle; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/ |
H A D | eap_methods.c | 184 void *handle; local 188 handle = dlopen(so, RTLD_LAZY); 189 if (handle == NULL) { 195 dyn_init = dlsym(handle, "eap_peer_method_dynamic_init"); 197 dlclose(handle); 205 dlclose(handle); 211 /* Store the handle for this shared object. It will be freed with 213 eap_methods->dl_handle = handle; 234 void *handle; local 253 handle 348 void *handle; local [all...] |
/external/bluetooth/bluedroid/stack/mcap/ |
H A D | mca_main.c | 62 ** Description This function returns the handle for the given control 65 ** Returns the MCA handle. 71 tMCA_HANDLE handle = 0; local 78 handle = i+1; 82 return handle; 89 ** Description This function returns the handle for the given data 92 ** Returns the MCA handle. 98 tMCA_HANDLE handle = 0; local 105 handle = i+1; 109 return handle; 539 mca_rcb_dealloc(tMCA_HANDLE handle) argument 598 mca_rcb_by_handle(tMCA_HANDLE handle) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/tests/graw/ |
H A D | quad-sample.c | 88 void *handle; local 97 handle = ctx->create_vertex_elements_state(ctx, 2, ve); 98 ctx->bind_vertex_elements_state(ctx, handle); 114 void *handle; local 125 handle = graw_parse_vertex_shader(ctx, text); 126 ctx->bind_vs_state(ctx, handle); 131 void *handle; local 143 handle = graw_parse_fragment_shader(ctx, text); 144 ctx->bind_fs_state(ctx, handle); 360 void *handle; local 369 void *handle; local 377 void *handle; local [all...] |
/external/deqp/framework/delibs/deutil/ |
H A D | deFile.c | 52 deFile* deFile_createFromHandle (deUintptr handle) argument 54 int fd = (int)handle; 214 HANDLE handle; member in struct:deFile_s 227 deFile* deFile_createFromHandle (deUintptr handle) argument 232 CloseHandle((HANDLE)handle); 236 file->handle = (HANDLE)handle; 244 HANDLE handle = DE_NULL; local 286 handle = CreateFile(filename, access, FILE_SHARE_DELETE|FILE_SHARE_READ|FILE_SHARE_WRITE, DE_NULL, create, FILE_ATTRIBUTE_NORMAL, DE_NULL); 287 if (handle [all...] |
/external/mesa3d/src/gallium/tests/graw/ |
H A D | quad-sample.c | 88 void *handle; local 97 handle = ctx->create_vertex_elements_state(ctx, 2, ve); 98 ctx->bind_vertex_elements_state(ctx, handle); 114 void *handle; local 125 handle = graw_parse_vertex_shader(ctx, text); 126 ctx->bind_vs_state(ctx, handle); 131 void *handle; local 143 handle = graw_parse_fragment_shader(ctx, text); 144 ctx->bind_fs_state(ctx, handle); 360 void *handle; local 369 void *handle; local 377 void *handle; local [all...] |
/external/chromium_org/mojo/android/system/src/org/chromium/mojo/system/impl/ |
H A D | CoreImpl.java | 41 * the size of a handle, in bytes. 51 * The mojo handle for an invalid handle. 87 for (Pair<Handle, WaitFlags> handle : handles) { 88 buffer.putInt(HANDLE_SIZE * index, getMojoHandle(handle.first)); 90 handle.second.getFlags()); 95 // If result is greater than 0, result is the indexed of the available handle. To make sure 106 public int wait(Handle handle, WaitFlags flags, long deadline) { argument 107 return filterMojoResultForWait(nativeWait(getMojoHandle(handle), 179 public Cancellable asyncWait(Handle handle, WaitFlag argument 228 readMessage(MessagePipeHandleImpl handle, ByteBuffer bytes, int maxNumberOfHandles, MessagePipeHandle.ReadFlags flags) argument 263 discardData(DataPipeConsumerHandleImpl handle, int numBytes, DataPipe.ReadFlags flags) argument 276 readData(DataPipeConsumerHandleImpl handle, ByteBuffer elements, DataPipe.ReadFlags flags) argument 293 beginReadData(DataPipeConsumerHandleImpl handle, int numBytes, DataPipe.ReadFlags flags) argument 308 endReadData(DataPipeConsumerHandleImpl handle, int numBytesRead) argument 319 writeData(DataPipeProducerHandleImpl handle, ByteBuffer elements, DataPipe.WriteFlags flags) argument 328 beginWriteData(DataPipeProducerHandleImpl handle, int numBytes, DataPipe.WriteFlags flags) argument 343 endWriteData(DataPipeProducerHandleImpl handle, int numBytesWritten) argument 354 duplicate(SharedBufferHandleImpl handle, DuplicateOptions options) argument 374 map(SharedBufferHandleImpl handle, long offset, long numBytes, MapFlags flags) argument 397 getMojoHandle(Handle handle) argument [all...] |
/external/chromium_org/base/threading/ |
H A D | thread_id_name_manager.cc | 43 void ThreadIdNameManager::RegisterThread(PlatformThreadHandle::Handle handle, argument 46 thread_id_to_handle_[id] = handle; 47 thread_handle_to_interned_name_[handle] = 93 void ThreadIdNameManager::RemoveName(PlatformThreadHandle::Handle handle, argument 97 thread_handle_to_interned_name_.find(handle); 106 // mapping points to the provided |handle| before removal. 107 if (id_to_handle_iter->second != handle)
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/ |
H A D | svga_surface.c | 60 src.handle = src_handle; 65 dst.handle = dst_handle; 115 struct svga_winsys_surface *handle; local 145 handle = svga_screen_surface_create(ss, key); 146 if (!handle) { 151 SVGA_DBG(DEBUG_DMA, " --> got sid %p (texture view)\n", handle); 167 tex->handle, 171 handle, 0, 0, 0, i, j, 179 return handle; 264 s->handle [all...] |
/external/chromium_org/third_party/npapi/npspy/common/ |
H A D | plugload.cpp | 116 HANDLE handle = FindFirstFile(search_path.c_str(), &ffdataStruct); local 117 if(handle == INVALID_HANDLE_VALUE) 119 FindClose(handle); 173 FindClose(handle); 185 } while(FindNextFile(handle, &ffdataStruct)); 187 FindClose(handle);
|
/external/chromium_org/third_party/openssl/openssl/crypto/ |
H A D | LPdir_win.c | 51 HANDLE handle; member in struct:LP_dir_context_st 95 (*ctx)->handle = FindFirstFile(wdir, &(*ctx)->ctx); 100 (*ctx)->handle = FindFirstFile((TCHAR *)directory, &(*ctx)->ctx); 102 if ((*ctx)->handle == INVALID_HANDLE_VALUE) 112 if (FindNextFile((*ctx)->handle, &(*ctx)->ctx) == FALSE) 146 FindClose((*ctx)->handle);
|
/external/kernel-headers/original/uapi/drm/ |
H A D | tegra_drm.h | 28 __u32 handle; member in struct:drm_tegra_gem_create 32 __u32 handle; member in struct:drm_tegra_gem_mmap 83 __u32 handle; member in struct:drm_tegra_cmdbuf 91 __u32 handle; member in struct:drm_tegra_reloc::__anon22043 95 __u32 handle; member in struct:drm_tegra_reloc::__anon22044 103 __u32 handle; member in struct:drm_tegra_waitchk
|
/external/llvm/lib/Support/ |
H A D | DynamicLibrary.cpp | 60 void *handle = dlopen(filename, RTLD_LAZY|RTLD_GLOBAL); local 61 if (!handle) { 68 // with the handle of dlopen(NULL, RTLD_GLOBAL). 70 handle = RTLD_DEFAULT; 76 // If we've already loaded this library, dlclose() the handle in order to 78 if (!OpenedHandles->insert(handle).second) 79 dlclose(handle); 81 return DynamicLibrary(handle);
|
/external/openssl/crypto/ |
H A D | LPdir_win.c | 51 HANDLE handle; member in struct:LP_dir_context_st 95 (*ctx)->handle = FindFirstFile(wdir, &(*ctx)->ctx); 100 (*ctx)->handle = FindFirstFile((TCHAR *)directory, &(*ctx)->ctx); 102 if ((*ctx)->handle == INVALID_HANDLE_VALUE) 112 if (FindNextFile((*ctx)->handle, &(*ctx)->ctx) == FALSE) 146 FindClose((*ctx)->handle);
|
/external/bluetooth/bluedroid/bta/pan/ |
H A D | bta_pan_act.c | 89 static void bta_pan_conn_state_cback(UINT16 handle, BD_ADDR bd_addr, tPAN_RESULT state, argument 102 if((p_scb = bta_pan_scb_by_handle(handle)) == NULL) 111 PAN_Disconnect (handle); 115 p_scb->handle = handle; 141 p_buf->hdr.layer_specific = handle; 160 static void bta_pan_data_flow_cb(UINT16 handle, tPAN_RESULT result) argument 165 if((p_scb = bta_pan_scb_by_handle(handle)) == NULL) 172 p_buf->layer_specific = handle; 176 bta_pan_co_rx_flow(handle, p_sc 201 bta_pan_data_buf_ind_cback(UINT16 handle, BD_ADDR src, BD_ADDR dst, UINT16 protocol, BT_HDR *p_buf, BOOLEAN ext, BOOLEAN forward) argument 266 bta_pan_pfilt_ind_cback(UINT16 handle, BOOLEAN indication,tBNEP_RESULT result, UINT16 num_filters, UINT8 *p_filters) argument 287 bta_pan_mfilt_ind_cback(UINT16 handle, BOOLEAN indication,tBNEP_RESULT result, UINT16 num_mfilters, UINT8 *p_mfilters) argument [all...] |
/external/bluetooth/bluedroid/btif/src/ |
H A D | btif_hf_client.c | 104 /* BTIF-HF control block to map bdaddr to BTA handle */ 107 UINT16 handle; member in struct:__anon1076 222 BTA_HfClientOpen(btif_hf_client_cb.handle, btif_hf_client_cb.connected_bda.address, 251 BTA_HfClientClose(btif_hf_client_cb.handle); 275 BTA_HfClientSendAT(btif_hf_client_cb.handle, BTA_HF_CLIENT_AT_CMD_BCC, 0, 0, NULL); 279 BTA_HfClientAudioOpen(btif_hf_client_cb.handle); 306 BTA_HfClientAudioClose(btif_hf_client_cb.handle); 328 BTA_HfClientSendAT(btif_hf_client_cb.handle, BTA_HF_CLIENT_AT_CMD_BVRA, 1, 0, NULL); 351 BTA_HfClientSendAT(btif_hf_client_cb.handle, BTA_HF_CLIENT_AT_CMD_BVRA, 0, 0, NULL); 377 BTA_HfClientSendAT(btif_hf_client_cb.handle, BTA_HF_CLIENT_AT_CMD_VG [all...] |
/external/chromium_org/net/socket/ |
H A D | client_socket_pool_base_unittest.cc | 49 // Make sure |handle| sets load times correctly when it has been assigned a 51 void TestLoadTimingInfoConnectedReused(const ClientSocketHandle& handle) { argument 55 EXPECT_TRUE(handle.GetLoadTimingInfo(true, &load_timing_info)); 64 // Make sure |handle| sets load times correctly when it has been assigned a 68 void TestLoadTimingInfoConnectedNotReused(const ClientSocketHandle& handle) { argument 69 EXPECT_FALSE(handle.is_reused()); 72 EXPECT_TRUE(handle.GetLoadTimingInfo(false, &load_timing_info)); 81 TestLoadTimingInfoConnectedReused(handle); 84 // Make sure |handle| sets load times correctly, in the case that it does not 86 void TestLoadTimingInfoNotConnected(const ClientSocketHandle& handle) { argument 832 ClientSocketHandle handle; local 872 ClientSocketHandle handle; local 1117 ClientSocketHandle handle; local 1289 ClientSocketHandle handle; local 1305 ClientSocketHandle handle; local 1383 ClientSocketHandle handle; local 1398 ClientSocketHandle handle; local 1463 RequestSocketCallback(ClientSocketHandle* handle, TestClientSocketPool* pool, TestConnectJobFactory* test_connect_job_factory, TestConnectJob::JobType next_job_type) argument 1549 ClientSocketHandle handle; local 1568 ClientSocketHandle handle; local 1637 ClientSocketHandle handle; local 1705 ClientSocketHandle handle; local 1747 ClientSocketHandle handle; local 1785 ClientSocketHandle handle; local 1955 ClientSocketHandle handle; local 1978 ClientSocketHandle handle; local 2023 ClientSocketHandle handle; local 2071 ClientSocketHandle handle; local 2129 ClientSocketHandle handle; local 2143 ClientSocketHandle handle; local 2163 ClientSocketHandle handle; local 2183 ClientSocketHandle handle; local 2212 ClientSocketHandle handle; local 2269 ClientSocketHandle handle; local 2347 ClientSocketHandle handle; local 2421 ClientSocketHandle handle; local 2596 ClientSocketHandle* handle() { return &handle_; } function in class:net::__anon8916::TestReleasingSocketRequest 2661 ClientSocketHandle handle; local 2680 ClientSocketHandle handle; local 2755 ClientSocketHandle handle; local 2782 ClientSocketHandle handle; local 2824 ClientSocketHandle handle; local 2854 ClientSocketHandle handle; local 3586 ClientSocketHandle handle; local 3722 ClientSocketHandle handle; local 3761 ClientSocketHandle handle; local 3870 ClientSocketHandle handle; local 3907 ClientSocketHandle handle; local 4058 ClientSocketHandle handle; local [all...] |
/external/bluetooth/bluedroid/stack/include/ |
H A D | sdp_api.h | 432 ** Returns Record handle if OK, else 0. 446 ** If a record handle of 0 is passed, all records are deleted. 451 SDP_API extern BOOLEAN SDP_DeleteRecord (UINT32 handle); 459 ** with the given handle from the database. 467 SDP_API extern INT32 SDP_ReadRecord(UINT32 handle, UINT8 *p_data, INT32 *p_data_len); 483 SDP_API extern BOOLEAN SDP_AddAttribute (UINT32 handle, UINT16 attr_id, 502 SDP_API extern BOOLEAN SDP_AddSequence (UINT32 handle, UINT16 attr_id, 519 SDP_API extern BOOLEAN SDP_AddUuidSequence (UINT32 handle, UINT16 attr_id, 535 SDP_API extern BOOLEAN SDP_AddProtocolList (UINT32 handle, UINT16 num_elem, 551 SDP_API extern BOOLEAN SDP_AddAdditionProtoLists (UINT32 handle, UINT1 [all...] |
/external/libpcap/ |
H A D | pcap-sita.c | 355 static void pcap_cleanup_acn(pcap_t *handle) { argument 359 if (find_unit_by_fd(handle->fd, &chassis, &geoslot, &u) == 0) 364 pcap_cleanup_live_common(handle); 801 static int pcap_stats_acn(pcap_t *handle, struct pcap_stat *ps) { argument 804 send_to_fd(handle->fd, 1, (unsigned char *)"S"); /* send the get_stats command to the IOP */ 806 if (read_client_nbytes(handle->fd, sizeof(buf), buf) == -1) return -1; /* try reading the required bytes */ 870 static int pcap_setfilter_acn(pcap_t *handle, struct bpf_program *bpf) { argument 871 int fd = handle->fd; 896 static int pcap_setdirection_acn(pcap_t *handle, pcap_direction_t d) { argument 897 snprintf(handle 902 acn_read_n_bytes_with_timeout(pcap_t *handle, int count) argument 939 pcap_read_acn(pcap_t *handle, int max_packets, pcap_handler callback, u_char *user) argument 963 pcap_activate_sita(pcap_t *handle) argument [all...] |
/external/webrtc/src/modules/audio_processing/utility/ |
H A D | delay_estimator_wrapper.c | 143 int WebRtc_FreeDelayEstimator(void* handle) { argument 144 DelayEstimator* self = (DelayEstimator*) handle; 166 int WebRtc_CreateDelayEstimator(void** handle, argument 176 if (handle == NULL) { 184 *handle = self; 219 int WebRtc_InitDelayEstimator(void* handle) { argument 220 DelayEstimator* self = (DelayEstimator*) handle; 242 int WebRtc_DelayEstimatorProcessFix(void* handle, argument 248 DelayEstimator* self = (DelayEstimator*) handle; 291 int WebRtc_DelayEstimatorProcessFloat(void* handle, argument 328 WebRtc_last_delay(void* handle) argument [all...] |