Lines Matching defs:method
36 " \bsum\b method: \batt\b for the \batt\b universe, \bbsd\b otherwise."
38 " \batt\b method is a true sum, all others are order dependent.]"
54 " include size in the output. The default is method specific.]#[scale]"
57 " \bsum\b then the checksum method is automatically determined,"
58 " otherwise \b--method\b must be specified. The listed checksum is"
65 " [+method=name?Checksum method to apply to subsequent lines.]"
69 "[h:header?Print the checksum method as the first output line. Used with"
90 "[x:method|algorithm?Specifies the checksum \amethod\a to"
91 " apply. Parenthesized method options are readonly implementation"
92 " details.]:[method]{\fmethods\f}"
100 "[r:bsd?Equivalent to \b--method=bsd --scale=512\b for compatibility with"
102 "[s:sysv?Equivalent to \b--method=sys5\b for compatibility with other"
125 int header; /* list method on output */
127 Sum_t* oldsum; /* previous sum method */
135 Sum_t* sum; /* sum method */
387 else if (strneq(s, "method=", 7))
393 error(3, "%s: %s: unknown checksum method", check, s);
446 char* method;
460 method = 0;
489 method = "bsd";
500 method = "sys5";
512 method = opt_info.arg;
544 * check the method
547 if (method && !(state.sum = sumopen(method)))
548 error(3, "%s: unknown checksum method", method);
569 sfprintf(sfstdout, "method=%s\n", state.sum->name);