Searched refs:ret (Results 1 - 25 of 3114) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dsm_efault.c7 int ret; local
9 ret = clear_user();
10 if (ret)
11 return ret;
H A Dsm_implied18.c18 int ret; local
20 ret = frob(&x);
21 if (ret < 0)
23 if (ret == 0)
H A Dsm_select5.c11 int ret; local
13 ret = load_sig(a);
14 if (ret) {
15 __smatch_implied(ret);
27 sm_select5.c:15 test() implied: ret = '(-12)'
H A Dsm_implied15.c8 int ret = 0; local
16 ret = -12;
21 return ret;
27 int ret; local
29 ret = frob(&var);
31 if (ret)
/illumos-gate/usr/src/test/libc-tests/tests/random/
H A Dgetentropy.c28 int ret; local
33 ret = getentropy(buf, sizeof (buf));
34 assert(ret == 0);
37 ret = getentropy(errbuf, sizeof (errbuf));
38 assert(ret == -1);
41 ret = getentropy(errbuf, 257);
42 assert(ret == -1);
45 ret = getentropy(errbuf, 256);
46 assert(ret == 0);
48 ret
[all...]
H A Dgetrandom.c28 int ret; local
34 ret = getrandom(buf, sizeof (buf), 42);
35 assert(ret == -1);
38 ret = getrandom(buf, sizeof (buf), 0);
39 assert(ret >= 0);
41 ret = getrandom(buf, sizeof (buf), GRND_NONBLOCK);
42 assert(ret >= 0);
44 ret = getrandom(buf, sizeof (buf), GRND_RANDOM);
45 assert(ret >= 0);
47 ret
[all...]
H A Darc4random.c28 uint32_t ret; local
32 ret = arc4random_uniform(100);
33 assert(ret < 100);
34 ret = arc4random_uniform(200);
35 assert(ret < 200);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dutil_dup.c34 char *ret; local
36 if ((ret = (char *) xmalloc(strlen(str)+1)) == NULL)
39 strcpy(ret, str);
41 return(ret);
/illumos-gate/usr/src/lib/crt/amd64/
H A Dcrtn.s43 ret
50 ret
/illumos-gate/usr/src/lib/crt/sparc/
H A Dcrtn.s43 ret
51 ret
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dflags.c39 int ret; local
44 ret = SMRD;
48 ret = SMWR;
52 ret = SMWR;
56 ret = SMRW;
60 ret = 0;
64 ret |= SM_IO_BINARY;
65 return ret;
/illumos-gate/usr/src/lib/libsrpt/common/
H A Dlibsrpt.c60 int ret = 0; local
71 ret = stmfGetProviderDataProt(SRPT_PROV_NAME, &cfg_nv,
74 if (ret == STMF_STATUS_SUCCESS) {
75 ret = 0;
76 } else if (ret == STMF_ERROR_NOT_FOUND) {
78 ret = nvlist_alloc(&cfg_nv, NV_UNIQUE_NAME, 0);
79 if (ret != 0) {
80 return (ret);
83 ret = nvlist_alloc(&hcanv, NV_UNIQUE_NAME, 0);
84 if (ret
125 int ret = 0; local
160 int ret; local
204 int ret; local
249 int ret; local
322 int ret; local
393 int ret; local
[all...]
/illumos-gate/usr/src/lib/libnisdb/yptol/
H A Dshim_lockmap.c62 int ret; local
64 ret = lock_core(map->hash_val);
66 return (ret);
82 int ret; local
84 ret = unlock_core(map->hash_val);
85 return (ret);
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/funcs/
H A Dtst.mutex_type_adaptive.d44 ret = -99;
49 ret = mutex_type_adaptive((kmutex_t *)arg0);
54 /ret == 1/
60 /i == 100 && ret == 0/
67 /i == 100 && ret == -99/
/illumos-gate/usr/src/test/util-tests/tests/libsff/
H A Dlibsff_einval.c33 int ret; local
36 if ((ret = libsff_parse(NULL, sizeof (buf), 0xa0, &nvl)) != EINVAL) {
40 if ((ret = libsff_parse(buf, sizeof (buf), 0xa0, NULL)) != EINVAL) {
42 "(%s instead)", strerror(ret));
45 if ((ret = libsff_parse(buf, sizeof (buf), 0xa1, &nvl)) != EINVAL) {
47 "(%s instead)", strerror(ret));
50 if ((ret = libsff_parse(buf, sizeof (buf), 0, &nvl)) != EINVAL) {
52 "(%s instead)", strerror(ret));
55 if ((ret = libsff_parse(buf, sizeof (buf), 0xff, &nvl)) != EINVAL) {
57 "(%s instead)", strerror(ret));
[all...]
/illumos-gate/usr/src/lib/libshell/common/tests/
H A Dreturn.sh79 ret=$?
80 if (( $ret != 35 ))
81 then err_exit "exit 35 is $ret not 35"
84 ret=$?
85 if (( $ret != 35 ))
86 then err_exit "return 35 is $ret not 35"
92 ret=$?
93 if (( $ret != 3 ))
94 then err_exit "foo 0 3: return is $ret not 3"
101 ret
[all...]
/illumos-gate/usr/src/lib/libm/sparc/src/
H A Dlibm_inlines.h48 double ret; local
50 __asm__ __volatile__("fsqrtd %1,%0\n\t" : "=e" (ret) : "e" (d));
51 return (ret);
57 float ret; local
59 __asm__ __volatile__("fsqrts %1,%0\n\t" : "=f" (ret) : "f" (f));
60 return (ret);
66 enum fp_class_type ret; local
107 : "=r" (ret), "=&r" (tmp)
110 return (ret);
119 enum fp_class_type ret; local
175 int ret; local
213 enum fp_direction_type ret; local
241 int ret; local
280 double ret; local
289 float ret; local
[all...]
/illumos-gate/usr/src/lib/libm/sparcv9/src/
H A Dlibm_inlines.h48 enum fp_class_type ret; local
88 : "=r" (ret), "=m" (fint), "=r" (tmp), "+f" (f)
92 return (ret);
98 enum fp_class_type ret; local
140 : "=r" (ret), "=m" (dint), "=r" (tmp), "+e" (d)
144 return (ret);
150 float ret; local
152 __asm__ __volatile__("fsqrts %1,%0\n\t" : "=f" (ret) : "f" (f));
153 return (ret);
159 double ret; local
168 int ret; local
206 enum fp_direction_type ret; local
235 int ret; local
277 double ret; local
286 float ret; local
[all...]
/illumos-gate/usr/src/cmd/lp/lib/lp/
H A Ddirs.c51 int ret; local
55 ret = Mkdir(path, mode);
56 if (ret != -1)
57 ret = chown_lppath(path);
62 return (ret);
/illumos-gate/usr/src/lib/libbc/libc/sys/4.2/
H A Drmdir.c33 int ret; local
36 ret = _syscall(SYS_unlinkat, AT_FDCWD, d, AT_REMOVEDIR);
39 return (ret);
/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/
H A Dmount.c36 int ret; local
38 if ((ret = _mount(spec, dir, rdonly)) != 0) {
41 return (ret);
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dkmemcpywrap.c8 int ret; local
10 ret = kmemcpy((caddr_t)to, (u_long)from, size);
11 return ret;
/illumos-gate/usr/src/test/os-tests/tests/secflags/
H A Dsecflags_forbidnullmap.sh21 ret=0
22 (pmap $pid | grep -q '^00000000 ') && ret=1
25 exit $ret
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dscanf.c49 int ret; local
53 ret = vscanf(fmt, ap);
56 return (ret);
63 int ret; local
67 ret = vfscanf(iop, fmt, ap);
70 return (ret);
77 int ret; local
81 ret = vsscanf(str, fmt, ap);
84 return (ret);
103 int ret; local
116 int ret; local
129 int ret; local
[all...]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dmemset_s.c48 errno_t ret; local
52 ret = EINVAL;
56 __throw_constraint_handler_s("memset_s: s is NULL", ret);
59 ret);
70 ret);
72 __throw_constraint_handler_s("memset_s: n > smax", ret);
74 ret = 0;
77 return (ret);

Completed in 179 milliseconds

1234567891011>>