| /scripts/ |
| D | cleanpatch | 195 my $l; 201 $l = $hunk_lines[$i]; 202 if (!$done && $l eq "+\n") { 204 } elsif ($l =~ /^[ +]/) { 206 unshift(@h, $l); 208 unshift(@h, $l); 212 $l = $hunk_lines[0]; # Hunk header 217 ($l =~ /^\@\@\s+\-([0-9]+),([0-9]+)\s+\+([0-9]+),([0-9]+)\s\@\@(.*)$/); 224 $l = sprintf("@@ -%d,%d +%d,%d @@%s\n", 228 unshift(@h, $l); [all …]
|
| D | ssl-common.h | 6 static void drain_openssl_errors(int l, int silent) in drain_openssl_errors() argument 15 fprintf(stderr, "At main.c:%d:\n", l); in drain_openssl_errors()
|
| D | tags.sh | 55 find ${tree}arch/$1 $ignore $prune -name "$2" -not -type l -print; 64 find $include $ignore -name "$2" -not -type l -print; 72 -not -type l -print; 81 -name "$1" -not -type l -print; 121 -name "Kconfig*" -not -type l -print;
|
| D | get_abi.pl | 686 my $l = $what; 689 $leave = $l; 908 foreach my $l (split /\|/, $leave) { 909 if (defined($leaf{$l})) { 910 next if ($leaf{$l}->{what} =~ m/\b$what\b/); 911 $leaf{$l}->{what} .= "\xac" . $what; 914 $leaf{$l}->{what} = $what; 925 foreach my $l (sort keys %leaf) { 927 foreach my $w(sort split /\xac/, $leaf{$l}->{what}) { 930 $leaf{$l}->{expr} = \@expr;
|
| D | insert-sys-cert.c | 96 char l[LINE_SIZE]; in get_symbol_from_map() local 106 while (fgets(l, LINE_SIZE, f)) { in get_symbol_from_map() 107 p = strchr(l, '\n'); in get_symbol_from_map() 112 n = strstr(l, name); in get_symbol_from_map() 120 w = strchr(l, ' '); in get_symbol_from_map() 125 s->address = strtoul(l, NULL, 16); in get_symbol_from_map()
|
| D | spdxcheck.py | 63 for l in open(el.path, encoding="utf-8").readlines(): 64 if l.startswith('Valid-License-Identifier:'): 65 lid = l.split(':')[1].strip().upper() 71 elif l.startswith('SPDX-Exception-Identifier:'): 72 exception = l.split(':')[1].strip().upper() 75 elif l.startswith('SPDX-Licenses:'): 76 … for lic in l.split(':')[1].upper().strip().replace(' ', '').replace('\t', '').split(','): 81 elif l.startswith("License-Text:"):
|
| D | checkstack.pl | 86 $re = qr/.*l\.addi.*r1,r1,-([0-9]{1,8})/o;
|
| /scripts/dtc/ |
| D | treesource.c | 144 int l, len = prop->val.len; in add_string_markers() local 147 for (l = strlen(p) + 1; l < len; l += strlen(p + l) + 1) { in add_string_markers() 151 m->offset = l; in add_string_markers() 303 struct label *l; in write_tree_source_node() local 307 for_each_label(tree->labels, l) in write_tree_source_node() 308 fprintf(f, "%s: ", l->label); in write_tree_source_node() 325 for_each_label(prop->labels, l) in write_tree_source_node() 326 fprintf(f, "%s: ", l->label); in write_tree_source_node() 353 struct label *l; in dt_to_source() local 355 for_each_label(re->labels, l) in dt_to_source() [all …]
|
| D | dtc.h | 239 #define for_each_label_withdel(l0, l) \ argument 240 for ((l) = (l0); (l); (l) = (l)->next) 242 #define for_each_label(l0, l) \ argument 243 for_each_label_withdel(l0, l) \ 244 if (!(l)->deleted)
|
| D | flattree.c | 175 struct label *l; in asm_emit_beginnode() local 177 for_each_label(labels, l) { in asm_emit_beginnode() 178 fprintf(f, "\t.globl\t%s\n", l->label); in asm_emit_beginnode() 179 fprintf(f, "%s:\n", l->label); in asm_emit_beginnode() 188 struct label *l; in asm_emit_endnode() local 192 for_each_label(labels, l) { in asm_emit_endnode() 193 fprintf(f, "\t.globl\t%s_end\n", l->label); in asm_emit_endnode() 194 fprintf(f, "%s_end:\n", l->label); in asm_emit_endnode() 201 struct label *l; in asm_emit_property() local 203 for_each_label(labels, l) { in asm_emit_property() [all …]
|
| D | livetree.c | 146 struct label *l; in merge_nodes() local 151 for_each_label_withdel(new_node->labels, l) in merge_nodes() 152 add_label(&old_node->labels, l->label); in merge_nodes() 172 for_each_label_withdel(new_prop->labels, l) in merge_nodes() 173 add_label(&old_prop->labels, l->label); in merge_nodes() 457 struct label *l; in get_property_by_label() local 459 for_each_label(prop->labels, l) in get_property_by_label() 460 if (streq(l->label, label)) in get_property_by_label() 542 struct label *l; in get_node_by_label() local 546 for_each_label(tree->labels, l) in get_node_by_label() [all …]
|
| D | util.c | 446 int l = strlen(long_opts[i].name) + 1; in util_usage() local 448 l += a_arg_len; in util_usage() 449 if (optlen < l) in util_usage() 450 optlen = l; in util_usage()
|
| D | srcpos.h | 101 extern void srcpos_set_line(char *f, int l);
|
| /scripts/kconfig/ |
| D | util.c | 70 size_t l; in str_append() local 72 l = strlen(gs->s) + strlen(s) + 1; in str_append() 73 if (l > gs->len) { in str_append() 74 gs->s = xrealloc(gs->s, l); in str_append() 75 gs->len = l; in str_append()
|
| D | expr.c | 33 static struct expr *expr_lookup(enum expr_type type, void *l, void *r) in expr_lookup() argument 38 hash = hash_32((unsigned int)type ^ hash_ptr(l) ^ hash_ptr(r)); in expr_lookup() 41 if (e->type == type && e->left._initdata == l && in expr_lookup() 48 e->left._initdata = l; in expr_lookup() 103 struct expr *l, *r; in __expr_eliminate_eq() local 108 l = (*ep1)->left.expr; in __expr_eliminate_eq() 110 __expr_eliminate_eq(type, &l, ep2); in __expr_eliminate_eq() 112 *ep1 = expr_alloc_two(type, l, r); in __expr_eliminate_eq() 116 l = (*ep2)->left.expr; in __expr_eliminate_eq() 118 __expr_eliminate_eq(type, ep1, &l); in __expr_eliminate_eq() [all …]
|
| D | conf.c | 63 int l; in strip() local 67 l = strlen(p); in strip() 69 memmove(str, p, l + 1); in strip() 70 if (!l) in strip() 72 p = str + l - 1; in strip()
|
| /scripts/coccinelle/misc/ |
| D | do_div.cocci | 67 long l: script:python() { filter_out_safe_constants(l) }; 74 * do_div(f, l); 86 long l: script:python() { filter_out_safe_constants(l) }; 92 do_div@p(f, l); 110 l << r.l; 138 l << r.l;
|
| /scripts/selinux/genheaders/ |
| D | genheaders.c | 91 int len, l; in main() local 95 l = sizeof(s) - 1; in main() 96 if (len >= l && memcmp(name + len - l, s, l) == 0) in main()
|
| /scripts/genksyms/ |
| D | keywords.c | 73 int l = strlen(r->name); in is_reserved_word() local 74 if (len == l && !memcmp(str, r->name, len)) in is_reserved_word()
|
| /scripts/coccinelle/iterators/ |
| D | for_each_child.cocci | 116 identifier l; 131 ? goto l; 136 l: ... when != n 240 identifier l; 258 goto l@j3; 263 l: 274 identifier l; 285 *goto l@j3; 289 l:
|
| /scripts/package/ |
| D | install-extmod-build | 15 ! -name unifdef -a ! -name mk_elfconfig -a \( -type f -o -type l \) -print 26 find include \( -name config -o -name generated \) -prune -o \( -type f -o -type l \) -print
|
| /scripts/clang-tools/ |
| D | run-clang-tools.py | 44 def init(l, a): argument 47 lock = l
|
| /scripts/atomic/ |
| D | atomics.tbl | 11 # * l - load: returns base type (has _acquire order variant) 20 read l cv
|
| D | atomic-tbl.sh | 179 [l])
|
| /scripts/coccinelle/free/ |
| D | kfree.cocci | 63 identifier l; 74 when != goto l;
|