/freebsd-10-stable/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...] |
/freebsd-10-stable/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 memcpy(item->priority, prio64be, sizeof(item->priority)); 77 item->data = data; 78 item->next = NULL; 80 return item; 83 void pitem_free(pitem *item) argument 85 if (item == NULL) 88 OPENSSL_free(item); 109 pqueue_insert(pqueue_s *pq, pitem *item) argument 152 pitem *item = pq->items; local 194 pitem *item = pq->items; local 211 pqueue_next(pitem **item) argument 227 pitem *item = pq->items; local [all...] |
/freebsd-10-stable/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); 72 item 81 struct qentry *item; local 95 struct qentry *item; local 107 struct qentry *item; local [all...] |
/freebsd-10-stable/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 105 struct drm_global_item *item = &glob[ref->global_type]; local [all...] |
/freebsd-10-stable/contrib/wpa/src/utils/ |
H A D | list.h | 26 static inline void dl_list_add(struct dl_list *list, struct dl_list *item) argument 28 item->next = list->next; 29 item->prev = list; 30 list->next->prev = item; 31 list->next = item; 34 static inline void dl_list_add_tail(struct dl_list *list, struct dl_list *item) argument 36 dl_list_add(list->prev, item); 39 static inline void dl_list_del(struct dl_list *item) argument 41 item->next->prev = item 54 struct dl_list *item; local [all...] |
/freebsd-10-stable/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-10-stable/contrib/subversion/subversion/libsvn_delta/ |
H A D | path_driver.c | 59 dir_stack_t *item; 66 item = APR_ARRAY_IDX(db_stack, db_stack->nelts - 1, void *); 67 parent_db = item->dir_baton; 76 item = apr_pcalloc(subpool, sizeof(*item)); 77 item->dir_baton = db; 78 item->pool = subpool; 79 APR_ARRAY_PUSH(db_stack, dir_stack_t *) = item; 94 dir_stack_t *item; 100 item 58 dir_stack_t *item; local 93 dir_stack_t *item; local 148 dir_stack_t *item; local [all...] |
/freebsd-10-stable/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-10-stable/contrib/subversion/subversion/libsvn_ra_serf/ |
H A D | multistatus.c | 321 error_item_t *item; 323 item = apr_pcalloc(server_error->pool, sizeof(*item)); 325 item->path = apr_pstrdup(server_error->pool, 328 SVN_ERR(parse_status_line(&item->http_status, 329 &item->http_reason, 335 item->message = svn_hash_gets(attrs, "human-readable"); 337 if (item->message) 344 item->apr_err = (apr_status_t)val; 347 item 320 error_item_t *item; local 375 error_item_t *item; local 424 error_item_t *item; local 464 const error_item_t *item; local 733 const error_item_t *item; local [all...] |
/freebsd-10-stable/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" \
|
/freebsd-10-stable/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...] |