Searched refs:ret (Results 301 - 325 of 2868) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/lib/libmail/common/
H A Dxgetenv.c37 * int ret = xsetenv(file)
143 char *ret, **svenviron = environ; local
146 ret = getenv(env);
148 return (ret);
158 char *ret = xgetenv(env); local
159 return (ret ? ret : "");
/illumos-gate/usr/src/cmd/dis/
H A Ddis_util.c85 void *ret; local
87 if ((ret = calloc(1, size)) == NULL)
90 return (ret);
110 int ret; local
137 while ((ret = (*demangle_func)(name, demangled_name, size)) == -1) {
143 if (ret != 0)
/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_map.c50 int ret; local
52 ret = EINVAL;
67 ret = 0;
72 ret = 0;
76 ret = 0;
83 return (ret);
119 int called, ret; local
122 ret = EINVAL;
162 ret = __os_map(path,
169 ret
228 int called, ret; local
262 int called, ret; local
[all...]
/illumos-gate/usr/src/cmd/sendmail/lib/
H A Dsendmail-client64 ret=$?
65 [ $ret -eq 1 ] && exit 1
70 if [ $ret -eq 2 ] ; then
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Ddecrypt.c42 krb5_error_code ret = 0; local
61 ret = init_key_kef(context->kef_cipher_mt, (krb5_keyblock *)key);
62 if (ret)
63 return(ret);
66 if ((ret = init_key_uef(krb_ctx_hSession(context), (krb5_keyblock *)key)))
67 return (ret);
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/dk/
H A Ddk_encrypt.c66 krb5_error_code ret; local
79 ret = init_derived_keydata(context, enc,
84 if (ret)
85 return (ret);
103 if ((ret = krb5_c_random_make_octets(context, &d1)))
121 if ((ret = ((*(enc->encrypt))(context, derived_encr_key,
138 if ((ret = krb5_hmac(context, derived_hmac_key, &d1, &d2))) {
143 if ((ret = krb5_hmac(context, hash, derived_hmac_key,
154 /* ret is set correctly by the prior call */
159 KRB5_LOG(KRB5_INFO, "krb5_dk_encrypt() end, ret
191 krb5_error_code ret; local
230 krb5_error_code ret; local
[all...]
/illumos-gate/usr/src/test/libc-tests/tests/random/
H A Dinz_child.c37 int ret, i; local
46 ret = memcntl(buf, mapsz, MC_INHERIT_ZERO, 0, 0, 0);
47 assert(ret == 0);
63 ret = waitid(P_PID, child, &info, WEXITED);
64 } while (ret == -1 && errno == EINTR);
65 assert(ret == 0);
H A Dinz_region.c35 int ret, i; local
45 ret = memcntl(buf, mapsz, MC_INHERIT_ZERO, 0, 0, 0);
46 assert(ret == 0);
57 ret = waitid(P_PID, child, &info, WEXITED);
58 } while (ret == -1 && errno == EINTR);
59 assert(ret == 0);
H A Dinz_vpp.c35 int ret, i; local
48 ret = memcntl(buf + clroff, clrsz, MC_INHERIT_ZERO, 0, 0, 0);
49 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/uts/common/io/ib/clients/sdp/
H A Dsdpddi.c88 int ret; local
95 ret = ddi_create_minor_node(devi, SDP_NAME, S_IFCHR,
97 if (ret != DDI_SUCCESS) {
98 return (ret);
138 int ret = 0; local
149 ret = ENODEV;
154 ret = EPROTONOSUPPORT;
158 ret = ldi_open_by_name("/devices/ib/sdpib@0:sdpib",
160 if (ret != 0) {
161 ret
177 int ret; local
312 int ret; local
327 int ret; local
[all...]
/illumos-gate/usr/src/cmd/lvm/metassist/common/
H A Dvolume_output.c124 int ret; local
128 ret = oprintf_va(verbosity, fmt, ap);
131 return (ret);
161 int ret = 0; local
173 ret = vfprintf(output, fmt, ap);
176 return (ret);
/illumos-gate/usr/src/cmd/sendmail/db/db/
H A Ddb_appinit.c80 int mode, ret; local
103 if ((ret = __db_fchk(dbenv, "db_appinit", flags, OKFLAGS)) != 0)
104 return (ret);
115 if ((ret = __db_home(dbenv, db_home, flags)) != 0)
120 if ((ret = __db_parse(dbenv, *p)) != 0)
135 ret = ENAMETOOLONG;
145 ret = EINVAL;
153 if ((ret = __db_parse(dbenv, buf)) != 0)
162 if (dbenv->db_tmp_dir == NULL && (ret = __os_tmpdir(dbenv, flags)) != 0)
177 if ((ret
262 int ret, t_ret; local
338 int data_entry, ret, slash, tmp_create, tmp_free; local
568 int ret; local
650 int mode, isdir, ret; local
[all...]
H A Ddb_overflow.c94 int ret; local
117 if ((ret =
119 return (ret);
121 if ((ret = __os_realloc(bpp, needed)) != 0)
122 return (ret);
134 if ((ret = memp_fget(dbp->mpf, &pgno, 0, &h)) != 0) {
136 return (ret);
180 int ret; local
205 if ((ret = newfunc(dbc, P_OVERFLOW, &pagep)) != 0)
206 return (ret);
263 int ret; local
298 int ret; local
360 int ret; local
[all...]
H A Ddb_dup.c51 int ret; local
58 if ((ret = __db_poff(dbc, dbt, &pgno, newfunc)) != 0)
59 return (ret);
80 ret = __db_addpage(dbc, pp, indxp, newfunc);
82 ret = __db_dsplit(dbc, pp, indxp, isize, newfunc);
83 if (ret != 0)
88 return (ret);
96 if ((ret = __db_pitem(dbc,
98 return (ret);
119 int ret; local
169 int ret; local
221 int did_indx, ret, t_ret; local
401 int ret; local
469 int ret; local
542 int ret; local
652 int ret; local
692 int ret; local
757 int ret; local
[all...]
/illumos-gate/usr/src/cmd/projadd/
H A Dprojmod.pl237 my $ret;
252 ($ret, $tmp) = merge_values(
257 if ($ret != 0) {
292 ($ret, $tmp) = merge_values(
297 if ($ret != 0) {
465 my ($ret, $pf) = projf_read($pfh, $flags);
466 if ($ret != 0) {
511 ($ret, $value) = projent_parse_name($opt_l);
512 if ($ret != 0) {
517 ($ret,
[all...]
/illumos-gate/usr/src/uts/common/syscall/
H A Dprocessor_bind.c191 int ret = 0; local
215 ret = EINVAL;
217 ret = EIO;
228 if (ret) {
230 return (set_errno(ret));
238 ret = cpu_bind_thread(curthread, bind, &obind, &err);
245 ret = cpu_bind_thread(tp,
252 ret = ESRCH;
264 ret = cpu_bind_process(curproc, bind, &obind, &err);
266 ret
[all...]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/
H A Dadb_openclose.c94 krb5_error_code ret; local
98 if ((ret = osa_adb_create_db(fileto, lockto, magic)) &&
99 ret != EEXIST)
100 return ret;
102 if ((ret = osa_adb_init_db(&fromdb, filefrom, lockfrom, magic)))
103 return ret;
104 if ((ret = osa_adb_init_db(&todb, fileto, lockto, magic))) {
106 return ret;
108 if ((ret = osa_adb_get_lock(fromdb, KRB5_DB_LOCKMODE_PERMANENT))) {
111 return ret;
286 int tries, gotlock, perm, krb5_mode, ret = 0; local
372 int ret, fd; local
396 int ret; local
[all...]
/illumos-gate/usr/src/tools/scripts/
H A Dgit-pbchk.py165 ret = set()
167 if fname and not fname.isspace() and fname not in ret:
168 ret.add(fname.strip())
170 return ret
196 def ret(select=None): function in function:gen_files
214 return ret
225 ret = 0
245 ret |= Mapfile.mapfilechk(fh, output=output)
247 return ret
251 ret
[all...]
/illumos-gate/usr/src/cmd/isns/isnsadm/
H A Disnsadm.c208 int ret; local
212 ret = ERROR_ISNS_SMF_SERVICE_NOT_ONLINE;
219 ret = door_err;
224 return (ret);
300 msg_code_t ret; local
303 if ((ret = build_assoc_xml_doc(name, assoc, &doc)) != 0) {
304 return (ret);
308 ret = check_door_error(ERROR_DOOR_OPEN_FAILED, errno);
309 return (ret);
319 ret
808 int m_flag = 0, ret = 0, status; local
1228 int ret = 0, status; local
2547 int ret; local
2677 int ret; local
2788 msg_code_t ret; local
2904 msg_code_t ret; local
2970 msg_code_t ret; local
3039 msg_code_t ret; local
3176 msg_code_t ret; local
3309 msg_code_t ret; local
3375 msg_code_t ret; local
3442 msg_code_t ret; local
3509 msg_code_t ret; local
3575 msg_code_t ret; local
3642 msg_code_t ret; local
3707 int fd, ret = 0; local
3806 int ret; local
3863 int ret; local
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/common/ipmi/
H A Dipmi_methods.c43 int ret; local
47 if ((ret = nvlist_lookup_nvlist(in, TOPO_PROP_ARGS, &args)) != 0) {
49 strerror(ret));
53 if ((ret = nvlist_lookup_string(args, "format", &fmtstr)) != 0) {
55 strerror(ret));
131 int ret; local
136 if ((ret = nvlist_lookup_nvlist(in, TOPO_PROP_ARGS, &args)) != 0) {
138 strerror(ret));
141 if ((ret = nvlist_lookup_uint32(args, "offset", &offset)) != 0) {
143 strerror(ret));
179 int ret, err; local
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/
H A Dccfns.c68 krb5_error_code ret; local
72 ret = cache->ops->store(context, cache, creds);
73 if (ret) return ret;
80 ret = decode_krb5_ticket(&creds->ticket, &tkt);
82 if (ret) return 0;
86 ret = cache->ops->store(context, cache, creds);
90 return ret;
98 krb5_error_code ret; local
101 ret
[all...]
/illumos-gate/usr/src/lib/cfgadm_plugins/ac/common/
H A Dmema_prom.c75 int ret; local
82 ret = prom_read_one(dp, bd, prom_fd,
85 return (ret);
92 int ret; local
98 ret = prom_write_one(dp, bd, prom_fd,
101 return (ret);
114 int ret; local
120 ret = 0;
124 ret = 1;
129 ret
185 int ret; local
[all...]
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dsvr_principal.c220 unsigned int ret; local
245 ret = kdb_get_entry(handle, entry->principal, &kdb, &adb);
247 switch(ret) {
274 return ret;
282 if ((ret = kadm5_get_policy(handle->lhandle, entry->policy,
284 if(ret == EINVAL)
287 return ret;
290 if ((ret = passwd_check(handle, password, (mask & KADM5_POLICY),
294 return ret;
301 if ((ret
467 unsigned int ret; local
513 int ret, ret2, i; local
708 int ret, i; local
760 krb5_error_code ret = 0; local
986 krb5_error_code ret; local
1048 int i, ret; local
1261 kadm5_ret_t ret = 0; local
1346 int ret, ret2, last_pwd, hist_added; local
1569 int ret, last_pwd, have_pol = 0; local
1888 int i, j, k, kvno, ret, have_pol = 0; local
2097 int ret, i; local
2169 int ret; local
2207 kadm5_ret_t ret; local
[all...]
/illumos-gate/usr/src/cmd/sendmail/db/btree/
H A Dbt_cursor.c127 int ret; local
129 if ((ret = __os_calloc(1, sizeof(CURSOR), &cp)) != 0)
130 return (ret);
141 if ((ret = __os_malloc(sizeof(db_recno_t),
144 return (ret);
181 int ret; local
185 ret = 0;
192 ret = __bam_c_physdel(dbc, cp, NULL);
209 return (ret);
241 int ret; local
353 int exact, ret, tmp_rmw; local
624 int cmp, ret; local
717 int exact, ret; local
766 int exact, needkey, ret, stack; local
1076 int ret; local
1123 int ret; local
1173 int ret; local
1286 int ret, set_indx; local
1404 int cmp, needexact, ret; local
1586 int ret; local
1641 int delete_page, local_page, ret; local
1886 int exact, ret; local
[all...]
H A Dbt_delete.c79 int ret, t_ret; local
84 if ((ret =
86 return (ret);
89 if ((ret = dbp->cursor(dbp, txn, &dbc, DB_WRITELOCK)) != 0)
90 return (ret);
112 if ((ret = dbc->c_get(dbc, key, &data, f_init)) != 0)
115 if ((ret = dbc->c_del(dbc, 0)) != 0)
117 if ((ret = dbc->c_get(dbc, key, &data, f_next)) != 0) {
118 if (ret == DB_NOTFOUND) {
119 ret
151 int ret; local
257 int ret; local
307 int exact, ret; local
418 int done, ret; local
[all...]

Completed in 85 milliseconds

<<11121314151617181920>>