| /netvirt/usr/src/cmd/agents/snmp/snmplib/test/ |
| error_test.c | 30 #include "error.h" 42 error("first message"); 43 error("tata\n"); 44 error("\n"); 45 error("titi\n"); 46 error("\n\n"); 47 error("toto\n\n\n"); 48 error("\n\n\n"); 52 error("second message"); 53 error("tata\n") [all...] |
| /netvirt/usr/src/lib/libc/port/sys/ |
| set_errno.c | 34 * __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) 44 if (error == ERESTART) 45 error = EINTR; 46 errno = error; 47 return (error); [all...] |
| /netvirt/usr/src/cmd/dtrace/test/tst/common/pragma/ |
| err.D_PRAGERR.d | 37 #pragma D error "this is an error message"
|
| /netvirt/usr/src/lib/libsip/common/ |
| sip_xaction_ui.c | 75 sip_get_trans(sip_msg_t sip_msg, int which, int *error) 77 if (error != NULL) 78 *error = 0; 80 if (error != NULL) 81 *error = EINVAL; 92 sip_get_trans_resp_msg(sip_transaction_t sip_trans, int *error) 96 if (error != NULL) 97 *error = 0; 99 if (error != NULL) 100 *error = EINVAL [all...] |
| sip_hdrs_ui.c | 43 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) [all...] |
| sip_uri_ui.c | 62 sip_parse_uri(sip_str_t *uri_str, int *error) 66 if (error != NULL) 67 *error = 0; 70 if (error != NULL) 71 *error = EINVAL; 76 if (error != NULL) 77 *error = ENOMEM; 84 if (error != NULL) 85 *error = ENOMEM; 88 if (parsed_uri->sip_uri_errflags != 0 && error != NULL [all...] |
| /netvirt/usr/src/common/smbios/ |
| smb_error.c | 50 "Unknown SMBIOS error" /* ESMB_UNKNOWN */ 56 smbios_errmsg(int error) 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) 77 shp->sh_err = error;
|
| /netvirt/usr/src/common/ctf/ |
| ctf_error.c | 61 "Syntax error in type name", /* ECTF_SYNTAX */ 81 ctf_errmsg(int error) 85 if (error >= ECTF_BASE && (error - ECTF_BASE) < _ctf_nerr) 86 str = _ctf_errlist[error - ECTF_BASE]; 88 str = ctf_strerror(error); 90 return (str ? str : "Unknown error");
|
| /netvirt/usr/src/lib/libbc/libc/sys/common/ |
| getdtablesize.c | 42 int error; local 45 error = getrlimit(RLIMIT_NOFILE, &rip); 46 if ( error < 0 )
|
| /netvirt/usr/src/lib/libc/port/gen/ |
| raise.c | 45 int error; local 47 if ((error = _thr_kill(_thr_self(), sig)) != 0) { 48 errno = error;
|
| /netvirt/usr/src/cmd/lvm/md_monitord/ |
| svc-mdmonitor.sh | 40 error=$? 41 case $error in 45 *) echo "Could not start $MDMONITORD. Error $error."
|
| /netvirt/usr/src/ucblib/libucb/port/sys/ |
| gethostname.c | 53 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);
|
| /netvirt/usr/src/lib/libresolv2/common/cylink/ |
| sizetest.c | 51 #error Using 16-bit math library 53 #error Using 32-bit math library 55 #error Using 64-bit math library 57 #error No math library size defined
|
| /netvirt/usr/src/uts/common/inet/ip/ |
| ipddi.c | 52 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);
|
| spdsockddi.c | 46 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);
|
| /netvirt/usr/src/uts/common/syscall/ |
| cladm.c | 39 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 < 0 [all...] |
| /netvirt/usr/src/cmd/lvm/metassist/common/ |
| volume_error.h | 37 * Retrieve the error string for the given error code. 39 * @param error 40 * If error is less than zero, it is assumed to be a 41 * custom error code. If error is greater than zero, it 42 * is assumed to be an error defined in errno.h. 44 * @return the error string set by volume_set_error() 45 * if error < 0 47 * @return the error string returned by strerror( [all...] |
| volume_nvpair.c | 77 int error; local 82 error = ENOENT; 84 error = nvpair_value_uint16(match, val); 87 return (error); 117 int error = 0; local 119 if ((error = nvlist_add_uint16(attrs, which, val)) != 0) { 121 gettext("nvlist_add_int16(%s) failed: %d\n"), which, error); 124 return (error); 151 int error; local 156 error = ENOENT 191 int error = 0; local 225 int error; local 265 int error = 0; local 333 int error; local 371 int error; local 411 int error = 0; local 449 int error; local 493 int error = 0; local 533 int error; local 577 int error = 0; local 617 int error; local 661 int error = 0; local [all...] |
| /netvirt/usr/src/cmd/rpld/ |
| dlhdr.h | 33 int error; member in struct:dl_descriptor
|
| /netvirt/usr/src/lib/libproc/common/ |
| pr_exit.c | 44 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 = Psyscall(Pr, &rval, SYS_lwp_exit, 0, NULL) [all...] |
| /netvirt/usr/src/ucblib/libucb/port/gen/ |
| times.c | 65 int error; local 73 error = _times(tmsp); 74 return (error == -1 ? error : 0);
|
| /netvirt/usr/src/cmd/lvm/metassist/layout/ |
| layout_concat.c | 138 int error = 0; local 140 (error = get_usable_hbas(&usable_hbas)); 141 if (error != 0) { 143 return (error); 153 error = group_similar_hbas(usable_hbas, &similar_hba_groups); 154 if (error != 0) { 155 return (error); 159 (error == 0) && (concat == NULL) && (iter != NULL); 168 (concat == NULL) && (error == 0); 178 error = select_hbas_with_n_disks 305 int error = 0; local 381 int error = 0; local 530 int error = 0; local 614 int error = 0; local [all...] |
| /netvirt/usr/src/pkgdefs/SUNWcryptoint/ |
| postinstall | 37 error=no 44 echo "$0: ERROR - $kcfconf doesn't exist" 59 error=yes 65 cp -p $kcfconf $tmpfile || error=yes 66 sed -e "/$pkg_start/,/$pkg_end/d" $kcfconf > $tmpfile || error=yes 68 cp -p $kcfconf $tmpfile || error=yes 74 echo "$pkg_start driver_names=dprov" >> $tmpfile || error=yes 75 echo "$pkg_end" >> $tmpfile || error=yes 80 if [ "$error" = no ] 82 mv $tmpfile $kcfconf || error=ye [all...] |
| /netvirt/usr/src/cmd/hal/utils/ |
| battery.c | 35 my_dbus_error_free(DBusError *error) 37 if (dbus_error_is_set(error)) { 38 dbus_error_free(error); 47 DBusError error; local 64 dbus_error_init(&error); 65 libhal_device_commit_changeset(ctx, cs, &error); 67 my_dbus_error_free(&error); 74 DBusError error; local 77 dbus_error_init(&error); 79 &error); 195 DBusError error; local 358 DBusError error; local 463 DBusError error; local 520 DBusError error; local 552 DBusError error; local 586 DBusError error; local 625 DBusError error; local [all...] |
| /netvirt/usr/src/common/net/wanboot/ |
| http_errorstr.c | 48 /* EHTTP_UNEXPECTED */ "SSL connection returned unexpected error", 58 /* EHTTP_BADRESP */ "Bad response or error response returned", 67 * http_errorstr - print the error associated with the source and errorcode 70 * errsrc - Which library caused the error (as returned by 72 * error - The error code returned 75 * Pointer to error string for this error. 78 http_errorstr(uint_t errsrc, ulong_t error) 86 msg = strerror(error); [all...] |