Searched defs:ret (Results 1 - 25 of 4151) sorted by relevance

1234567891011>>

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_setpshared/
H A D2-1.c34 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 D2-2.c34 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 D3-1.c37 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 Dvfprintf.c44 int ret; local
52 ret = _doprnt(fmt, args, f);
53 return ferror(f) ? EOF : ret;
/external/wpa_supplicant_8/hostapd/
H A Deap_register.c25 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 Deap_register.c26 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 Dadjtimex.c16 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 Dalt_syscall.c18 int ret; local
20 ret = prctl(PR_ALT_SYSCALL, PR_ALT_SYSCALL_SET_SYSCALL_TABLE,
22 if (ret < 0)
H A Dclock_adjtime.c16 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 Dx_info.c66 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 Dx_pkey.c71 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 Dx509_decrepit.c34 X509_EXTENSION *ret = X509V3_EXT_nconf_nid(nconf, ctx, ext_nid, value); local
41 return ret;
/external/elfutils/libdw/
H A Ddwarf_macro_param.c36 dwarf_macro_param (Dwarf_Macro *macro, size_t idx, Dwarf_Attribute *ret) argument
44 *ret = macro->attributes[idx];
/external/elfutils/libelf/
H A Delf_next.c45 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 Dostream_joiner.op.postincrement.pass.cpp31 exp::ostream_joiner<Delim, CharT, Traits> &ret = oj++; local
32 assert( &ret == &oj );
H A Dostream_joiner.op.pretincrement.pass.cpp31 exp::ostream_joiner<Delim, CharT, Traits> &ret = ++oj; local
32 assert( &ret == &oj );
H A Dostream_joiner.op.star.pass.cpp31 exp::ostream_joiner<Delim, CharT, Traits> &ret = *oj; local
32 assert( &ret == &oj );
/external/libnetfilter_conntrack/utils/
H A Dconntrack_create.c12 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 Dconntrack_create_nat.c12 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 Dconntrack_delete.c12 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 Dconntrack_flush.c10 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 Dconntrack_update.c12 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 Dexpect_flush.c10 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 Dinit_encoder.c47 opus_int ret = 0; local
61 ret += silk_VAD_Init( &psEnc->sCmn.sVAD );
63 return ret;
/external/libunwind/src/dwarf/
H A DGstep.c32 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;

Completed in 700 milliseconds

1234567891011>>