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

1234567891011>>

/macosx-10.9.5/Libc-997.90.3/stdlib/FreeBSD/
H A Dimaxdiv.c36 imaxdiv_t retval; local
38 retval.quot = numer / denom;
39 retval.rem = numer % denom;
40 if (numer >= 0 && retval.rem < 0) {
41 retval.quot++;
42 retval.rem -= denom;
44 return (retval);
H A Dlldiv.c36 lldiv_t retval; local
38 retval.quot = numer / denom;
39 retval.rem = numer % denom;
40 if (numer >= 0 && retval.rem < 0) {
41 retval.quot++;
42 retval.rem -= denom;
44 return (retval);
/macosx-10.9.5/CommonCrypto-60049/test/CommonCrypto/
H A DCommonCryptoSymCBC.c49 int retval;
63 retval = CCCryptTestCase(keyStr, iv, alg, options, cipherText, plainText);
64 ok(retval == 0, "CBC with Padding 1 byte CCCrypt");
65 accum |= retval;
66 retval = CCMultiCryptTestCase(keyStr, iv, alg, options, cipherText, plainText);
67 ok(retval == 0, "CBC with Padding 1 byte Multiple Updates");
68 accum |= retval;
73 retval = CCCryptTestCase(keyStr, iv, alg, options, cipherText, plainText);
74 ok(retval == 0, "CBC with Padding 15 byte CCCrypt");
75 accum |= retval;
[all...]
H A DCommonCryptoSymGCM.c54 int retval, accum = 0;
69 retval = CCCryptorGCMTestCase(keyStr, iv, adata, tag, alg, cipherText, plainText);
71 ok(retval == 0, "AES-GCM Testcase 1.1");
72 accum += retval;
74 retval = CCCryptorGCMDiscreetTestCase(keyStr, iv, adata, tag, alg, cipherText, plainText);
76 ok(retval == 0, "AES-GCM Testcase 1.2");
77 accum += retval;
88 retval = CCCryptorGCMTestCase(keyStr, iv, adata, tag, alg, cipherText, plainText);
89 ok(retval == 0, "AES-GCM Testcase 2.1");
90 accum += retval;
[all...]
H A DCommonCryptoSymCFB.c44 int retval, accum = 0;
56 retval = CCModeTestCase(keyStr, iv, mode, alg, padding, cipherText, plainText);
57 ok(retval == 0, "CFB Test 1");
58 accum += retval;
63 retval = CCModeTestCase(keyStr, iv, mode, alg, padding, cipherText, plainText);
64 ok(retval == 0, "CFB Test 2");
65 accum += retval;
70 retval = CCModeTestCase(keyStr, iv, mode, alg, padding, cipherText, plainText);
71 ok(retval == 0, "CFB Test 3");
72 accum += retval;
[all...]
H A DCommonEC.c15 CCCryptorStatus retval;
37 retval = CCECCryptorGeneratePair(keysize, &publicKey, &privateKey);
39 ok(retval == 0, "Generate an EC Key Pair");
40 accum |= retval;
45 retval = CCECCryptorWrapKey(publicKey, keydata->bytes, keydata->len, encryptedKey, &encryptedKeyLen, kCCDigestSHA1);
47 ok(retval == 0, "Wrap Key Data with EC Encryption - ccPKCS1Padding");
48 accum |= retval;
50 retval = CCECCryptorUnwrapKey(privateKey, encryptedKey, encryptedKeyLen,
53 ok(retval == 0, "Unwrap Key Data with EC Encryption - ccPKCS1Padding");
54 accum |= retval;
[all...]
H A DCommonCryptoSymZeroLength.c21 int retval, accum = 0;
33 retval = CCCryptTestCase(keyStr, iv, kCCAlgorithmAES128, kCCOptionPKCS7Padding, cipherText, plainText);
34 ok(retval == 0, "CBC Zero Length String, IV defined");
35 accum += retval;
41 retval = CCCryptTestCase(keyStr, iv, kCCAlgorithmAES128, kCCOptionPKCS7Padding, cipherText, plainText);
42 ok(retval == 0, "CBC NULL String, IV defined");
43 accum += retval;
53 retval = CCCryptTestCase(keyStr, iv, kCCAlgorithmAES128, kCCOptionPKCS7Padding, cipherText, plainText);
54 ok(retval == 0, "CBC Zero Length String, IV NULL");
55 accum += retval;
[all...]
H A DCommonCryptoCTSPadding.c49 int retval, accum = 0;
65 retval = CCModeTestCase(keyStr, iv, mode, alg, padding, cipherText, plainText);
66 ok(retval == 0, test);
67 accum += retval;
73 retval = CCModeTestCase(keyStr, iv, mode, alg, padding, cipherText, plainText);
74 ok(retval == 0, test);
75 accum += retval;
81 retval = CCModeTestCase(keyStr, iv, mode, alg, padding, cipherText, plainText);
82 ok(retval == 0, test);
83 accum += retval;
[all...]
/macosx-10.9.5/CommonCrypto-60049/libcn/
H A Dreverse_poly.c31 uint64_t retval = reflect(poly, width); local
32 retval <<= 1;
33 retval |= 0x01;
34 return retval;
/macosx-10.9.5/bash-92/bash-3.2/lib/sh/
H A Dclktck.c47 static long retval = 0; local
49 if (retval != 0)
50 return (retval);
53 retval = sysconf (_SC_CLK_TCK);
55 retval = CLK_TCK;
58 return (retval);
/macosx-10.9.5/MITKerberosShim-62.1/profile/
H A Dprof_set.c26 errcode_t retval = 0; local
36 retval = profile_lock_global();
37 if (retval)
38 return retval;
50 retval = ENOMEM;
52 retval = pthread_mutex_init(&new_data->lock, NULL);
53 if (retval == 0) {
61 if (retval != 0) {
64 return retval;
71 retval
86 errcode_t retval; local
138 errcode_t retval; local
184 errcode_t retval; local
237 errcode_t retval; local
[all...]
/macosx-10.9.5/system_cmds-597.90.1/chkpasswd.tproj/
H A Dpam_passwd.c38 int retval = PAM_SUCCESS; local
47 if (PAM_SUCCESS != (retval = pam_authenticate(pamh, 0)))
51 if (PAM_SUCCESS != (retval = pam_acct_mgmt(pamh, 0)) && PAM_NEW_AUTHTOK_REQD != retval)
55 if (PAM_NEW_AUTHTOK_REQD == retval && PAM_SUCCESS != (retval = pam_chauthtok(pamh, 0)))
59 if (PAM_SUCCESS != (retval = pam_setcred(pamh, PAM_ESTABLISH_CRED)))
63 if (PAM_SUCCESS != (retval = pam_open_session(pamh, 0)))
67 if (PAM_SUCCESS != (retval = pam_close_session(pamh, 0)))
72 if (PAM_SUCCESS != retval)
[all...]
/macosx-10.9.5/system_cmds-597.90.1/passwd.tproj/
H A Dpam_passwd.c38 int retval = PAM_SUCCESS; local
45 if (PAM_SUCCESS != (retval = pam_authenticate(pamh, 0)))
49 if (PAM_SUCCESS != (retval = pam_acct_mgmt(pamh, 0)) && PAM_NEW_AUTHTOK_REQD != retval)
55 if (PAM_SUCCESS != (retval = pam_chauthtok(pamh, 0)))
59 if (PAM_SUCCESS != (retval = pam_setcred(pamh, PAM_ESTABLISH_CRED)))
63 if (PAM_SUCCESS != (retval = pam_open_session(pamh, 0)))
67 if (PAM_SUCCESS != (retval = pam_close_session(pamh, 0)))
72 if (PAM_SUCCESS != retval)
73 fprintf(stderr, "%s: %s\n", progname, pam_strerror(pamh, retval));
[all...]
/macosx-10.9.5/system_cmds-597.90.1/system_cmds-597.1.1/chkpasswd.tproj/
H A Dpam_passwd.c38 int retval = PAM_SUCCESS; local
47 if (PAM_SUCCESS != (retval = pam_authenticate(pamh, 0)))
51 if (PAM_SUCCESS != (retval = pam_acct_mgmt(pamh, 0)) && PAM_NEW_AUTHTOK_REQD != retval)
55 if (PAM_NEW_AUTHTOK_REQD == retval && PAM_SUCCESS != (retval = pam_chauthtok(pamh, 0)))
59 if (PAM_SUCCESS != (retval = pam_setcred(pamh, PAM_ESTABLISH_CRED)))
63 if (PAM_SUCCESS != (retval = pam_open_session(pamh, 0)))
67 if (PAM_SUCCESS != (retval = pam_close_session(pamh, 0)))
72 if (PAM_SUCCESS != retval)
[all...]
/macosx-10.9.5/system_cmds-597.90.1/system_cmds-597.1.1/passwd.tproj/
H A Dpam_passwd.c38 int retval = PAM_SUCCESS; local
45 if (PAM_SUCCESS != (retval = pam_authenticate(pamh, 0)))
49 if (PAM_SUCCESS != (retval = pam_acct_mgmt(pamh, 0)) && PAM_NEW_AUTHTOK_REQD != retval)
55 if (PAM_SUCCESS != (retval = pam_chauthtok(pamh, 0)))
59 if (PAM_SUCCESS != (retval = pam_setcred(pamh, PAM_ESTABLISH_CRED)))
63 if (PAM_SUCCESS != (retval = pam_open_session(pamh, 0)))
67 if (PAM_SUCCESS != (retval = pam_close_session(pamh, 0)))
72 if (PAM_SUCCESS != retval)
73 fprintf(stderr, "%s: %s\n", progname, pam_strerror(pamh, retval));
[all...]
/macosx-10.9.5/SmartCardServices-55111/src/PCSC/
H A Dthread_macosx.c41 int retval; local
42 retval = pthread_mutex_init(mMutex, NULL);
43 return retval;
48 int retval; local
49 retval = pthread_mutex_destroy(mMutex);
50 return retval;
55 int retval; local
56 retval = pthread_mutex_lock(mMutex);
57 return retval;
62 int retval; local
93 int retval; local
117 int retval; local
[all...]
/macosx-10.9.5/vim-53/src/
H A Dtoolcheck7 retval=0
14 retval=1;
27 retval=1;
36 exit $retval
/macosx-10.9.5/zsh-60/zsh/Test/
H A Druntests.zsh10 integer success failure skipped retval
13 retval=$?
14 if (( $retval == 2 )); then
16 elif (( $retval )); then
/macosx-10.9.5/Security-55471.14.18/libsecurity_checkpw/test/
H A Dperf-checkpw.c11 int retval = 0, i = 0; local
15 retval = checkpw(uname, pass);
16 if (0 != retval)
23 return retval;
/macosx-10.9.5/OpenSSH-186/openssh/
H A Dmdoc2man.awk43 retval=""
45 if(length(retval))
46 retval=retval OFS
47 retval=retval words[++w]
49 return retval
/macosx-10.9.5/screen-22/screen/etc/
H A Dtoolcheck7 retval=0
14 retval=1;
29 retval=1;
39 if [ "$retval" != 0 ]; then
44 exit $retval
/macosx-10.9.5/Libc-997.90.3/secure/
H A Dmemccpy_chk.c31 void *retval; local
36 /* retval is NULL if len was copied, otherwise retval is the
39 retval = memccpy (dest, src, c, len);
41 if (retval != NULL) {
42 len = (uintptr_t)retval - (uintptr_t)dest;
47 return retval;
H A Dstrlcpy_chk.c32 size_t retval; local
36 retval = strlcpy (dest, src, len);
38 if (retval < len)
39 len = retval + 1;
43 return retval;
/macosx-10.9.5/CommonCrypto-60049/test/util/
H A DtestbyteBuffer.c34 byteBuffer retval; local
35 if((retval = (byteBuffer) malloc(sizeof(byteBufferStruct) + len + 1)) == NULL) return NULL;
36 retval->len = len;
37 retval->bytes = (uint8_t *) (retval + 1) ; /* just past the byteBuffer in malloc'ed space */
38 return retval;
60 byteBuffer retval; local
66 retval = mallocByteBuffer(randomInt);
67 if(retval == NULL) return NULL;
69 if(retval
94 byteBuffer retval; local
114 byteBuffer retval = mallocByteBuffer(len); local
142 char *retval; local
157 char *retval; local
[all...]
/macosx-10.9.5/WebKit-7537.78.2/win/Interfaces/
H A DIWebKitStatistics.idl40 HRESULT webViewCount([out, retval] int* count);
41 HRESULT frameCount([out, retval] int* count);
42 HRESULT dataSourceCount([out, retval] int* count);
43 HRESULT viewCount([out, retval] int* count);
44 HRESULT HTMLRepresentationCount([out, retval] int* count);
45 HRESULT comClassCount([out, retval] int* classCount);
46 HRESULT comClassNameCounts([out, retval] BSTR *output);

Completed in 204 milliseconds

1234567891011>>