| /scripts/coccinelle/iterators/ |
| D | for_each_child.cocci | 17 local idexpression n; 30 for_each_node_by_name(n,e1) S 32 for_each_node_by_type(n,e1) S 34 for_each_compatible_node(n,e1,e2) S 36 for_each_matching_node(n,e1) S 38 for_each_matching_node_and_match(n,e1,e2) S 40 for_each_child_of_node(e1,n) S 42 for_each_available_child_of_node(e1,n) S 44 for_each_node_with_property(n,e1) S 47 i(es,n,...) S [all …]
|
| D | device_node_continue.cocci | 21 local idexpression n; 33 for_each_node_by_name(n,e1) S 35 for_each_node_by_type(n,e1) S 37 for_each_compatible_node(n,e1,e2) S 39 for_each_matching_node(n,e1) S 41 for_each_matching_node_and_match(n,e1,e2) S 43 for_each_child_of_node(e1,n) S 45 for_each_available_child_of_node(e1,n) S 47 for_each_node_with_property(n,e1) S 51 ... when != of_node_get(n) [all …]
|
| /scripts/gcc-plugins/ |
| D | gcc-generate-ipa-pass.h | 30 #define __GCC_PLUGIN_STRINGIFY(n) #n argument 31 #define _GCC_PLUGIN_STRINGIFY(n) __GCC_PLUGIN_STRINGIFY(n) argument 35 #define __PASS_NAME_PASS_DATA(n) _GCC_PLUGIN_CONCAT2(n, _pass_data) argument 38 #define __PASS_NAME_PASS(n) _GCC_PLUGIN_CONCAT2(n, _pass) argument 43 #define __MAKE_PASS_NAME_PASS(n) _GCC_PLUGIN_CONCAT3(make_, n, _pass) argument 49 #define __GENERATE_SUMMARY(n) _GCC_PLUGIN_CONCAT2(n, _generate_summary) argument 56 #define __READ_SUMMARY(n) _GCC_PLUGIN_CONCAT2(n, _read_summary) argument 63 #define __WRITE_SUMMARY(n) _GCC_PLUGIN_CONCAT2(n, _write_summary) argument 70 #define __READ_OPTIMIZATION_SUMMARY(n) _GCC_PLUGIN_CONCAT2(n, _read_optimization_summary) argument 77 #define __WRITE_OPTIMIZATION_SUMMARY(n) _GCC_PLUGIN_CONCAT2(n, _write_optimization_summary) argument [all …]
|
| D | gcc-generate-gimple-pass.h | 22 #define __GCC_PLUGIN_STRINGIFY(n) #n argument 23 #define _GCC_PLUGIN_STRINGIFY(n) __GCC_PLUGIN_STRINGIFY(n) argument 27 #define __PASS_NAME_PASS_DATA(n) _GCC_PLUGIN_CONCAT2(n, _pass_data) argument 30 #define __PASS_NAME_PASS(n) _GCC_PLUGIN_CONCAT2(n, _pass) argument 35 #define __MAKE_PASS_NAME_PASS(n) _GCC_PLUGIN_CONCAT3(make_, n, _pass) argument 42 #define __GATE(n) _GCC_PLUGIN_CONCAT2(n, _gate) argument 51 #define __EXECUTE(n) _GCC_PLUGIN_CONCAT2(n, _execute) argument
|
| D | gcc-generate-rtl-pass.h | 22 #define __GCC_PLUGIN_STRINGIFY(n) #n argument 23 #define _GCC_PLUGIN_STRINGIFY(n) __GCC_PLUGIN_STRINGIFY(n) argument 27 #define __PASS_NAME_PASS_DATA(n) _GCC_PLUGIN_CONCAT2(n, _pass_data) argument 30 #define __PASS_NAME_PASS(n) _GCC_PLUGIN_CONCAT2(n, _pass) argument 35 #define __MAKE_PASS_NAME_PASS(n) _GCC_PLUGIN_CONCAT3(make_, n, _pass) argument 42 #define __GATE(n) _GCC_PLUGIN_CONCAT2(n, _gate) argument 51 #define __EXECUTE(n) _GCC_PLUGIN_CONCAT2(n, _execute) argument
|
| D | gcc-generate-simple_ipa-pass.h | 22 #define __GCC_PLUGIN_STRINGIFY(n) #n argument 23 #define _GCC_PLUGIN_STRINGIFY(n) __GCC_PLUGIN_STRINGIFY(n) argument 27 #define __PASS_NAME_PASS_DATA(n) _GCC_PLUGIN_CONCAT2(n, _pass_data) argument 30 #define __PASS_NAME_PASS(n) _GCC_PLUGIN_CONCAT2(n, _pass) argument 35 #define __MAKE_PASS_NAME_PASS(n) _GCC_PLUGIN_CONCAT3(make_, n, _pass) argument 42 #define __GATE(n) _GCC_PLUGIN_CONCAT2(n, _gate) argument 51 #define __EXECUTE(n) _GCC_PLUGIN_CONCAT2(n, _execute) argument
|
| /scripts/include/ |
| D | list.h | 307 #define list_for_each_entry_safe(pos, n, head, member) \ argument 309 n = list_next_entry(pos, member); \ 311 pos = n, n = list_next_entry(n, member)) 341 static inline void __hlist_del(struct hlist_node *n) in __hlist_del() argument 343 struct hlist_node *next = n->next; in __hlist_del() 344 struct hlist_node **pprev = n->pprev; in __hlist_del() 358 static inline void hlist_del(struct hlist_node *n) in hlist_del() argument 360 __hlist_del(n); in hlist_del() 361 n->next = LIST_POISON1; in hlist_del() 362 n->pprev = LIST_POISON2; in hlist_del() [all …]
|
| D | xalloc.h | 44 static inline char *xstrndup(const char *s, size_t n) in xstrndup() argument 46 char *p = strndup(s, n); in xstrndup()
|
| /scripts/gendwarfksyms/ |
| D | gendwarfksyms.c | 95 unsigned int n; in main() local 150 for (n = optind; n < argc; n++) { in main() 154 fd = open(argv[n], O_RDONLY); in main() 156 error("open failed for '%s': %s", argv[n], in main() 164 error("dwfl_begin failed for '%s': %s", argv[n], in main() 167 if (!dwfl_report_offline(dwfl, argv[n], argv[n], fd)) in main() 169 argv[n], dwarf_errmsg(-1)); in main() 174 error("dwfl_getmodules failed for '%s'", argv[n]); in main()
|
| /scripts/kconfig/ |
| D | lexer.l | 52 static char *expand_token(const char *in, size_t n); 94 n [A-Za-z0-9_-] 101 \\\n /* escaped new line */ 102 \n return T_EOL; 149 {n}+ { 154 ({n}|$)+ { 164 [^[:blank:]\n]+.* { 169 \n { BEGIN(INITIAL); return T_EOL; } 193 unput('\n'); 317 if (c == '\n') { [all …]
|
| /scripts/ |
| D | extract-module-sig.pl | 88 my $n = $sig_len > 16 ? 16 : $sig_len; 89 foreach my $i (unpack("C" x $n, substr($raw_sig, 0, $n))) { 97 my $n = $kid_len > 16 ? 16 : $kid_len; 98 foreach my $i (unpack("C" x $n, substr($raw_kid, 0, $n))) {
|
| D | sign-file.c | 186 int n; in read_x509() local 192 n = BIO_read(b, buf, 2); in read_x509() 193 if (n != 2) { in read_x509() 198 if (n >= 0) { in read_x509() 242 int opt, n; in main() local 371 while ((n = BIO_read(bm, buf, sizeof(buf))), in main() 372 n > 0) { in main() 373 ERR(BIO_write(bd, buf, n) < 0, "%s", dest_name); in main() 376 ERR(n < 0, "%s", module_name); in main() 393 while ((n = BIO_read(b, buf, sizeof(buf))), n > 0) in main() [all …]
|
| D | Kconfig.include | 19 # Return y if <command> exits with 0, n otherwise 20 success = $(if-success,$(1),y,n) 23 # Return n if <command> exits with 0, y otherwise 24 failure = $(if-success,$(1),n,y) 27 # Return y if the compiler supports <flag>, n otherwise 31 # Return y if the linker supports <flag>, n otherwise 35 # Return y if the assembler supports <instr>, n otherwise 36 as-instr = $(success,printf "%b\n" "$(1)" | $(CC) $(CLANG_FLAGS) $(2) -Wa$(comma)--fatal-warnings -… 72 # Return y if the Rust compiler supports <flag>, n otherwise
|
| D | Makefile.lib | 135 _c_flags += $(if $(patsubst n%,, \ 146 _c_flags += $(if $(patsubst n%,, \ 149 _rust_flags += $(if $(patsubst n%,, \ 156 _c_flags += $(if $(patsubst n%,, \ 159 _c_flags += $(if $(patsubst n%,, \ 165 _c_flags += $(if $(patsubst n%,, \ 168 _c_flags += $(if $(patsubst n%,, \ 174 _c_flags += $(if $(patsubst n%,, \ 177 _rust_flags += $(if $(patsubst n%,, \ 187 _c_flags += $(if $(patsubst n%,, \ [all …]
|
| D | checkpatch.pl | 1173 …my $git_last_include_commit = `${git_command} log --no-merges --pretty=format:"%h%n" -1 -- include… 1528 my $n = 0; 1532 $n++; 1533 for (; ($n % $tabsize) != 0; $n++) { 1539 $n++; 2040 for (my $n = 0; $n < $cnt; $n++) { 2041 $herectx .= raw_line($linenr, $n) . "\n"; 3364 for (my $n = 0; $n < 2; $n++) { 3376 last if ($#lines < $linenr + $n); 3377 $input .= " " . trim($rawlines[$linenr + $n]); [all …]
|
| D | bloat-o-meter | 93 for d, n in delta: 94 if d: print("%-40s %7s %7s %+7d" % (n, old.get(n,"-"), new.get(n,"-"), d))
|
| /scripts/gendwarfksyms/examples/ |
| D | kabi.h | 116 #define KABI_RESERVE(n) unsigned long __kabi_reserved##n argument 123 #define KABI_RESERVE_ARRAY(n, s) \ argument 124 unsigned char __aligned(8) __kabi_reserved##n[s] 130 #define KABI_IGNORE(n, _new) \ argument 133 unsigned char __kabi_ignored##n; \
|
| /scripts/kconfig/tests/auto_submenu/ |
| D | expected_stdout | 1 A (A) [Y/n/?] (NEW) 2 A0 (A0) [Y/n/?] (NEW) 4 A1 (A1) [Y/n/?] (NEW)
|
| /scripts/genksyms/ |
| D | genksyms.c | 43 int n; member 358 struct string_list *n, *n2; in concat_list() local 362 for (va_start(ap, start); (n = va_arg(ap, struct string_list *));) { in concat_list() 363 for (n2 = n; n2->next; n2 = n2->next) in concat_list() 366 start = n; in concat_list() 386 struct string_list *res, *n; in copy_list_range() local 390 n = res = copy_node(start); in copy_list_range() 392 n->next = copy_node(start); in copy_list_range() 393 n = n->next; in copy_list_range() 395 n->next = NULL; in copy_list_range() [all …]
|
| /scripts/kconfig/tests/preprocess/builtin_func/ |
| D | Kconfig | 12 $(error-if,n,this should not be printed) 22 $(warning,$(shell,printf 'hello\nworld\n\n4\n\n\n'))
|
| /scripts/dtc/ |
| D | util.c | 36 char *xstrndup(const char *s, size_t n) in xstrndup() argument 38 size_t len = strnlen(s, n) + 1; in xstrndup() 49 int n, size = 0; /* start with 128 bytes */ in xavsprintf_append() local 58 n = vsnprintf(NULL, 0, fmt, ap_copy) + 1; in xavsprintf_append() 61 p = xrealloc(p, size + n); in xavsprintf_append() 63 n = vsnprintf(p + size, n, fmt, ap); in xavsprintf_append() 71 int n; in xasprintf_append() local 75 n = xavsprintf_append(strp, fmt, ap); in xasprintf_append() 78 return n; in xasprintf_append() 83 int n; in xasprintf() local [all …]
|
| D | dtc.h | 93 #define strprefixeq(a, n, b) (strlen(b) == (n) && (memcmp(a, b, n) == 0)) argument 246 #define for_each_property_withdel(n, p) \ argument 247 for ((p) = (n)->proplist; (p); (p) = (p)->next) 249 #define for_each_property(n, p) \ argument 250 for_each_property_withdel(n, p) \ 253 #define for_each_child_withdel(n, c) \ argument 254 for ((c) = (n)->children; (c); (c) = (c)->next_sibling) 256 #define for_each_child(n, c) \ argument 257 for_each_child_withdel(n, c) \ 292 cell_t propval_cell_n(struct property *prop, unsigned int n);
|
| D | livetree.c | 442 cell_t propval_cell_n(struct property *prop, unsigned int n) in propval_cell_n() argument 444 assert(prop->val.len / sizeof(cell_t) > n); in propval_cell_n() 445 return fdt32_to_cpu(*((fdt32_t *)prop->val.val + n)); in propval_cell_n() 703 int n = 0, i = 0; in sort_reserve_entries() local 708 n++; in sort_reserve_entries() 710 if (n == 0) in sort_reserve_entries() 713 tbl = xmalloc(n * sizeof(*tbl)); in sort_reserve_entries() 720 qsort(tbl, n, sizeof(*tbl), cmp_reserve_info); in sort_reserve_entries() 723 for (i = 0; i < (n-1); i++) in sort_reserve_entries() 725 tbl[n-1]->next = NULL; in sort_reserve_entries() [all …]
|
| /scripts/dtc/libfdt/ |
| D | libfdt_internal.h | 36 static inline const struct fdt_reserve_entry *fdt_mem_rsv_(const void *fdt, int n) in fdt_mem_rsv_() argument 42 return rsv_table + n; in fdt_mem_rsv_() 44 static inline struct fdt_reserve_entry *fdt_mem_rsv_w_(void *fdt, int n) in fdt_mem_rsv_w_() argument 46 return (void *)(uintptr_t)fdt_mem_rsv_(fdt, n); in fdt_mem_rsv_w_()
|
| /scripts/gdb/linux/ |
| D | lists.py | 78 n = c['next'].dereference() 98 if n['prev'] != c.address: 104 n_addr=n.address, 105 n=n, 115 c = n
|