/scripts/ |
D | cleanpatch | 193 my $l; 199 $l = $hunk_lines[$i]; 200 if (!$done && $l eq "+\n") { 202 } elsif ($l =~ /^[ +]/) { 204 unshift(@h, $l); 206 unshift(@h, $l); 210 $l = $hunk_lines[0]; # Hunk header 215 ($l =~ /^\@\@\s+\-([0-9]+),([0-9]+)\s+\+([0-9]+),([0-9]+)\s\@\@(.*)$/); 222 $l = sprintf("@@ -%d,%d +%d,%d @@%s\n", 226 unshift(@h, $l); [all …]
|
D | bloat-o-meter | 18 for l in os.popen("nm --size-sort " + file).readlines(): 19 size, type, name = l[:-1].split()
|
D | Makefile.lib | 182 $(src)/%.lex.c_shipped: $(src)/%.l
|
D | checkpatch.pl | 561 my $l = '';
|
/scripts/coccinelle/iterators/ |
D | fen.cocci | 20 identifier l; 25 when != goto l; 33 identifier l; 38 when != goto l; 46 identifier l; 51 when != goto l; 59 identifier l; 64 when != goto l; 77 identifier l; 85 when != goto l; [all …]
|
/scripts/kconfig/ |
D | util.c | 113 size_t l; in str_append() local 115 l = strlen(gs->s) + strlen(s) + 1; in str_append() 116 if (l > gs->len) { in str_append() 117 gs->s = realloc(gs->s, l); in str_append() 118 gs->len = l; in str_append()
|
D | confdata.c | 446 size_t l; in kconfig_print_comment() local 449 l = strcspn(p, "\n"); in kconfig_print_comment() 451 if (l) { in kconfig_print_comment() 453 xfwrite(p, l, 1, fp); in kconfig_print_comment() 454 p += l; in kconfig_print_comment() 518 size_t l; in header_print_comment() local 522 l = strcspn(p, "\n"); in header_print_comment() 524 if (l) { in header_print_comment() 526 xfwrite(p, l, 1, fp); in header_print_comment() 527 p += l; in header_print_comment()
|
D | conf.c | 58 int l; in strip() local 62 l = strlen(p); in strip() 64 memmove(str, p, l + 1); in strip() 65 if (!l) in strip() 67 p = str + l - 1; in strip()
|
D | expr.h | 48 #define expr_list_for_each_sym(l, e, s) \ argument 49 for (e = (l); e && (s = e->right.sym); e = e->left.expr)
|
D | symbol.c | 908 size_t l; in sym_escape_string_value() local 914 l = strcspn(p, "\"\\"); in sym_escape_string_value() 915 p += l; in sym_escape_string_value() 931 l = strcspn(p, "\"\\"); in sym_escape_string_value() 932 strncat(res, p, l); in sym_escape_string_value() 933 p += l; in sym_escape_string_value()
|
D | zconf.hash.c_shipped | 22 && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \
|
/scripts/dtc/ |
D | treesource.c | 238 struct label *l; in write_tree_source_node() local 241 for_each_label(tree->labels, l) in write_tree_source_node() 242 fprintf(f, "%s: ", l->label); in write_tree_source_node() 250 for_each_label(prop->labels, l) in write_tree_source_node() 251 fprintf(f, "%s: ", l->label); in write_tree_source_node() 271 struct label *l; in dt_to_source() local 273 for_each_label(re->labels, l) in dt_to_source() 274 fprintf(f, "%s: ", l->label); in dt_to_source()
|
D | livetree.c | 107 struct label *l; in merge_nodes() local 110 for_each_label(new_node->labels, l) in merge_nodes() 111 add_label(&old_node->labels, l->label); in merge_nodes() 125 for_each_label(new_prop->labels, l) in merge_nodes() 126 add_label(&old_prop->labels, l->label); in merge_nodes() 295 struct label *l; in get_property_by_label() local 297 for_each_label(prop->labels, l) in get_property_by_label() 298 if (streq(l->label, label)) in get_property_by_label() 377 struct label *l; in get_node_by_label() local 381 for_each_label(tree->labels, l) in get_node_by_label() [all …]
|
D | flattree.c | 197 struct label *l; in asm_emit_beginnode() local 199 for_each_label(labels, l) { in asm_emit_beginnode() 200 fprintf(f, "\t.globl\t%s\n", l->label); in asm_emit_beginnode() 201 fprintf(f, "%s:\n", l->label); in asm_emit_beginnode() 210 struct label *l; in asm_emit_endnode() local 214 for_each_label(labels, l) { in asm_emit_endnode() 215 fprintf(f, "\t.globl\t%s_end\n", l->label); in asm_emit_endnode() 216 fprintf(f, "%s_end:\n", l->label); in asm_emit_endnode() 223 struct label *l; in asm_emit_property() local 225 for_each_label(labels, l) { in asm_emit_property() [all …]
|
D | dtc.h | 159 #define for_each_label(l0, l) \ argument 160 for ((l) = (l0); (l); (l) = (l)->next)
|
D | checks.c | 317 struct label *l; in check_duplicate_label_node() local 319 for_each_label(node->labels, l) in check_duplicate_label_node() 320 check_duplicate_label(c, dt, l->label, node, NULL, NULL); in check_duplicate_label_node() 326 struct label *l; in check_duplicate_label_prop() local 328 for_each_label(prop->labels, l) in check_duplicate_label_prop() 329 check_duplicate_label(c, dt, l->label, node, prop, NULL); in check_duplicate_label_prop()
|
/scripts/coccinelle/free/ |
D | kfree.cocci | 58 identifier l; 65 when != goto l;
|
/scripts/genksyms/ |
D | keywords.hash.c_shipped | 22 && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \
|