Home
last modified time | relevance | path

Searched refs:ITEM (Results 1 – 25 of 27) sorted by relevance

12

/titanic_44/usr/src/lib/libeti/menu/inc/
H A Dmenu.h59 typedef struct ITEM { struct
70 struct ITEM *left; argument
71 struct ITEM *right; argument
72 struct ITEM *up; argument
73 struct ITEM *down; argument
74 } ITEM; typedef
97 ITEM **items;
99 ITEM *curitem; /* Current item */
137 extern ITEM **menu_items(MENU *),
140 extern MENU *new_menu(ITEM **);
[all …]
H A Dprivate.h151 extern ITEM _Default_Item;
153 extern void _affect_change(MENU *, int, ITEM *);
154 extern void _chk_current(MENU *, int *, ITEM *);
155 extern void _chk_top(MENU *, int *, ITEM *);
159 extern void _move_post_item(MENU *, ITEM *);
160 extern void _movecurrent(MENU *, ITEM *);
164 extern int _match(MENU *, char, ITEM **);
165 extern int _connect(MENU *, ITEM **);
/titanic_44/usr/src/lib/libeti/menu/common/
H A Dllib-lmenu38 ITEM **items;
39 ITEM *item;
41 ITEM **menu_items(MENU *m) {return items;}
42 ITEM *current_item(MENU *m) {return (ITEM *)0;}
43 ITEM *new_item(char *n, char *d) {return item;}
44 MENU *new_menu(ITEM **i) {return menu;}
45 OPTIONS item_opts(ITEM *i) {return O_SELECTABLE;}
54 char *item_description(ITEM *i) {return "description";}
55 char *item_name(ITEM *i) {return "name";}
56 char *item_userptr(ITEM *i) {return "item_userptr";}
[all …]
H A Dnewitem.c40 ITEM *
43 ITEM *item; in new_item()
45 if (item = (ITEM *) calloc(1, sizeof (ITEM))) { in new_item()
57 return ((ITEM *) NULL); in new_item()
69 free_item(ITEM *i) in free_item()
83 item_name(ITEM *i) in item_name()
92 item_description(ITEM *i) in item_description()
H A Dlink.c41 ITEM *i; in link_col_major()
51 Left(i) = c ? IthItem(m, n-Rows(m)) : (ITEM *) NULL; in link_col_major()
53 Right(i) = (ITEM *) NULL; in link_col_major()
57 Up(i) = r ? IthItem(m, n-1) : (ITEM *) NULL; in link_col_major()
58 Down(i) = (r == Rows(m)-1) ? (ITEM *)0 : IthItem(m, n+1); in link_col_major()
100 ITEM *i; in link_row_major()
108 Left(i) = c ? IthItem(m, n-1) : (ITEM *) NULL; in link_row_major()
109 Right(i) = (c == Cols(m)-1 || n == Nitems(m)-1) ? (ITEM *)0 : in link_row_major()
111 Up(i) = r ? IthItem(m, n-Cols(m)) : (ITEM *) NULL; in link_row_major()
119 Down(i) = (ITEM *) NULL; in link_row_major()
H A Dmenuitems.c39 set_menu_items(MENU *m, ITEM **i) in set_menu_items()
44 if (i && *i == (ITEM *) NULL) { in set_menu_items()
66 ITEM **
70 return ((ITEM **) NULL); in menu_items()
H A Dcuritem.c39 set_current_item(MENU *m, ITEM *current) in set_current_item()
66 ITEM *
72 return ((ITEM *)0); in current_item()
77 item_index(ITEM *i) in item_index()
H A Dconnect.c48 ITEM **ip; in maxlengths()
64 _connect(MENU *m, ITEM **items) in _connect()
66 ITEM **ip; in _connect()
118 ITEM **ip; in _disconnect()
126 Items(m) = (ITEM **) NULL; in _disconnect()
H A Dpost.c39 _post_item(MENU *m, ITEM *k) in _post_item()
111 _move_post_item(MENU *m, ITEM *k) in _move_post_item()
147 _movecurrent(MENU *m, ITEM *oldcur) in _movecurrent()
165 ITEM *i, *j; in _draw()
166 ITEM *si, *sj; in _draw()
170 si = Cyclic(m) ? i : (ITEM *) NULL; in _draw()
174 sj = Cyclic(m) ? j : (ITEM *) NULL; in _draw()
187 ITEM **ip; in post_menu()
H A Ditemopts.c39 set_item_opts(ITEM *i, OPTIONS opt) in set_item_opts()
62 item_opts_off(ITEM *i, OPTIONS opt) in item_opts_off()
68 item_opts_on(ITEM *i, OPTIONS opt) in item_opts_on()
74 item_opts(ITEM *i) in item_opts()
H A Dglobal.c55 (ITEM **) NULL, /* items */
57 (ITEM *) NULL, /* curitem */
75 ITEM _Default_Item = {
H A Ddriver.c43 ITEM *current; in menu_driver()
72 if (Right(current) == (ITEM *)0) { in menu_driver()
80 if (Left(current) == (ITEM *)0) { in menu_driver()
88 if (Up(current) == (ITEM *)0) { in menu_driver()
96 if (Down(current) == (ITEM *)0) { in menu_driver()
H A Ditemusrptr.c39 set_item_userptr(ITEM *i, char *u) in set_item_userptr()
50 item_userptr(ITEM *i) in item_userptr()
H A Ditemvalue.c39 set_item_value(ITEM *i, int v) in set_item_value()
60 item_value(ITEM *i) in item_value()
H A Dchk.c41 _chk_top(MENU *m, int *top, ITEM *current) in _chk_top()
58 _chk_current(MENU *m, int *top, ITEM *current) in _chk_current()
H A Dnewmenu.c40 new_menu(ITEM **items) in new_menu()
49 if (*items == (ITEM *)0 || !_connect(m, items)) { in new_menu()
H A Daffect.c46 _affect_change(MENU *m, int newtop, ITEM *newcurrent) in _affect_change()
48 ITEM *oldcur; in _affect_change()
H A Dpattern.c62 _match(MENU *m, char c, ITEM **current) in _match()
141 ITEM *current; in set_menu_pattern()
H A Dvisible.c41 item_visible(ITEM *i) in item_visible()
H A Dtopitem.c41 ITEM *current; in set_top_row()
H A Dmenuopts.c41 ITEM **ip; in set_menu_opts()
/titanic_44/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_list.c40 #define ITEM(i) ((av1394_list_item_t *)(i)) macro
71 ITEM(item)->i_next = NULL; in av1394_list_put_tail()
72 ITEM(item)->i_prev = lp->l_tail; in av1394_list_put_tail()
91 ITEM(item)->i_next = lp->l_head; in av1394_list_put_head()
92 ITEM(item)->i_prev = NULL; in av1394_list_put_head()
/titanic_44/usr/src/cmd/sgs/yacc/common/
H A Dy1.c65 static ITEM *psmem, *zzmemsz;
78 ITEM **pstate; /* ptr to descriptions of the states */
151 psmem = (ITEM *) malloc(sizeof (ITEM) * new_pstsize); in mktbls()
211 pstate = (ITEM **)malloc(sizeof (ITEM *)*(nstatesz+2)); in mktbls()
748 ITEM *p1, *p2, *k, *l, *q1, *q2; in state()
833 register ITEM *j;
1024 ITEM *q; in closure()
1025 register ITEM *p; in closure()
1265 pstate = (ITEM **) in exp_states()
1266 realloc((char *)pstate, sizeof (ITEM *)*(nstatesz+2)); in exp_states()
[all …]
H A Ddextern.h175 } ITEM; typedef
229 extern ITEM **pstate; /* pointers to the descriptions of the states */
/titanic_44/usr/src/tools/scripts/
H A Dcheck_rtime.pl908 ITEM: { label
922 last ITEM;
934 last ITEM;

12