Searched refs:ret (Results 176 - 200 of 2809) sorted by relevance

1234567891011>>

/external/libselinux/src/
H A Dcheck_context.c15 int fd, ret; local
27 ret = write(fd, con, strlen(con) + 1);
29 if (ret < 0)
H A Ddisable.c14 int fd, ret; local
30 ret = write(fd, buf, strlen(buf));
32 if (ret < 0)
H A Dgetenforce.c14 int fd, ret, enforce = 0; local
29 ret = read(fd, buf, sizeof buf - 1);
31 if (ret < 0)
H A Dsetenforce.c14 int fd, ret; local
29 ret = write(fd, buf, strlen(buf));
31 if (ret < 0)
/external/openssl/crypto/evp/
H A Dp_dec.c72 int ret= -1; local
83 ret=RSA_private_decrypt(ekl,ek,key,priv->pkey.rsa,RSA_PKCS1_PADDING);
86 return(ret);
H A Dp_enc.c72 int ret=0; local
82 ret=RSA_public_encrypt(key_len,key,ek,pubk->pkey.rsa,RSA_PKCS1_PADDING);
85 return(ret);
/external/qemu/android/protocol/
H A Dfb-updates-proxy.c120 FBUpdateNotify* ret = malloc(sizeof(FBUpdateNotify) + rect_size); local
122 ret->next_fb_update = NULL;
123 ret->proxy_fb = proxy_fb;
124 ret->message_size = sizeof(FBUpdateMessage) + rect_size;
125 ret->message.x = x;
126 ret->message.y = y;
127 ret->message.w = w;
128 ret->message.h = h;
129 _copy_fb_rect(ret->message.rect, proxy_fb->ds->surface, x, y, w, h);
130 return ret;
259 ProxyFramebuffer* ret; local
[all...]
/external/qemu/block/
H A Dcow.c100 int ret; local
102 ret = bdrv_pread(bs->file, offset, &bitmap, sizeof(bitmap));
103 if (ret < 0) {
104 return ret;
109 ret = bdrv_pwrite_sync(bs->file, offset, &bitmap, sizeof(bitmap));
110 if (ret < 0) {
111 return ret;
120 int ret; local
122 ret = bdrv_pread(bs->file, offset, &bitmap, sizeof(bitmap));
123 if (ret <
176 int ret, n; local
206 int ret; local
227 int ret; local
[all...]
/external/tcpdump/
H A Dvfprintf.c49 int ret; local
57 ret = _doprnt(fmt, args, f);
58 return ferror(f) ? EOF : ret;
/external/webkit/Source/WebCore/platform/mac/
H A DPurgeableBufferMac.cpp61 kern_return_t ret = vm_allocate(mach_task_self(), &buffer, size, VM_FLAGS_PURGABLE | VM_FLAGS_ANYWHERE | VM_TAG_FOR_WEBCORE_PURGEABLE_MEMORY); local
63 ASSERT(ret == KERN_SUCCESS);
64 if (ret != KERN_SUCCESS)
67 ret = vm_copy(mach_task_self(), reinterpret_cast<vm_address_t>(data), size, buffer);
69 ASSERT(ret == KERN_SUCCESS);
70 if (ret != KERN_SUCCESS) {
94 kern_return_t ret = vm_purgable_control(mach_task_self(), reinterpret_cast<vm_address_t>(m_data), VM_PURGABLE_SET_STATE, &state); local
96 if (ret != KERN_SUCCESS) {
112 kern_return_t ret = vm_purgable_control(mach_task_self(), reinterpret_cast<vm_address_t>(m_data), VM_PURGABLE_SET_STATE, &state); local
114 if (ret !
132 kern_return_t ret = vm_purgable_control(mach_task_self(), reinterpret_cast<vm_address_t>(m_data), VM_PURGABLE_GET_STATE, &state); local
[all...]
/external/openssl/crypto/dso/
H A Ddso_lib.c96 DSO *ret; local
103 ret = (DSO *)OPENSSL_malloc(sizeof(DSO));
104 if(ret == NULL)
109 memset(ret, 0, sizeof(DSO));
110 ret->meth_data = sk_void_new_null();
111 if(ret->meth_data == NULL)
115 OPENSSL_free(ret);
119 ret->meth = default_DSO_meth;
121 ret->meth = meth;
122 ret
196 DSO *ret; local
257 void *ret = NULL; local
280 DSO_FUNC_TYPE ret = NULL; local
[all...]
/external/openssl/crypto/buffer/
H A Dbuffer.c70 BUF_MEM *ret; local
72 ret=OPENSSL_malloc(sizeof(BUF_MEM));
73 if (ret == NULL)
78 ret->length=0;
79 ret->max=0;
80 ret->data=NULL;
81 return(ret);
99 char *ret; local
121 ret=OPENSSL_malloc(n);
123 ret
141 char *ret; local
[all...]
/external/qemu/
H A Dposix-aio-compat.c49 ssize_t ret; member in struct:qemu_paiocb
90 int ret = pthread_mutex_lock(mutex); local
91 if (ret) die2(ret, "pthread_mutex_lock");
96 int ret = pthread_mutex_unlock(mutex); local
97 if (ret) die2(ret, "pthread_mutex_unlock");
103 int ret = pthread_cond_timedwait(cond, mutex, ts); local
104 if (ret && ret !
110 int ret = pthread_cond_signal(cond); local
117 int ret = pthread_create(thread, attr, start_routine, arg); local
123 int ret; local
142 int ret; local
312 ssize_t ret = 0; local
398 ssize_t ret; local
409 ssize_t ret = qemu_paio_return(aiocb); local
423 int ret; local
508 ssize_t ret; local
626 int ret; local
[all...]
/external/qemu/android/utils/
H A Dpath.c42 # define CHECKED(ret, call) (ret) = (call)
44 # define CHECKED(ret, call) do { (ret) = (call); } while ((ret) < 0 && errno == EINTR)
221 int ret; local
222 CHECKED(ret, access(path, F_OK));
223 return (ret == 0) || (errno != ENOENT);
230 int ret; local
233 CHECKED(ret, sta
245 int ret; local
259 int ret; local
267 int ret; local
275 int ret; local
299 int ret; local
345 int ret = 0; local
573 int ret = _unlink( path ); local
[all...]
/external/openssl/crypto/pem/
H A Dpem_pkey.c82 EVP_PKEY *ret=NULL; local
92 ret = EVP_PKCS82PKEY(p8inf);
95 *x = ret;
116 ret = EVP_PKCS82PKEY(p8inf);
119 *x = ret;
128 ret=d2i_PrivateKey(ameth->pkey_id,x,&p,len);
131 if (ret == NULL)
137 return(ret);
162 EVP_PKEY *ret=NULL; local
171 ret
212 EVP_PKEY *ret; local
230 int ret; local
[all...]
/external/openssl/crypto/stack/
H A Dstack.c94 _STACK *ret; local
97 if ((ret=sk_new(sk->comp)) == NULL) goto err;
98 s=(char **)OPENSSL_realloc((char *)ret->data,
101 ret->data=s;
103 ret->num=sk->num;
104 memcpy(ret->data,sk->data,sizeof(char *)*sk->num);
105 ret->sorted=sk->sorted;
106 ret->num_alloc=sk->num_alloc;
107 ret->comp=sk->comp;
108 return(ret);
122 _STACK *ret; local
192 char *ret; local
[all...]
/external/wpa_supplicant_8/wpa_supplicant/
H A Dctrl_iface.c53 int ret; local
106 ret = wpa_drv_sched_scan(wpa_s, &params, 10 * 1000);
108 if (ret == 0)
110 return ret;
165 int ret = 0; local
188 ret = -1;
193 ret = -1;
196 ret = -1;
204 ret = -1;
221 ret
385 int ret; local
409 int ret; local
525 int ret; local
578 int ret; local
692 int ret; local
1017 int res, verbose, wps, ret; local
1228 int ret; local
1321 int ret; local
1372 int ret; local
1424 int first = 1, ret; local
1480 int first, ret; local
1577 int ret; local
1622 int ret; local
1699 int ret; local
1828 int ret; local
2025 int ret; local
2057 int ret; local
2149 int ret; local
2175 int ret, first = 1; local
2231 int ret, first = 1; local
2296 int ret; local
2349 int ret, first = 1; local
2391 int ret, first = 1; local
2440 int ret, i, j; local
2549 int ret; local
2582 int ret; local
2841 int ret = 0; local
3106 int ret; local
3477 int ret; local
4078 int used, ret = -1; local
4227 int ret; local
4257 int ret; local
4338 int ret; local
4358 int ret; local
4376 int ret; local
4556 int ret = wpas_wps_er_pbc(wpa_s, buf + 11); local
[all...]
H A Dmain_winsvc.c68 LONG ret; local
72 ret = RegOpenKeyEx(_hk, name, 0, KEY_QUERY_VALUE, &hk);
73 if (ret != ERROR_SUCCESS) {
82 ret = RegQueryValueEx(hk, TEXT("ctrl_interface"), NULL, NULL,
84 if (ret == ERROR_SUCCESS) {
93 ret = RegQueryValueEx(hk, TEXT("adapter"), NULL, NULL,
95 if (ret == ERROR_SUCCESS) {
104 ret = RegQueryValueEx(hk, TEXT("config"), NULL, NULL,
106 if (ret == ERROR_SUCCESS) {
115 ret
141 LONG ret; local
241 int ret = wpa_supplicant_thread(); local
425 int ret; local
[all...]
/external/linux-tools-perf/util/
H A Dprobe-finder.c255 int ret; local
260 ret = dwarf_getsrcfiles(cu_die, &files, &nfiles);
261 if (ret != 0)
314 Dwarf_Word ret; local
319 dwarf_formudata(&attr, &ret);
320 return (int)ret;
377 Dwarf_Word ret; local
379 if (die_get_attr_udata(tp_die, DW_AT_encoding, &ret))
382 return (ret == DW_ATE_signed_char || ret
388 Dwarf_Word ret; local
398 Dwarf_Word ret; local
408 Dwarf_Word ret; local
422 int ret; local
457 int ret; local
619 int lineno, ret = 0; local
742 int tag, ret, ret2; local
777 int ret, ret2; local
820 int ret; local
907 int ret; local
1004 int ret, tag; local
1115 int ret; local
1144 int ret, nscopes; local
1251 int ret; local
1295 int ret; local
1355 int ret; local
1376 int ret = 0; local
1523 int ret = 0; local
1604 int ret, i; local
1645 int ret; local
1673 int tag, ret; local
1703 int ret, nscopes; local
1756 int ret; local
1791 int baseline = 0, lineno = 0, ret = 0; local
1920 int ret; local
1995 int ret = 0; local
[all...]
/external/openssl/crypto/x509/
H A Dx509_lu.c67 X509_LOOKUP *ret; local
69 ret=(X509_LOOKUP *)OPENSSL_malloc(sizeof(X509_LOOKUP));
70 if (ret == NULL) return NULL;
72 ret->init=0;
73 ret->skip=0;
74 ret->method=method;
75 ret->method_data=NULL;
76 ret->store_ctx=NULL;
77 if ((method->new_item != NULL) && !method->new_item(ret))
79 OPENSSL_free(ret);
112 X509_LOOKUP_ctrl(X509_LOOKUP *ctx, int cmd, const char *argc, long argl, char **ret) argument
122 X509_LOOKUP_by_subject(X509_LOOKUP *ctx, int type, X509_NAME *name, X509_OBJECT *ret) argument
131 X509_LOOKUP_by_issuer_serial(X509_LOOKUP *ctx, int type, X509_NAME *name, ASN1_INTEGER *serial, X509_OBJECT *ret) argument
140 X509_LOOKUP_by_fingerprint(X509_LOOKUP *ctx, int type, unsigned char *bytes, int len, X509_OBJECT *ret) argument
148 X509_LOOKUP_by_alias(X509_LOOKUP *ctx, int type, char *str, int len, X509_OBJECT *ret) argument
159 int ret; local
180 X509_STORE *ret; local
289 X509_STORE_get_by_subject(X509_STORE_CTX *vs, int type, X509_NAME *name, X509_OBJECT *ret) argument
337 int ret=1; local
370 int ret=1; local
628 int i, ok, idx, ret; local
[all...]
/external/openssl/crypto/asn1/
H A Dasn1_lib.c97 int i,ret; local
104 ret=(*p&V_ASN1_CONSTRUCTED);
145 ret|=0x80;
148 return(ret|inf);
157 unsigned long ret=0; local
164 ret=0;
178 ret<<=8L;
179 ret|= *(p++);
184 ret=i;
186 if (ret > LONG_MA
259 int ret; local
356 ASN1_STRING *ret; local
423 ASN1_STRING *ret; local
[all...]
/external/openssl/crypto/pkcs7/
H A Dbio_ber.c160 int ret; local
200 ret=ASN1_get_object(&p,&length,&tag,&class,max);
202 if (ret & 0x80)
222 if (ret & 0x01)
223 if (ret & V_ASN1_CONSTRUCTED)
228 int ret=0,i,n; local
256 ret+=i;
264 return(ret);
275 int ret=0,n,i; local
279 ret
332 long ret=1; local
416 long ret=1; local
[all...]
/external/wpa_supplicant_6/wpa_supplicant/
H A Dmain_winsvc.c74 LONG ret; local
78 ret = RegOpenKeyEx(_hk, name, 0, KEY_QUERY_VALUE, &hk);
79 if (ret != ERROR_SUCCESS) {
88 ret = RegQueryValueEx(hk, TEXT("ctrl_interface"), NULL, NULL,
90 if (ret == ERROR_SUCCESS) {
99 ret = RegQueryValueEx(hk, TEXT("adapter"), NULL, NULL,
101 if (ret == ERROR_SUCCESS) {
110 ret = RegQueryValueEx(hk, TEXT("config"), NULL, NULL,
112 if (ret == ERROR_SUCCESS) {
121 ret
147 LONG ret; local
247 int ret = wpa_supplicant_thread(); local
431 int ret; local
[all...]
/external/e2fsprogs/lib/ext2fs/
H A Dbb_compat.c29 errcode_t badblocks_list_create(badblocks_list *ret, int size) argument
31 return ext2fs_badblocks_list_create(ret, size);
50 badblocks_iterate *ret)
52 return ext2fs_badblocks_list_iterate_begin(bb, ret);
49 badblocks_list_iterate_begin(badblocks_list bb, badblocks_iterate *ret) argument
/external/kernel-headers/original/linux/
H A Dpercpu.h44 void *ret = kmalloc(size, GFP_KERNEL); local
45 if (ret)
46 memset(ret, 0, size);
47 return ret;

Completed in 2107 milliseconds

1234567891011>>