Searched refs:ret (Results 151 - 175 of 3155) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/test/util-tests/tests/libsff/
H A Dlibsff_8636_extspec.c40 int ret; local
45 if ((ret = libsff_parse(buf, sizeof (buf), 0xa0, &nvl)) != 0) {
50 if ((ret = nvlist_lookup_string(nvl, LIBSFF_KEY_EXT_SPEC,
54 strerror(ret));
H A Dlibsff_conn.c39 int ret; local
44 if ((ret = libsff_parse(buf, sizeof (buf), 0xa0, &nvl)) != 0) {
46 "%d: %s\n", i, strerror(ret));
49 if ((ret = nvlist_lookup_string(nvl, LIBSFF_KEY_CONNECTOR,
53 strerror(ret));
67 int ret; local
72 if ((ret = libsff_parse(buf, sizeof (buf), 0xa0, &nvl)) != 0) {
77 if ((ret = nvlist_lookup_string(nvl, LIBSFF_KEY_CONNECTOR,
81 strerror(ret));
H A Dlibsff_enc.c39 int ret; local
44 if ((ret = libsff_parse(buf, sizeof (buf), 0xa0, &nvl)) != 0) {
46 "%d: %s\n", i, strerror(ret));
49 if ((ret = nvlist_lookup_string(nvl, LIBSFF_KEY_ENCODING,
53 strerror(ret));
67 int ret; local
72 if ((ret = libsff_parse(buf, sizeof (buf), 0xa0, &nvl)) != 0) {
77 if ((ret = nvlist_lookup_string(nvl, LIBSFF_KEY_ENCODING,
81 strerror(ret));
H A Dlibsff_strings.c84 int ret, i; local
95 if ((ret = libsff_parse(buf, sizeof (buf), 0xa0, &nvl)) != 0) {
97 "case %d: %s\n", i, strerror(ret));
100 if ((ret = nvlist_lookup_string(nvl, LIBSFF_KEY_VENDOR,
103 "for %s: %d\n", LIBSFF_KEY_VENDOR, ret);
113 if ((ret = libsff_parse(buf, sizeof (buf), 0xa0, &nvl)) != 0) {
115 "case %d: %s\n", i, strerror(ret));
118 if ((ret = nvlist_lookup_string(nvl, LIBSFF_KEY_VENDOR,
121 "%s: %d", LIBSFF_KEY_VENDOR, ret);
/illumos-gate/usr/src/lib/libresolv2/common/bsd/
H A Dstrerror.c59 const char *ret; local
69 ret = strerror(num); /*%< call strerror() in libc */
70 if (ret != NULL)
71 return(ret);
/illumos-gate/usr/src/lib/libsaveargs/tests/functional/
H A Dtest.sh33 tester big-struct-ret "test (1, 2, 3, 4)"
34 tester big-struct-ret-and-spill "test (1, 2, 3, 4, 5, 6, 7, 8)"
35 tester small-struct-ret "test (1, 2, 3, 4)"
36 tester small-struct-ret-and-spill "test (1, 2, 3, 4, 5, 6, 7, 8)"
/illumos-gate/usr/src/tools/onbld/Checks/
H A DWsCheck.py33 ret = 0
40 ret = 1
43 ret = 1
46 return ret
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dchpw.c24 krb5_error_code ret = 0; local
32 if ((ret = krb5_auth_con_setflags(context, auth_context,
39 if ((ret = krb5_mk_priv(context, auth_context,
47 ret = ENOMEM;
80 return(ret);
90 krb5_error_code ret; local
119 if ((ret = krb5_rd_error(context, packet, &krberror)))
120 return(ret);
123 ret = ERROR_TABLE_BASE_krb5 + (krb5_error_code) krberror->error;
125 return (ret);
285 krb5_error_code ret; local
359 krb5_error_code ret; local
[all...]
/illumos-gate/usr/src/cmd/sendmail/db/include/
H A Ddb_am.h29 * int ret;
34 if ((ret = func(dbtp->data, &argp)) != 0) \
36 if ((ret = \
38 if (ret == DB_DELETED) { \
39 ret = 0; \
46 if ((ret = file_dbp->cursor(file_dbp, NULL, &dbc, 0)) != 0) \
57 return (ret); \
64 if ((ret = func(dbtp->data, &argp)) != 0) \
65 return (ret); \
70 return (ret); \
[all...]
/illumos-gate/usr/src/cmd/srptsvc/
H A Dsrptsvc.c46 int ret; local
84 ret = 0;
87 ret = SMF_EXIT_ERR_FATAL; /* avoid retries */
93 return (ret);
96 ret = ioctl(fd, srpt_ioctl, NULL);
97 if (ret != 0) {
104 (void) fprintf(stderr, "%s: %d", txt, ret);
105 ret = SMF_EXIT_ERR_FATAL;
110 return (ret);
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/
H A Dcopy_key.c48 krb5_error_code ret = 0; local
70 if ((ret = init_key_kef(context->kef_cipher_mt, to))) {
71 return (ret);
81 return (ret);
96 krb5_error_code ret = 0; local
105 ret = krb5_copy_keyblock_data(context, from, new_key);
106 if (ret) {
108 return (ret);
112 return (ret);
/illumos-gate/usr/src/cmd/zfs/
H A Dzfs_project.c67 int ret; local
69 ret = stat(name, st);
70 if (ret) {
73 return (ret);
103 int ret, fd; local
112 ret = ioctl(fd, ZFS_IOC_FSGETXATTR, &fsx);
113 if (ret)
121 return (ret);
128 int ret, fd; local
140 ret
217 int ret = 0; local
272 int ret; local
[all...]
/illumos-gate/usr/src/test/os-tests/tests/ksensor/
H A Dksensor_basic.c37 int ret = 0; local
50 ret = EXIT_FAILURE;
56 ret = EXIT_FAILURE;
61 ret = EXIT_FAILURE;
70 ret = EXIT_FAILURE;
76 ret = EXIT_FAILURE;
82 ret = EXIT_FAILURE;
88 ret = EXIT_FAILURE;
91 return (ret);
/illumos-gate/usr/src/test/os-tests/tests/poll/
H A Dpoll_test.c165 int ret; local
170 ret = poll(fds, nfds, timeout);
175 fds, nfds, timeout, ret, (*elapsed));
177 return (ret);
184 int ret; local
193 ret = ioctl(pollfd, DP_POLL, &arg);
198 fds, arg.dp_nfds, arg.dp_timeout, ret, (*elapsed));
200 return (ret);
206 int ret; local
213 ret
235 int ret; local
263 int ret; local
296 int ret; local
324 int ret; local
450 int ret; local
510 int ret; local
[all...]
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_crypto.c88 int ret; local
101 ret = regexec(&hdl->libzfs_urire, str, ARRAY_SIZE(pmatch), pmatch, 0);
102 switch (ret) {
115 (void) fprintf(stderr, "regexec failed: %d\n", ret);
139 int ret, i; local
144 ret = EINVAL;
148 ret = sscanf(&hex[i], "%02x", &c);
149 if (ret != 1) {
150 ret = EINVAL;
160 return (ret);
265 int ret = 0; local
345 int ret = 0; local
406 int ret = 0; local
468 int ret = 0; local
503 int ret; local
580 int ret = 0; local
628 int ret; local
702 int ret; local
798 int ret; local
829 int ret; local
861 int ret; local
1052 int ret; local
1088 int ret; local
1123 int ret, attempts = 0; local
1288 int ret; local
1370 int ret; local
1418 int ret; local
[all...]
/illumos-gate/usr/src/cmd/projadd/
H A Dprojadd.pl130 my $ret;
146 ($ret, $pf) = projf_read($pfh, $flags);
147 if ($ret != 0) {
172 ($ret, $value) = projent_parse_name($pname);
173 if ($ret != 0) {
178 ($ret, $tmperr) =
180 if ($ret != 0) {
189 my ($ret, $value) = projent_parse_projid($opt_p);
190 if ($ret != 0) {
195 ($ret,
[all...]
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Drdma_transport.c63 int ret = 0; local
88 ret = 1;
98 ret = trans->cm_handle_connect(cm_id, event);
103 ret = rdma_resolve_route(cm_id,
109 ret = trans->cm_initiate_connect(cm_id);
153 "id %p event %u handling ret %d", cm_id, event->event, ret);
155 return (ret);
163 int ret; local
169 ret
229 int ret; local
[all...]
/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_fcp.c72 int ret; local
77 if ((ret = av1394_fcp_ctl_register(avp)) != DDI_SUCCESS) {
79 return (ret);
83 if ((ret = av1394_fcp_ctl_alloc_cmd(avp)) != DDI_SUCCESS) {
86 return (ret);
90 if ((ret = av1394_fcp_tgt_register(avp)) != DDI_SUCCESS) {
93 return (ret);
97 if ((ret = av1394_fcp_tgt_alloc_cmd(avp)) != DDI_SUCCESS) {
100 return (ret);
109 return (ret);
131 int ret; local
210 int ret; local
227 int ret; local
244 int ret; local
259 int ret; local
272 int ret; local
287 int ret; local
333 int ret = 0; local
521 int ret = 0; local
[all...]
/illumos-gate/usr/src/cmd/krb5/kadmin/server/
H A Dserver_stubs.c138 int ret; local
140 ret = cmp_gss_names(n1, n2);
142 return ret;
503 static generic_ret ret; local
515 xdr_free(xdr_generic_ret, (char *) &ret);
517 if ((ret.code = new_server_handle(arg->api_version, rqstp, &handle)))
518 return &ret;
520 if ((ret.code = check_handle((void *)handle)))
522 ret.api_version = handle->api_version;
525 ret
610 static generic_ret ret; local
711 static generic_ret ret; local
787 static generic_ret ret; local
862 static generic_ret ret; local
980 static gprinc_ret ret; local
1071 static gprincs_ret ret; local
1146 static generic_ret ret; local
1225 static generic_ret ret; local
1306 static generic_ret ret; local
1378 static generic_ret ret; local
1448 static generic_ret ret; local
1522 static chrand_ret ret; local
1614 static chrand_ret ret; local
1708 static generic_ret ret; local
1781 static generic_ret ret; local
1851 static generic_ret ret; local
1922 static gpol_ret ret; local
2027 static gpols_ret ret; local
2100 static getprivs_ret ret; local
2154 static generic_ret ret; local
[all...]
/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...]
/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...]

Completed in 79 milliseconds

1234567891011>>