Lines Matching refs:POSTING
70 static POSTING *item, *enditem, *item1 = NULL, *item2 = NULL;
78 static POSTING *POST, *postptr;
108 unsigned postsize = POSTINC * sizeof (POSTING); in invmake()
113 POSTING posting; in invmake()
134 if ((POST = (POSTING *)malloc(postsize)) == NULL) { in invmake()
193 if (postptr + 10 > POST + postsize / sizeof (POSTING)) { in invmake()
195 postsize += POSTINC * sizeof (POSTING); in invmake()
498 if (fwrite((char *)POST, sizeof (POSTING), i, fpost) == 0) { in invnewterm()
502 nextpost += i * sizeof (POSTING); in invnewterm()
604 read_next_posting(INVCONTROL *invcntl, POSTING *posting) in read_next_posting()
926 if ((item1 = (POSTING *)malloc(SETINC * sizeof (POSTING))) == NULL) { in boolready()
933 if ((item2 = (POSTING *)malloc(SETINC * sizeof (POSTING))) == NULL) { in boolready()
950 POSTING *
957 POSTING *newitem; in boolfile()
958 POSTING posting; in boolfile()
960 POSTING *newsetp, *set1p; in boolfile()
992 if ((item1 = (POSTING *) realloc(item1, in boolfile()
993 u * sizeof (POSTING))) == NULL) { in boolfile()
1002 if ((item2 = (POSTING *)realloc(item2, in boolfile()
1003 u * sizeof (POSTING))) == NULL) { in boolfile()
1005 invcannotalloc(u * sizeof (POSTING)); in boolfile()
1158 enditem = (POSTING *)newsetp; in boolfile()
1159 return ((POSTING *)item); in boolfile()
1163 POSTING *
1167 POSTING *ptr;
1168 POSTING *oldstuff, *newstuff;
1189 i = (enditem - item) * sizeof (POSTING) + 100;
1190 if ((ptr = (POSTING *)malloc(i))r == NULL) {