/external/libmtp/examples/ |
H A D | format.c | 52 int ret; local 69 ret = LIBMTP_Format_Storage(device, device->storage); 72 ret = 0; 75 if ( ret != 0 ) {
|
H A D | reset.c | 52 int ret; local 67 ret = LIBMTP_Reset_Device(device); 70 ret = 0; 73 if ( ret != 0 ) {
|
/external/libopus/silk/ |
H A D | control_SNR.c | 41 opus_int k, ret = SILK_NO_ERROR; local 80 return ret;
|
/external/libselinux/src/ |
H A D | deny_unknown.c | 14 int fd, ret, deny_unknown = 0; local 29 ret = read(fd, buf, sizeof(buf) - 1); 31 if (ret < 0)
|
H A D | fgetfilecon.c | 14 ssize_t ret; local 22 ret = fgetxattr(fd, XATTR_NAME_SELINUX, buf, size - 1); 23 if (ret < 0 && errno == ERANGE) { 37 ret = fgetxattr(fd, XATTR_NAME_SELINUX, buf, size - 1); 40 if (ret == 0) { 43 ret = -1; 45 if (ret < 0) 49 return ret;
|
H A D | getenforce.c | 14 int fd, ret, enforce = 0; local 29 ret = read(fd, buf, sizeof buf - 1); 31 if (ret < 0)
|
H A D | getfilecon.c | 14 ssize_t ret; local 22 ret = getxattr(path, XATTR_NAME_SELINUX, buf, size - 1); 23 if (ret < 0 && errno == ERANGE) { 37 ret = getxattr(path, XATTR_NAME_SELINUX, buf, size - 1); 40 if (ret == 0) { 43 ret = -1; 45 if (ret < 0) 49 return ret;
|
H A D | lgetfilecon.c | 14 ssize_t ret; local 22 ret = lgetxattr(path, XATTR_NAME_SELINUX, buf, size - 1); 23 if (ret < 0 && errno == ERANGE) { 37 ret = lgetxattr(path, XATTR_NAME_SELINUX, buf, size - 1); 40 if (ret == 0) { 43 ret = -1; 45 if (ret < 0) 49 return ret;
|
H A D | load_policy.c | 22 int fd, ret; local 34 ret = write(fd, data, len); 36 if (ret < 0)
|
H A D | policyvers.c | 15 int fd, ret; local 34 ret = read(fd, buf, sizeof buf - 1); 36 if (ret < 0)
|
H A D | setenforce.c | 14 int fd, ret; local 29 ret = write(fd, buf, strlen(buf)); 31 if (ret < 0)
|
/external/libunwind/src/ia64/ |
H A D | init.h | 32 int ret; local 87 ret = ia64_get (c, c->loc[IA64_REG_IP], &c->ip); 88 if (ret < 0) 89 return ret; 91 ret = ia64_get (c, c->cfm_loc, &c->cfm); 92 if (ret < 0) 93 return ret; 95 ret = ia64_get (c, c->loc[IA64_REG_PR], &c->pr); 96 if (ret < 0) 97 return ret; [all...] |
/external/libunwind/src/mi/ |
H A D | Gget_proc_info_by_ip.c | 33 int ret; local 35 ret = unwi_find_dynamic_proc_info (as, ip, pi, 0, as_arg); 36 if (ret == -UNW_ENOINFO) 37 ret = (*a->find_proc_info) (as, ip, pi, 0, as_arg); 38 return ret;
|
/external/libunwind/src/ppc64/ |
H A D | get_func_addr.c | 35 int ret; local 41 ret = (*a->access_mem) (as, addr, entry_point, 0, NULL); 42 if (ret < 0) 43 return ret;
|
/external/libunwind/src/unwind/ |
H A D | Backtrace.c | 34 int ret = _URC_NO_REASON; local 39 ret = _URC_FATAL_PHASE1_ERROR; 44 while (ret == _URC_NO_REASON) 47 ret = _URC_END_OF_STACK; 49 ret = _URC_FATAL_PHASE1_ERROR; 55 return ret;
|
H A D | Resume_or_Rethrow.c | 36 int ret; local 43 ret = _URC_FATAL_PHASE2_ERROR; 45 ret = _Unwind_Phase2 (exception_object, &context, &destroy_map); 50 return ret;
|
/external/linux-tools-perf/perf-3.12.0/tools/lib/traceevent/ |
H A D | event-utils.h | 49 char *ret; local 58 ret = string; 60 string = ret + strlen(ret) - 1; 61 while (string > ret) { 68 return ret;
|
/external/openssl/crypto/asn1/ |
H A D | d2i_pu.c | 78 EVP_PKEY *ret; local 82 if ((ret=EVP_PKEY_new()) == NULL) 88 else ret= *a; 90 if (!EVP_PKEY_set_type(ret, type)) 96 switch (EVP_PKEY_id(ret)) 100 if ((ret->pkey.rsa=d2i_RSAPublicKey(NULL, 110 if (!d2i_DSAPublicKey(&(ret->pkey.dsa), 120 if (!o2i_ECPublicKey(&(ret->pkey.ec), 133 if (a != NULL) (*a)=ret; 134 return(ret); [all...] |
H A D | x_x509.c | 87 X509 *ret = (X509 *)*pval; local 92 ret->valid=0; 93 ret->name = NULL; 94 ret->ex_flags = 0; 95 ret->ex_pathlen = -1; 96 ret->skid = NULL; 97 ret->akid = NULL; 99 ret->rfc3779_addr = NULL; 100 ret->rfc3779_asid = NULL; 102 ret [all...] |
/external/openssl/crypto/ec/ |
H A D | ec_check.c | 61 int ret = 0; local 113 ret = 1; 122 return ret;
|
/external/openssl/crypto/evp/ |
H A D | p_dec.c | 72 int ret= -1; local 83 ret=RSA_private_decrypt(ekl,ek,key,priv->pkey.rsa,RSA_PKCS1_PADDING); 86 return(ret);
|
H A D | p_enc.c | 72 int ret=0; local 82 ret=RSA_public_encrypt(key_len,key,ek,pubk->pkey.rsa,RSA_PKCS1_PADDING); 85 return(ret);
|
/external/openssl/crypto/x509/ |
H A D | x509_r2x.c | 70 X509 *ret=NULL; local 74 if ((ret=X509_new()) == NULL) 81 xi=ret->cert_info; 92 if (X509_set_subject_name(ret,X509_NAME_dup(xn)) == 0) 94 if (X509_set_issuer_name(ret,X509_NAME_dup(xn)) == 0) 102 X509_set_pubkey(ret,X509_REQ_get_pubkey(r)); 104 if (!X509_sign(ret,pkey,EVP_md5())) 109 X509_free(ret); 110 ret=NULL; 112 return(ret); [all...] |
H A D | x509type.c | 68 int ret=0,i; local 82 ret=EVP_PK_RSA|EVP_PKT_SIGN; 84 ret|=EVP_PKT_ENC; 87 ret=EVP_PK_DSA|EVP_PKT_SIGN; 90 ret=EVP_PK_EC|EVP_PKT_SIGN|EVP_PKT_EXCH; 93 ret=EVP_PK_DH|EVP_PKT_EXCH; 97 ret=EVP_PKT_EXCH|EVP_PKT_SIGN; 111 ret|=EVP_PKS_RSA; 115 ret|=EVP_PKS_DSA; 118 ret| [all...] |
/external/qemu/android/filesystems/testing/ |
H A D | TestSupport.cpp | 31 DWORD ret = GetTempPath(MAX_PATH, tempDir); local 32 CHECK(ret > 0 && ret < MAX_PATH) 43 int ret = HANDLE_EINTR(mkstemp(&result[0])); 44 PCHECK(ret >= 0) << "Could not create temporary filepath"; 45 ::close(ret);
|