Searched refs:hnd (Results 1 - 25 of 25) sorted by relevance

/external/curl/lib/
H A Dcurl_threads.c83 void Curl_thread_destroy(curl_thread_t hnd) argument
85 if(hnd != curl_thread_t_null) {
86 pthread_detach(*hnd);
87 free(hnd);
91 int Curl_thread_join(curl_thread_t *hnd) argument
93 int ret = (pthread_join(**hnd, NULL) == 0);
95 free(*hnd);
96 *hnd = curl_thread_t_null;
125 void Curl_thread_destroy(curl_thread_t hnd) argument
127 CloseHandle(hnd);
130 Curl_thread_join(curl_thread_t *hnd) argument
[all...]
H A Dcurl_threads.h57 void Curl_thread_destroy(curl_thread_t hnd);
59 int Curl_thread_join(curl_thread_t *hnd);
/external/curl/src/
H A Dtool_cb_see.c95 # define _lseeki64(hnd,ofs,whence) lseek(hnd,ofs,whence)
101 # define _lseeki64(hnd,ofs,whence) _lseek(hnd,ofs,whence)
103 # define _lseeki64(hnd,ofs,whence) _lseek64(hnd,ofs,whence)
110 # define _lseeki64(hnd,ofs,whence) lseek(hnd,ofs,whence)
/external/curl/tests/unit/
H A Dunit1396.c24 static CURL *hnd; variable
36 if(hnd)
37 curl_easy_cleanup(hnd);
82 hnd = curl_easy_init();
83 abort_unless(hnd != NULL, "returned NULL!");
86 char *out = curl_easy_unescape(hnd,
102 char *out = curl_easy_escape(hnd, list2[i].in, list2[i].inlen);
/external/selinux/libselinux/utils/
H A Dselabel_partial_match.c33 struct selabel_handle *hnd; local
61 hnd = selabel_open(SELABEL_CTX_FILE, selabel_option, 2);
62 if (!hnd) {
68 partial_match = selabel_partial_match(hnd, path);
73 selabel_close(hnd);
H A Dselabel_lookup.c38 struct selabel_handle *hnd; local
91 hnd = selabel_open(backend, selabel_option, 2);
92 if (!hnd) {
100 rc = selabel_lookup_raw(hnd, &context, key, type);
103 rc = selabel_lookup(hnd, &context, key, type);
105 selabel_close(hnd);
H A Dselabel_lookup_best_match.c60 struct selabel_handle *hnd; local
117 hnd = selabel_open(SELABEL_CTX_FILE, options, 2);
118 if (!hnd) {
126 rc = selabel_lookup_best_match_raw(hnd, &context, path,
129 rc = selabel_lookup_best_match(hnd, &context, path,
132 selabel_close(hnd);
H A Dselabel_digest.c72 struct selabel_handle *hnd; local
126 hnd = selabel_open(backend, selabel_option, 3);
127 if (!hnd) {
140 rc = selabel_digest(hnd, &sha1_digest, &digest_len, &specfiles,
188 selabel_close(hnd);
/external/curl/docs/examples/
H A Dhttp2-upload.c53 static int hnd2num(CURL *hnd) argument
57 if(curl_hnd[i] == hnd)
172 CURL *hnd; member in struct:input
185 static void setup(CURL *hnd, int num, const char *upload) argument
203 indata[num].hnd = hnd;
206 curl_easy_setopt(hnd, CURLOPT_WRITEDATA, out);
209 curl_easy_setopt(hnd, CURLOPT_READFUNCTION, read_callback);
211 curl_easy_setopt(hnd, CURLOPT_READDATA, &indata[num]);
213 curl_easy_setopt(hnd, CURLOPT_INFILESIZE_LARG
[all...]
H A Dhttp2-download.c51 static int hnd2num(CURL *hnd) argument
55 if(curl_hnd[i] == hnd)
150 static void setup(CURL *hnd, int num) argument
160 curl_easy_setopt(hnd, CURLOPT_WRITEDATA, out);
163 curl_easy_setopt(hnd, CURLOPT_URL, "https://localhost:8443/index.html");
166 curl_easy_setopt(hnd, CURLOPT_VERBOSE, 1L);
167 curl_easy_setopt(hnd, CURLOPT_DEBUGFUNCTION, my_trace);
170 curl_easy_setopt(hnd, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_2_0);
173 curl_easy_setopt(hnd, CURLOPT_SSL_VERIFYPEER, 0L);
174 curl_easy_setopt(hnd, CURLOPT_SSL_VERIFYHOS
[all...]
H A Dhttp2-serverpush.c131 static void setup(CURL *hnd) argument
136 curl_easy_setopt(hnd, CURLOPT_WRITEDATA, out);
139 curl_easy_setopt(hnd, CURLOPT_URL, "https://localhost:8443/index.html");
142 curl_easy_setopt(hnd, CURLOPT_VERBOSE, 1L);
143 curl_easy_setopt(hnd, CURLOPT_DEBUGFUNCTION, my_trace);
146 curl_easy_setopt(hnd, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_2_0);
149 curl_easy_setopt(hnd, CURLOPT_SSL_VERIFYPEER, 0L);
150 curl_easy_setopt(hnd, CURLOPT_SSL_VERIFYHOST, 0L);
154 curl_easy_setopt(hnd, CURLOPT_PIPEWAIT, 1L);
/external/selinux/policycoreutils/setfiles/
H A Drestorecon_xattr.c46 struct selabel_handle *hnd = NULL; local
110 hnd = selabel_open(SELABEL_CTX_FILE, selinux_opts, 2);
111 if (!hnd) {
125 selinux_restorecon_set_sehandle(hnd);
128 if (selabel_digest(hnd, &fc_digest, &fc_digest_len,
132 selabel_close(hnd);
141 selabel_close(hnd);
218 selabel_close(hnd);
H A Drestore.c25 r_opts->hnd = selabel_open(SELABEL_CTX_FILE, selinux_opts, 3);
26 if (!r_opts->hnd) {
42 selinux_restorecon_set_sehandle(r_opts->hnd);
H A Drestore.h41 struct selabel_handle *hnd; member in struct:restore_opts
H A Dsetfiles.c478 selabel_stats(r_opts.hnd);
480 selabel_close(r_opts.hnd);
/external/selinux/libselinux/src/
H A Dmatchpathcon.c68 static __thread struct selabel_handle *hnd; variable in typeref:struct:selabel_handle
350 hnd = selabel_open(SELABEL_CTX_FILE, options, SELABEL_NOPT);
351 return hnd ? 0 : -1;
365 if (hnd) {
366 selabel_close(hnd);
367 hnd = NULL;
435 if (!hnd && (matchpathcon_init_prefix(NULL, NULL) < 0))
448 selabel_lookup_raw(hnd, con, path, mode) :
449 selabel_lookup(hnd, con, path, mode);
464 selabel_stats(hnd);
[all...]
/external/selinux/restorecond/
H A Drestore.c25 r_opts->hnd = selabel_open(SELABEL_CTX_FILE, selinux_opts, 3);
26 if (!r_opts->hnd) {
41 selinux_restorecon_set_sehandle(r_opts->hnd);
H A Drestore.h47 struct selabel_handle *hnd; member in struct:restore_opts
H A Drestorecond.c84 selabel_close(r_opts.hnd);
/external/ltp/testcases/kernel/fs/iso9660/
H A Disofs.sh71 while getopts :hnd: arg; do
/external/libpcap/msdos/
H A Dndis2.c209 #define MAC_DISPATCH(hnd) ((struct _MacUpperDispatch*)(hnd)->common->upperDispatchTable)
210 #define MAC_STATUS(hnd) ((struct _MacStatusTable*) (hnd)->common->serviceStatus)
211 #define MAC_CHAR(hnd) ((struct _MacChars*) (hnd)->common->serviceChars)
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
H A Dnv50_ir_lowering_nvc0.cpp746 Value *hnd = loadTexHandle(i->getIndirectR(), i->tex.r); local
749 i->setIndirectR(hnd);
758 Value *hnd = bld.getScratch(); local
762 bld.mkOp3(OP_INSBF, TYPE_U32, hnd, rHnd, bld.mkImm(0x1400), sHnd);
766 i->setIndirectR(hnd);
785 Value *hnd = i->getIndirectR(); local
789 i->setSrc(0, hnd);
795 Value *hnd = i->getIndirectR(); local
799 i->setSrc(arg, hnd);
1114 Value *hnd local
[all...]
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Ddriver_ndis.c2399 DWORD i, hnd, len; local
2473 len = sizeof(hnd);
2475 (PUCHAR) &hnd, &len);
2486 if (!DeactivateDevice((HANDLE) hnd)) {
/external/wpa_supplicant_8/src/drivers/
H A Ddriver_ndis.c2399 DWORD i, hnd, len; local
2473 len = sizeof(hnd);
2475 (PUCHAR) &hnd, &len);
2486 if (!DeactivateDevice((HANDLE) hnd)) {
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Ddriver_ndis.c2399 DWORD i, hnd, len; local
2473 len = sizeof(hnd);
2475 (PUCHAR) &hnd, &len);
2486 if (!DeactivateDevice((HANDLE) hnd)) {

Completed in 938 milliseconds