Lines Matching defs:tif
397 struct lws_fts_instance_file *tif;
420 * .ofs_last_inst_file contains the fileoffset of that child's tif
427 tif = t->tif_list;
428 while (tif) {
431 spill((3 * MAX_VLI) + tif->count, 0);
433 temp = tif->owner->ofs_last_inst_file;
434 if (tif->total)
435 tif->owner->ofs_last_inst_file = t->c + (unsigned int)bp;
441 bp += wq32(&buf[bp], tif->file_index);
442 bp += wq32(&buf[bp], tif->total);
445 tif->owner->inst_file_list = NULL;
447 memcpy(&buf[bp], &tif->vli, (size_t)tif->count);
448 bp += tif->count;
450 i = tif->lines_list;
459 tif = tif->inst_file_next;
549 struct lws_fts_instance_file *tif;
957 tif = lwsac_use(&t->lwsac_input_head, sizeof(*tif),
959 if (!tif) {
960 lwsl_err("%s: lac for tif failed\n",
965 tif->file_index = file_index;
966 tif->owner = t->parser;
967 tif->lines_list = NULL;
968 tif->lines_tail = NULL;
969 tif->total = 0;
970 tif->count = 0;
971 tif->inst_file_next = t->tif_list;
972 t->tif_list = tif;
974 t->parser->inst_file_list = tif;
992 tif = t->parser->inst_file_list;
994 if (!tif->lines_list) {
996 if (LWS_ARRAY_SIZE(tif->vli) - (size_t)tif->count >= n) {
997 tif->count = (char)((char)tif->count + (char)wq32(tif->vli + tif->count,
1005 if (tif->lines_tail &&
1006 LWS_ARRAY_SIZE(tif->lines_tail->vli) -
1007 (unsigned char)tif->lines_tail->count >= n) {
1008 tif->lines_tail->count = (char)((char)tif->lines_tail->count + (char)wq32(tif->lines_tail->vli +
1009 tif->lines_tail->count,
1024 if (tif->lines_tail)
1025 tif->lines_tail->lines_next = tl;
1027 tif->lines_tail = tl;
1028 if (!tif->lines_list)
1029 tif->lines_list = tl;
1033 tif->total++;