Lines Matching defs:error

358 	int error;
378 if ((error = ng_parse_append(&cbuf, &cbuflen, fmt, fval)) != 0)
379 return (error);
454 int error;
474 if ((error = ng_parse_append(&cbuf, &cbuflen, fmt, fval)) != 0)
475 return (error);
553 int error;
573 if ((error = ng_parse_append(&cbuf, &cbuflen, fmt, fval)) != 0)
574 return (error);
649 int error;
668 if ((error = ng_parse_append(&cbuf, &cbuflen, fmt, fval)) != 0)
669 return (error);
742 int error;
746 if ((error = ng_parse_append(&cbuf, &cbuflen, "%s", s)) != 0) {
748 return (error);
810 int error, temp = *off;
812 if ((error = ng_string_unparse(type, data, &temp, cbuf, cbuflen)) != 0)
813 return (error);
915 int error;
919 if ((error = ng_parse_append(&cbuf, &cbuflen, "%s", s)) != 0) {
921 return (error);
958 int i, error;
961 if ((error = ng_int8_parse(&ng_parse_int8_type,
963 return (error);
979 int error;
982 if ((error = ng_parse_append(&cbuf, &cbuflen, "%d.%d.%d.%d",
985 return (error);
1209 int align, len, blen, error = 0;
1214 error = ENOMEM;
1221 error = EINVAL;
1253 error = EINVAL;
1267 error = EINVAL;
1279 error = EINVAL;
1291 error = ENOENT;
1298 error = EINVAL;
1307 error = E2BIG;
1313 error = EALREADY; /* duplicate */
1319 if ((error = ng_parse_skip_value(s, *off, &len)) != 0)
1334 error = ERANGE;
1343 error = ng_get_composite_elem_default(type, index,
1347 error = INVOKE(etype, parse)(etype,
1350 if (error != 0)
1359 error = ERANGE;
1371 return (error);
1386 int error, index;
1395 if ((error = ng_parse_append(&cbuf, &cbuflen, "%c",
1426 if ((error = ng_parse_append(&cbuf, &cbuflen, " ")) != 0)
1431 if ((error = ng_parse_append(&cbuf,
1440 if ((error = ng_parse_append(&cbuf,
1446 if ((error = INVOKE(etype, unparse)
1449 return (error);
1457 error = ng_parse_append(&cbuf, &cbuflen, "%s%c",
1463 return (error);