/freebsd-11-stable/contrib/ncurses/include/ |
H A D | hashed_db.h | 38 #define HASHED_DB_H macro 47 #define DBM_SUFFIX macro 51 #define HASHED_DB_API macro 53 #define HASHED_DB_API macro [all...] |
H A D | nc_alloc.h | 35 #define NC_ALLOC_included macro 44 #undef strndup macro 47 #undef HAVE_LIBDMALLOC macro 48 #define HAVE_LIBDMALLOC macro 54 #undef HAVE_LIBDBMALLOC macro 55 #define HAVE_LIBDBMALLOC macro 61 #undef HAVE_LIBMPATROL macro 62 #define HAVE_LIBMPATROL macro 66 #define NO_LEAKS macro 70 #define HAVE_NC_FREEALL macro 83 #define ExitProgram macro 88 #define HAVE_NC_FREEALL macro 92 #define ExitProgram macro 98 #undef strdup macro 99 #define strdup macro 106 #define typeMalloc macro 107 #define typeCalloc macro 108 #define typeRealloc macro [all...] |
H A D | nc_mingw.h | 37 #define NC_MINGW_H macro 44 # define WINVER macro 48 #undef sleep macro 49 #define sleep macro 51 #undef gettimeofday macro 52 #define gettimeofday macro 58 #undef HAVE_GETTIMEOFDAY macro 59 #define HAVE_GETTIMEOFDAY macro 61 #define SIGHUP macro 62 #define SIGKILL macro 63 #define getlogin macro 65 #undef wcwidth macro 66 #define wcwidth macro [all...] |
H A D | nc_panel.h | 44 #define NC_PANEL_H macro 53 struct panelhook struct 55 struct panel *top_panel; member in struct:panelhook 56 struct panel *bottom_panel; member in struct:panelhook 57 struct panel *stdscr_pseudo_panel; member in struct:panelhook 59 int (*destroy) (struct panel *); member in struct:panelhook [all...] |
H A D | nc_string.h | 34 #define STRING_HACKS_H macro 52 #define NCURSES_VOID macro 54 #define NCURSES_VOID macro 58 #define _nc_STRCAT macro 60 #define _nc_STRCAT macro 64 #define _nc_STRCPY macro 66 #define _nc_STRCPY macro 70 #define _nc_SPRINTF macro 71 #define _nc_SLIMIT macro 73 #define _nc_SPRINTF macro 74 #define _nc_SLIMIT macro [all...] |
H A D | nc_termios.h | 36 #define NC_TERMIOS_included macro 49 #define TCSADRAIN macro 52 #define TCSAFLUSH macro 55 #define tcsetattr macro 58 #define tcgetattr macro 61 #define cfgetospeed macro 64 #define TCIFLUSH macro 67 #define tcflush macro 75 #define VINTR macro 76 #define VQUIT macro 77 #define VERASE macro 78 #define VKILL macro 79 #define VEOF macro 80 #define VTIME macro 81 #define VMIN macro 84 #define ISTRIP macro 85 #define INLCR macro 86 #define IGNCR macro 87 #define ICRNL macro 88 #define BRKINT macro 89 #define PARMRK macro 90 #define IXON macro 91 #define IGNBRK macro 92 #define IGNPAR macro 93 #define INPCK macro 94 #define IXOFF macro 97 #define OPOST macro 100 #define CBAUD macro 101 #define CSIZE macro 102 #define CS8 macro 103 #define B0 macro 104 #define B50 macro 105 #define B75 macro 106 #define B110 macro 107 #define B134 macro 108 #define B150 macro 109 #define B200 macro 110 #define B300 macro 111 #define B600 macro 112 #define B1200 macro 113 #define B1800 macro 114 #define B2400 macro 115 #define B4800 macro 116 #define B9600 macro 117 #define CLOCAL macro 118 #define CREAD macro 119 #define CSTOPB macro 120 #define HUPCL macro 121 #define PARENB macro 122 #define PARODD macro 125 #define ECHO macro 126 #define ECHONL macro 127 #define ISIG macro 128 #define IEXTEN macro 129 #define ICANON macro 130 #define NOFLSH macro 131 #define ECHOE macro 132 #define ECHOK macro 135 #define TCIFLUSH macro 138 #define TCSADRAIN macro 141 #define TCGETA macro 142 #define TCFLSH macro 143 #define TIOCGWINSZ macro 146 #define cfgetospeed macro 150 #define tcsetattr macro 154 #define tcgetattr macro 158 #define tcflush macro 161 #undef ttyname macro 162 #define ttyname macro [all...] |
H A D | nc_tparm.h | 36 #define NC_TPARM_included macro 44 #define TPARM_ARG macro 46 #define TPARM_ARG macro 50 #define TPARM_N macro 52 #define TPARM_9 macro 55 #define TPARM_8 macro 56 #define TPARM_7 macro 57 #define TPARM_6 macro 58 #define TPARM_5 macro 59 #define TPARM_4 macro 60 #define TPARM_3 macro 61 #define TPARM_2 macro 62 #define TPARM_1 macro 63 #define TPARM_0 macro 65 #define TPARM_8 macro 66 #define TPARM_7 macro 67 #define TPARM_6 macro 68 #define TPARM_5 macro 69 #define TPARM_4 macro 70 #define TPARM_3 macro 71 #define TPARM_2 macro 72 #define TPARM_1 macro 73 #define TPARM_1 macro 74 #define TPARM_0 macro [all...] |
H A D | ncurses_mingw.h | 43 #define _NC_MINGWH macro 45 #define USE_CONSOLE_DRIVER macro 47 #undef TERMIOS macro 48 #define TERMIOS macro 50 #define InvalidHandle macro 51 #define InvalidConsoleHandle macro 53 typedef unsigned char cc_t; typedef 54 typedef unsigned int speed_t; typedef 55 typedef unsigned int tcflag_t; typedef 57 #define NCCS macro 58 struct termios struct 60 tcflag_t c_iflag; /* input mode */ member in struct:termios 61 tcflag_t c_oflag; /* output mode */ member in struct:termios 62 tcflag_t c_cflag; /* control mode */ member in struct:termios 63 tcflag_t c_lflag; /* local mode */ member in struct:termios 64 cc_t c_line; /* line discipline */ member in struct:termios 65 cc_t c_cc[NCCS]; /* control characters */ member in struct:termios 66 speed_t c_ispeed; /* input speed */ member in struct:termios 67 speed_t c_ospeed; /* c_ospeed */ member in struct:termios [all...] |
H A D | term_entry.h | 42 #define NCURSES_TERM_ENTRY_H_incl macro 55 dbdTIC = 0, /* special, used by tic when writing entry */ enumerator in enum:__anon4638 57 dbdEnvOnce, /* the $TERMINFO environment variable */ enumerator in enum:__anon4638 58 dbdHome, /* $HOME/.terminfo */ enumerator in enum:__anon4638 59 dbdEnvList, /* the $TERMINFO_DIRS environment variable */ enumerator in enum:__anon4638 60 dbdCfgList, /* the compiled-in TERMINFO_DIRS value */ enumerator in enum:__anon4638 61 dbdCfgOnce, /* the compiled-in TERMINFO value */ enumerator in enum:__anon4638 64 dbdEnvOnce2, /* the $TERMCAP environment variable */ enumerator in enum:__anon4638 65 dbdEnvList2, /* the $TERMPATH environment variable */ enumerator in enum:__anon4638 66 dbdCfgList2, /* the compiled-in TERMPATH */ enumerator in enum:__anon4638 68 dbdLAST enumerator in enum:__anon4638 69 } DBDIRS; typedef in typeref:enum:__anon4638 71 #define MAX_USES macro 72 #define MAX_CROSSLINKS macro 74 typedef struct entry { struct 75 TERMTYPE tterm; member in struct:entry 76 unsigned nuses; member in struct:entry 78 char *name; member in struct:entry::__anon4639 79 struct entry *link; member in struct:entry::__anon4639 80 long line; member in struct:entry::__anon4639 81 } uses[MAX_USES]; member in struct:entry 82 int ncrosslinks; member in struct:entry 83 struct entry *crosslinks[MAX_CROSSLINKS]; member in struct:entry 84 long cstart, cend; member in struct:entry 85 long startline; member in struct:entry 86 struct entry *next; member in struct:entry 87 struct entry *last; member in struct:entry 88 } ENTRY; typedef in typeref:struct:entry 91 #define NUM_BOOLEANS macro 92 #define NUM_NUMBERS macro 93 #define NUM_STRINGS macro 94 #define EXT_NAMES macro 96 #define NUM_BOOLEANS macro 97 #define NUM_NUMBERS macro 98 #define NUM_STRINGS macro 99 #define EXT_NAMES macro 102 #define NUM_EXT_NAMES macro 104 #define for_each_boolean macro 105 #define for_each_number macro 106 #define for_each_string macro 109 #define for_each_ext_boolean macro 110 #define for_each_ext_number macro 111 #define for_each_ext_string macro 114 #define ExtBoolname macro 115 #define ExtNumname macro 116 #define ExtStrname macro 120 #define for_entry_list macro 122 #define MAX_LINE macro 124 #define NULLHOOK macro 130 #define WANTED macro 131 #define PRESENT macro 133 #define ANDMISSING macro 136 #define PAIRED macro 145 extern NCURSES_EXPORT(ENTRY *) _nc_copy_entry (ENTRY *oldp); variable 179 extern NCURSES_EXPORT(int) _nc_resolve_uses (bool); /* obs 20040705 */ variable [all...] |
H A D | tic.h | 42 #define __TIC_H macro 78 #define MAGIC macro 80 #undef BYTE macro 81 #define BYTE macro 83 #define IS_NEG1 macro 84 #define IS_NEG2 macro 85 #define LOW_MSB macro 87 #define IS_TIC_MAGIC macro 93 #define MAX_NAME_SIZE macro 94 #define MAX_ENTRY_SIZE macro 103 #define MAX_ALIAS macro 105 #define MAX_ALIAS macro 109 #define PRIVATE_INFO macro 117 #define MAX_DEBUG_LEVEL macro 118 #define DEBUG_LEVEL macro 120 #define set_trace_level macro 125 #define DEBUG macro 127 #define DEBUG macro 142 #define BOOLEAN macro 143 #define NUMBER macro 144 #define STRING macro 145 #define CANCEL macro 146 #define NAMES macro 147 #define UNDEF macro 149 #define NO_PUSHBACK macro 157 struct token struct 159 char *tk_name; /* name of capability */ member in struct:token 160 int tk_valnumber; /* value of capability (if a number) */ member in struct:token 161 char *tk_valstring; /* value of capability (if a string) */ member in struct:token 170 struct tinfo_fkeys { struct 171 unsigned offset; member in struct:tinfo_fkeys 172 chtype code; member in struct:tinfo_fkeys 177 #define _nc_tinfo_fkeys macro 186 typedef short HashValue; typedef 194 struct name_table_entry struct 196 const char *nte_name; /* name to hash on */ member in struct:name_table_entry 197 int nte_type; /* BOOLEAN, NUMBER or STRING */ member in struct:name_table_entry 198 HashValue nte_index; /* index of associated variable in its array */ member in struct:name_table_entry 199 HashValue nte_link; /* index in table of next hash, or -1 */ member in struct:name_table_entry 207 unsigned table_size; member in struct:__anon4640 208 const HashValue *table_data; member in struct:__anon4640 209 HashValue (*hash_of)(const char *); member in struct:__anon4640 210 int (*compare_names)(const char *, const char *); member in struct:__anon4640 211 } HashData; typedef in typeref:struct:__anon4640 213 struct alias struct 215 const char *from; member in struct:alias 216 const char *to; member in struct:alias 217 const char *source; member in struct:alias 220 extern NCURSES_EXPORT(const struct name_table_entry *) _nc_get_table (bool); variable 221 extern NCURSES_EXPORT(const HashData *) _nc_get_hash_info (bool); variable 222 extern NCURSES_EXPORT(const HashValue *) _nc_get_hash_table (bool); variable 223 extern NCURSES_EXPORT(const struct alias *) _nc_get_alias_table (bool); variable 225 #define NOTFOUND macro 234 #define ABSENT_BOOLEAN macro 235 #define ABSENT_NUMERIC macro 236 #define ABSENT_STRING macro 239 #define CANCELLED_BOOLEAN macro 240 #define CANCELLED_NUMERIC macro 241 #define CANCELLED_STRING macro 243 #define VALID_BOOLEAN macro 244 #define VALID_NUMERIC macro 245 #define VALID_STRING macro 248 #define MAX_TERMCAP_LENGTH macro 251 #define MAX_TERMINFO_LENGTH macro 254 #define TERMINFO macro 274 extern NCURSES_EXPORT(int) _nc_get_token (bool); variable 286 #define SYN_TERMINFO macro 287 #define SYN_TERMCAP macro 313 #define NUM_PARM macro [all...] |
/freebsd-11-stable/contrib/ncurses/menu/ |
H A D | eti.h | 36 #define NCURSES_ETI_H_incl macro 38 #define E_OK macro 39 #define E_SYSTEM_ERROR macro 40 #define E_BAD_ARGUMENT macro 41 #define E_POSTED macro 42 #define E_CONNECTED macro 43 #define E_BAD_STATE macro 44 #define E_NO_ROOM macro 45 #define E_NOT_POSTED macro 46 #define E_UNKNOWN_COMMAND macro 47 #define E_NO_MATCH macro 48 #define E_NOT_SELECTABLE macro 49 #define E_NOT_CONNECTED macro 50 #define E_REQUEST_DENIED macro 51 #define E_INVALID_FIELD macro 52 #define E_CURRENT macro [all...] |
H A D | m_attribs.c | 43 #define Refresh_Menu macro 51 #define GEN_MENU_ATTR_SET_FCT macro 67 #define GEN_MENU_ATTR_GET_FCT macro [all...] |
H A D | m_cursor.c | 53 _nc_menu_cursor_pos(const MENU * menu, const ITEM * item, int *pY, int *pX) argument 83 pos_menu_cursor(const MENU * menu) argument 85 WINDOW *win, *sub; local 86 int x = 0, y = 0; local 87 int err = _nc_menu_cursor_pos(menu, (ITEM *) 0, &y, &x); local [all...] |
H A D | m_driver.c | 45 #define Remove_Character_From_Pattern macro 49 #define Add_Character_To_Pattern macro 66 Is_Sub_String( bool IgnoreCaseFlag, const char *part, const char *string ) argument 118 _nc_Match_Next_Character_In_Item_Name(MENU * menu, int ch, ITEM ** item) argument 121 bool found = FALSE, passed = FALSE; local 122 int idx, last; local 212 menu_driver(MENU * menu, int c) argument 214 #define NAVIGATE macro 220 int result = E_OK; local 221 ITEM *item; local 222 int my_top_row, rdiff; local 448 MEVENT event; local 449 WINDOW *uwin = Get_Menu_UserWin(menu); local 459 WINDOW *sub = Get_Menu_Window(menu); local 460 int ry = event.y, rx = event.x; /* screen coordinates */ local 491 int i, x, y, err; local [all...] |
H A D | m_format.c | 42 #define minimum macro 59 set_menu_format(MENU * menu, int rows, int cols) argument 61 int total_rows, total_cols; local 123 menu_format(const MENU * menu, int *rows, int *cols) argument [all...] |
H A D | m_global.c | 42 static char mark[] = "-"; variable 110 ComputeMaximum_NameDesc_Lengths(MENU * menu) argument 112 unsigned MaximumNameLength = 0; local 113 unsigned MaximumDescriptionLength = 0; local 114 ITEM **items; local 115 unsigned check; local 144 ResetConnectionInfo(MENU * menu, ITEM ** items) argument 146 ITEM **item; local 173 NCURSES_EXPORT(bool) function 176 ITEM **item; local 177 unsigned int ItemCount = 0; local 236 _nc_Disconnect_Items(MENU * menu) argument 251 _nc_Calculate_Text_Width(const TEXT * item /*FIXME: limit length */ ) function 254 int result = item->length; local 259 int count = (int)mbstowcs(0, item->str, 0); local 260 wchar_t *temp = 0; local 265 int n; local 271 int test = wcwidth(temp[n]); local 291 calculate_actual_width(MENU * menu, bool name) argument 293 int width = 0; local 294 int check = 0; local 295 ITEM **items; local 327 #define calculate_actual_width macro 340 _nc_Calculate_Item_Length_and_Width(MENU * menu) argument 342 int l; local 379 _nc_Link_Items(MENU * menu) argument 383 int i, j; local 384 ITEM *item; local 385 int Number_Of_Items = menu->nitems; local 386 int col = 0, row = 0; local 387 int Last_in_Row; local 388 int Last_in_Column; local 389 bool cycle = (menu->opt & O_NONCYCLIC) ? FALSE : TRUE; local 395 int Number_Of_Columns = menu->cols; local 445 int Number_Of_Rows = menu->rows; local 506 _nc_Show_Menu(const MENU * menu) argument 508 WINDOW *win; local 509 int maxy, maxx; local 546 _nc_New_TopRow_and_CurrentItem( MENU * menu, int new_toprow, ITEM * new_current_item) argument 551 ITEM *cur_item; local 552 bool mterm_called = FALSE; local 553 bool iterm_called = FALSE; local [all...] |
H A D | m_hook.c | 43 #define GEN_HOOK_SET_FUNCTION macro 52 #define GEN_HOOK_GET_FUNCTION macro [all...] |
H A D | m_item_cur.c | 51 set_current_item(MENU * menu, ITEM * item) argument 92 current_item(const MENU * menu) argument 107 item_index(const ITEM * item) argument [all...] |
H A D | m_item_nam.c | 51 item_name(const ITEM * item) argument 66 item_description(const ITEM * item) argument [all...] |
H A D | m_item_new.c | 60 Is_Printable_String(const char *s) argument 62 int result = TRUE; local 65 int count = (int)mbstowcs(0, s, 0); local 66 wchar_t *temp = 0; local 73 int n; local 110 new_item(const char *name, const char *description) argument 112 ITEM *item; local 163 free_item(ITEM * item) argument 196 set_menu_mark(MENU * menu, const char *mark) argument 198 short l; local 209 char *old_mark = menu->mark; local 210 unsigned short old_status = menu->status; local 268 menu_mark(const MENU * menu) argument [all...] |
H A D | m_item_opt.c | 54 set_item_opts(ITEM * item, Item_Options opts) argument 67 MENU *menu = item->imenu; local 97 item_opts_off(ITEM * item, Item_Options opts) argument 99 ITEM *citem = item; /* use a copy because set_item_opts must detect local 125 item_opts_on(ITEM * item, Item_Options opts) argument 127 ITEM *citem = item; /* use a copy because set_item_opts must detect local 152 NCURSES_EXPORT(Item_Options) function [all...] |
H A D | m_item_top.c | 53 set_top_row(MENU * menu, int row) argument 55 ITEM *item; local 95 top_row(const MENU * menu) argument [all...] |
H A D | m_item_use.c | 52 set_item_userptr(ITEM * item, void *userptr) argument 70 item_userptr(const ITEM * item) argument [all...] |
H A D | m_item_val.c | 56 set_item_value(ITEM * item, bool value) argument 58 MENU *menu; local 97 NCURSES_EXPORT(bool) function [all...] |
H A D | m_item_vis.c | 52 NCURSES_EXPORT(bool) function 55 MENU *menu; local [all...] |