Home
last modified time | relevance | path

Searched refs:list (Results 1 – 25 of 58) sorted by relevance

123

/busybox-1.35.0/archival/libarchive/
Dfind_list_entry.c12 const llist_t* FAST_FUNC find_list_entry(const llist_t *list, const char *filename) in find_list_entry() argument
14 while (list) { in find_list_entry()
15 if (fnmatch(list->data, filename, 0) == 0) { in find_list_entry()
16 return list; in find_list_entry()
18 list = list->link; in find_list_entry()
26 const llist_t* FAST_FUNC find_list_entry2(const llist_t *list, const char *filename) in find_list_entry2() argument
33 while (list) { in find_list_entry2()
34 c = list->data; in find_list_entry2()
47 if (fnmatch(list->data, buf, 0) == 0) { in find_list_entry2()
48 return list; in find_list_entry2()
[all …]
Dunsafe_symlink_target.c27 void FAST_FUNC create_links_from_list(llist_t *list) in create_links_from_list() argument
29 while (list) { in create_links_from_list()
32 target = list->data + 1 + strlen(list->data + 1) + 1; in create_links_from_list()
33 if ((*list->data ? link : symlink) (target, list->data + 1)) { in create_links_from_list()
36 *list->data ? "hard" : "sym", in create_links_from_list()
37 list->data + 1, target in create_links_from_list()
40 list = list->link; in create_links_from_list()
/busybox-1.35.0/shell/
Dhush_leaktool.sh11 list=
13 list="$list -e $freed"
15 echo Dropping $list
16 grep -F -v $list <"$output.leaked" >"$output.temp"
19 list=
21 if test "$list"; then
22 echo Dropping $list
23 grep -F -v $list <"$output.leaked" >"$output.temp"
Dhush_doc.txt5 Command parsing results in a list of "pipe" structures.
6 This list correspond not only to usual "pipe1 || pipe2 && pipe3"
8 Every such statement is a list for hush. List consists of pipes.
20 struct child_prog can contain a list of pipes. Sometimes these
45 Above you see that if is a list, and it sits in a {} group
125 run_pipe - for every pipe in list
Dhush.c3145 char **list = (char**)o->data; in debug_print_list() local
3146 int string_start = ((n + 0xf) & ~0xf) * sizeof(list[0]); in debug_print_list()
3151 prefix, list, n, string_start, o->length, o->maxlen, in debug_print_list()
3157 fdprintf(2, " list[%d]=%d '%s' %p\n", i, (int)(uintptr_t)list[i], in debug_print_list()
3158 o->data + (int)(uintptr_t)list[i] + string_start, in debug_print_list()
3159 o->data + (int)(uintptr_t)list[i] + string_start); in debug_print_list()
3163 const char *p = o->data + (int)(uintptr_t)list[n - 1] + string_start; in debug_print_list()
3177 char **list = (char**)o->data; in o_save_ptr_helper() local
3182 string_start = ((n + 0xf) & ~0xf) * sizeof(list[0]); in o_save_ptr_helper()
3187 o->maxlen += 0x10 * sizeof(list[0]); in o_save_ptr_helper()
[all …]
/busybox-1.35.0/libbb/
Dllist.c75 llist_t* FAST_FUNC llist_rev(llist_t *list) in llist_rev() argument
79 while (list) { in llist_rev()
80 llist_t *next = list->link; in llist_rev()
82 list->link = rev; in llist_rev()
83 rev = list; in llist_rev()
84 list = next; in llist_rev()
89 llist_t* FAST_FUNC llist_find_str(llist_t *list, const char *str) in llist_find_str() argument
91 while (list) { in llist_find_str()
92 if (strcmp(list->data, str) == 0) in llist_find_str()
94 list = list->link; in llist_find_str()
[all …]
Dupdate_passwd.c191 char *list = strrchr(line, ':'); in update_passwd() local
192 while (list) { in update_passwd()
193 list++; in update_passwd()
195 if (is_prefixed_with(list, member)) { in update_passwd()
198 c = list[member_len]; in update_passwd()
200 if (list[-1] == ',') in update_passwd()
201 list--; in update_passwd()
202 *list = '\0'; in update_passwd()
206 overlapping_strcpy(list, list + member_len + 1); in update_passwd()
211 list = strchr(list, ','); in update_passwd()
/busybox-1.35.0/coreutils/
Dtac.c45 llist_t *list = NULL; in tac_main() local
93 llist_add_to(&list, line); in tac_main()
106 while (list) { in tac_main()
107 line = (struct lstring *)list->data; in tac_main()
110 free(llist_pop(&list)); in tac_main()
112 list = list->link; in tac_main()
/busybox-1.35.0/scripts/kconfig/lxdialog/
Dchecklist.c117 WINDOW *dialog, *list; in dialog_checklist() local
166 list = subwin(dialog, list_height, list_width, y + box_y + 1, in dialog_checklist()
169 keypad(list, TRUE); in dialog_checklist()
190 print_item(list, items[(scroll + i) * 3 + 1], in dialog_checklist()
200 wnoutrefresh(list); in dialog_checklist()
220 print_item(list, items[scroll * 3 + 1], in dialog_checklist()
222 scrollok(list, TRUE); in dialog_checklist()
223 wscrl(list, -1); in dialog_checklist()
224 scrollok(list, FALSE); in dialog_checklist()
227 print_item(list, items[scroll * 3 + 1], status[scroll], 0, TRUE); in dialog_checklist()
[all …]
/busybox-1.35.0/mailutils/
Dsendmail.c192 static void rcptto_list(const char *list) in rcptto_list() argument
194 char *free_me = xstrdup(list); in rcptto_list()
224 llist_t *list = NULL; in sendmail_main() local
274 &G.timeout, &opt_connect, &opt_connect, &list, &G.verbose in sendmail_main()
280 if ((opts & OPT_a) && !list) in sendmail_main()
282 while (list) { in sendmail_main()
283 char *a = (char *) llist_pop(&list); in sendmail_main()
458 check_hdr = (list && isspace(s[0])); in sendmail_main()
476 llist_add_to_end(&list, s); in sendmail_main()
499 llist_add_to_end(&list, in sendmail_main()
[all …]
/busybox-1.35.0/shell/hush_test/hush-parsing/
Dand_or_and_backgrounding.tests9 #An AND-OR list is a sequence of one or more pipelines separated by
12 #A list is a sequence of one or more AND-OR lists separated by the operators
22 #A ';' or <newline> terminator shall cause the preceding AND-OR list
24 #of the preceding AND-OR list.
/busybox-1.35.0/shell/ash_test/ash-parsing/
Dand_or_and_backgrounding.tests9 #An AND-OR list is a sequence of one or more pipelines separated by
12 #A list is a sequence of one or more AND-OR lists separated by the operators
22 #A ';' or <newline> terminator shall cause the preceding AND-OR list
24 #of the preceding AND-OR list.
/busybox-1.35.0/editors/
Dpatch_toybox.c59 void *TOY_llist_pop(void *list) in TOY_llist_pop() argument
64 void **llist = (void **)list; in TOY_llist_pop()
74 void TOY_llist_free(void *list, void (*freeit)(void *data)) in TOY_llist_free() argument
76 while (list) { in TOY_llist_free()
77 void *pop = TOY_llist_pop(&list); in TOY_llist_free()
82 if (list==pop) break; in TOY_llist_free()
88 struct double_list *dlist_add(struct double_list **list, char *data) in dlist_add() argument
93 if (*list) { in dlist_add()
94 line->next = *list; in dlist_add()
95 line->prev = (*list)->prev; in dlist_add()
[all …]
Ddiff.c274 static int search(const int *c, int k, int y, const struct cand *list) in search() argument
278 if (list[c[k]].y < y) /* quick look for typical case */ in search()
284 const int t = list[c[l]].y; in search()
857 struct dlist list[2]; in diffdir() local
860 memset(&list, 0, sizeof(list)); in diffdir()
869 list[i].len = strlen(p[i]); in diffdir()
871 add_to_dirlist, skip_dir, &list[i]); in diffdir()
877 qsort_string_vector(list[i].dl, list[i].e); in diffdir()
881 while (list[i].s < list[i].e && strcmp(list[i].dl[list[i].s], s_start) < 0) in diffdir()
882 list[i].s++; in diffdir()
[all …]
Dpatch.c64 static void dlist_free(struct double_list *list, void (*freeit)(void *data)) in dlist_free() argument
66 while (list) { in dlist_free()
67 void *pop = list; in dlist_free()
68 list = list->next; in dlist_free()
71 if (list == pop) break; in dlist_free()
76 static struct double_list *dlist_add(struct double_list **list, char *data) in dlist_add() argument
82 llist = *list; in dlist_add()
91 *list = line->next = line->prev = line; in dlist_add()
/busybox-1.35.0/scripts/kconfig/
Dmenu.c41 last_entry_ptr = &rootmenu.list; in menu_init()
67 last_entry_ptr = &current_entry->list; in menu_add_menu()
213 if (parent->list) { in menu_finalize()
216 for (menu = parent->list; menu; menu = menu->next) { in menu_finalize()
231 for (menu = parent->list; menu; menu = menu->next) { in menu_finalize()
256 for (menu = parent->list; menu; menu = menu->next) in menu_finalize()
285 parent->list = parent->next; in menu_finalize()
290 for (menu = parent->list; menu; menu = menu->next) { in menu_finalize()
314 if (menu->list && (!menu->prompt || !menu->prompt->text)) { in menu_finalize()
315 for (last_menu = menu->list; ; last_menu = last_menu->next) { in menu_finalize()
[all …]
Dqconf.cc119 for (child = menu->list; child; child = child->next) { in updateMenuList()
179 ConfigList* list; in updateMenu() local
186 list = listView(); in updateMenu()
188 setPixmap(promptColIdx, list->menuBackPix); in updateMenu()
199 if (list->mode == singleMode || list->mode == symbolMode) { in updateMenu()
203 if (sym && list->rootEntry == menu) in updateMenu()
205 setPixmap(promptColIdx, list->menuPix); in updateMenu()
229 if (!sym_is_changable(sym) && !list->showAll) { in updateMenu()
240 setPixmap(promptColIdx, list->choiceYesPix); in updateMenu()
242 setPixmap(promptColIdx, list->symbolYesPix); in updateMenu()
[all …]
Dconf.c354 for (child = menu->list; child; child = child->next) { in conf_choice()
421 for (child = menu->list; child; child = child->next) { in conf_choice()
435 if (child->list) { in conf_choice()
437 conf(child->list); in conf_choice()
500 for (child = menu->list; child; child = child->next) in conf()
525 for (child = menu->list; child; child = child->next) in check_conf()
/busybox-1.35.0/procps/
Dps.posix10 Implementations may omit session leaders from this list.
25 list.
31 separated list.
51 separated list.
57 list. Terminal identifiers shall be given in an implementation-
67 comma-separated list. In the listing, the numerical user ID
75 or comma-separated list.
78 select processes. If any are specified, the default list shall be
85 The application shall ensure that the format specification is a list of
146 argument list as it was passed to the command when it started,
[all …]
Dpstree.c78 PROC *list; member
135 for (walk = G.list; walk; walk = walk->next) in find_proc()
149 new->next = G.list; in new_proc()
151 G.list = new; in new_proc()
152 return G.list; in new_proc()
/busybox-1.35.0/docs/
Dcontributing.txt37 No one is required to read the entire archives of the mailing list, but you
49 list.
64 Before plunging ahead, it's a good idea to send a message to the mailing list
106 list at busybox@busybox.net. A well-written bug report should include a
173 before you write any code, please ask beforehand on the mailing list something
176 "no" by the folks on the mailing list, then you've saved yourself some time.
237 You can send the resulting .patch file to the mailing list with a description
249 post your findings to the mailing list.
262 to the mailing list, and especially before you push a change to Git. Here
285 mailing list with a subject line something like this:
[all …]
/busybox-1.35.0/applets/
DKbuild.src51 # Unfortunately, we need to list the same command,
53 # The alternative is to not list any command,
/busybox-1.35.0/include/
Dbb_archive.h210 void create_links_from_list(llist_t *list) FAST_FUNC;
213 const llist_t *find_list_entry(const llist_t *list, const char *filename) FAST_FUNC;
214 const llist_t *find_list_entry2(const llist_t *list, const char *filename) FAST_FUNC;
/busybox-1.35.0/
DINSTALL10 The full list of configuration and install options is available by typing:
78 are useful in specific cases. "make help" will list them.
96 "busybox.links" (created by make), which contains the list of enabled applets
103 a list of all enabled applets.) The standalone shell can also call busybox
/busybox-1.35.0/scripts/
DMakefile.build68 ifdef list-multi
69 $(warning kbuild: $(obj)/Makefile - list-multi := $(list-multi) is obsolete in 2.6. Please fix!)

123