Searched refs:ret (Results 176 - 200 of 3119) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/lp/lib/filters/
H A Dconv.c104 TYPE ret; local
106 if ((ret.name = Strdup(str)))
107 ret.info = isterminfo(str);
108 return (ret);
125 TEMPLATE ret; local
133 ret.keyword = 0;
139 ret.keyword = 0;
145 ret.keyword = Strdup(str);
148 if (!ret.keyword) {
152 if (!searchlist(ret
315 register char *ret, local
469 char *ret; local
[all...]
/illumos-gate/usr/src/lib/libndmp/common/
H A Dlibndmp_base64.c70 char *ret = malloc(NDMP_ENC_LEN); local
72 if (ret == NULL) {
88 ret[ret_cnt++] = b64_data[arr_4[i]];
105 ret[ret_cnt++] = b64_data[arr_4[j]];
108 ret[ret_cnt++] = '=';
111 ret[ret_cnt++] = '\0';
112 return (ret);
123 char *ret = malloc(NDMP_DEC_LEN); local
126 if (ret == NULL) {
138 free(ret);
[all...]
/illumos-gate/usr/src/cmd/lp/lib/lp/
H A Disterminfo.c113 register int ret; local
140 ret = 1;
150 ret = 0;
159 return (ret);
181 int ret; local
202 ret = 1;
204 ret = 0;
211 ret = 1;
213 ret = 0;
219 ret
[all...]
/illumos-gate/usr/src/cmd/mdb/intel/amd64/kmdb/
H A Dkmdb_asmutil.s48 ret
61 ret
79 ret
97 ret
112 ret
139 ret
143 ret
147 ret
158 ret
162 ret
[all...]
/illumos-gate/usr/src/cmd/sendmail/db/log/
H A Dlog_archive.c49 int array_size, n, ret; local
59 if ((ret =
61 return (ret);
62 if ((ret =
65 return (ret);
87 if ((ret = log_get(dblp, &stable_lsn, &rec, DB_LAST)) != 0)
88 return (ret);
94 if ((ret = __log_findckp(dblp, &stable_lsn)) != 0) {
100 if (ret != DB_NOTFOUND)
101 return (ret);
190 int array_size, last, n, nxt, ret; local
345 int isabspath, ret; local
379 int ret; local
[all...]
H A Dlog_put.c48 int ret; local
58 ret = __log_put(dblp, lsn, dbt, flags);
60 return (ret);
81 int ret; local
106 if ((ret = __log_flush(dblp, NULL)) != 0)
107 return (ret);
136 if ((ret = __log_putr(dblp, lsn,
138 return (ret);
146 if ((ret = __log_putr(dblp, lsn, dbt, lp->lsn.offset - lp->len)) != 0)
147 return (ret);
209 int ret; local
243 int ret; local
265 int current, ret; local
364 int ret; local
422 int ret; local
473 int ret; local
503 int ret; local
535 int ret; local
[all...]
/illumos-gate/usr/src/test/os-tests/tests/file-locking/
H A Dutil.c52 int ret = poll(&pfd, 1, 1000); local
54 if (ret == -1) {
58 return (ret == 0);
66 int ret = 0; local
67 while (ret < 1) {
68 ret = read(fd, buf, 1);
69 if (ret == -1) {
81 int ret = 0; local
82 while (ret < 1) {
83 ret
[all...]
/illumos-gate/usr/src/cmd/cmd-crypto/tpmadm/
H A Dadmin_cmds.c167 TSS_RESULT ret; local
171 ret = Tspi_TPM_PcrRead(hTPM, i, &datalen, &data);
172 if (ret) {
173 print_error(ret, gettext("Read PCR"));
174 return (ret);
180 ret = Tspi_Context_FreeMemory(hContext, data);
181 if (ret) {
182 print_error(ret, gettext("Free PCR memory"));
183 return (ret);
276 TSS_RESULT ret; local
421 TSS_RESULT ret; local
487 TSS_RESULT ret; local
521 TSS_RESULT ret; local
538 TSS_RESULT ret; local
607 TSS_RESULT ret; local
646 TSS_RESULT ret; local
686 TSS_RESULT ret; local
[all...]
/illumos-gate/usr/src/cmd/dfs.cmds/sharemgr/
H A Dcommands.c264 int ret; local
267 ret = sa_set_resource_description(share, desc);
270 return (ret);
284 int ret; local
287 ret = sa_set_share_description(share, desc);
290 return (ret);
354 int ret = B_TRUE; local
361 ret = B_FALSE;
391 for (ret = 0, i = 0; i < numauths; i++) {
396 ret
425 int ret; local
462 int ret = SA_OK; local
566 int ret = B_FALSE; local
592 int ret; local
715 int ret; local
785 int ret = SA_OK; local
827 int ret = SA_OK; local
1043 int ret; local
1154 int ret = SA_OK; local
1195 int ret = SA_OK; local
1441 int ret = SA_OK; local
1727 int ret = SA_OK; local
1989 int ret = B_FALSE; local
2293 int ret = SA_OK; local
2413 int ret = SA_OK; local
2535 int ret = SA_OK; local
2812 int ret = SA_OK; local
3008 int ret = SA_OK; local
3267 int ret = SA_OK; local
3538 int ret = SA_OK; local
3634 int ret = SA_OK; local
3677 int ret = SA_OK; local
3796 int ret = SA_OK; local
3891 int ret = SA_OK; local
4055 int ret = SA_OK; local
4090 int ret = SA_OK; local
4121 int ret = SA_OK; local
4157 int ret = SA_OK; local
4203 int ret = SA_OK; local
4326 int ret = SA_OK; local
4426 int ret = SA_OK; local
4591 int ret = SA_OK; local
4722 int ret = SA_OK; local
4757 int ret = SA_OK; local
4807 int ret = SA_OK; local
4939 int ret = SMF_EXIT_OK; local
5067 int ret = SMF_EXIT_OK; local
5248 int ret = 0; local
5269 int ret; local
5441 int ret = SA_OK; local
5724 int ret = SA_OK; local
5907 char *ret = NULL; local
[all...]
/illumos-gate/usr/src/lib/libm/i386/src/
H A Dlibm_inlines.h52 double ret; local
54 __asm__ __volatile__("fsqrt\n\t" : "=t" (ret) : "0" (a) : "cc");
55 return (ret);
67 float ret; local
69 __asm__ __volatile__("fsqrt\n\t" : "=t" (ret) : "0" (a) : "cc");
70 return (ret);
98 int ret; local
103 ret = (cw >> 8) & 0x3;
108 return (ret);
120 int ret; local
198 int ret = _HI_WORD(d); local
229 int ret; local
318 int ret = _HIER_WORD(ld); local
[all...]
H A Dtan.s45 ret
49 ret
/illumos-gate/usr/src/test/os-tests/tests/sockfs/
H A Ddrop_priv.c68 int ret; local
91 ret = bind(sock, (struct sockaddr *)addr, sizeof (*addr));
93 if (ret == -1) {
113 ret = recvmsg(sock, &msg, 0);
114 if (ret == -1) {
132 int ret; local
171 ret = setreuid(uid, uid);
172 if (ret == -1) {
178 ret = sendmsg(sock, &msg, 0);
180 if (ret
201 int ret; local
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dhkdf.c30 int ret; local
58 ret = crypto_mac(&mech, &input_cd, &key, NULL, &output_cd, NULL);
59 if (ret != CRYPTO_SUCCESS)
69 int ret; local
115 ret = crypto_mac_init(&mech, &key, NULL, &ctx, NULL);
116 if (ret != CRYPTO_SUCCESS)
119 ret = crypto_mac_update(ctx, &T_cd, NULL);
120 if (ret != CRYPTO_SUCCESS)
123 ret = crypto_mac_update(ctx, &info_cd, NULL);
124 if (ret !
159 int ret; local
[all...]
/illumos-gate/usr/src/lib/libeti/menu/common/
H A Ddriver.c42 int ret; local
47 ret = E_OK;
71 ret = E_REQUEST_DENIED;
79 ret = E_REQUEST_DENIED;
87 ret = E_REQUEST_DENIED;
95 ret = E_REQUEST_DENIED;
104 ret = E_REQUEST_DENIED;
113 ret = E_REQUEST_DENIED;
127 ret = E_REQUEST_DENIED;
140 ret
[all...]
/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_string_len.c42 int ret = 1; local
50 ret = 1;
55 ret = 1;
67 ret = num;
94 ret = 15;
102 ret = 39;
104 ret = 32;
112 ret = 17;
119 ret = 12;
129 ret
[all...]
/illumos-gate/usr/src/lib/libbc/libc/sys/4.2/
H A Dread.c51 int fds, ret, off; local
63 if ((ret = _read(fd, nbuf, size)) == -1) {
69 to_utmp(buf, nbuf, ret);
71 ret = getmodsize(ret, sizeof (struct utmpx),
74 return (ret);
77 if ((ret = _read(fd, buf, size)) == -1) {
81 return (ret);
H A Dreadv.c52 int fds, ret, off; local
67 if ((ret = _read(fd, nbuf, size)) == -1) {
74 to_utmp(iov[i].iov_base, nbuf, ret);
76 ret = getmodsize(ret, sizeof (struct utmpx),
78 total += ret;
86 if ((ret = _readv(fd, iov, iovcnt)) == -1) {
90 return (ret);
/illumos-gate/usr/src/cmd/sendmail/db/btree/
H A Dbt_rsearch.c80 int ret, stack; local
104 if ((ret = __bam_lget(dbc,
106 return (ret);
107 if ((ret = memp_fget(dbp->mpf, &pg, 0, &h)) != 0) {
109 return (ret);
125 if ((ret = __bam_lget(dbc, 0, pg, DB_LOCK_WRITE, &lock)) != 0)
126 return (ret);
127 if ((ret = memp_fget(dbp->mpf, &pg, 0, &h)) != 0) {
129 return (ret);
193 ret
290 int ret; local
336 int ret; local
[all...]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/pid/
H A Dtst.vfork.c60 int ret = go(); local
61 (void) _exit(ret);
/illumos-gate/usr/src/test/libc-tests/tests/random/
H A Dinz_mlock.c35 int ret, i; local
45 ret = mlock(buf, mapsz);
46 assert(ret == 0);
48 ret = memcntl(buf, mapsz, MC_INHERIT_ZERO, 0, 0, 0);
49 assert(ret == 0);
60 ret = waitid(P_PID, child, &info, WEXITED);
61 } while (ret == -1 && errno == EINTR);
62 assert(ret == 0);
H A Dinz_split.c35 int ret, i; local
47 ret = memcntl(buf, mapsz, MC_INHERIT_ZERO, 0, 0, 0);
48 assert(ret == 0);
50 ret = munmap(buf + spltoff, spltsz);
51 assert(ret == 0);
65 ret = waitid(P_PID, child, &info, WEXITED);
66 } while (ret == -1 && errno == EINTR);
67 assert(ret == 0);
/illumos-gate/usr/src/test/libc-tests/tests/
H A Dprintf-6961.c40 int ret = 0; local
76 ret++;
83 ret++;
90 ret++;
97 ret++;
104 ret++;
111 ret++;
114 return (ret);
/illumos-gate/usr/src/boot/lib/libc/string/
H A Dstpncpy.c36 char *ret = dst; local
39 return (ret);
/illumos-gate/usr/src/test/util-tests/tests/libsff/
H A Dlibsff_opts.c34 int ret; local
38 if ((ret = nvlist_lookup_string_array(nvl, key, &vals, &count)) != 0) {
40 strerror(ret));
52 int ret; local
66 if ((ret = libsff_parse(buf, sizeof (buf), 0xa0, &nvl)) != 0) {
68 "values: %s\n", strerror(ret));
87 if ((ret = libsff_parse(buf, sizeof (buf), 0xa0, &nvl)) != 0) {
89 "values: %s\n", strerror(ret));
/illumos-gate/usr/src/test/util-tests/tests/ctf/
H A Dcheck-array.c86 int i, ret = 0; local
96 if ((fp = ctf_open(argv[i], &ret)) == NULL) {
98 ctf_errmsg(ret));
99 ret = EXIT_FAILURE;
103 ret = EXIT_FAILURE;
105 ret = EXIT_FAILURE;
109 ret = EXIT_FAILURE;
115 return (ret);

Completed in 319 milliseconds

1234567891011>>