Searched refs:error (Results 1 - 25 of 3009) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dendian-big.c2 #error "__LITTLE_ENDIAN__ defined!"
5 #error "__BIG_ENDIAN__ not correctly defined!"
8 #error "__BYTE_ORDER__ not correctly defined!"
H A Dendian-little.c2 #error "__BIG_ENDIAN__ defined!"
5 #error "__LITTLE_ENDIAN__ not correctly defined!"
8 #error "__BYTE_ORDER__ not correctly defined!"
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dset_errno.c34 * __set_errno() takes an error number, maps ERESTART into EINTR, and sets
35 * the global (or per-thread) errno. It returns the mapped error number.
36 * __set_errno(error) is designed to be used after calling __systemcall()
37 * and getting a non-zero error return value. (__systemcall() does not
38 * set errno and does not deal with ERESTART; it just returns the error
42 __set_errno(int error) argument
44 if (error == ERESTART)
45 error = EINTR;
46 errno = error;
47 return (error);
[all...]
H A Dlwp_rwlock.c45 int error; local
47 error = __systemcall(&rval, SYS_lwp_rwlock_sys,
49 if (error == ERESTART)
50 error = EINTR;
52 return (error);
59 int error; local
61 error = __systemcall(&rval, SYS_lwp_rwlock_sys,
63 if (error == ERESTART)
64 error = EINTR;
66 return (error);
73 int error; local
87 int error; local
101 int error; local
[all...]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/pragma/
H A Derr.D_PRAGERR.d37 #pragma D error "this is an error message"
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Defx_check.h45 # error "FALCON is obsolete and is not supported."
51 # error "BOOTCFG requires NVRAM"
58 # error "CHECK_REG requires SIENA or HUNTINGTON or MEDFORD"
65 # error "INTR_FATAL requires SIENA"
72 # error "DIAG requires SIENA or HUNTINGTON or MEDFORD"
79 # error "EV_PREFETCH requires SIENA or HUNTINGTON or MEDFORD"
84 # error "FALCON_NIC_CFG_OVERRIDE is obsolete and is not supported."
90 # error "FILTER requires SIENA or HUNTINGTON or MEDFORD"
96 # error "HUNTINGTON or MEDFORD requires FILTER"
103 # error "LOOPBAC
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dneti_mod.c51 int error; local
54 error = mod_install(&modlinkage);
55 if (error != 0)
58 return (error);
65 int error; local
67 error = mod_remove(&modlinkage);
68 if (error == 0)
71 return (error);
/illumos-gate/usr/src/lib/libdwarf/common/
H A Dpro_macinfo.h40 Dwarf_Error * error);
/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_xaction_ui.c73 sip_get_trans(sip_msg_t sip_msg, int which, int *error) argument
75 if (error != NULL)
76 *error = 0;
78 if (error != NULL)
79 *error = EINVAL;
90 sip_get_trans_resp_msg(sip_transaction_t sip_trans, int *error) argument
94 if (error != NULL)
95 *error = 0;
97 if (error != NULL)
98 *error
117 sip_get_trans_orig_msg(sip_transaction_t sip_trans, int *error) argument
134 sip_get_trans_conn_obj(sip_transaction_t sip_trans, int *error) argument
150 sip_get_trans_method(sip_transaction_t sip_trans, int *error) argument
167 sip_get_trans_branchid(sip_transaction_t trans, int *error) argument
195 sip_get_trans_state(sip_transaction_t trans, int *error) argument
[all...]
H A Dsip_hdrs_ui.c43 int *error)
45 if (error != NULL)
46 *error = 0;
49 if (error != NULL)
50 *error = EINVAL;
55 *error = EPROTO;
82 if (error != NULL && *error == 0)
83 *error = EINVAL;
93 boolean_t stype, boolean_t empty_val, int *error)
42 sip_get_val_from_hdr(sip_hdr_value_t *val, int val_type, boolean_t stype, int *error) argument
92 sip_get_val_from_msg(sip_msg_t msg, char *hdr_name, int val_type, boolean_t stype, boolean_t empty_val, int *error) argument
126 sip_get_cftruri_from_val(sip_header_value_t value, int *error) argument
151 sip_get_cftrname_from_val(sip_header_value_t value, int *error) argument
176 sip_get_contact_uri_str(sip_header_value_t value, int *error) argument
186 sip_get_contact_display_name(sip_header_value_t value, int *error) argument
196 sip_get_route_uri_str(sip_header_value_t value, int *error) argument
206 sip_get_route_display_name(sip_header_value_t value, int *error) argument
215 sip_get_cftruri_from_msg(sip_msg_t sip_msg, int *error, char *hdrname) argument
253 sip_get_cftrname_from_msg(sip_msg_t sip_msg, int *error, char *hdrname) argument
290 sip_get_from_uri_str(sip_msg_t sip_msg, int *error) argument
299 sip_get_from_display_name(sip_msg_t sip_msg, int *error) argument
308 sip_get_from_tag(sip_msg_t sip_msg, int *error) argument
345 sip_get_to_uri_str(sip_msg_t sip_msg, int *error) argument
354 sip_get_to_display_name(sip_msg_t sip_msg, int *error) argument
363 sip_get_to_tag(sip_msg_t sip_msg, int *error) argument
400 sip_get_callid(sip_msg_t sip_msg, int *error) argument
416 sip_get_cseq_val(sip_msg_t msg, int type, int *error) argument
459 sip_get_callseq_num(sip_msg_t sip_msg, int *error) argument
471 sip_get_callseq_method(sip_msg_t sip_msg, int *error) argument
484 sip_get_via_sent_by_host(sip_header_value_t value, int *error) argument
506 sip_get_via_sent_by_port(sip_header_value_t value, int *error) argument
527 sip_get_via_sent_protocol_version(sip_header_value_t value, int *error) argument
546 sip_get_via_sent_protocol_name(sip_header_value_t value, int *error) argument
567 sip_get_via_sent_transport(sip_header_value_t value, int *error) argument
588 sip_get_branchid(sip_msg_t sip_msg, int *error) argument
701 sip_get_num_via(sip_msg_t sip_msg, int *error) argument
730 sip_get_maxforward(sip_msg_t sip_msg, int *error) argument
745 sip_get_content_type(sip_msg_t sip_msg, int *error) argument
758 sip_get_content_sub_type(sip_msg_t sip_msg, int *error) argument
771 sip_get_content_length(sip_msg_t sip_msg, int *error) argument
786 sip_get_allow_events(sip_header_value_t value, int *error) argument
799 sip_get_event(sip_msg_t sip_msg, int *error) argument
812 sip_get_substate(sip_msg_t sip_msg, int *error) argument
825 sip_get_accept_type(sip_header_value_t value, int *error) argument
838 sip_get_accept_sub_type(sip_header_value_t value, int *error) argument
852 sip_get_accept_enc(sip_header_value_t value, int *error) argument
865 sip_get_accept_lang(sip_header_value_t value, int *error) argument
878 sip_get_alert_info_uri(sip_header_value_t value, int *error) argument
891 sip_get_allow_method(sip_header_value_t value, int *error) argument
904 sip_get_call_info_uri(sip_header_value_t value, int *error) argument
917 sip_get_content_disp(sip_msg_t sip_msg, int *error) argument
930 sip_get_content_enc(sip_header_value_t value, int *error) argument
943 sip_get_content_lang(sip_header_value_t value, int *error) argument
966 sip_get_date_val(sip_msg_t msg, int type, int *error) argument
1016 sip_get_date_time(sip_msg_t sip_msg, int *error) argument
1028 sip_get_date_day(sip_msg_t sip_msg, int *error) argument
1040 sip_get_date_month(sip_msg_t sip_msg, int *error) argument
1052 sip_get_date_year(sip_msg_t sip_msg, int *error) argument
1064 sip_get_date_wkday(sip_msg_t sip_msg, int *error) argument
1076 sip_get_date_timezone(sip_msg_t sip_msg, int *error) argument
1088 sip_get_error_info_uri(sip_header_value_t value, int *error) argument
1101 sip_get_priv_value(sip_header_value_t value, int *error) argument
1114 sip_get_expires(sip_msg_t sip_msg, int *error) argument
1129 sip_get_in_reply_to(sip_header_value_t value, int *error) argument
1142 sip_get_min_expires(sip_msg_t sip_msg, int *error) argument
1157 sip_get_mime_version(sip_msg_t sip_msg, int *error) argument
1170 sip_get_org(sip_msg_t sip_msg, int *error) argument
1183 sip_get_priority(sip_msg_t sip_msg, int *error) argument
1196 sip_get_pidentity_display_name(sip_header_value_t value, int *error) argument
1210 sip_get_pidenty_uri_str(sip_header_value_t value, int *error) argument
1225 sip_get_passertedid_display_name(sip_header_value_t value, int *error) argument
1234 sip_get_passertedid_uri_str(sip_header_value_t value, int *error) argument
1243 sip_get_ppreferredid_display_name(sip_header_value_t value, int *error) argument
1252 sip_get_ppreferredid_uri_str(sip_header_value_t value, int *error) argument
1265 sip_get_rack_val(sip_msg_t msg, int type, int *error) argument
1310 sip_get_rack_resp_num(sip_msg_t sip_msg, int *error) argument
1323 sip_get_rack_cseq_num(sip_msg_t sip_msg, int *error) argument
1336 sip_get_rack_method(sip_msg_t sip_msg, int *error) argument
1349 sip_get_rseq_resp_num(sip_msg_t sip_msg, int *error) argument
1363 sip_get_replyto_display_name(sip_msg_t sip_msg, int *error) argument
1376 sip_get_replyto_uri_str(sip_msg_t sip_msg, int *error) argument
1390 sip_get_require(sip_header_value_t value, int *error) argument
1403 sip_get_retry_after_time(sip_msg_t sip_msg, int *error) argument
1418 sip_get_retry_after_cmts(sip_msg_t sip_msg, int *error) argument
1431 sip_get_subject(sip_msg_t sip_msg, int *error) argument
1444 sip_get_supported(sip_header_value_t value, int *error) argument
1457 sip_get_tstamp_delay(sip_msg_t sip_msg, int *error) argument
1470 sip_get_tstamp_value(sip_msg_t sip_msg, int *error) argument
1483 sip_get_unsupported(sip_header_value_t value, int *error) argument
1496 sip_get_server(sip_msg_t sip_msg, int *error) argument
1509 sip_get_user_agent(sip_msg_t sip_msg, int *error) argument
1526 sip_get_warninfo(sip_header_value_t value, int info, int *error) argument
1561 sip_get_warning_code(sip_header_value_t value, int *error) argument
1583 sip_get_warning_agent(sip_header_value_t value, int *error) argument
1600 sip_get_warning_text(sip_header_value_t value, int *error) argument
1617 sip_get_author_scheme(sip_msg_t sip_msg, int *error) argument
1630 sip_get_auth_param(sip_msg_t msg, char *hdr_name, char *pname, int *error) argument
1669 sip_get_author_param(sip_msg_t sip_msg, char *name, int *error) argument
1681 sip_get_authen_info(sip_header_value_t value, int *error) argument
1701 sip_get_proxy_authen_scheme(sip_msg_t msg, int *error) argument
1714 sip_get_proxy_authen_param(sip_msg_t sip_msg, char *name, int *error) argument
1726 sip_get_proxy_author_scheme(sip_msg_t msg, int *error) argument
1739 sip_get_proxy_author_param(sip_msg_t sip_msg, char *name, int *error) argument
1751 sip_get_proxy_require(sip_header_value_t value, int *error) argument
1771 sip_get_www_authen_scheme(sip_msg_t msg, int *error) argument
1784 sip_get_www_authen_param(sip_msg_t sip_msg, char *name, int *error) argument
[all...]
/illumos-gate/usr/src/common/smbios/
H A Dsmb_error.c50 "Unknown SMBIOS error" /* ESMB_UNKNOWN */
56 smbios_errmsg(int error) argument
60 if (error >= ESMB_BASE && (error - ESMB_BASE) < _smb_nerr)
61 str = _smb_errlist[error - ESMB_BASE];
63 str = smb_strerror(error);
65 return (str ? str : "Unknown error");
75 smb_set_errno(smbios_hdl_t *shp, int error) argument
77 shp->sh_err = error;
/illumos-gate/usr/src/cmd/fs.d/smbclnt/smbutil/
H A Ddiscon.c47 int error, opt; local
52 error = smb_ctx_alloc(&ctx);
53 if (error != 0)
54 return (error);
56 error = smb_ctx_scan_argv(ctx, argc, argv,
58 if (error != 0)
61 error = smb_ctx_readrc(ctx);
62 if (error != 0)
68 error = smb_ctx_opt(ctx, opt, optarg);
69 if (error !
[all...]
H A Dprint.c76 int error, opt; local
83 error = smb_ctx_alloc(&ctx);
84 if (error)
87 error = smb_ctx_scan_argv(ctx, argc-1, argv,
89 if (error)
92 error = smb_ctx_readrc(ctx);
93 if (error)
99 error = smb_ctx_opt(ctx, opt, optarg);
100 if (error)
122 error
192 int error = 0; local
[all...]
H A Dview.c66 int error, err2, opt; local
71 error = smb_ctx_alloc(&ctx);
72 if (error)
73 return (error);
75 error = smb_ctx_scan_argv(ctx, argc, argv,
77 if (error)
80 error = smb_ctx_readrc(ctx);
81 if (error)
87 error = smb_ctx_opt(ctx, opt, optarg);
88 if (error)
[all...]
/illumos-gate/usr/src/common/ctf/
H A Dctf_error.c62 "Syntax error in type name", /* ECTF_SYNTAX */
84 "CTF conversion backend error", /* ECTF_CONVBKERR */
92 ctf_errmsg(int error) argument
96 if (error >= ECTF_BASE && (error - ECTF_BASE) < _ctf_nerr)
97 str = _ctf_errlist[error - ECTF_BASE];
99 str = ctf_strerror(error);
101 return (str ? str : "Unknown error");
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dgetdtablesize.c42 int error; local
45 error = getrlimit(RLIMIT_NOFILE, &rip);
46 if ( error < 0 )
/illumos-gate/usr/src/lib/libc/port/gen/
H A Draise.c44 int error; local
46 if ((error = thr_kill(thr_self(), sig)) != 0) {
47 errno = error;
H A Dposix_fallocate.c36 * Return the proper Posix error number for a failed (EINVAL) fcntl() operation.
42 int error; local
45 error = EBADF;
47 error = ESPIPE;
49 error = ENODEV;
51 error = EINVAL;
53 return (error);
60 int error; local
71 if ((error = errno) == EINVAL)
72 error
86 int error; local
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/pkgscripts/
H A Di.preserve.sh29 error=no
40 cp $src $dest || error=yes
44 [ "$error" = yes ] &&
/illumos-gate/usr/src/ucblib/libucb/port/sys/
H A Dgethostname.c53 int error; local
55 error = sysinfo(SI_HOSTNAME, name, namelen);
57 * error > 0 ==> number of bytes to hold name
61 return (error == -1 ? -1 : 0);
67 int error; local
76 error = sysinfo(SI_SET_HOSTNAME, name, namelen);
77 return (error == -1 ? -1 : 0);
/illumos-gate/usr/src/cmd/print/scripts/
H A Ddesktop-print-management-prefs32 /bin/zenity --error --test "preferences are unavailable for the desktop print management tool"
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dipddi.c52 int error; local
60 error = mod_install(&modlinkage);
61 if (error != 0)
64 return (error);
70 int error; local
72 error = mod_remove(&modlinkage);
73 if (error == 0)
76 return (error);
H A Dspdsockddi.c46 int error; local
50 error = mod_install(&modlinkage);
51 if (error != 0)
54 return (error);
60 int error; local
62 error = mod_remove(&modlinkage);
63 if (error != 0)
64 return (error);
/illumos-gate/usr/src/uts/common/syscall/
H A Dcladm.c39 int error = 0; local
45 error = EINVAL;
57 error = EFAULT;
70 /* return error if not configured as a cluster */
72 error = ENOSYS;
77 error = copyout(&nid, arg, sizeof (nid));
85 error = EINVAL;
88 error = cladmin(fac, cmd, arg);
90 * error will be -1 if the cladm module cannot be loaded;
94 if (error <
[all...]
/illumos-gate/usr/src/lib/libproc/common/
H A Dpr_exit.c44 int error; local
58 error = Psyscall(Pr, &rval, SYS_exit, 1, &argd[0]);
61 if (error < 0) {
63 error = ENOENT;
65 error = ENOSYS;
68 if (error == 0) /* can't happen? */
71 if (error == ENOENT) /* expected case */
74 errno = error;
85 int error; local
92 error
[all...]

Completed in 83 milliseconds

1234567891011>>