Lines Matching defs:posting
48 #define LINEMAX 1000 /* sorted posting line max size */
49 #define POSTINC 10000 /* posting buffer size increment */
50 #define SEP ' ' /* sorted posting field separator */
51 #define SETINC 100 /* posting set size increment */
113 POSTING posting;
126 /* posting file */
217 /* get the new posting */
223 posting.lineoffset = num;
227 posting.fileindex = --fileindex;
228 posting.type = *++s;
235 posting.fcnoffset = num;
237 posting.fcnoffset = 0;
239 *postptr++ = posting;
241 (void) printf("%ld %ld %ld %ld\n", posting.fileindex,
242 posting.fcnoffset, posting.lineoffset, posting.type);
591 * After the string is the posting offset.
604 read_next_posting(INVCONTROL *invcntl, POSTING *posting)
606 (void) fread((char *)posting, sizeof (*posting), 1, invcntl->postfile);
608 posting->lineoffset = BSWAP_32(posting->lineoffset);
609 posting->fcnoffset = BSWAP_32(posting->fcnoffset);
613 posting->fileindex = BSWAP_32(posting->fileindex << 8);
958 POSTING posting;
1019 read_next_posting(invcntl, &posting);
1028 if (set1p->lineoffset < posting.lineoffset) {
1031 } else if (set1p->lineoffset > posting.lineoffset) {
1032 *newsetp++ = posting;
1033 read_next_posting(invcntl, &posting);
1035 } else if (set1p->type < posting.type) {
1038 } else if (set1p->type > posting.type) {
1039 *newsetp++ = posting;
1040 read_next_posting(invcntl, &posting);
1045 read_next_posting(invcntl, &posting);
1057 *newsetp++ = posting;
1059 read_next_posting(invcntl, &posting);
1069 if (set1p->lineoffset < posting.lineoffset) {
1072 } else if (set1p->lineoffset > posting.lineoffset) {
1073 read_next_posting(invcntl, &posting);
1075 } else if (set1p->type < posting.type) {
1078 } else if (set1p->type > posting.type) {
1079 read_next_posting(invcntl, &posting);
1085 read_next_posting(invcntl, &posting);
1095 if (set1p->lineoffset < posting.lineoffset) {
1099 } else if (set1p->lineoffset > posting.lineoffset) {
1100 read_next_posting(invcntl, &posting);
1102 } else if (set1p->type < posting.type) {
1106 } else if (set1p->type > posting.type) {
1107 read_next_posting(invcntl, &posting);
1112 read_next_posting(invcntl, &posting);
1126 if (set1p->lineoffset < posting.lineoffset) {
1129 } else if (set1p->lineoffset > posting.lineoffset) {
1130 *newsetp++ = posting;
1131 read_next_posting(invcntl, &posting);
1133 } else if (set1p->type < posting.type) {
1136 } else if (set1p->type > posting.type) {
1137 *newsetp++ = posting;
1138 read_next_posting(invcntl, &posting);
1143 read_next_posting(invcntl, &posting);
1148 *newsetp++ = posting;
1150 read_next_posting(invcntl, &posting);