Lines Matching refs:sum
33 #include <sum.h>
39 Sum_t* sum;
100 EXID("sum", FUNCTION, X_sum, S|A(1,S), 0),
136 * return sum() for path
140 sum(Exsum_t* sum, const char* path)
146 suminit(sum->sum);
150 sumblock(sum->sum, s, sfvalue(sp));
154 sumdone(sum->sum);
155 sumprint(sum->sum, sum->buf, 0, 0);
156 return sfstruse(sum->buf);
246 v.string = sum((Exsum_t*)node->local.pointer, PATH(ftw));
285 v.string = sum((Exsum_t*)node->local.pointer, PATH(ftw));
377 if (!sp->sum && !(sp->sum = sumopen(((Extype_t*)env)[0].string)))
380 v.string = sum(sp, PATH(ftw));
572 goto sum;
575 goto sum;
578 sum:
580 error(ERROR_SYSTEM|3, "out of space [sum]");
582 if (m && !(sp->sum = sumopen(m)))
583 error(ERROR_SYSTEM|3, "sum(\"%s\") initialization error", m);