Home
last modified time | relevance | path

Searched refs:items (Results 1 – 25 of 122) sorted by relevance

12345

/dflybsd-src/contrib/bmake/
H A Dfor.c66 SubstringWords items; /* Substitution items */ member
81 SubstringWords_Init(&f->items); in ForLoop_New()
95 SubstringWords_Free(f->items); in ForLoop_Free()
106 const Substring *items; in ForLoop_Details() local
110 vars = f->vars.items; in ForLoop_Details()
112 items = f->items.words + f->nextItem - n; in ForLoop_Details()
120 Buf_AddBytesBetween(&buf, items[i].start, items[i].end); in ForLoop_Details()
167 char *items; in ForLoop_ParseItems() local
171 if (Var_Subst(p, SCOPE_GLOBAL, VARE_WANTRES, &items) != VPR_OK) { in ForLoop_ParseItems()
176 f->items = Substring_Words(items, false); in ForLoop_ParseItems()
[all …]
H A Dlst.h179 void *items; /* memory holding the items */ member
194 unsigned char *items = v->items; in Vector_Get() local
195 return items + i * v->itemSize; in Vector_Get()
204 free(v->items); in Vector_Done()
H A Dlst.c266 v->items = bmake_malloc(v->cap * v->itemSize); in Vector_Init()
278 v->items = bmake_realloc(v->items, v->cap * v->itemSize); in Vector_Push()
/dflybsd-src/contrib/dialog/
H A Dformbox.c32 #define ItemName(i) items[LLEN(i) + 0]
33 #define ItemNameY(i) items[LLEN(i) + 1]
34 #define ItemNameX(i) items[LLEN(i) + 2]
35 #define ItemText(i) items[LLEN(i) + 3]
36 #define ItemTextY(i) items[LLEN(i) + 4]
37 #define ItemTextX(i) items[LLEN(i) + 5]
38 #define ItemTextFLen(i) items[LLEN(i) + 6]
39 #define ItemTextILen(i) items[LLEN(i) + 7]
40 #define ItemHelp(i) (dialog_vars.item_help ? items[LLEN(i) + 8] : dlg_strempty())
408 dlg_default_formitem(DIALOG_FORMITEM * items) in dlg_default_formitem() argument
[all …]
H A Dmenubox.c47 DIALOG_LISTITEM *items; member
143 DIALOG_LISTITEM * items, in input_menu_edit() argument
156 int max_len = dlg_max_input(MAX((int) strlen(items->text) + 1, MAX_LEN)); in input_menu_edit()
163 strcpy(result, items->text); in input_menu_edit()
165 print_item(data, data->menu, items, choice, Editing, TRUE); in input_menu_edit()
195 print_item(data, data->menu, items, choice, Selected, TRUE); in input_menu_edit()
203 handle_button(int code, DIALOG_LISTITEM * items, int choice) in handle_button() argument
210 dlg_add_string(items[choice].name); in handle_button()
213 dlg_add_help_listitem(&code, &help_result, &items[choice]); in handle_button()
222 dlg_renamed_menutext(DIALOG_LISTITEM * items, int current, char *newtext) in dlg_renamed_menutext() argument
[all …]
H A Dmixedform.c31 #define ItemName(i) items[LLEN(i) + 0]
32 #define ItemNameY(i) items[LLEN(i) + 1]
33 #define ItemNameX(i) items[LLEN(i) + 2]
34 #define ItemText(i) items[LLEN(i) + 3]
35 #define ItemTextY(i) items[LLEN(i) + 4]
36 #define ItemTextX(i) items[LLEN(i) + 5]
37 #define ItemTextFLen(i) items[LLEN(i) + 6]
38 #define ItemTextILen(i) items[LLEN(i) + 7]
39 #define ItemTypep(i) items[LLEN(i) + 8]
40 #define ItemHelp(i) (dialog_vars.item_help ? items[LLEN(i) + 9] : dlg_strempty())
[all …]
H A Dchecklist.c46 DIALOG_LISTITEM *items; member
112 &data->items[ii], in print_list()
134 check_hotkey(DIALOG_LISTITEM * items, int choice) in check_hotkey() argument
140 ? items[choice].text in check_hotkey()
141 : items[choice].name))) { in check_hotkey()
160 DIALOG_LISTITEM * items, in dlg_checklist() argument
199 int choice = dlg_default_listitem(items); in dlg_checklist()
225 all.items = items; in dlg_checklist()
239 if (items[i].state) { in dlg_checklist()
243 items[i].state = 0; in dlg_checklist()
[all …]
H A Dtreeview.c42 DIALOG_LISTITEM *items; member
116 &data->items[ii], in print_list()
139 check_hotkey(DIALOG_LISTITEM * items, int choice) in check_hotkey() argument
145 ? items[choice].text in check_hotkey()
146 : items[choice].name))) { in check_hotkey()
164 DIALOG_LISTITEM * items, in dlg_treeview() argument
204 int choice = dlg_default_listitem(items); in dlg_treeview()
224 all.items = items; in dlg_treeview()
241 if (items[i].state) { in dlg_treeview()
245 items[i].state = 0; in dlg_treeview()
[all …]
H A Dbuildlist.c60 DIALOG_LISTITEM *items; /* all items in the widget */ member
86 choice, all->items + choice, in index2row()
88 if (myItem(data, row) == all->items + choice) { in index2row()
110 n, all->items + n)); in row2index()
111 if (myItem(data, row) == all->items + n) { in row2index()
175 ? all->items + choice in print_1_list()
233 check_hotkey(DIALOG_LISTITEM * items, int choice, int selected) in check_hotkey() argument
237 if ((items[choice].state != 0) == selected) { in check_hotkey()
240 ? items[choice].text in check_hotkey()
241 : items[choice].name))) { in check_hotkey()
[all …]
H A Dmixedgauge.c30 #define ItemData(i) &items[LLEN(i)]
31 #define ItemName(i) items[LLEN(i)]
32 #define ItemText(i) items[LLEN(i) + 1]
268 char **items) in dlg_begin_mixedgauge() argument
388 char **items) in dialog_mixedgauge() argument
403 width, item_no, items); in dialog_mixedgauge()
/dflybsd-src/crypto/libressl/ssl/
H A Dpqueue.c66 pitem *items; member
109 if (pq->items == NULL) { in pqueue_insert()
110 pq->items = item; in pqueue_insert()
114 for (curr = NULL, next = pq->items; next != NULL; in pqueue_insert()
124 pq->items = item; in pqueue_insert()
142 return pq->items; in pqueue_peek()
148 pitem *item = pq->items; in pqueue_pop()
150 if (pq->items != NULL) in pqueue_pop()
151 pq->items = pq->items->next; in pqueue_pop()
161 for (next = pq->items; next != NULL; next = next->next) in pqueue_find()
[all …]
/dflybsd-src/contrib/zlib-1.2/
H A Dzutil.c217 voidpf ZLIB_INTERNAL zcalloc (voidpf opaque, unsigned items, unsigned size) in zcalloc() argument
220 ulg bsize = (ulg)items*size; in zcalloc()
280 voidpf ZLIB_INTERNAL zcalloc (voidpf opaque, uInt items, uInt size) in zcalloc() argument
283 return _halloc((long)items, size); in zcalloc()
301 extern voidp calloc OF((uInt items, uInt size));
305 voidpf ZLIB_INTERNAL zcalloc (opaque, items, size) in zcalloc() argument
307 unsigned items;
311 return sizeof(uInt) > 2 ? (voidpf)malloc(items * size) :
312 (voidpf)calloc(items, size);
H A Dzutil.h257 voidpf ZLIB_INTERNAL zcalloc OF((voidpf opaque, unsigned items,
262 #define ZALLOC(strm, items, size) \ argument
263 (*((strm)->zalloc))((strm)->opaque, (items), (size))
/dflybsd-src/contrib/tcsh-6/
H A Dsh.file.c308 print_by_column(const Char *dir, Char *items[], size_t count) in print_by_column() argument
317 maxwidth = maxwidth > (r = Strlen(items[i])) ? maxwidth : r; in print_by_column()
329 xprintf("%" TCSH_S, items[i]); in print_by_column()
330 xputchar(dir ? filetype(dir, items[i]) : ' '); in print_by_column()
332 w = Strlen(items[i]) + 1; in print_by_column()
506 struct blk_buf items = BLK_BUF_INIT; in tsearch() local
532 cleanup_push(&items, bb_cleanup); in tsearch()
542 bb_append(&items, Strsave(item)); in tsearch()
546 else if (recognize(&extended_name, item, name_length, ++items.len)) in tsearch()
550 if (ignoring && items.len == 0 && nignored > 0) { in tsearch()
[all …]
H A Dtw.parse.c269 Char *items[2], **ptr; in tenematch() local
384 items[0] = Strsave(qline.s + wordp); in tenematch()
385 items[1] = NULL; in tenematch()
386 cleanup_push(items[0], xfree); in tenematch()
387 ptr = items; in tenematch()
391 cleanup_until(items[0]); in tenematch()
392 if (ptr != items) in tenematch()
404 if (ptr != items) in tenematch()
411 if (ptr != items) in tenematch()
2133 find_rows(Char *items[], int count, int no_file_suffix) in find_rows() argument
[all …]
/dflybsd-src/contrib/gdb-7/gdb/
H A Dosdata.c87 VEC_safe_push (osdata_item_s, data->osdata->items, &item); in osdata_start_item()
112 struct osdata_item *item = VEC_last (osdata_item_s, osdata->items); in osdata_end_column()
216 if (osdata->items != NULL) in osdata_free()
222 VEC_iterate (osdata_item_s, osdata->items, in osdata_free()
226 VEC_free (osdata_item_s, osdata->items); in osdata_free()
305 nrows = VEC_length (osdata_item_s, osdata->items); in info_osdata_command()
310 if (!VEC_empty (osdata_item_s, osdata->items)) in info_osdata_command()
312 last = VEC_last (osdata_item_s, osdata->items); in info_osdata_command()
379 VEC_iterate (osdata_item_s, osdata->items, in info_osdata_command()
/dflybsd-src/nrelease/gui/root/.irssi/
H A Dconfig77 items = {
109 # contains all the normal items.
122 # list of items in statusbar in the display order
123 items = {
142 items = {
152 # add other items before or after the input line item.
159 items = {
173 items = {
/dflybsd-src/usr.sbin/nscd/
H A Dcachelib.c190 while (!TAILQ_EMPTY(&ws->items)) { in destroy_cache_mp_write_session()
191 data_item = TAILQ_FIRST(&ws->items); in destroy_cache_mp_write_session()
192 TAILQ_REMOVE(&ws->items, data_item, entries); in destroy_cache_mp_write_session()
227 HASHTABLE_FOREACH(&(common_entry->items), ht_item) { in destroy_cache_entry()
236 HASHTABLE_DESTROY(&(common_entry->items), data); in destroy_cache_entry()
296 HASHTABLE_FOREACH(&(common_entry->items), ht_item) { in clear_cache_entry()
393 hash = HASHTABLE_CALCULATE_HASH(cache_ht_, &entry->items, in flush_cache_policy()
396 assert(hash < HASHTABLE_ENTRIES_COUNT(&entry->items)); in flush_cache_policy()
398 ht_item = HASHTABLE_GET_ENTRY(&(entry->items), hash); in flush_cache_policy()
572 HASHTABLE_INIT(&(new_common_entry->items), in register_cache_entry()
[all …]
/dflybsd-src/contrib/tre/lib/
H A Dtre-parse.c114 tre_bracket_match_list_t **items) in tre_new_item() argument
117 tre_bracket_match_list_t *array = *items; in tre_new_item()
133 *items = array = new_items; in tre_new_item()
246 tre_parse_bracket_items(tre_parse_ctx_t *ctx, tre_bracket_match_list_t **items, in tre_parse_bracket_items() argument
260 int invert = ((*items)->flags & TRE_BRACKET_MATCH_FLAG_NEGATE); in tre_parse_bracket_items()
448 min, &max_i, items); in tre_parse_bracket_items()
532 equiv, &max_i, items); in tre_parse_bracket_items()
578 class, &max_i, items); in tre_parse_bracket_items()
633 min, &max_i, items); in tre_parse_bracket_items()
664 mine, &max_i, items); in tre_parse_bracket_items()
[all …]
/dflybsd-src/sys/netproto/802_11/wlan/
H A Dieee80211_radiotap.c297 } items[] = { in radiotap_offset() local
372 if (items[i].align == 0) { in radiotap_offset()
377 off = roundup2(off, items[i].align); in radiotap_offset()
379 if (off + items[i].width > le16toh(rh->it_len)) { in radiotap_offset()
383 off, items[i].width, le16toh(rh->it_len)); in radiotap_offset()
388 off += items[i].width; in radiotap_offset()
/dflybsd-src/contrib/wpa_supplicant/wpa_supplicant/dbus/
H A Ddbus_dict_helpers.c504 const char **items, in wpa_dbus_dict_append_string_array() argument
510 if (!key || (!items && num_items != 0) || in wpa_dbus_dict_append_string_array()
518 items[i])) in wpa_dbus_dict_append_string_array()
540 const struct wpabuf **items, in wpa_dbus_dict_append_wpabuf_array() argument
547 (!items && num_items != 0) || in wpa_dbus_dict_append_wpabuf_array()
557 wpabuf_head(items[i]), in wpa_dbus_dict_append_wpabuf_array()
558 wpabuf_len(items[i]))) in wpa_dbus_dict_append_wpabuf_array()
H A Ddbus_dict_helpers.h96 const char **items,
101 const struct wpabuf **items,
/dflybsd-src/gnu/usr.bin/cvs/contrib/
H A Deasy-import.pl126 local(@items) = @_;
131 foreach $item (@items) {
139 foreach $item (@items) {
/dflybsd-src/contrib/byacc/
H A Dlr0.c145 closure(this_state->items, this_state->nitems); in generate_states()
191 isp2 = sp->items; in get_state()
243 p->items[i] = rrhs[start_derives[i]]; in initialize_states()
309 isp2 = p->items; in new_state()
340 itemno = p->items[i]; in show_cores()
/dflybsd-src/contrib/gcc-4.7/libgcc/
H A DMakefile.in359 iterator = $(srcdir)/empty.mk $(patsubst %,$(srcdir)/shared-object.mk,$(iter-items))
391 iterator = $(srcdir)/empty.mk $(patsubst %,$(srcdir)/static-object.mk,$(iter-items))
488 iter-items := $(sifuncs) $(difuncs) $(tifuncs)
492 include $(srcdir)/empty.mk $(patsubst %,$(srcdir)/siditi-object.mk,$(iter-items))
765 iter-items := $(fixed-funcs)
769 include $(srcdir)/empty.mk $(patsubst %,$(srcdir)/fixed-obj.mk,$(iter-items))
784 iter-items := $(fixed-conv-funcs)
788 include $(srcdir)/empty.mk $(patsubst %,$(srcdir)/fixed-obj.mk,$(iter-items))
807 iter-items := $(LIB2ADD) $(LIB2ADD_ST)
825 iter-items := $(sort $(LIB2ADDEHSTATIC) $(LIB2ADDEHSHARED))
[all …]

12345