Lines Matching defs:mtm
992 struct mode_tree_menu *mtm = data;
993 struct mode_tree_data *mtd = mtm->data;
998 if (mtm->line >= mtd->line_size)
1000 mtd->current = mtm->line;
1001 mtd->menucb(mtd->modedata, mtm->c, key);
1005 free(mtm);
1015 struct mode_tree_menu *mtm;
1036 mtm = xmalloc(sizeof *mtm);
1037 mtm->data = mtd;
1038 mtm->c = c;
1039 mtm->line = line;
1047 NULL, NULL, NULL, mode_tree_menu_callback, mtm) != 0) {
1049 free(mtm);