/freebsd-9.3-release/contrib/ncurses/menu/ |
H A D | m_item_nam.c | 35 * Get menus item name and description * 44 | Function : char *item_name(const ITEM *item) 46 | Description : Return name of menu item 48 | Return Values : See above; returns NULL if item is invalid 51 item_name(const ITEM * item) argument 53 T((T_CALLED("item_name(%p)"), item)); 54 returnCPtr((item) ? item->name.str : (char *)0); 59 | Function : char *item_description(const ITEM *item) 61 | Description : Returns description of item 66 item_description(const ITEM * item) argument [all...] |
H A D | m_item_use.c | 44 | Function : int set_item_userptr(ITEM *item, void *userptr) 46 | Description : Set the pointer that is reserved in any item to store 52 set_item_userptr(ITEM * item, void *userptr) argument 54 T((T_CALLED("set_item_userptr(%p,%p)"), item, userptr)); 55 Normalize_Item(item)->userptr = userptr; 61 | Function : void *item_userptr(const ITEM *item) 63 | Description : Return the pointer that is reserved in any item to store 70 item_userptr(const ITEM * item) argument 72 T((T_CALLED("item_userptr(%p)"), item)); 73 returnVoidPtr(Normalize_Item(item) [all...] |
H A D | m_item_vis.c | 35 * Tell if menu item is visible * 44 | Function : bool item_visible(const ITEM *item) 46 | Description : A item is visible if it currently appears in the 53 item_visible(const ITEM * item) 57 T((T_CALLED("item_visible(%p)"), item)); 58 if (item && 59 (menu = item->imenu) && 61 ((menu->toprow + menu->arows) > (item->y)) && 62 (item->y >= menu->toprow))
|
H A D | m_item_opt.c | 35 * Menus item option routines * 44 | Function : int set_item_opts(ITEM *item, Item_Options opts) 46 | Description : Set the options of the item. If there are relevant 47 | changes, the item is connected and the menu is posted, 51 | E_BAD_ARGUMENT - invalid item options 54 set_item_opts(ITEM * item, Item_Options opts) argument 56 T((T_CALLED("set_menu_opts(%p,%d)"), item, opts)); 63 if (item) 65 if (item->opt != opts) 67 MENU *menu = item 97 item_opts_off(ITEM * item, Item_Options opts) argument 125 item_opts_on(ITEM * item, Item_Options opts) argument [all...] |
H A D | m_item_cur.c | 35 * Set and get current menus item * 44 | Function : int set_current_item(MENU *menu, const ITEM *item) 46 | Description : Make the item the current item 51 set_current_item(MENU * menu, ITEM * item) argument 53 T((T_CALLED("set_current_item(%p,%p)"), menu, item)); 55 if (menu && item && (item->imenu == menu)) 61 if (item != menu->curitem) 73 /* adjust the window to make item visibl 107 item_index(const ITEM * item) argument [all...] |
H A D | m_item_val.c | 35 * Set and get menus item values * 44 | Function : int set_item_value(ITEM *item, int value) 46 | Description : Programmatically set the item's selection value. This is 47 | only allowed if the item is selectable at all and if 49 | If the item is connected to a posted menu, the menu 56 set_item_value(ITEM * item, bool value) argument 60 T((T_CALLED("set_item_value(%p,%d)"), item, value)); 61 if (item) 63 menu = item->imenu; 65 if ((!(item [all...] |
H A D | m_driver.c | 97 | ITEM **item) 100 | at an item with three different classes of characters: 102 | the current pattern and the next item matching 104 | - NUL; the pattern stays as it is and the next item 107 | item matching the pattern is searched 109 | The item parameter contains on call a pointer to 110 | the item where the search starts. On return - if 112 | matching item. 114 | Return Values : E_OK - an item matching the pattern was found 119 (MENU * menu, int ch, ITEM ** item) 118 _nc_Match_Next_Character_In_Item_Name(MENU * menu, int ch, ITEM ** item) argument 220 ITEM *item; local [all...] |
H A D | m_item_new.c | 103 | Description : Create a new item with name and description. Return 104 | a pointer to this new item. 105 | N.B.: an item must(!) have a name. 107 | Return Values : The item pointer or NULL if creation failed. 112 ITEM *item; local 120 item = (ITEM *) 0; 125 item = (ITEM *) calloc(1, sizeof(ITEM)); 126 if (item) 128 *item = _nc_Default_Item; /* hope we have struct assignment */ 130 item 163 free_item(ITEM * item) argument [all...] |
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...] |
/freebsd-9.3-release/crypto/openssl/crypto/pqueue/ |
H A D | pq_test.c | 64 pitem *item; local 69 item = pitem_new(3, NULL); 70 pqueue_insert(pq, item); 72 item = pitem_new(1, NULL); 73 pqueue_insert(pq, item); 75 item = pitem_new(2, NULL); 76 pqueue_insert(pq, item); 78 item = pqueue_find(pq, 1); 79 fprintf(stderr, "found %ld\n", item->priority); 81 item [all...] |
H A D | pqueue.c | 71 pitem *item = (pitem *)OPENSSL_malloc(sizeof(pitem)); local 72 if (item == NULL) 75 pq_64bit_init(&(item->priority)); 76 pq_64bit_assign(&item->priority, &priority); 78 item->data = data; 79 item->next = NULL; 81 return item; 84 void pitem_free(pitem *item) argument 86 if (item == NULL) 89 pq_64bit_free(&(item 111 pqueue_insert(pqueue_s *pq, pitem *item) argument 150 pitem *item = pq->items; local 186 pitem *item = pq->items; local 200 pqueue_next(pitem **item) argument 216 pitem *item = pq->items; local [all...] |
/freebsd-9.3-release/contrib/wpa/src/utils/ |
H A D | list.h | 32 static inline void dl_list_add(struct dl_list *list, struct dl_list *item) argument 34 item->next = list->next; 35 item->prev = list; 36 list->next->prev = item; 37 list->next = item; 40 static inline void dl_list_add_tail(struct dl_list *list, struct dl_list *item) argument 42 dl_list_add(list->prev, item); 45 static inline void dl_list_del(struct dl_list *item) argument 47 item->next->prev = item 60 struct dl_list *item; local [all...] |
/freebsd-9.3-release/sys/dev/drm2/ |
H A D | drm_global.c | 52 struct drm_global_item *item = &glob[i]; local 53 sx_init(&item->mutex, "drmgi"); 54 item->object = NULL; 55 item->refcount = 0; 63 struct drm_global_item *item = &glob[i]; local 64 MPASS(item->object == NULL); 65 MPASS(item->refcount == 0); 66 sx_destroy(&item->mutex); 73 struct drm_global_item *item = &glob[ref->global_type]; local 76 sx_xlock(&item 100 struct drm_global_item *item = &glob[ref->global_type]; local [all...] |
/freebsd-9.3-release/usr.bin/grep/ |
H A D | queue.c | 59 struct qentry *item; local 61 item = grep_malloc(sizeof(struct qentry)); 62 item->data.dat = grep_malloc(sizeof(char) * x->len); 63 item->data.len = x->len; 64 item->data.line_no = x->line_no; 65 item->data.off = x->off; 66 memcpy(item->data.dat, x->dat, x->len); 67 item->data.file = x->file; 69 STAILQ_INSERT_TAIL(&queue, item, list); 78 struct qentry *item; local 92 struct qentry *item; local 103 struct qentry *item; local [all...] |
/freebsd-9.3-release/crypto/openssl/util/ |
H A D | su-filter.pl | 64 my $item; 75 foreach $item (@datalist) { 77 if($item eq "*/") { 84 $dataitem .= $item; 88 $dataitem .= $item; 89 if($item eq "\"") { 95 if($item eq "\n") { 101 $dataitem .= $item; 105 if($item eq "}") { 113 } elsif($item e [all...] |
/freebsd-9.3-release/contrib/openpam/lib/libpam/ |
H A D | pam_get_item.c | 58 const void **item) 78 *item = pamh->item[item_type]; 93 * The =pam_get_item function stores a pointer to the item specified by 94 * the =item_type argument in the location pointed to by the =item 96 * The item is retrieved from the PAM context specified by the =pamh 98 * If =pam_get_item fails, the =item argument is untouched. 100 * The following item types are recognized: 56 pam_get_item(const pam_handle_t *pamh, int item_type, const void **item) argument
|
/freebsd-9.3-release/contrib/dialog/samples/ |
H A D | menubox1 | 8 $DIALOG --default-item "OS/2" --clear --title "MENU BOX" "$@" \
|
H A D | menubox2 | 8 $DIALOG --default-item "MSDOS" --clear --title "MENU BOX" "$@" \
|
H A D | menubox3 | 8 $DIALOG --clear --item-help --title "MENU BOX" "$@" \
|
H A D | menubox4 | 8 $DIALOG --clear --item-help --title "MENU BOX" "$@" \
|
H A D | menubox5 | 8 $DIALOG --clear --help-button --item-help --title "MENU BOX" "$@" \
|
H A D | menubox6 | 9 $DIALOG --clear --item-help --title "MENU BOX" --colors "$@" \
|
H A D | menubox8 | 8 --default-item "MSDOS" \
|
H A D | inputmenu3 | 4 # "inputmenu1" with defaultitem, help-button and item-help. 26 --default-item "$defaultitem" \ 27 --item-help "$@" \ 78 item=`echo "$value" |sed -e 's/^.*:[ ]*//' -e 's/[ ]*$//'` 82 user="$item" 85 uid="$item" 88 gid="$item" 91 home="$item"
|
/freebsd-9.3-release/usr.bin/grep/regex/ |
H A D | xmalloc.c | 96 hashTableItem *item, *new; 100 item = tbl->table[i]; 101 if (item != NULL) 102 while (item->next != NULL) 103 item = item->next; 113 if (item != NULL) 114 item->next = new; 130 hashTableItem *item, *prev; 134 item 95 hashTableItem *item, *new; local 129 hashTableItem *item, *prev; local 203 hashTableItem *item; local [all...] |