| /scripts/coccinelle/iterators/ |
| D | use_after_iter.cocci | 22 identifier c,member; 43 list_for_each_entry@p1(c,...,member) { ... when != break; 48 list_for_each_entry_reverse@p1(c,...,member) { ... when != break; 53 list_for_each_entry_continue@p1(c,...,member) { ... when != break; 58 list_for_each_entry_continue_reverse@p1(c,...,member) { ... when != break; 63 list_for_each_entry_from@p1(c,...,member) { ... when != break; 68 list_for_each_entry_safe@p1(c,...,member) { ... when != break; 73 list_for_each_entry_safe_continue@p1(c,...,member) { ... when != break; 78 list_for_each_entry_safe_from@p1(c,...,member) { ... when != break; 83 list_for_each_entry_safe_reverse@p1(c,...,member) { ... when != break; [all …]
|
| /scripts/dtc/ |
| D | checks.c | 10 #define TRACE(c, ...) \ argument 12 fprintf(stderr, "=== %s: ", (c)->name); \ 17 #define TRACE(c, fmt, ...) do { } while (0) argument 29 typedef void (*check_fn)(struct check *c, struct dt_info *dti, struct node *node); 61 static inline void PRINTF(5, 6) check_msg(struct check *c, struct dt_info *dti, in check_msg() argument 71 if (!(c->warn && (quiet < 1)) && !(c->error && (quiet < 2))) in check_msg() 90 (c->error) ? "ERROR" : "Warning", c->name); in check_msg() 120 #define FAIL(c, dti, node, ...) \ argument 122 TRACE((c), "\t\tFAILED at %s:%d", __FILE__, __LINE__); \ 123 (c)->status = FAILED; \ [all …]
|
| D | livetree.c | 452 struct node *c; in get_property_by_label() local 464 for_each_child(tree, c) { in get_property_by_label() 465 prop = get_property_by_label(c, label, node); in get_property_by_label() 479 struct node *c; in get_marker_label() local 491 for_each_child(tree, c) { in get_marker_label() 492 m = get_marker_label(c, label, node, prop); in get_marker_label() 804 struct node *c; in sort_node() local 808 for_each_child_withdel(node, c) in sort_node() 809 sort_node(c); in sort_node() 846 struct node *c; in any_label_tree() local [all …]
|
| D | treesource.c | 42 static bool isstring(char c) in isstring() argument 44 return (isprint((unsigned char)c) in isstring() 45 || (c == '\0') in isstring() 46 || strchr("\a\b\t\n\v\f\r", c)); in isstring() 60 char c = *s++; in write_propval_string() local 61 switch (c) { in write_propval_string() 93 if (isprint((unsigned char)c)) in write_propval_string() 94 fprintf(f, "%c", c); in write_propval_string() 96 fprintf(f, "\\x%02"PRIx8, c); in write_propval_string()
|
| D | dtc.h | 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) \ 258 if (!(c)->deleted)
|
| /scripts/mod/ |
| D | sumversion.c | 69 #define ROUND1(a,b,c,d,k,s) (a = lshift(a + F(b,c,d) + k, s)) argument 70 #define ROUND2(a,b,c,d,k,s) (a = lshift(a + G(b,c,d) + k + (uint32_t)0x5A827999,s)) argument 71 #define ROUND3(a,b,c,d,k,s) (a = lshift(a + H(b,c,d) + k + (uint32_t)0x6ED9EBA1,s)) argument 92 uint32_t a, b, c, d; in md4_transform() local 96 c = hash[2]; in md4_transform() 99 ROUND1(a, b, c, d, in[0], 3); in md4_transform() 100 ROUND1(d, a, b, c, in[1], 7); in md4_transform() 101 ROUND1(c, d, a, b, in[2], 11); in md4_transform() 102 ROUND1(b, c, d, a, in[3], 19); in md4_transform() 103 ROUND1(a, b, c, d, in[4], 3); in md4_transform() [all …]
|
| /scripts/gdb/linux/ |
| D | lists.py | 70 c = head 72 gdb.write("Starting with: {}\n".format(c)) 77 p = c['prev'].dereference() 78 n = c['next'].dereference() 80 if p['next'] != c.address: 84 current_addr=c.address, 85 current=c, 93 current_addr=c.address, 94 current=c 98 if n['prev'] != c.address: [all …]
|
| /scripts/ |
| D | cleanfile | 25 my($i, $c); 28 $c = substr($li, $i, 1); 29 if ($c eq "\t") { 35 } elsif ($c eq "\n" || $c eq "\r") { 39 $lo .= $c; 41 } elsif ($c eq " ") { 47 $lo .= $c; 60 my($c, $i); 65 $c = substr($li,$i,1); 66 if ($c eq "\t") { [all …]
|
| D | cleanpatch | 25 my($i, $c); 28 $c = substr($li, $i, 1); 29 if ($c eq "\t") { 35 } elsif ($c eq "\n" || $c eq "\r") { 39 $lo .= $c; 41 } elsif ($c eq " ") { 47 $lo .= $c; 60 my($c, $i); 65 $c = substr($li,$i,1); 66 if ($c eq "\t") { [all …]
|
| D | headers_install.sh | 83 for c in $configs 89 if echo "$INFILE:$c" | grep -q "$ignore$"; then 96 echo "error: $INFILE: leak $c to user-space" >&2
|
| D | rustdoc_test_builder.rs | 46 .filter(|x| x.chars().all(|c| c.is_alphanumeric() || c == '_')) in main()
|
| D | Makefile.host | 8 $(obj)/%.lex.c: $(src)/%.l FORCE 14 cmd_bison = $(YACC) -o $(basename $@).c --defines=$(basename $@).h -t -l $< 16 $(obj)/%.tab.c $(obj)/%.tab.h: $(src)/%.y FORCE 115 $(host-csingle): $(obj)/%: $(obj)/%.c FORCE 132 $(host-cobjs): $(obj)/%.o: $(obj)/%.c FORCE 166 targets += $(call intermediate_targets, .lex.o, .lex.c) \ 167 $(call intermediate_targets, .tab.o, .tab.c .tab.h)
|
| D | Makefile.compiler | 12 cc-cross-prefix = $(firstword $(foreach c, $(1), \ 13 $(if $(shell command -v -- $(c)gcc 2>/dev/null), $(c)))) 46 $(1) -Werror $(2) $(3:-Wno-%=-W%) -c -x c /dev/null -o "$$TMP",$(3),$(4))
|
| D | kallsyms.c | 299 int c, rlen, total=0; in expand_symbol() local 302 c = *data; in expand_symbol() 305 if (best_table[c][0]==c && best_table_len[c]==1) { in expand_symbol() 306 *result++ = c; in expand_symbol() 310 rlen = expand_symbol(best_table[c], best_table_len[c], result); in expand_symbol() 634 unsigned int i, j, c; in insert_real_symbols_in_table() local 638 c = table[i]->sym[j]; in insert_real_symbols_in_table() 639 best_table[c][0]=c; in insert_real_symbols_in_table() 640 best_table_len[c]=1; in insert_real_symbols_in_table() 769 int c = getopt_long(argc, argv, "", long_options, NULL); in main() local [all …]
|
| D | Makefile.build | 101 $(obj)/%.s: $(obj)/%.c FORCE 107 $(obj)/%.i: $(obj)/%.c FORCE 132 $(obj)/%.symtypes : $(obj)/%.c FORCE 140 $(obj)/%.ll: $(obj)/%.c FORCE 176 cmd_gen_symversions_c = $(call gen_symversions,c) 194 recordmcount_source := $(srctree)/scripts/recordmcount.c \ 239 $(obj)/%.o: $(obj)/%.c $(recordmcount_source) FORCE 256 $(obj)/%.lst: $(obj)/%.c FORCE 401 $(basename $@).c $(basename $@).h 403 $(obj)/%.asn1.c $(obj)/%.asn1.h: $(src)/%.asn1 $(objtree)/scripts/asn1_compiler [all …]
|
| /scripts/atomic/fallbacks/ |
| D | fetch_add_unless | 2 ${int} c = raw_${atomic}_read(v); 5 if (unlikely(c == u)) 7 } while (!raw_${atomic}_try_cmpxchg(v, &c, c + a)); 9 return c;
|
| D | inc_unless_negative | 2 ${int} c = raw_${atomic}_read(v); 5 if (unlikely(c < 0)) 7 } while (!raw_${atomic}_try_cmpxchg(v, &c, c + 1));
|
| D | dec_unless_positive | 2 ${int} c = raw_${atomic}_read(v); 5 if (unlikely(c > 0)) 7 } while (!raw_${atomic}_try_cmpxchg(v, &c, c - 1));
|
| D | dec_if_positive | 2 ${int} dec, c = raw_${atomic}_read(v); 5 dec = c - 1; 8 } while (!raw_${atomic}_try_cmpxchg(v, &c, dec));
|
| /scripts/coccinelle/misc/ |
| D | orplus.cocci | 18 constant c,c1; 24 c1 + c - 1 26 c1@i1 +@p c@i 30 constant r.c, r.c1; 36 e | c@i 38 e & c@i 40 e |= c@i 42 e &= c@i
|
| /scripts/coccinelle/api/alloc/ |
| D | pool_zalloc-simple.cocci | 35 expression a,b,c; 39 - x = dma_pool_alloc(a,b,c); 40 + x = dma_pool_zalloc(a,b,c); 46 expression a,b,c; 50 - x = pci_pool_alloc(a,b,c); 51 + x = pci_pool_zalloc(a,b,c); 61 expression a,b,c; 66 x = @p\(dma_pool_alloc\|pci_pool_alloc\)(a,b,c);
|
| /scripts/gendwarfksyms/examples/ |
| D | kabi_ex.h | 90 KABI_USE2(1, int b, int c); 104 KABI_USE2(1, int b, int c); 172 int c; member 189 int c; member 208 int c; member
|
| /scripts/coccinelle/tests/ |
| D | unsigned_lesser_than_zero.cocci | 39 expression c, e, v; 50 (\( v@p < 0 \| v@p <= 0 \)) || ... || (\( v >= c \| v > c \)) 52 (\( v >= c \| v > c \)) || ... || (\( v@p < 0 \| v@p <= 0 \)) 54 (\( v@p >= 0 \| v@p > 0 \)) && ... && (\( v < c \| v <= c \)) 56 ((\( v < c \| v <= c \) && ... && \( v@p >= 0 \| v@p > 0 \)))
|
| /scripts/dtc/libfdt/ |
| D | fdt_addresses.c | 16 const fdt32_t *c; in fdt_cells() local 20 c = fdt_getprop(fdt, nodeoffset, name, &len); in fdt_cells() 21 if (!c) in fdt_cells() 24 if (len != sizeof(*c)) in fdt_cells() 27 val = fdt32_to_cpu(*c); in fdt_cells()
|
| /scripts/kconfig/ |
| D | preprocess.c | 502 static char *__expand_string(const char **str, bool (*is_end)(char c), in __expand_string() argument 546 static bool is_end_of_str(char c) in is_end_of_str() argument 548 return !c; in is_end_of_str() 566 static bool is_end_of_token(char c) in is_end_of_token() argument 568 return !(isalnum(c) || c == '_' || c == '-'); in is_end_of_token()
|