Home
last modified time | relevance | path

Searched refs:n (Results 1 – 25 of 30) sorted by relevance

12

/scripts/kconfig/
A Dzconf.l80 n [A-Za-z0-9_-]
86 [ \t]*#.*\n |
87 [ \t]*\n {
104 {n}+ {
117 ({n}|$)+ {
129 \n {
136 [^[:blank:]\n]+.* {
163 ({n}|[/.])+ {
173 ({n}|[/.$])+ {
181 \\\n ;
[all …]
A Dlist.h59 #define list_for_each_entry_safe(pos, n, head, member) \ argument
61 n = list_entry(pos->member.next, typeof(*pos), member); \
63 pos = n, n = list_entry(n->member.next, typeof(*n), member))
A Dconfdata.c229 static int add_byte(int c, char **lineptr, size_t slen, size_t *n) in add_byte() argument
233 if (new_size > *n) { in add_byte()
241 *n = new_size; in add_byte()
259 if (add_byte(c, &line, slen, n) < 0) in compat_getline()
264 if (add_byte('\0', &line, slen, n) < 0) in compat_getline()
271 if (add_byte(c, &line, slen, n) < 0) in compat_getline()
1203 int n, p[3]; in conf_set_all_new_symbols() local
1205 n = 0; in conf_set_all_new_symbols()
1210 p[n++] = tmp; in conf_set_all_new_symbols()
1217 if( n >=3 ) { in conf_set_all_new_symbols()
[all …]
A Dutil.c121 char *xstrndup(const char *s, size_t n) in xstrndup() argument
125 p = strndup(s, n); in xstrndup()
A Dpreprocess.c350 unsigned long n; in eval_clause() local
359 n = strtoul(tmp, &endptr, 10); in eval_clause()
360 if (!*endptr && n > 0 && n <= argc) { in eval_clause()
361 res = xstrdup(argv[n - 1]); in eval_clause()
A Dlkc.h104 char *xstrndup(const char *s, size_t n);
/scripts/
A DKconfig.include18 # Return y if <command> exits with 0, n otherwise
19 success = $(if-success,$(1),y,n)
22 # Return y if the compiler supports <flag>, n otherwise
26 # Return y if the compiler defines <macro>, n otherwise
30 # Return y if the linker supports <flag>, n otherwise
A Dstyle.py90 names = [n.strip() for n in item.split(',')]
91 new_names = [conv.get(n) or n for n in names]
A Dcheckpatch.pl1490 my $n = 0;
1494 $n++;
1495 for (; ($n % $tabsize) != 0; $n++) {
1501 $n++;
2002 for (my $n = 0; $n < $cnt; $n++) {
3361 for (my $n = 0; $n < 2; $n++) {
5111 for (my $n = 0; $n < $#elements; $n += 2) {
5113 my $good = $fix_elements[$n] . $fix_elements[$n + 1];
5224 $good = $fix_elements[$n] . trim($fix_elements[$n + 1]);
5531 for (my $n = 0; $n < $cnt; $n++) {
[all …]
A DMakefile.lib139 _c_flags += $(if $(patsubst n%,, \
149 _c_flags += $(if $(patsubst n%,, \
155 _c_flags += $(if $(patsubst n%,, \
161 _c_flags += $(if $(patsubst n%,, \
579 printf "%08x\n" $$dec_size | \
A Dconfig27 --state|-s option Print state of option (n,y,m,undef)
/scripts/dtc/
A Ddtc.h70 #define strprefixeq(a, n, b) (strlen(b) == (n) && (memcmp(a, b, n) == 0)) argument
180 #define for_each_property_withdel(n, p) \ argument
181 for ((p) = (n)->proplist; (p); (p) = (p)->next)
183 #define for_each_property(n, p) \ argument
184 for_each_property_withdel(n, p) \
187 #define for_each_child_withdel(n, c) \ argument
188 for ((c) = (n)->children; (c); (c) = (c)->next_sibling)
190 #define for_each_child(n, c) \ argument
191 for_each_child_withdel(n, c) \
223 cell_t propval_cell_n(struct property *prop, int n);
A Dlivetree.c696 int n = 0, i = 0; in sort_reserve_entries() local
701 n++; in sort_reserve_entries()
703 if (n == 0) in sort_reserve_entries()
718 tbl[n-1]->next = NULL; in sort_reserve_entries()
735 int n = 0, i = 0; in sort_properties() local
739 n++; in sort_properties()
741 if (n == 0) in sort_properties()
754 tbl[n-1]->next = NULL; in sort_properties()
771 int n = 0, i = 0; in sort_subnodes() local
775 n++; in sort_subnodes()
[all …]
A Dutil.c49 char *xstrndup(const char *s, size_t n) in xstrndup() argument
51 size_t len = strnlen(s, n) + 1; in xstrndup()
63 int n, size = 128; /* start with 128 bytes */ in xasprintf() local
74 n = vsnprintf(p, size, fmt, ap); in xasprintf()
78 if (n > -1 && n < size) in xasprintf()
81 if (n > -1) /* glibc 2.1 */ in xasprintf()
82 size = n + 1; /* precisely what is needed */ in xasprintf()
A Dchecks.c288 if (n < strlen(node->name)) in check_node_name_chars()
290 node->name[n]); in check_node_name_chars()
299 if (n < node->basenamelen) in check_node_name_chars_strict()
301 node->name[n]); in check_node_name_chars_strict()
350 prop->name[n]); in check_property_name_chars()
376 if (name[n] == '#' && ((n == 0) || (name[n-1] == ','))) { in check_property_name_chars_strict()
377 name += n + 1; in check_property_name_chars_strict()
380 if (n < strlen(name)) in check_property_name_chars_strict()
382 name[n]); in check_property_name_chars_strict()
703 (((n)->addr_cells == -1) ? 2 : (n)->addr_cells)
[all …]
/scripts/dtc/libfdt/
A Dlibfdt_internal.h39 static inline const struct fdt_reserve_entry *fdt_mem_rsv_(const void *fdt, int n) in fdt_mem_rsv_() argument
45 return rsv_table + n; in fdt_mem_rsv_()
47 static inline struct fdt_reserve_entry *fdt_mem_rsv_w_(void *fdt, int n) in fdt_mem_rsv_w_() argument
49 return (void *)(uintptr_t)fdt_mem_rsv_(fdt, n); in fdt_mem_rsv_w_()
A Dlibfdt_env.h29 #define EXTRACT_BYTE(x, n) ((unsigned long long)((uint8_t *)&x)[n]) argument
A Dfdt_ro.c40 const char *s, *n; in fdt_get_string() local
83 n = memchr(s, '\0', len); in fdt_get_string()
84 if (!n) { in fdt_get_string()
91 *lenp = n - s; in fdt_get_string()
160 static const struct fdt_reserve_entry *fdt_mem_rsv(const void *fdt, int n) in fdt_mem_rsv() argument
162 unsigned int offset = n * sizeof(struct fdt_reserve_entry); in fdt_mem_rsv()
172 return fdt_mem_rsv_(fdt, n); in fdt_mem_rsv()
175 int fdt_get_mem_rsv(const void *fdt, int n, uint64_t *address, uint64_t *size) in fdt_get_mem_rsv() argument
180 re = fdt_mem_rsv(fdt, n); in fdt_get_mem_rsv()
A Dfdt_rw.c173 int fdt_del_mem_rsv(void *fdt, int n) in fdt_del_mem_rsv() argument
175 struct fdt_reserve_entry *re = fdt_mem_rsv_w_(fdt, n); in fdt_del_mem_rsv()
179 if (n >= fdt_num_mem_rsv(fdt)) in fdt_del_mem_rsv()
/scripts/kconfig/tests/auto_submenu/
A Dexpected_stdout1 A (A) [Y/n/?] (NEW)
2 A0 (A0) [Y/n/?] (NEW)
4 A1 (A1) [Y/n/?] (NEW)
/scripts/kconfig/lxdialog/
A Dutil.c658 int n = 0; in item_count() local
662 n++; in item_count()
663 return n; in item_count()
666 void item_set(int n) in item_set() argument
670 if (i++ == n) in item_set()
676 int n = 0; in item_n() local
681 return n; in item_n()
682 n++; in item_n()
A Dtextbox.c11 static void back_lines(int n);
266 static void back_lines(int n) in back_lines() argument
272 for (i = 0; i < n; i++) { in back_lines()
A Dmenubox.c158 static void do_scroll(WINDOW *win, int *scroll, int n) in do_scroll() argument
162 wscrl(win, n); in do_scroll()
164 *scroll = *scroll + n; in do_scroll()
/scripts/kconfig/tests/choice/
A Doldask0_expected_stdout1 Enable loadable module support (MODULES) [Y/n/?] (NEW)
A Doldask1_expected_stdout6 optional boolean choice [Y/n/?] (NEW)

Completed in 43 milliseconds

12