Searched refs:ret (Results 26 - 50 of 3119) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libc/port/locale/
H A Dnl_langinfo.c49 char *ret, *s, *cs; local
58 ret = "";
73 ret = cs + 1;
75 ret = "646";
79 ret = (char *)ltime->c_fmt;
82 ret = (char *)ltime->x_fmt;
85 ret = (char *)ltime->X_fmt;
88 ret = (char *)ltime->ampm_fmt;
91 ret = (char *)ltime->am;
94 ret
[all...]
/illumos-gate/usr/src/test/libc-tests/tests/random/
H A Dinz_inval.c36 int ret, fd; local
47 ret = memcntl(buf, mapsz, MC_INHERIT_ZERO, bad, 0, 0);
48 assert(ret == -1);
51 ret = memcntl(buf, mapsz, MC_INHERIT_ZERO, 0, PROT_READ, 0);
52 assert(ret == -1);
55 ret = memcntl(buf, mapsz, MC_INHERIT_ZERO, bad, PROT_READ | PRIVATE, 0);
56 assert(ret == -1);
59 ret = memcntl(buf, mapsz, MC_INHERIT_ZERO, 0, 0, 1);
60 assert(ret == -1);
63 ret
[all...]
/illumos-gate/usr/src/lib/libm/amd64/src/
H A Dlibm_inlines.h51 float ret; local
53 __asm__ __volatile__("sqrtss %1, %0\n\t" : "=x" (ret) : "x" (a));
54 return (ret);
60 double ret; local
62 __asm__ __volatile__("sqrtsd %1, %0\n\t" : "=x" (ret) : "x" (a));
63 return (ret);
81 int ret; local
86 ret = (cw >> 8) & 0x3;
91 return (ret);
103 int ret; local
119 int ret; local
174 long ret = 0x7fffffffffffffff; local
193 long ret; local
[all...]
/illumos-gate/usr/src/test/libc-tests/tests/
H A Dwcsncasecmp.c40 int ret; local
58 ret = mbstowcs(a, str, len);
59 VERIFY3U(ret, ==, len);
60 ret = mbstowcs(b, str, len);
61 VERIFY3U(ret, ==, len);
66 ret = mbstowcs(b, caps, len);
67 VERIFY3U(ret, ==, len);
70 ret = mbstowcs(b, less, len);
71 VERIFY3U(ret, ==, len);
74 ret
[all...]
/illumos-gate/usr/src/test/util-tests/tests/libsff/
H A Dlibsff_br.c34 int ret; local
47 if ((ret = libsff_parse(buf, sizeof (buf), 0xa0, &nvl)) != 0) {
49 "values: %s\n", strerror(ret));
52 if ((ret = nvlist_lookup_string(nvl, LIBSFF_KEY_BR_NOMINAL, &val)) !=
56 strerror(ret));
63 if ((ret = nvlist_lookup_string(nvl, LIBSFF_KEY_BR_MIN, &val)) !=
66 "%s: %d\n", LIBSFF_KEY_BR_MIN, ret);
69 if ((ret = nvlist_lookup_string(nvl, LIBSFF_KEY_BR_MAX, &val)) !=
72 "%s: %d\n", LIBSFF_KEY_BR_MAX, ret);
83 if ((ret
[all...]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dcurs_set.c52 int ret = cur_term->_cursorstate; local
56 ret = ERR;
58 if (visibility != ret)
63 return (ret);
/illumos-gate/usr/src/lib/libnsl/nsl/
H A D_errlst.c132 int *ret; local
136 ret = thr_get_storage(&t_errno_key, sizeof (int), free);
138 return (ret ? ret : &t_errno);
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Ddup.c33 int ret, fds; local
35 if ((ret = _syscall(SYS_fcntl, fd, F_DUPFD, 0)) == -1)
39 fd_add(ret, fds);
41 return (ret);
/illumos-gate/usr/src/cmd/sendmail/libmilter/
H A Dhandler.c31 int ret; local
43 ret = MI_FAILURE;
45 ret = mi_engine(ctx);
48 return ret;
/illumos-gate/usr/src/cmd/krb5/kadmin/server/
H A Dmisc.c66 kadm5_ret_t ret; local
69 ret = kadm5_check_min_life(server_handle, principal, NULL, 0);
70 if (ret)
71 return ret;
110 kadm5_ret_t ret; local
113 ret = kadm5_check_min_life(server_handle, principal, NULL, 0);
114 if (ret)
115 return ret;
126 kadm5_ret_t ret; local
129 ret
142 kadm5_ret_t ret; local
[all...]
/illumos-gate/usr/src/lib/libbc/libc/compat/4.1/
H A Dtimes.c38 int ret; local
40 ret = _times(tmsp);
42 if (ret == -1)
43 return(ret * _sysconf(_SC_CLK_TCK) / 60);
/illumos-gate/usr/src/lib/libbc/libc/compat/sys5/
H A Dtimes.c37 int ret; local
39 ret = _times(tmsp);
41 if (ret == -1)
42 return(ret * _sysconf(_SC_CLK_TCK) / 60);
/illumos-gate/usr/src/lib/crt/i386/
H A Dcrtn.s45 ret
54 ret
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetentropy.c26 ssize_t ret; local
33 ret = getrandom(buf, buflen, 0);
34 if (ret == -1 || ret != buflen) {
H A Dlfmt.c49 int ret; local
54 if ((ret = __pfmt_print(stream, flag, format, &text, &sev, args)) < 0)
55 return (ret);
57 ret = __lfmt_log(text, sev, args, flag, ret);
59 return (ret);
/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dsm_implied3.c13 int ret = 0; local
16 ret = -1;
24 ret = -1;
28 if (ret) {
/illumos-gate/usr/src/cmd/isalist/
H A Disalist.c42 int ret = 0; local
45 ret = sysinfo(SI_ISALIST, buf, bufsize);
46 if (ret == -1) {
49 } else if (ret > bufsize) {
52 buf = malloc(bufsize = ret);
58 ret = sysinfo(SI_ISALIST, buf, bufsize);
59 if (ret == -1) {
/illumos-gate/usr/src/test/util-tests/tests/ctf/
H A Dcheck-merge-dedup.c54 int i, ret = 0; local
63 if ((fp = ctf_open(argv[i], &ret)) == NULL) {
65 ctf_errmsg(ret));
66 ret = EXIT_FAILURE;
71 ret = EXIT_FAILURE;
75 ret = EXIT_FAILURE;
81 return (ret);
/illumos-gate/usr/src/lib/libc/port/print/
H A Dasprintf.c41 int ret; local
45 ret = vsnprintf(string, INIT_SZ, format, ap);
46 if (ret < 0) /* retain the value of errno from vsnprintf() */
48 if (ret < INIT_SZ) {
49 len = ret + 1;
54 return (ret);
62 if (ret == INT_MAX) { /* Bad length */
66 len = ret + 1;
69 ret = vsnprintf(newstr, len, format, ap);
70 if (ret <
86 int ret; local
[all...]
/illumos-gate/usr/src/cmd/sendmail/db/db/
H A Ddb_apprec.c51 int ret; local
57 if ((ret = __db_txnlist_init(&txninfo)) != 0)
58 return (ret);
100 if ((ret = log_get(lp, &ckp_lsn, &data, DB_CHECKPOINT)) != 0) {
106 first: if ((ret = log_get(lp, &ckp_lsn, &data, DB_FIRST)) != 0) {
107 if (ret == DB_NOTFOUND)
108 ret = 0;
114 } else if ((ret = __txn_ckp_read(data.data, &ckp_args)) != 0) {
119 (ret = log_get(lp, &ckp_args->last_ckp, &data, DB_SET)) != 0)
133 ret
[all...]
/illumos-gate/usr/src/cmd/lp/lib/access/
H A Ddumpaccess.c57 int ret; local
65 ret = -1;
67 ret = 0;
74 return (ret);
86 register int ret; local
97 ret = -1;
99 ret = 0;
102 ret = Unlink(file);
104 return (ret);
/illumos-gate/usr/src/cmd/boot/common/
H A Dboot_utils.c59 int ret; local
71 ret = pwrite(fd, buf, size, off);
72 if (ret == -1) {
78 if (ret < size) {
79 size -= ret;
80 off += ret;
81 buf += ret;
92 int ret; local
100 ret = pread(fd, buf, size, off);
101 if (ret
[all...]
/illumos-gate/usr/src/lib/libstmf/common/
H A Dstmf.c162 int ret = STMF_STATUS_ERROR; local
165 ret = STMF_STATUS_SUCCESS;
168 ret = STMF_ERROR_BUSY;
170 ret = STMF_ERROR_PERM;
172 ret = STMF_STATUS_ERROR;
178 return (ret);
190 int ret = STMF_STATUS_ERROR; local
193 ret = STMF_STATUS_SUCCESS;
196 ret = STMF_ERROR_BUSY;
198 ret
218 int ret = STMF_STATUS_ERROR; local
247 int ret; local
297 int ret = STMF_STATUS_SUCCESS; local
362 int ret = STMF_STATUS_SUCCESS; local
481 int ret; local
556 int ret; local
632 int ret = STMF_STATUS_SUCCESS; local
746 int ret; local
864 int ret; local
981 int ret; local
1059 int ret = STMF_STATUS_SUCCESS; local
1089 int ret = STMF_STATUS_SUCCESS; local
1118 int ret = STMF_STATUS_SUCCESS; local
1345 int ret = STMF_STATUS_SUCCESS; local
1366 int ret = STMF_STATUS_SUCCESS; local
1476 diskError(uint32_t stmfError, int *ret) argument
1558 int ret = STMF_STATUS_SUCCESS; local
1585 int ret = STMF_STATUS_SUCCESS; local
1649 int ret = STMF_STATUS_SUCCESS; local
1676 int ret = STMF_STATUS_SUCCESS; local
1734 int ret = STMF_STATUS_SUCCESS; local
1775 int ret = STMF_STATUS_SUCCESS; local
1793 int ret = STMF_STATUS_SUCCESS; local
1835 int ret = STMF_STATUS_SUCCESS; local
2007 int ret = STMF_STATUS_SUCCESS; local
2124 int ret = STMF_STATUS_SUCCESS; local
2149 int ret = STMF_STATUS_SUCCESS; local
2185 int ret = STMF_STATUS_SUCCESS; local
2273 int ret = STMF_STATUS_SUCCESS; local
2376 int ret = STMF_STATUS_SUCCESS; local
2395 int ret = STMF_STATUS_SUCCESS; local
2511 int ret = STMF_STATUS_SUCCESS; local
2532 int ret = STMF_STATUS_SUCCESS; local
2628 int ret = STMF_STATUS_SUCCESS; local
2657 int ret = STMF_STATUS_SUCCESS; local
2856 int ret = STMF_STATUS_SUCCESS; local
3088 int ret = STMF_STATUS_SUCCESS; local
3173 int ret; local
3255 int ret; local
3335 int ret = STMF_STATUS_SUCCESS; local
3489 int ret; local
3624 int ret; local
3768 int ret; local
3819 int ret = STMF_STATUS_ERROR; local
3837 int ret; local
3890 int ret; local
3937 int ret; local
3965 int ret; local
4005 int ret = STMF_STATUS_SUCCESS; local
4156 int ret; local
4179 int ret; local
4201 int ret; local
4334 int ret = STMF_STATUS_SUCCESS; local
4428 int ret; local
4577 int ret = STMF_STATUS_SUCCESS; local
4677 int ret; local
4742 int ret; local
4911 int ret = STMF_STATUS_SUCCESS; local
4948 int ret = STMF_STATUS_SUCCESS; local
4987 int ret; local
5198 int ret = STMF_STATUS_SUCCESS; local
5260 int ret = STMF_STATUS_SUCCESS; local
5364 int ret = STMF_STATUS_SUCCESS; local
5440 int ret = STMF_STATUS_SUCCESS; local
5496 int ret = STMF_STATUS_SUCCESS; local
5549 int ret = STMF_STATUS_SUCCESS; local
5580 int ret = STMF_STATUS_SUCCESS; local
5625 int ret; local
5676 int ret = STMF_STATUS_SUCCESS; local
5731 int ret = STMF_STATUS_SUCCESS; local
5758 int ret; local
5793 int ret; local
5832 int ret = STMF_STATUS_SUCCESS; local
5866 int ret = STMF_STATUS_SUCCESS; local
5899 int ret = STMF_STATUS_SUCCESS; local
5933 int ret = STMF_STATUS_SUCCESS; local
5966 int ret; local
6041 int ret; local
6117 int ret = STMF_STATUS_SUCCESS; local
6253 int ret; local
6336 int ret = STMF_STATUS_SUCCESS; local
6473 int ret = STMF_STATUS_SUCCESS; local
6579 int ret = STMF_STATUS_SUCCESS; local
6620 int ret; local
6638 int ret = STMF_STATUS_SUCCESS; local
6672 int ret = STMF_STATUS_SUCCESS; local
6713 int ret = STMF_STATUS_SUCCESS; local
6774 int ret = STMF_STATUS_SUCCESS; local
6882 int ret; local
[all...]
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dwscanf.c48 int ret; local
52 ret = vwscanf(fmt, ap);
55 return (ret);
61 int ret; local
65 ret = vfwscanf(iop, fmt, ap);
68 return (ret);
74 int ret; local
78 ret = vswscanf(wstr, fmt, ap);
81 return (ret);
101 int ret; local
114 int ret; local
127 int ret; local
[all...]
/illumos-gate/usr/src/lib/print/libipp-core/common/
H A Dstrings.c271 ipp_tag_string(int8_t id, char *ret, size_t len) argument
274 (void) strlcpy(ret, tag_strings[id], len);
276 (void) strlcpy(ret, "extension", len);
278 (void) snprintf(ret, len, "bogus-0x%.2x", id);
280 return (ret);
284 ipp_opid_string(int16_t id, char *ret, size_t len) argument
287 (void) strlcpy(ret, opid_strings[id], len);
289 (void) snprintf(ret, len, "reserved-0x%.4x", id);
291 (void) strlcpy(ret,
294 (void) snprintf(ret, le
316 ipp_status_string(int16_t id, char *ret, size_t len) argument
[all...]

Completed in 348 milliseconds

1234567891011>>