Home
last modified time | relevance | path

Searched refs:num_msgs (Results 1 – 2 of 2) sorted by relevance

/titanic_50/usr/src/cmd/mkmsgs/
H A Dmkmsgs.c123 int num_msgs; /* number of messages in input file */ local
135 num_msgs = 0;
270 (void)fprintf(stderr, "%s: %s: data base file: error on line %d\n", cmdname, ifilep, num_msgs);
275 num_msgs++;
301 size = sizeof(int) + num_msgs * sizeof(int) + buf.st_size;
309 …if ( (fread(bufinp + sizeof(int) + num_msgs * sizeof(int), sizeof(*bufinp), buf.st_size, fp_outp))…
316 msgp = bufinp + sizeof(int) + num_msgs * sizeof(int);
317 *bufoutp = num_msgs;
318 *(bufoutp + 1) = (bufinp + sizeof(int) + num_msgs * sizeof(int)) - bufinp;
320 for(i = 2; i <= num_msgs; i++) {
/titanic_50/usr/src/cmd/srchtxt/
H A Dsrchtxt.c267 int num_msgs; local
270 num_msgs = *(int *)addr;
271 for (msgnum = 1; msgnum <= num_msgs; msgnum++) {