/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_setpshared/ |
H A D | 2-1.c | 34 int ret; local 43 ret = pthread_mutexattr_setpshared(&mta, PTHREAD_PROCESS_PRIVATE); 44 if (ret != 0) { 45 printf("Test FAILED: Expected return code 0, got: %d", ret);
|
H A D | 2-2.c | 34 int ret; local 43 ret = pthread_mutexattr_setpshared(&mta, PTHREAD_PROCESS_SHARED); 44 if (ret != 0) { 45 printf("Test FAILED: Expected return code 0, got: %d\n", ret);
|
H A D | 3-1.c | 37 int ret; local 40 ret = pthread_mutexattr_setpshared(&mta, PTHREAD_PROCESS_PRIVATE); 41 if (ret != 0) { 42 if (ret == EINVAL) { 48 ret);
|
/external/tcpdump/ |
H A D | vfprintf.c | 44 int ret; local 52 ret = _doprnt(fmt, args, f); 53 return ferror(f) ? EOF : ret;
|
/external/wpa_supplicant_8/hostapd/ |
H A D | eap_register.c | 25 int ret = 0; local 28 if (ret == 0) 29 ret = eap_server_identity_register(); 33 if (ret == 0) 34 ret = eap_server_md5_register(); 38 if (ret == 0) 39 ret = eap_server_tls_register(); 43 if (ret == 0) 44 ret = eap_server_unauth_tls_register(); 49 if (ret [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
H A D | eap_register.c | 26 int ret = 0; local 29 if (ret == 0) 30 ret = eap_peer_md5_register(); 34 if (ret == 0) 35 ret = eap_peer_tls_register(); 39 if (ret == 0) 40 ret = eap_peer_unauth_tls_register(); 45 if (ret == 0) 46 ret = eap_peer_wfa_unauth_tls_register(); 51 if (ret [all...] |
/external/autotest/client/site_tests/security_AltSyscall/src/ |
H A D | adjtimex.c | 16 int ret; local 20 ret = adjtimex(&buf); 21 if (ret == -1) 25 ret = adjtimex(NULL); 26 if (ret != -1 || errno != EFAULT) 34 ret = adjtimex(&buf); 35 if (ret != -1 || errno != EPERM)
|
H A D | alt_syscall.c | 18 int ret; local 20 ret = prctl(PR_ALT_SYSCALL, PR_ALT_SYSCALL_SET_SYSCALL_TABLE, 22 if (ret < 0)
|
H A D | clock_adjtime.c | 16 int ret; local 20 ret = clock_adjtime(CLOCK_REALTIME, &buf); 21 if (ret == -1) 25 ret = clock_adjtime(CLOCK_REALTIME, NULL); 26 if (ret != -1 || errno != EFAULT) 34 ret = clock_adjtime(CLOCK_REALTIME, &buf); 35 if (ret != -1 || errno != EPERM)
|
/external/boringssl/src/crypto/x509/ |
H A D | x_info.c | 66 X509_INFO *ret = NULL; local 68 ret = (X509_INFO *)OPENSSL_malloc(sizeof(X509_INFO)); 69 if (ret == NULL) { 74 ret->enc_cipher.cipher = NULL; 75 ret->enc_len = 0; 76 ret->enc_data = NULL; 78 ret->x509 = NULL; 79 ret->crl = NULL; 80 ret->x_pkey = NULL; 81 return (ret); [all...] |
H A D | x_pkey.c | 71 X509_PKEY *ret = OPENSSL_malloc(sizeof(X509_PKEY)); local 72 if (ret == NULL) { 76 OPENSSL_memset(ret, 0, sizeof(X509_PKEY)); 78 ret->enc_algor = X509_ALGOR_new(); 79 if (ret->enc_algor == NULL) 81 ret->enc_pkey = M_ASN1_OCTET_STRING_new(); 82 if (ret->enc_pkey == NULL) 84 return ret; 87 if (ret != NULL) 88 X509_PKEY_free(ret); [all...] |
/external/boringssl/src/decrepit/x509/ |
H A D | x509_decrepit.c | 34 X509_EXTENSION *ret = X509V3_EXT_nconf_nid(nconf, ctx, ext_nid, value); local 41 return ret;
|
/external/elfutils/libdw/ |
H A D | dwarf_macro_param.c | 36 dwarf_macro_param (Dwarf_Macro *macro, size_t idx, Dwarf_Attribute *ret) argument 44 *ret = macro->attributes[idx];
|
/external/elfutils/libelf/ |
H A D | elf_next.c | 45 Elf_Cmd ret; local 63 ret = __libelf_next_arhdr_wrlock (parent) != 0 ? ELF_C_NULL : elf->cmd; 66 if (ret == ELF_C_NULL) 71 return ret;
|
/external/libcxx/test/std/experimental/iterator/ostream.joiner/ostream.joiner.ops/ |
H A D | ostream_joiner.op.postincrement.pass.cpp | 31 exp::ostream_joiner<Delim, CharT, Traits> &ret = oj++; local 32 assert( &ret == &oj );
|
H A D | ostream_joiner.op.pretincrement.pass.cpp | 31 exp::ostream_joiner<Delim, CharT, Traits> &ret = ++oj; local 32 assert( &ret == &oj );
|
H A D | ostream_joiner.op.star.pass.cpp | 31 exp::ostream_joiner<Delim, CharT, Traits> &ret = *oj; local 32 assert( &ret == &oj );
|
/external/libnetfilter_conntrack/utils/ |
H A D | conntrack_create.c | 12 int ret; local 42 ret = nfct_query(h, NFCT_Q_CREATE, ct); 45 if (ret == -1) 46 printf("(%d)(%s)\n", ret, strerror(errno)); 54 ret == -1 ? exit(EXIT_FAILURE) : exit(EXIT_SUCCESS);
|
H A D | conntrack_create_nat.c | 12 int ret; local 44 ret = nfct_query(h, NFCT_Q_CREATE, ct); 47 if (ret == -1) 48 printf("(%d)(%s)\n", ret, strerror(errno)); 56 ret == -1 ? exit(EXIT_FAILURE) : exit(EXIT_SUCCESS);
|
H A D | conntrack_delete.c | 12 int ret; local 37 ret = nfct_query(h, NFCT_Q_DESTROY, ct); 40 if (ret == -1) 41 printf("(%d)(%s)\n", ret, strerror(errno)); 49 ret == -1 ? exit(EXIT_FAILURE) : exit(EXIT_SUCCESS);
|
H A D | conntrack_flush.c | 10 int ret; local 20 ret = nfct_query(h, NFCT_Q_FLUSH, &family); 23 if (ret == -1) 24 printf("(%d)(%s)\n", ret, strerror(errno)); 30 ret == -1 ? exit(EXIT_FAILURE) : exit(EXIT_SUCCESS);
|
H A D | conntrack_update.c | 12 int ret; local 42 ret = nfct_query(h, NFCT_Q_UPDATE, ct); 45 if (ret == -1) 46 printf("(%d)(%s)\n", ret, strerror(errno)); 54 ret == -1 ? exit(EXIT_FAILURE) : exit(EXIT_SUCCESS);
|
H A D | expect_flush.c | 10 int ret; local 20 ret = nfexp_query(h, NFCT_Q_FLUSH, &family); 23 if (ret == -1) 24 printf("(%d)(%s)\n", ret, strerror(errno)); 30 ret == -1 ? exit(EXIT_FAILURE) : exit(EXIT_SUCCESS);
|
/external/libopus/silk/ |
H A D | init_encoder.c | 47 opus_int ret = 0; local 61 ret += silk_VAD_Init( &psEnc->sCmn.sVAD ); 63 return ret;
|
/external/libunwind/src/dwarf/ |
H A D | Gstep.c | 32 int ret; local 34 if ((ret = dwarf_find_save_locs (c)) >= 0) { 36 ret = 1; 39 Debug (15, "returning %d\n", ret); 40 return ret;
|