Searched refs:error (Results 26 - 50 of 6539) sorted by relevance

1234567891011>>

/freebsd-current/cddl/contrib/opensolaris/common/ctf/
H A Dctf_error.c62 "Syntax error in type name", /* ECTF_SYNTAX */
84 ctf_errmsg(int error) argument
88 if (error >= ECTF_BASE && (error - ECTF_BASE) < _ctf_nerr)
89 str = _ctf_errlist[error - ECTF_BASE];
91 str = ctf_strerror(error);
93 return (str ? str : "Unknown error");
/freebsd-current/sys/contrib/openzfs/module/os/linux/zfs/
H A Dspa_misc_os.c49 int error; local
51 error = -param_set_deadman_failmode_common(val);
52 if (error == 0)
53 error = param_set_charp(val, kp);
55 return (error);
61 int error; local
63 error = spl_param_set_u64(val, kp);
64 if (error < 0)
65 return (SET_ERROR(error));
75 int error; local
90 int error; local
109 int error; local
[all...]
/freebsd-current/tools/regression/security/access/
H A Dtestaccess.c84 int i, error; local
87 error = open(fd_list[i].fd_name, O_CREAT | O_EXCL, fd_list[i].fd_mode);
88 if (error == -1) {
90 return (error);
92 close(error);
93 error = chown(fd_list[i].fd_name, fd_list[i].fd_owner,
95 if (error) {
97 return (error);
106 int error; local
108 error
124 int error; local
149 int i, error; local
169 int error, errorseen; local
[all...]
/freebsd-current/sys/contrib/ncsw/inc/
H A Dcore_ext.h55 #error "Core is not defined!"
59 #error "Must define core as little-endian or big-endian!"
63 #error "Must define the core cache-line size!"
/freebsd-current/sys/cddl/dev/dtrace/
H A Ddtrace_modevent.c27 int error = 0; local
40 error = EOPNOTSUPP;
44 return (error);
/freebsd-current/contrib/kyua/model/
H A Dexceptions.cpp34 /// Constructs a new error with a plain-text message.
36 /// \param message The plain-text error message.
37 model::error::error(const std::string& message) : function in class:model::error
43 /// Destructor for the error.
44 model::error::~error(void) throw()
51 /// \param message The plain-text error message.
53 error(message)
58 /// Destructor for the error
[all...]
/freebsd-current/contrib/kyua/store/
H A Dexceptions.cpp34 /// Constructs a new error with a plain-text message.
36 /// \param message The plain-text error message.
37 store::error::error(const std::string& message) : function in class:store::error
43 /// Destructor for the error.
44 store::error::~error(void) throw()
49 /// Constructs a new error with a plain-text message.
51 /// \param message The plain-text error message.
53 error(messag
[all...]
/freebsd-current/tools/regression/tls/ttls3/
H A Dtls-test.c34 const char *error; local
38 error = dlerror();
39 printf("dlopen failed (%s)!\n", error);
45 error = dlerror();
47 if (error) {
49 printf("dlsym failed (%s)!\n", error);
/freebsd-current/contrib/elftoolchain/libelf/
H A Delf_errno.c38 old = LIBELF_PRIVATE(error);
39 LIBELF_PRIVATE(error) = 0;
/freebsd-current/sys/arm/include/
H A Dpcpu_aux.h35 #error "Not for userspace"
39 #error "Do not include machine/pcpu_aux.h directly"
/freebsd-current/sys/powerpc/include/
H A Dpcpu_aux.h35 #error "Not for userspace"
39 #error "Do not include machine/pcpu_aux.h directly"
/freebsd-current/lib/libthr/thread/
H A Dthr_affinity.c45 int error; local
48 error = cpuset_setaffinity(CPU_LEVEL_WHICH, CPU_WHICH_TID,
50 if (error == -1)
51 error = errno;
52 } else if ((error = _thr_find_thread(curthread, td, 0)) == 0) {
54 error = cpuset_setaffinity(CPU_LEVEL_WHICH, CPU_WHICH_TID, tid,
56 if (error == -1)
57 error = errno;
60 return (error);
68 int error; local
[all...]
/freebsd-current/contrib/processor-trace/libipt/test/src/
H A Dptunit-cpu.c53 int error; local
55 error = pt_cpu_parse(&cpu, "6/44/2");
56 ptu_int_eq(error, 0);
62 error = pt_cpu_parse(&cpu, "0xf/0x2c/0xf");
63 ptu_int_eq(error, 0);
69 error = pt_cpu_parse(&cpu, "022/054/017");
70 ptu_int_eq(error, 0);
76 error = pt_cpu_parse(&cpu, "6/44");
77 ptu_int_eq(error, 0);
89 int error; local
106 int error; local
129 int error; local
[all...]
/freebsd-current/tools/test/stress2/misc/
H A Dumtx_suspend.sh39 int error;
41 error = pthread_mutex_lock(&the_mutex);
42 if (error)
43 errc(1, error, "%s: pthread_mutex_lock", __func__);
51 int error;
55 error = pthread_mutexattr_init(&the_mutex_attr);
56 if (error)
57 errc(1, error, "pthread_mutexattr_init");
59 error = pthread_mutexattr_setprotocol(&the_mutex_attr, PTHREAD_PRIO_INHERIT);
60 if (error)
[all...]
/freebsd-current/sys/dev/smbus/
H A Dsmbconf.c46 smbus_intr(device_t bus, u_char devaddr, char low, char high, int error) argument
53 SMBUS_INTR(sc->owner, devaddr, low, high, error);
60 * Converts an smbus error to a unix error.
65 int error = 0; local
71 error = ENODEV;
73 error = ENXIO;
75 error = EWOULDBLOCK;
77 error = EBUSY;
79 error
89 int error; local
120 int error; local
163 int error; local
[all...]
/freebsd-current/contrib/elftoolchain/libdwarf/
H A Ddwarf_errmsg.c34 DEFINE_ERROR(ERROR, "An error"),
39 DEFINE_ERROR(ELF, "ELF error"),
54 DEFINE_ERROR(FRAME_INSTR_EXEC_ERROR, "Frame instruction exec error"),
62 DEFINE_ERROR(NUM, "Unknown DWARF error")
67 dwarf_errmsg_(Dwarf_Error *error) argument
71 if (error == NULL)
74 if (error->err_error < 0 || error->err_error >= DW_DLE_NUM)
76 else if (error->err_error == DW_DLE_NONE)
79 p = _libdwarf_errors[error
[all...]
H A Ddwarf_finish.c32 dwarf_finish(Dwarf_Debug dbg, Dwarf_Error *error) argument
34 (void) error; /* unused */
49 dwarf_object_finish(Dwarf_Debug dbg, Dwarf_Error *error) argument
51 (void) error; /* unused */
/freebsd-current/tools/regression/priv/
H A Dpriv_sysctl_write.c60 int error; local
63 error = sysctlbyname(KERN_HOSTNAME_STRING, stored_hostname, &len,
65 if (error) {
72 error = sysctlbyname(KERN_DOMAINNAME_STRING, stored_domainname, &len,
74 if (error) {
86 int error; local
88 error = sysctlbyname(KERN_DOMAINNAME_STRING, NULL, NULL,
91 expect("priv_sysctl_write(asroot, injail)", error, -1,
94 expect("priv_sysctl_write(asroot, !injail)", error, 0, 0);
96 expect("priv_sysctl_write(!asroot, injail)", error,
106 int error; local
[all...]
/freebsd-current/lib/libveriexec/
H A Dveriexec_check.c62 int error; local
69 error = mac_syscall(MAC_VERIEXEC_NAME, MAC_VERIEXEC_CHECK_FD_SYSCALL,
71 if (error == -1) {
74 error = 0; /* ignore */
78 if (mask && error == 0)
79 error = check_fd_mode(fd, mask);
81 return (error);
87 int error; local
100 error = veriexec_check_fd_mode(fd, mask);
102 return error;
133 int error; local
[all...]
/freebsd-current/sys/amd64/vmm/intel/
H A Dvmx_cpufunc.h37 * error
47 " mov $1, %[error];" /* CF: error = 1 */ \
50 " mov $2, %[error];" /* ZF: error = 2 */ \
52 "2: mov $0, %[error];" \
59 int error; local
65 : [error] "=r" (error)
69 return (error);
76 int error; local
105 int error; local
120 int error; local
134 int error; local
183 int error; local
206 int error; local
[all...]
/freebsd-current/usr.sbin/mfiutil/
H A Dmfi_properties.c71 int error, fd; local
81 error = errno;
83 return (error);
86 error = mfi_ctrl_get_properties(fd, &ctrl_props);
87 if ( error < 0) {
88 error = errno;
91 return (error);
98 error = mfi_ctrl_set_properties(fd, &ctrl_props);
99 if ( error < 0) {
100 error
123 int error, fd; local
[all...]
/freebsd-current/contrib/netbsd-tests/dev/dm/
H A Dh_dm.c59 int error; local
64 error = 0;
66 error = rump_init();
67 if (error != 0)
79 error = rump_sys_ioctl(fd, NETBSD_DM_IOCTL, &prefp);
80 if (error < 0)
90 return error;
99 int error; local
104 error = 0;
106 error
135 int error; local
[all...]
/freebsd-current/contrib/netbsd-tests/dev/md/
H A Dh_mdserv.c27 int fd, error; local
37 error = 0;
48 error = EPIPE;
54 error = rump_daemonize_done(error);
55 REQUIRE(error, "rump_daemonize_done");
57 if (error)
68 int fd, error; local
77 error = rump_daemonize_begin();
78 REQUIRE(error, "rump_daemonize_begi
[all...]
/freebsd-current/contrib/llvm-project/clang/lib/Headers/
H A Dnmmintrin.h14 #error "This header is only meant to be used on x86 and x64 architecture"
/freebsd-current/contrib/llvm-project/clang/lib/Headers/ppc_wrappers/
H A Dx86intrin.h18 #error "Please read comment above. Use -DNO_WARN_X86_INTRINSICS to disable this error."

Completed in 189 milliseconds

1234567891011>>