Searched refs:total (Results 1 - 25 of 41) sorted by relevance

12

/ast/src/cmd/dsslib/ip_t/
H A Dbgpsize.c33 unsigned int total; local
38 total = sizeof(Bgproute_t);
43 if (total == TOTAL && pad == sizeof(bgp.pad) && data == sizeof(bgp.data))
44 sfprintf(sfstdout, "%u\n", total);
46 sfprintf(sfstdout, "edit bgp.h and adjust padding dimensions to pad[%u] and data[%u] for data aligned to %d bytes and a total size of %u\n", pad, data, ALIGN, TOTAL);
/ast/src/lib/libast/misc/
H A Drecfmt.c26 * total is the total file size, <=0 if not available
43 recfmt(const void* buf, size_t size, off_t total) argument
81 if ((t = (unsigned char*)memchr((void*)s, k = terminators[i], size / 2)) && (n = t - s + 1) > 1 && (total <= 0 || !(total % n)))
117 if ((total <= 0 || !(total % i)) && q->rep[i] > q->rep[n])
133 if (m <= 1 && n <= 2 && total > 1 && total < 256)
140 n = n ? 0 : total;
152 off_t total; local
[all...]
H A Dcmdlib.h33 size_t args; /* total args */ \
34 size_t commands; /* total commands */ \
35 } total; \
/ast/src/lib/libast/tm/
H A Dtmxleap.c47 for (lp = &tm_data.leap[0]; sec < (lp->time - lp->total); lp++);
48 t = tmxsns(sec + lp->total, tmxnsec(t));
H A Dtmxmake.c60 if (lp->total)
62 if (n == lp->time && (leapsec = (lp->total - (lp+1)->total)) < 0)
64 t = tmxsns(n - lp->total, tmxnsec(t));
H A Dtmxtime.c130 for (lp = &tm_data.leap[0]; t < lp->time - (lp+1)->total; lp++);
131 t += lp->total;
132 n = lp->total - (lp+1)->total;
/ast/src/cmd/tests/vmalloc/
H A Dtsafemalloc.c43 size_t size, total; local
47 total = 0;
51 terror("Thread %d: failed to malloc(%d), total=%d", thread, size, total);
54 total += size;
64 terror("Thread %d: failed to realloc(%d), total=%d",
65 thread, size, total);
68 total += size/2;
/ast/src/cmd/dsslib/stats/
H A Dstats.c85 Total_t total[1]; member in struct:Bucket_s
107 Total_t* total; member in struct:Print_s
121 Total_t* total; member in struct:State_s
207 r->value.number = print->total->count ? print->total->value / (Cxinteger_t)print->total->count : 0;
210 r->value.number = (Cxinteger_t)print->total->count;
213 if (print->total->count)
215 u = print->total->value / (Cxinteger_t)print->total
528 register Total_t* total; local
616 list(Cx_t* cx, register State_t* state, Sfio_t* op, const char* label, register Field_t* field, register Total_t* total, Cxoperand_t* key) argument
[all...]
/ast/src/cmd/cs/vcs_src/
H A Dvcs_search.c108 int total; local
118 total = i;
135 qsort((char *)tbl, total, sizeof(rdirent_t *), cmptime);
139 if ((index = lookup_tag_t(tbl, total, elist[i], domain, 0)) < 0)
145 qsort((char *)tbl, total, sizeof(rdirent_t *), cmptime);
148 if ((index = lookup_tag_time(tbl, total, to, domain, 0)) < 0)
160 if (index >=0 && index < total)
169 int lookup_tag_time(tbl, total, to, domain, first)
171 int total;
181 for (i = 0; i < total;
[all...]
/ast/src/lib/libz/
H A Dinflate.h85 unsigned long total; /* protected copy of output count */ member in struct:inflate_state
/ast/src/cmd/sortlib/glean/
H A Dglean.c45 "category count, and total record count.]"
93 Sfulong_t total; member in struct:Field_s
111 Sfulong_t total; member in struct:State_s
179 sfprintf(sfstdout, "%u/%I*u/%I*u ", f->category->index, sizeof(f->count), f->count, sizeof(f->total), f->total);
204 state->total++;
206 message((-2, "glean record p=%p %I*u/%I*u key='%-.*s' r:%d:%-.*s: '%-.*s'", p, sizeof(p->count), p->count, sizeof(state->total), state->total, r->keylen, r->key, x.key.len, x.key.len, x.key.data, r->datalen && r->data[r->datalen - 1] == '\n' ? r->datalen - 1 : r->datalen, r->data));
258 f->total = state->total;
[all...]
/ast/src/cmd/std/
H A Ddu.c57 "[s:summary|summarize?Only display the total for each \apath\a argument.]"
58 "[t|c:total?Display a grand total for all files and directories.]"
139 int total = 0; local
178 total = 1;
313 if (!total && (list || ent->fts_level <= 0))
321 if (total)
H A Ddf.c114 unsigned long total; member in struct:__anon226
180 "Percent of total blocks used.",
204 "Percent of total inodes used.",
467 s = (df->total || df->ttotal) ? scale(df->fraction, df->avail, df->tavail) : "-";
470 s = (df->total || df->ttotal) ? scale(df->fraction, df->total, df->ttotal) : "-";
473 s = (df->total || df->ttotal) ? (sfsprintf(state.buf, sizeof(state.buf), "%3d%%", df->percent), state.buf) : "-";
484 if (df->total || df->ttotal)
490 s = (df->total || df->ttotal) ? (sfsprintf(state.buf, sizeof(state.buf), "%3d%%", df->ipercent), state.buf) : "-";
493 if (df->total || d
[all...]
/ast/src/cmd/sort/
H A Dmain.c271 off_t size; /* total size at offset */
299 off_t total; /* total size of single file */ member in struct:Sort_s
900 sp->total = 0;
903 else if (x > (sp->total = is.st_size))
904 x = sp->total;
949 off_t total; local
960 else if ((n = (sp->total + key->procsize - 1) / (key->procsize)) <= 1)
970 size = (sp->total + n - 1) / n;
986 total
[all...]
/ast/src/lib/libcoshell/
H A Dcoclose.c73 errormsg(state.lib, 2, "coshell %d jobs %d user %s sys %s", co->index, co->total, fmtelapsed(co->user, CO_QUANT), fmtelapsed(co->sys, CO_QUANT));
H A Dcoshell.h115 int total; /* number of coexec() jobs */ member in struct:Coshell_s
H A Dcoexec.c140 co->total++;
421 co->total++;
444 co->total++;
/ast/src/lib/libsum/
H A Dsum-lmd.c37 unsigned char total[64]; \
75 lmd->total[i] ^= lmd->data[i];
86 d = (flags & SUM_TOTAL) ? lmd->total : lmd->data;
/ast/src/lib/libpz/
H A Dpzsplit.c51 Sfulong_t total; member in struct:Id_s
78 int total; member in struct:__anon367
406 ip->total += rp->size;
455 (*pz->disc->errorf)(pz, pz->disc, 0, "%8I*u %12s %2u %4I*u %4I*u %12I*u %12I*u%s", sizeof(ip->windows), ip->windows, ip->name, !!ip->part, sizeof(ip->used), ip->used, sizeof(ip->row), ip->row, sizeof(ip->total), ip->total ? ip->total : ip->modules * ip->row, sizeof(ip->modules), ip->modules, ip->used && !ip->part ? " GENERATE PARTITION" : "");
781 ip->total += rp->size;
805 (*pz->disc->errorf)(pz, pz->disc, 0, "%8I*u %12s %2u %4I*u %4I*u %12I*u %12I*u%s", sizeof(ip->windows), ip->windows, ip->name, !!ip->part, sizeof(ip->used), ip->used, sizeof(ip->row), ip->row, sizeof(ip->total), ip->total ? ip->total
[all...]
/ast/src/lib/libast/include/
H A Dtm.h103 int total; /* inclusive total since epoch */ member in struct:__anon274
/ast/src/lib/libcmd/
H A Dcksum.c50 "[a:all?List the checksum for all files. Use with \b--total\b to list both"
51 " individual and total checksums and block counts.]"
83 "[t:total?List only the total checksum and block count of all files."
84 " \b--all\b \b--total\b lists each checksum and the total. The"
85 " total checksum and block count may be different from the checksum"
137 int total; /* list totals only */ member in struct:State_s
231 if (!state->total || state->all)
506 state.total
[all...]
/ast/src/cmd/INIT/
H A Dhurl.sh70 integer limit=0 total=0 block=8*1024
/ast/src/cmd/coshell/
H A Dshell.c180 sp->total--;
294 con[fd].info.user.total++;
299 sp->total++;
/ast/src/cmd/jcl/
H A Dcpy2dss.c123 int total; member in struct:Cpyfield_s
751 parent->total = offset - parent->offset;
754 offset += parent->total * (parent->maxdimension - 1);
755 parent->total *= parent->maxdimension;
757 if (parent->redefines && parent->redefines->total > parent->total)
759 offset += parent->redefines->total - parent->total;
760 parent->total = parent->redefines->total;
[all...]
/ast/src/cmd/at/
H A Datd.c73 unsigned long total; member in struct:__anon33
84 unsigned long total; member in struct:__anon34
101 unsigned long total; member in struct:__anon35
120 unsigned long total; member in struct:__anon36
152 int nproc; /* total proc limit */
153 int peruser; /* total per user limit */
154 int pending; /* total pending jobs */
155 int running; /* total running jobs */
159 unsigned long total; /* total numbe member in struct:__anon39
[all...]

Completed in 35 milliseconds

12