Searched refs:err (Results 1 - 25 of 4683) sorted by relevance

1234567891011>>

/freebsd-head/contrib/dtc/libfdt/
H A Dfdt_empty_tree.c60 int err; local
62 err = fdt_create(buf, bufsize);
63 if (err)
64 return err;
66 err = fdt_finish_reservemap(buf);
67 if (err)
68 return err;
70 err = fdt_begin_node(buf, "");
71 if (err)
72 return err;
[all...]
/freebsd-head/sys/contrib/libfdt/
H A Dfdt_empty_tree.c60 int err; local
62 err = fdt_create(buf, bufsize);
63 if (err)
64 return err;
66 err = fdt_finish_reservemap(buf);
67 if (err)
68 return err;
70 err = fdt_begin_node(buf, "");
71 if (err)
72 return err;
[all...]
/freebsd-head/contrib/mandoc/
H A Dtest-err.c1 /* $Id: test-err.c,v 1.1 2015/10/11 21:12:55 schwarze Exp $ */
18 #include <err.h>
25 err(0, "%d. err", 3);
/freebsd-head/crypto/openssl/crypto/
H A Do_init.c11 #include <openssl/err.h>
/freebsd-head/contrib/atf/atf-c/
H A Derror.c51 error_format(const atf_error_t err, char *buf, size_t buflen) argument
53 PRE(err != NULL);
54 snprintf(buf, buflen, "Error '%s'", err->m_type);
59 error_init(atf_error_t err, const char *type, void *data, size_t datalen, argument
67 err->m_free = false;
68 err->m_type = type;
69 err->m_format = (format == NULL) ? error_format : format;
73 err->m_data = NULL;
75 err->m_data = malloc(datalen);
76 if (err
93 atf_error_t err; local
118 atf_error_free(atf_error_t err) argument
143 atf_is_error(const atf_error_t err) argument
149 atf_error_is(const atf_error_t err, const char *type) argument
157 atf_error_data(const atf_error_t err) argument
165 atf_error_format(const atf_error_t err, char *buf, size_t buflen) argument
187 libc_format(const atf_error_t err, char *buf, size_t buflen) argument
200 atf_error_t err; local
215 atf_libc_error_code(const atf_error_t err) argument
227 atf_libc_error_msg(const atf_error_t err) argument
246 no_memory_format(const atf_error_t err, char *buf, size_t buflen) argument
[all...]
H A Dbuild.c44 atf_error_t err; local
47 err = atf_text_split(atf_env_get_with_default(var, default_value),
49 if (atf_is_error(err))
55 return err;
69 atf_error_t err; local
71 err = append_arg1(flag, argv);
72 if (!atf_is_error(err))
73 err = append_arg1(arg, argv);
75 return err;
82 atf_error_t err; local
97 atf_error_t err; local
117 atf_error_t err; local
151 atf_error_t err; local
197 atf_error_t err; local
243 atf_error_t err; local
[all...]
H A Derror_test.c43 test_format(const atf_error_t err ATF_DEFS_ATTRIBUTE_UNUSED,
61 atf_error_t err; local
64 err = atf_error_new("test_error", NULL, 0, NULL);
65 ATF_REQUIRE(atf_error_is(err, "test_error"));
66 ATF_REQUIRE(!atf_error_is(err, "unknown_error"));
67 ATF_REQUIRE(atf_error_data(err) == NULL);
68 atf_error_free(err);
71 err = atf_error_new("test_data_error", &data, sizeof(data), NULL);
72 ATF_REQUIRE(atf_error_is(err, "test_data_error"));
73 ATF_REQUIRE(!atf_error_is(err, "unknown_erro
89 atf_error_t err; local
108 atf_error_t err; local
122 atf_error_t err; local
140 atf_error_t err; local
169 atf_error_t err; local
191 atf_error_t err; local
225 atf_error_t err; local
241 atf_error_t err; local
260 atf_error_t err = atf_no_memory_error(); local
267 atf_error_t err = atf_no_memory_error(); local
[all...]
H A Dcheck.c56 atf_error_t err; local
58 err = atf_fs_path_init_fmt(dir, "%s/check.XXXXXX",
60 if (atf_is_error(err))
63 err = atf_fs_mkdtemp(dir);
64 if (atf_is_error(err)) {
69 INV(!atf_is_error(err));
71 return err;
80 atf_error_t err = atf_fs_unlink(outfile); local
81 if (atf_is_error(err)) {
82 INV(atf_error_is(err, "lib
90 atf_error_t err = atf_fs_unlink(errfile); local
100 atf_error_t err = atf_fs_rmdir(dir); local
118 atf_error_t err; local
133 atf_error_t err; local
171 atf_error_t err; local
226 atf_error_t err; local
265 atf_error_t err; local
299 atf_error_t err; local
401 atf_error_t err; local
421 atf_error_t err; local
441 atf_error_t err; local
458 atf_error_t err; local
[all...]
/freebsd-head/cddl/usr.sbin/dtrace/tests/common/speculation/
H A DMakefile11 err.BufSizeVariations1.d \
12 err.BufSizeVariations2.d \
13 err.D_ACT_SPEC.SpeculateWithBreakPoint.d \
14 err.D_ACT_SPEC.SpeculateWithChill.d \
15 err.D_ACT_SPEC.SpeculateWithCopyOut.d \
16 err.D_ACT_SPEC.SpeculateWithCopyOutStr.d \
17 err.D_ACT_SPEC.SpeculateWithPanic.d \
18 err.D_ACT_SPEC.SpeculateWithRaise.d \
19 err.D_ACT_SPEC.SpeculateWithStop.d \
20 err
[all...]
/freebsd-head/cddl/usr.sbin/dtrace/tests/common/lexer/
H A DMakefile10 err.D_CHR_NL.char.d \
11 err.D_CHR_NULL.char.d \
12 err.D_INT_DIGIT.InvalidDigit.d \
13 err.D_INT_OFLOW.BigInt.d \
14 err.D_STR_NL.string.d \
15 err.D_SYNTAX.brace1.d \
16 err.D_SYNTAX.brace2.d \
17 err.D_SYNTAX.brack1.d \
18 err.D_SYNTAX.brack2.d \
19 err
[all...]
/freebsd-head/sys/cddl/compat/opensolaris/sys/
H A Dsdt.h37 #define SET_ERROR(err) \
40 (uintptr_t)err, 0, 0, 0, 0) : 0), err)
42 #define SET_ERROR(err) (err)
/freebsd-head/cddl/usr.sbin/dtrace/tests/common/stack/
H A DMakefile10 err.D_STACK_PROTO.bad.d \
11 err.D_STACK_SIZE.d \
12 err.D_USTACK_FRAMES.bad.d \
13 err.D_USTACK_PROTO.bad.d \
14 err.D_USTACK_STRSIZE.bad.d \
/freebsd-head/cddl/usr.sbin/dtrace/tests/common/llquantize/
H A DMakefile10 err.D_LLQUANT_FACTOREVEN.nodivide.d \
11 err.D_LLQUANT_FACTOREVEN.notfactor.d \
12 err.D_LLQUANT_FACTORMATCH.d \
13 err.D_LLQUANT_FACTORNSTEPS.d \
14 err.D_LLQUANT_FACTORSMALL.d \
15 err.D_LLQUANT_FACTORTYPE.d \
16 err.D_LLQUANT_FACTORVAL.d \
17 err.D_LLQUANT_HIGHMATCH.d \
18 err.D_LLQUANT_HIGHTYPE.d \
19 err
[all...]
/freebsd-head/stand/uboot/lib/
H A Dmodule.c48 int err; local
50 if ((err = fdt_setup_fdtp()) != 0) {
52 return (err);
/freebsd-head/contrib/sendmail/libsm/
H A Dstrerror.c40 ** err -- error number.
47 strerror(err)
48 int err;
52 if (err >= 0 && err < sys_nerr)
53 return (char *) sys_errlist[err];
56 (void) sm_snprintf(buf, sizeof(buf), "Error %d", err);
/freebsd-head/cddl/usr.sbin/dtrace/tests/common/bitfields/
H A DMakefile10 err.D_ADDROF_BITFIELD.BitfieldAddress.d \
11 err.D_DECL_BFCONST.NegBitField.d \
12 err.D_DECL_BFCONST.ZeroBitField.d \
13 err.D_DECL_BFSIZE.ExceedBaseType.d \
14 err.D_DECL_BFSIZE.GreaterThan64.d \
15 err.D_DECL_BFTYPE.badtype.d \
16 err.D_OFFSETOF_BITFIELD.d \
17 err.D_SIZEOF_BITFIELD.SizeofBitfield.d \
/freebsd-head/cddl/usr.sbin/dtrace/tests/common/cg/
H A DMakefile10 err.D_NOREG.noreg.d \
11 err.baddif.d \
/freebsd-head/cddl/usr.sbin/dtrace/tests/common/cpc/
H A DMakefile10 err.D_PDESC_ZERO.lowfrequency.d \
11 err.D_PDESC_ZERO.malformedoverflow.d \
12 err.D_PDESC_ZERO.nonexistentevent.d \
13 err.cpcvscpustatpart1.ksh \
14 err.cpcvscpustatpart2.ksh \
15 err.cputrackfailtostart.ksh \
16 err.cputrackterminates.ksh \
17 err.toomanyenablings.d \
/freebsd-head/cddl/usr.sbin/dtrace/tests/common/pointers/
H A DMakefile10 err.BadAlign.d \
11 err.D_ADDROF_VAR.ArrayVar.d \
12 err.D_ADDROF_VAR.DynamicVar.d \
13 err.D_ADDROF_VAR.agg.d \
14 err.D_DEREF_NONPTR.noptr.d \
15 err.D_DEREF_VOID.VoidPointerDeref.d \
16 err.D_OP_ARRFUN.ArrayAssignment.d \
17 err.D_OP_INCOMPAT.VoidPointerArith.d \
18 err.D_OP_LVAL.AddressChange.d \
19 err
[all...]
/freebsd-head/cddl/usr.sbin/dtrace/tests/common/union/
H A DMakefile10 err.D_ADDROF_VAR.UnionPointer.d \
11 err.D_DECL_COMBO.UnionWithoutColon.d \
12 err.D_DECL_COMBO.UnionWithoutColon1.d \
13 err.D_DECL_INCOMPLETE.circular.d \
14 err.D_DECL_INCOMPLETE.order.d \
15 err.D_DECL_INCOMPLETE.recursive.d \
16 err.D_DECL_INCOMPLETE.simple.d \
17 err.D_PROTO_ARG.DupUnionAssoc.d \
/freebsd-head/crypto/openssl/ssl/
H A Dssl_txt.c39 goto err;
42 goto err;
45 goto err;
51 goto err;
55 goto err;
61 goto err;
64 goto err;
67 goto err;
70 goto err;
73 goto err;
[all...]
/freebsd-head/cddl/usr.sbin/dtrace/tests/common/types/
H A DMakefile10 err.D_CAST_INVAL.badcast.d \
11 err.D_CG_DYN.ResultDynType.d \
12 err.D_CHR_OFLOW.charconst.d \
13 err.D_DECL_BADCLASS.bad.d \
14 err.D_DECL_CHARATTR.badtype3.d \
15 err.D_DECL_COMBO.badtype4.d \
16 err.D_DECL_COMBO.badtype5.d \
17 err.D_DECL_ENCONST.badeval.d \
18 err.D_DECL_ENOFLOW.enoflow.d \
19 err
[all...]
/freebsd-head/contrib/ncurses/panel/
H A Dp_delete.c45 int err = OK; local
53 HIDE_PANEL(pan, err, OK);
58 err = ERR;
60 returnCode(err);
H A Dp_hide.c44 int err = ERR; local
55 HIDE_PANEL(pan, err, ERR);
57 err = OK;
61 returnCode(err);
/freebsd-head/share/examples/tests/tests/plain/
H A Dcp_test.sh46 err() { function
55 err "${1} and ${2} differ, but they should be equal"
61 cp file1 file2 || err "cp failed"
68 cp -f file1 file3 || err "cp failed"

Completed in 312 milliseconds

1234567891011>>