/freebsd-10.2-release/contrib/ncurses/menu/ |
H A D | menu.priv.h | 53 /* Normalize item to default if none was given */ 54 #define Normalize_Item( item ) ((item)=(item)?(item):&_nc_Default_Item) 80 /* Move to the window position of an item and draw it */ 81 #define Move_And_Post_Item(menu,item) \ 82 {wmove((menu)->win,(menu)->spc_rows*(item)->y,((menu)->itemlen+(menu)->spc_cols)*(item)->x);\ 83 _nc_Post_Item((menu),(item));} [all...] |
H A D | m_hook.c | 110 | or just after the current item changes. 114 GEN_HOOK_SET_FUNCTION(item, init) 121 | when a menu is posted or just after the current item 126 GEN_HOOK_GET_FUNCTION(item, init) 133 | or just before the current item changes. 137 GEN_HOOK_SET_FUNCTION(item, term) 144 | when a menu is unposted or just before the current item 149 GEN_HOOK_GET_FUNCTION(item, term)
|
H A D | m_cursor.c | 46 | Description : Return position of logical cursor to current item 53 _nc_menu_cursor_pos(const MENU * menu, const ITEM * item, int *pY, int *pX) argument 59 if ((ITEM *) 0 == item) 60 item = menu->curitem; 61 assert(item != (ITEM *) 0); 66 *pX = item->x * (menu->spc_cols + menu->itemlen); 67 *pY = (item->y - menu->toprow) * menu->spc_rows; 76 | Description : Position logical cursor to current item in menu
|
H A D | m_global.c | 35 * Globally used internal routines and the default menu and item structures * 55 1, /* length of one item */ 67 (ITEM *)0, /* Current item */ 139 | the item array that indicates a connection 146 ITEM **item; local 149 for (item = items; *item; item++) 151 (*item)->index = 0; 152 (*item) 176 ITEM **item; local 384 ITEM *item; local [all...] |
/freebsd-10.2-release/contrib/dialog/samples/ |
H A D | inputmenu | 49 item=`echo "$value" | sed -e 's/^[^:]*:[ ][ ]*//'` 52 Username) user="$item" ;; 53 UID) uid="$item" ;; 54 GID) gid="$item" ;; 55 HOME) home="$item" ;;
|
H A D | inputmenu-stdout | 47 item=`echo "$value" | sed -e 's/^[^:]*:[ ][ ]*//'` 50 Username) user="$item" ;; 51 UID) uid="$item" ;; 52 GID) gid="$item" ;; 53 HOME) home="$item" ;;
|
H A D | inputmenu2 | 26 --default-item "$defaultitem" "$@" \ 69 item=`echo "$value" |sed -e 's/^[^:]*:[ ]*//' -e 's/[ ]*$//'` 73 user="$item" 76 uid="$item" 79 gid="$item" 82 home="$item"
|
H A D | menubox10 | 10 --default-item Dialog "$@" \
|
H A D | menubox7 | 9 $DIALOG --clear --item-help --extra-button --extra-label "Choice" \
|
H A D | inputmenu1 | 61 item=`echo "$value" |sed -e 's/^[^:]*:[ ]*//' -e 's/[ ]*$//'` 65 user="$item" 68 uid="$item" 71 gid="$item" 74 home="$item"
|
H A D | inputmenu4 | 62 item=`echo "$value" |sed -e 's/^[^:]*:[ ]*//' -e 's/[ ]*$//'` 66 user="$item" 69 uid="$item" 72 gid="$item" 75 home="$item"
|
/freebsd-10.2-release/crypto/heimdal/appl/login/ |
H A D | login_access.c | 49 static int list_match(char *list, struct login_info *item, 51 static int user_match(char *tok, struct login_info *item); 52 static int from_match(char *tok, struct login_info *item); 59 struct login_info item; local 73 item.user = user; 74 item.from = from; 115 match = (list_match(froms, &item, from_match) 116 && list_match(users, &item, user_match)); 125 /* list_match - match an item against a list of tokens with exceptions */ 129 struct login_info *item, 128 list_match(char *list, struct login_info *item, int (*match_fn)(char *, struct login_info *)) argument 193 user_match(char *tok, struct login_info *item) argument 228 from_match(char *tok, struct login_info *item) argument [all...] |
/freebsd-10.2-release/crypto/heimdal/appl/rsh/ |
H A D | login_access.c | 49 static int list_match(char *list, struct login_info *item, 51 static int user_match(char *tok, struct login_info *item); 52 static int from_match(char *tok, struct login_info *item); 59 struct login_info item; local 73 item.user = user; 74 item.from = from; 115 match = (list_match(froms, &item, from_match) 116 && list_match(users, &item, user_match)); 125 /* list_match - match an item against a list of tokens with exceptions */ 129 struct login_info *item, 128 list_match(char *list, struct login_info *item, int (*match_fn)(char *, struct login_info *)) argument 193 user_match(char *tok, struct login_info *item) argument 228 from_match(char *tok, struct login_info *item) argument [all...] |
/freebsd-10.2-release/contrib/subversion/subversion/libsvn_delta/ |
H A D | path_driver.c | 58 dir_stack_t *item; 65 item = APR_ARRAY_IDX(db_stack, db_stack->nelts - 1, void *); 66 parent_db = item->dir_baton; 75 item = apr_pcalloc(subpool, sizeof(*item)); 76 item->dir_baton = db; 77 item->pool = subpool; 78 APR_ARRAY_PUSH(db_stack, dir_stack_t *) = item; 93 dir_stack_t *item; 99 item 57 dir_stack_t *item; local 92 dir_stack_t *item; local 147 dir_stack_t *item; local [all...] |
/freebsd-10.2-release/sys/dev/drm/ |
H A D | drm_hashtab.h | 57 extern int drm_ht_insert_item(struct drm_open_hash *ht, struct drm_hash_item *item); 58 extern int drm_ht_just_insert_please(struct drm_open_hash *ht, struct drm_hash_item *item, 61 extern int drm_ht_find_item(struct drm_open_hash *ht, unsigned long key, struct drm_hash_item **item); 65 extern int drm_ht_remove_item(struct drm_open_hash *ht, struct drm_hash_item *item);
|
/freebsd-10.2-release/sys/dev/drm2/ |
H A D | drm_hashtab.h | 57 extern int drm_ht_insert_item(struct drm_open_hash *ht, struct drm_hash_item *item); 58 extern int drm_ht_just_insert_please(struct drm_open_hash *ht, struct drm_hash_item *item, 61 extern int drm_ht_find_item(struct drm_open_hash *ht, unsigned long key, struct drm_hash_item **item); 65 extern int drm_ht_remove_item(struct drm_open_hash *ht, struct drm_hash_item *item);
|
/freebsd-10.2-release/sys/netgraph/ |
H A D | ng_base.c | 81 static struct mtx ngq_mtx; /* protects the queue item list */ 217 static int ng_generic_msg(node_p here, item_p item, hook_p lasthook); 222 static int ng_apply_item(node_p node, item_p item, int rw); 225 static int ng_con_nodes(item_p item, node_p node, const char *name, 227 static int ng_con_part2(node_p node, item_p item, hook_p hook); 228 static int ng_con_part3(node_p node, item_p item, hook_p hook); 251 "netgraph item structures"); 1334 ng_con_part3(node_p node, item_p item, hook_p hook) argument 1372 NG_FREE_ITEM(item); 1377 ng_con_part2(node_p node, item_p item, hook_ argument 1471 ng_con_nodes(item_p item, node_p node, const char *name, node_p node2, const char *name2) argument 1940 item_p item; local 2007 ng_queue_rw(node_p node, item_p item, int rw) argument 2035 ng_acquire_read(node_p node, item_p item) argument 2063 ng_acquire_write(node_p node, item_p item) argument 2169 item_p item; local 2217 ng_snd_item(item_p item, int flags) argument 2355 ng_apply_item(node_p node, item_p item, int rw) argument 2503 ng_generic_msg(node_p here, item_p item, hook_p lasthook) argument 2977 item_p item; local 3002 ng_free_item(item_p item) argument 3049 item_p item; local 3288 dumpitem(item_p item, char *file, int line) argument 3330 item_p item; local 3420 item_p item; local 3509 item_p item; local 3531 item_p item; local 3571 ng_address_hook(node_p here, item_p item, hook_p hook, ng_ID_t retaddr) argument 3607 ng_address_path(node_p here, item_p item, const char *address, ng_ID_t retaddr) argument 3632 ng_address_ID(node_p here, item_p item, ng_ID_t ID, ng_ID_t retaddr) argument 3661 item_p item; local 3701 item_p item; local 3731 item_p item; local 3769 item_p item = arg; local 3780 item_p item, oitem; local 3806 item_p item; local 3833 ng_replace_retaddr(node_p here, item_p item, ng_ID_t retaddr) argument [all...] |
/freebsd-10.2-release/contrib/openpam/lib/libpam/ |
H A D | pam_set_item.c | 61 const void *item) 69 slot = &pamh->item[item_type]; 89 if (item != NULL) 90 nsize = strlen(item) + 1; 105 if (item != NULL) { 108 memcpy(tmp, item, nsize); 125 * The =pam_set_item function sets the item specified by the =item_type 126 * argument to a copy of the object pointed to by the =item argument. 127 * The item is stored in the PAM context specified by the =pamh argument. 128 * See =pam_get_item for a list of recognized item type 59 pam_set_item(pam_handle_t *pamh, int item_type, const void *item) argument [all...] |
/freebsd-10.2-release/lib/libc/db/test/hash.tests/ |
H A D | tseq.c | 59 DBT item, key, res; local 71 * put info in structure, and structure in the item 73 for ( stat = (dbp->seq) (dbp, &res, &item, 1 ); 75 stat = (dbp->seq) (dbp, &res, &item, 0 ) ) { 79 bcopy ( item.data, cp, item.size ); 80 cp[item.size] = 0;
|
/freebsd-10.2-release/contrib/tcpdump/ |
H A D | makemib | 232 function dump(item, c, s) { 233 # newitem=sofar"."item"("oid[item]")" 234 # printf "/* %s c=%s s=%s */\n", newitem, child[item], sibling[item] 236 if (child[item] != "") { 237 dump(child[item]) 238 c = "&_"child[item]"_obj" 241 if (sibling[item] != "") { 242 dump(sibling[item]) [all...] |
/freebsd-10.2-release/lib/libpam/modules/pam_echo/ |
H A D | pam_echo.c | 53 int err, i, item; local 68 item = PAM_RHOST; 72 item = -1; 75 item = PAM_SERVICE; 78 item = PAM_TTY; 81 item = PAM_RUSER; 84 item = PAM_USER; 87 item = -1; 91 if (item == -1) 93 err = pam_get_item(pamh, item, [all...] |
/freebsd-10.2-release/sys/dev/vxge/include/ |
H A D | vxge-list.h | 39 * struct vxge_list_t - List item. 40 * @prev: Previous list item. 41 * @next: Next list item. 81 * vxge_list_first_get - Return the first item from the linked list. 84 * Returns the next item from the header. 85 * Returns NULL if the next item is header itself 101 * vxge_list_remove - Remove the specified item from the linked list. 102 * @item: element of the list 104 * Remove item from a list. 107 static inline void vxge_list_remove(vxge_list_t *item) argument [all...] |
/freebsd-10.2-release/sys/dev/nxge/include/ |
H A D | xge-list.h | 37 * struct xge_list_t - List item. 38 * @prev: Previous list item. 39 * @next: Next list item. 77 * xge_list_first_get - Return the first item from the linked list. 80 * Returns the next item from the header. 81 * Returns NULL if the next item is header itself 97 * xge_list_remove - Remove the specified item from the linked list. 98 * item: element of the list 100 * Remove item from a list. 103 static inline void xge_list_remove(xge_list_t *item) argument [all...] |
/freebsd-10.2-release/sys/cddl/compat/opensolaris/kern/ |
H A D | opensolaris_sunddi.c | 93 ddi_get_soft_state_locked(struct ddi_soft_state *ss, int item) argument 100 if (itemp->ssi_item == item) 107 ddi_get_soft_state(void *state, int item) argument 113 data = ddi_get_soft_state_locked(ss, item); 119 ddi_soft_state_zalloc(void *state, int item) argument 125 itemp->ssi_item = item; 129 if (ddi_get_soft_state_locked(ss, item) != NULL) { 141 ddi_soft_state_free_locked(struct ddi_soft_state *ss, int item) argument 148 if (itemp->ssi_item == item) 159 ddi_soft_state_free(void *state, int item) argument 186 int item; local [all...] |
/freebsd-10.2-release/contrib/dialog/ |
H A D | formbox.c | 43 is_readonly(DIALOG_FORMITEM * item) argument 45 return ((item->type & 2) != 0) || (item->text_flen <= 0); 49 is_hidden(DIALOG_FORMITEM * item) argument 51 return ((item->type & 1) != 0); 75 * Print form item 78 print_item(WINDOW *win, DIALOG_FORMITEM * item, int scrollamt, bool choice) argument 83 if (ok_move(win, scrollamt, item->name_y, item->name_x)) { 84 len = item 135 print_form(WINDOW *win, DIALOG_FORMITEM * item, int total, int scrollamt, int choice) argument 151 set_choice(DIALOG_FORMITEM item[], int choice, int item_no, bool * noneditable) argument 178 form_limit(DIALOG_FORMITEM item[]) argument 192 is_first_field(DIALOG_FORMITEM item[], int choice) argument 206 is_last_field(DIALOG_FORMITEM item[], int choice, int item_no) argument 223 tab_next(WINDOW *win, DIALOG_FORMITEM item[], int item_no, int stepsize, int *choice, int *scrollamt) argument 288 scroll_next(WINDOW *win, DIALOG_FORMITEM item[], int stepsize, int *choice, int *scrollamt) argument 342 real_length(DIALOG_FORMITEM * item) argument 355 make_FORM_ELTs(DIALOG_FORMITEM * item, int item_no, int *min_height, int *min_width) argument [all...] |