Lines Matching defs:tlbs

219 	struct _ti_lookbufs *tlbs;
255 tlbs = &tiptr->ti_lookbufs;
262 while (tlbs->tl_next != NULL) {
264 tlbs = tlbs->tl_next;
271 if ((tlbs->tl_next = malloc(sizeof (struct _ti_lookbufs))) ==
274 tlbs = tlbs->tl_next;
280 if ((tlbs->tl_lookcbuf = malloc(cbuf_size)) == NULL) {
282 free(tlbs);
286 ((tlbs->tl_lookdbuf = malloc(dbuf_size)) == NULL)) {
288 free(tlbs->tl_lookcbuf);
289 free(tlbs);
294 (void) memcpy(tlbs->tl_lookcbuf, cptr, csize);
296 (void) memcpy(tlbs->tl_lookdbuf, dptr, dsize);
297 tlbs->tl_lookdlen = dsize;
298 tlbs->tl_lookclen = csize;
299 tlbs->tl_next = NULL;
1233 struct _ti_lookbufs *tlbs, *prev_tlbs, *head_tlbs;
1260 tlbs = head_tlbs->tl_next;
1263 while (tlbs != NULL) {
1264 if (tlbs->tl_lookdbuf != NULL)
1265 free(tlbs->tl_lookdbuf);
1266 free(tlbs->tl_lookcbuf);
1267 prev_tlbs = tlbs;
1268 tlbs = tlbs->tl_next;
1283 struct _ti_lookbufs *tlbs, *next_tlbs;
1285 tlbs = &tiptr->ti_lookbufs;
1287 if (tlbs->tl_next) {
1291 if (tlbs->tl_lookdbuf != NULL)
1292 free(tlbs->tl_lookdbuf);
1293 free(tlbs->tl_lookcbuf);
1297 next_tlbs = tlbs->tl_next;
1298 tlbs->tl_next = next_tlbs->tl_next;
1299 tlbs->tl_lookcbuf = next_tlbs->tl_lookcbuf;
1300 tlbs->tl_lookclen = next_tlbs->tl_lookclen;
1301 tlbs->tl_lookdbuf = next_tlbs->tl_lookdbuf;
1302 tlbs->tl_lookdlen = next_tlbs->tl_lookdlen;
1327 struct _ti_lookbufs *tlbs, *prev_tlbs;
1338 tlbs = tiptr->ti_lookbufs.tl_next;
1340 while (tlbs != NULL) {
1341 if (tlbs->tl_lookdbuf != NULL)
1342 free(tlbs->tl_lookdbuf);
1343 free(tlbs->tl_lookcbuf);
1344 prev_tlbs = tlbs;
1345 tlbs = tlbs->tl_next;