/ast/src/cmd/dsslib/ip_t/ |
H A D | bgpsize.c | 33 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/cmd/ncsl/ |
H A D | ncsl.c | 199 unsigned long total = 0; local 238 total += n; 242 sfprintf(sfstdout, "%lu\n", total);
|
/ast/src/cmd/tests/vmalloc/ |
H A D | tsafemalloc.c | 43 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/lib/libast/misc/ |
H A D | recfmt.c | 26 * 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...] |
/ast/src/cmd/std/ |
H A D | du.c | 57 "[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 D | df.c | 114 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...] |
H A D | ls.c | 105 " [+total.blocks?running total block count]" 106 " [+total.bytes?running total size in bytes]" 107 " [+total.files?running total file count]" 307 typedef struct /* dir/total counts */ 339 Count_t total; /* total counts */ member in struct:__anon232 359 "%(flags:case;*d*;;*[ls]*;total [all...] |
/ast/src/lib/libcmd/ |
H A D | cksum.c | 50 "[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/lib/libcoshell/ |
H A D | coshell.h | 115 int total; /* number of coexec() jobs */ member in struct:Coshell_s
|
/ast/src/cmd/sortlib/glean/ |
H A D | glean.c | 45 "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/cs/vcs_src/ |
H A D | vcs_search.c | 108 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 D | inflate.h | 85 unsigned long total; /* protected copy of output count */ member in struct:inflate_state
|
/ast/src/lib/libpz/ |
H A D | pzsplit.c | 51 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/cmd/re/ |
H A D | grep.c | 80 "[t:total?Only print a single matching line count for all files.]" 133 Sfulong_t total; /* total hits */ member in struct:Item_s 167 Sfulong_t hits; /* total matched pattern count */ 588 x->total += x->hits; 908 sfprintf(sfstdout, "%s:%I*u\n", x->string, sizeof(x->total), x->total);
|
/ast/src/lib/libast/include/ |
H A D | tm.h | 103 int total; /* inclusive total since epoch */ member in struct:__anon274
|
/ast/src/cmd/dsslib/stats/ |
H A D | stats.c | 85 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/jcl/ |
H A D | cpy2dss.c | 123 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/kshlib/cmdtst/ |
H A D | grep.c | 90 "[t:total?Only print a single matching line count for all files.]" 145 uintmax_t total; /* total hits */ member in struct:Item_s 191 uintmax_t hits; /* total matched pattern count */ 646 x->total += x->hits; 952 sfprintf(sfstdout, "%I*u\n", sizeof(x->total), x->total);
|
/ast/src/lib/libvcodex/Vcwindow/ |
H A D | vcwprefix.c | 262 ssize_t i, k, d, dd, mm, mn, total, ucnt; local 269 total = 0; 297 else total += k; /* good match */ 300 return total;
|
/ast/src/cmd/sort/ |
H A D | main.c | 271 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/cmd/at/ |
H A D | atd.c | 73 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...] |
/ast/src/cmd/builtin/ |
H A D | od.c | 259 size_t total; member in struct:State_s 1141 if (state->total >= state->count) 1146 else if ((state->total += n) > state->count) 1147 n -= state->total - state->count;
|
/ast/src/cmd/codexlib/lzh/ |
H A D | lzh.c | 154 ui2 total; local 183 total = 0; 186 start[i] = total; 187 total += weight[i] * count[i]; 189 if (total)
|
/ast/src/cmd/coshell/ |
H A D | service.h | 252 short total; member in struct:__anon62
|
/ast/src/cmd/INIT/ |
H A D | ratz.c | 508 uLong total_in; /* total nb of input bytes read so far */ 512 uLong total_out; /* total nb of bytes output so far */ 1460 ulg compressed_len; /* total bit length of compressed file mod 2^32 */ 1646 unsigned long total; /* protected copy of output count */ member in struct:inflate_state 2336 strm->total_in = strm->total_out = state->total = 0; 2753 When returning, a "goto inf_leave" is used to update the total counters, 3301 state->total += out; 3323 if (hold != (state->total & 0xffffffff)) { 3347 Return from inflate(), updating the total counts and the check value. 3363 state->total [all...] |