Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/lib/libeti/menu/inc/
H A Dmenu.h57 typedef struct ITEM { struct
68 struct ITEM *left; argument
69 struct ITEM *right; argument
70 struct ITEM *up; argument
71 struct ITEM *down; argument
72 } ITEM; typedef
95 ITEM **items;
148 *item_name(ITEM *),
159 item_index(ITEM *),
162 item_value(ITEM *),
[all …]
H A Dprivate.h149 extern ITEM _Default_Item;
151 extern void _affect_change(MENU *, int, ITEM *);
152 extern void _chk_current(MENU *, int *, ITEM *);
153 extern void _chk_top(MENU *, int *, ITEM *);
157 extern void _move_post_item(MENU *, ITEM *);
158 extern void _movecurrent(MENU *, ITEM *);
162 extern int _match(MENU *, char, ITEM **);
163 extern int _connect(MENU *, ITEM **);
/illumos-gate/usr/src/lib/libeti/menu/common/
H A Dnewitem.c38 ITEM *
41 ITEM *item; in new_item()
43 if (item = (ITEM *) calloc(1, sizeof (ITEM))) { in new_item()
55 return ((ITEM *) NULL); in new_item()
67 free_item(ITEM *i) in free_item()
81 item_name(ITEM *i) in item_name()
90 item_description(ITEM *i) in item_description()
H A Dlink.c39 ITEM *i; in link_col_major()
49 Left(i) = c ? IthItem(m, n-Rows(m)) : (ITEM *) NULL; in link_col_major()
51 Right(i) = (ITEM *) NULL; in link_col_major()
55 Up(i) = r ? IthItem(m, n-1) : (ITEM *) NULL; in link_col_major()
56 Down(i) = (r == Rows(m)-1) ? (ITEM *)0 : IthItem(m, n+1); in link_col_major()
98 ITEM *i; in link_row_major()
106 Left(i) = c ? IthItem(m, n-1) : (ITEM *) NULL; in link_row_major()
107 Right(i) = (c == Cols(m)-1 || n == Nitems(m)-1) ? (ITEM *)0 : in link_row_major()
109 Up(i) = r ? IthItem(m, n-Cols(m)) : (ITEM *) NULL; in link_row_major()
117 Down(i) = (ITEM *) NULL; in link_row_major()
H A Dmenuitems.c37 set_menu_items(MENU *m, ITEM **i) in set_menu_items()
42 if (i && *i == (ITEM *) NULL) { in set_menu_items()
64 ITEM **
68 return ((ITEM **) NULL); in menu_items()
H A Dpost.c37 _post_item(MENU *m, ITEM *k) in _post_item()
109 _move_post_item(MENU *m, ITEM *k) in _move_post_item()
145 _movecurrent(MENU *m, ITEM *oldcur) in _movecurrent()
163 ITEM *i, *j; in _draw()
164 ITEM *si, *sj; in _draw()
168 si = Cyclic(m) ? i : (ITEM *) NULL; in _draw()
172 sj = Cyclic(m) ? j : (ITEM *) NULL; in _draw()
185 ITEM **ip; in post_menu()
H A Dconnect.c46 ITEM **ip; in maxlengths()
62 _connect(MENU *m, ITEM **items) in _connect()
64 ITEM **ip; in _connect()
116 ITEM **ip; in _disconnect()
124 Items(m) = (ITEM **) NULL; in _disconnect()
H A Dcuritem.c37 set_current_item(MENU *m, ITEM *current) in set_current_item()
64 ITEM *
70 return ((ITEM *)0); in current_item()
75 item_index(ITEM *i) in item_index()
H A Ditemopts.c37 set_item_opts(ITEM *i, OPTIONS opt) in set_item_opts()
60 item_opts_off(ITEM *i, OPTIONS opt) in item_opts_off()
66 item_opts_on(ITEM *i, OPTIONS opt) in item_opts_on()
72 item_opts(ITEM *i) in item_opts()
H A Dglobal.c53 (ITEM **) NULL, /* items */
55 (ITEM *) NULL, /* curitem */
73 ITEM _Default_Item = {
H A Ddriver.c41 ITEM *current; in menu_driver()
70 if (Right(current) == (ITEM *)0) { in menu_driver()
78 if (Left(current) == (ITEM *)0) { in menu_driver()
86 if (Up(current) == (ITEM *)0) { in menu_driver()
94 if (Down(current) == (ITEM *)0) { in menu_driver()
H A Ditemusrptr.c37 set_item_userptr(ITEM *i, char *u) in set_item_userptr()
48 item_userptr(ITEM *i) in item_userptr()
H A Ditemvalue.c37 set_item_value(ITEM *i, int v) in set_item_value()
58 item_value(ITEM *i) in item_value()
H A Dchk.c39 _chk_top(MENU *m, int *top, ITEM *current) in _chk_top()
56 _chk_current(MENU *m, int *top, ITEM *current) in _chk_current()
H A Dnewmenu.c38 new_menu(ITEM **items) in new_menu()
47 if (*items == (ITEM *)0 || !_connect(m, items)) { in new_menu()
H A Daffect.c44 _affect_change(MENU *m, int newtop, ITEM *newcurrent) in _affect_change()
46 ITEM *oldcur; in _affect_change()
H A Dpattern.c60 _match(MENU *m, char c, ITEM **current) in _match()
139 ITEM *current; in set_menu_pattern()
H A Dvisible.c39 item_visible(ITEM *i) in item_visible()
H A Dtopitem.c39 ITEM *current; in set_top_row()
H A Dmenuopts.c39 ITEM **ip; in set_menu_opts()
/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_list.c38 #define ITEM(i) ((av1394_list_item_t *)(i)) macro
69 ITEM(item)->i_next = NULL; in av1394_list_put_tail()
70 ITEM(item)->i_prev = lp->l_tail; in av1394_list_put_tail()
89 ITEM(item)->i_next = lp->l_head; in av1394_list_put_head()
90 ITEM(item)->i_prev = NULL; in av1394_list_put_head()
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/
H A DWWW.mk151 local HOST ITEM ARCH BINS DIRS G
160 for ITEM $(<)
162 G := $("index.mm":G=%.html:D=$(WWWDIR)/$(ITEM):B:S)
165 $(G) : .JOINT $(ARCH)/$(ITEM)/$(ITEM).mm (html_info) .WWW.semaphore .FORCE
170 BINS += $(WWWDIR)/$(ITEM)/$(ITEM)-$(TYPE).tgz
171 DIRS += $(ARCH)/$(ITEM)
H A Dregress.sh401 if [[ $ITEM == $FLUSHED ]]
404 FLUSHED=$ITEM
409 if (( $ITEM <= $LASTITEM ))
411 else LASTITEM=$ITEM
412 LABEL=$TEST:$ITEM
636 ITEM=$LINE
651 ITEM=$LINE
660 ITEM=$LINE
670 ITEM=$LINE
719 ITEM=$LINE
[all …]
/illumos-gate/usr/src/cmd/sgs/yacc/common/
H A Dy1.c63 static ITEM *psmem, *zzmemsz;
76 ITEM **pstate; /* ptr to descriptions of the states */
149 psmem = (ITEM *) malloc(sizeof (ITEM) * new_pstsize); in mktbls()
210 pstate = (ITEM **)malloc(sizeof (ITEM *)*(nstatesz+2)); in mktbls()
741 ITEM *p1, *p2, *k, *l, *q1, *q2; in state()
824 register ITEM *j; in putitem()
1015 ITEM *q; in closure()
1016 register ITEM *p; in closure()
1254 pstate = (ITEM **) in exp_states()
1255 realloc((char *)pstate, sizeof (ITEM *)*(nstatesz+2)); in exp_states()
[all …]
H A Ddextern.h173 } ITEM; typedef
227 extern ITEM **pstate; /* pointers to the descriptions of the states */

12