Lines Matching defs:tee
549 struct tee_file *tee = xmalloc (sizeof (struct tee_file));
550 tee->magic = &tee_file_magic;
551 tee->one = one;
552 tee->two = two;
553 tee->close_one = close_one;
554 tee->close_two = close_two;
555 set_ui_file_data (ui_file, tee, tee_file_delete);
566 struct tee_file *tee = ui_file_data (file);
567 if (tee->magic != &tee_file_magic)
570 if (tee->close_one)
571 ui_file_delete (tee->one);
572 if (tee->close_two)
573 ui_file_delete (tee->two);
575 xfree (tee);
581 struct tee_file *tee = ui_file_data (file);
582 if (tee->magic != &tee_file_magic)
585 tee->one->to_flush (tee->one);
586 tee->two->to_flush (tee->two);
592 struct tee_file *tee = ui_file_data (file);
593 if (tee->magic != &tee_file_magic)
596 ui_file_write (tee->one, buf, length_buf);
597 ui_file_write (tee->two, buf, length_buf);
603 struct tee_file *tee = ui_file_data (file);
604 if (tee->magic != &tee_file_magic)
607 tee->one->to_fputs (linebuffer, tee->one);
608 tee->two->to_fputs (linebuffer, tee->two);
614 struct tee_file *tee = ui_file_data (file);
615 if (tee->magic != &tee_file_magic)