Home
last modified time | relevance | path

Searched refs:l (Results 1 – 25 of 29) sorted by relevance

12

/scripts/
Dcleanpatch195 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 …]
Dtags.sh44 find ${tree}arch/$1 $ignore $prune -name "$2" -not -type l -print;
53 find $include $ignore -name "$2" -not -type l -print;
61 -not -type l -print;
70 -name "$1" -not -type l -print;
122 -name "Kconfig*" -not -type l -print;
Dspdxcheck.py47 for l in open(el.path).readlines():
48 if l.startswith('Valid-License-Identifier:'):
49 lid = l.split(':')[1].strip().upper()
55 elif l.startswith('SPDX-Exception-Identifier:'):
56 exception = l.split(':')[1].strip().upper()
59 elif l.startswith('SPDX-Licenses:'):
60 … for lic in l.split(':')[1].upper().strip().replace(' ', '').replace('\t', '').split(','):
65 elif l.startswith("License-Text:"):
Dinsert-sys-cert.c96 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()
Dextract-cert.c36 static void display_openssl_errors(int l) in display_openssl_errors() argument
44 fprintf(stderr, "At main.c:%d:\n", l); in display_openssl_errors()
Dkallsyms.c256 int l = strlen(special_prefixes[i]); in symbol_valid() local
258 if (l <= strlen(sym_name) && in symbol_valid()
259 strncmp(sym_name, special_prefixes[i], l) == 0) in symbol_valid()
264 int l = strlen(sym_name) - strlen(special_suffixes[i]); in symbol_valid() local
266 if (l >= 0 && strcmp(sym_name + l, special_suffixes[i]) == 0) in symbol_valid()
Dcheckstack.pl81 $re = qr/.*l\.addi.*r1,r1,-(([0-9]{2}|[3-9])[0-9]{2})/o;
Dsign-file.c79 static void display_openssl_errors(int l) in display_openssl_errors() argument
87 fprintf(stderr, "At main.c:%d:\n", l); in display_openssl_errors()
/scripts/coccinelle/iterators/
Dfen.cocci21 identifier l;
26 when != goto l;
34 identifier l;
39 when != goto l;
47 identifier l;
52 when != goto l;
60 identifier l;
65 when != goto l;
78 identifier l;
86 when != goto l;
[all …]
/scripts/kconfig/
Dutil.c54 size_t l; in str_append() local
56 l = strlen(gs->s) + strlen(s) + 1; in str_append()
57 if (l > gs->len) { in str_append()
58 gs->s = xrealloc(gs->s, l); in str_append()
59 gs->len = l; in str_append()
Dconfdata.c617 size_t l; in kconfig_print_comment() local
620 l = strcspn(p, "\n"); in kconfig_print_comment()
622 if (l) { in kconfig_print_comment()
624 xfwrite(p, l, 1, fp); in kconfig_print_comment()
625 p += l; in kconfig_print_comment()
689 size_t l; in header_print_comment() local
693 l = strcspn(p, "\n"); in header_print_comment()
695 if (l) { in header_print_comment()
697 xfwrite(p, l, 1, fp); in header_print_comment()
698 p += l; in header_print_comment()
Dconf.c59 int l; in strip() local
63 l = strlen(p); in strip()
65 memmove(str, p, l + 1); in strip()
66 if (!l) in strip()
68 p = str + l - 1; in strip()
Dexpr.h51 #define expr_list_for_each_sym(l, e, s) \ argument
52 for (e = (l); e && (s = e->right.sym); e = e->left.expr)
/scripts/dtc/
Ddtc.h172 #define for_each_label_withdel(l0, l) \ argument
173 for ((l) = (l0); (l); (l) = (l)->next)
175 #define for_each_label(l0, l) \ argument
176 for_each_label_withdel(l0, l) \
177 if (!(l)->deleted)
Dtreesource.c285 struct label *l; in write_tree_source_node() local
289 for_each_label(tree->labels, l) in write_tree_source_node()
290 fprintf(f, "%s: ", l->label); in write_tree_source_node()
307 for_each_label(prop->labels, l) in write_tree_source_node()
308 fprintf(f, "%s: ", l->label); in write_tree_source_node()
335 struct label *l; in dt_to_source() local
337 for_each_label(re->labels, l) in dt_to_source()
338 fprintf(f, "%s: ", l->label); in dt_to_source()
Dflattree.c174 struct label *l; in asm_emit_beginnode() local
176 for_each_label(labels, l) { in asm_emit_beginnode()
177 fprintf(f, "\t.globl\t%s\n", l->label); in asm_emit_beginnode()
178 fprintf(f, "%s:\n", l->label); in asm_emit_beginnode()
187 struct label *l; in asm_emit_endnode() local
191 for_each_label(labels, l) { in asm_emit_endnode()
192 fprintf(f, "\t.globl\t%s_end\n", l->label); in asm_emit_endnode()
193 fprintf(f, "%s_end:\n", l->label); in asm_emit_endnode()
200 struct label *l; in asm_emit_property() local
202 for_each_label(labels, l) { in asm_emit_property()
[all …]
Dlivetree.c146 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()
456 struct label *l; in get_property_by_label() local
458 for_each_label(prop->labels, l) in get_property_by_label()
459 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 …]
Dutil.c434 int l = strlen(long_opts[i].name) + 1; in util_usage() local
436 l += a_arg_len; in util_usage()
437 if (optlen < l) in util_usage()
438 optlen = l; in util_usage()
Dsrcpos.h101 extern void srcpos_set_line(char *f, int l);
Dsrcpos.c397 void srcpos_set_line(char *f, int l) in srcpos_set_line() argument
400 current_srcfile->lineno = l; in srcpos_set_line()
Dchecks.c219 int rem, l; in check_is_string_list() local
231 l = strnlen(str, rem); in check_is_string_list()
232 if (l == rem) { in check_is_string_list()
236 rem -= l + 1; in check_is_string_list()
237 str += l + 1; in check_is_string_list()
444 struct label *l; in check_duplicate_label_node() local
447 for_each_label(node->labels, l) in check_duplicate_label_node()
448 check_duplicate_label(c, dti, l->label, node, NULL, NULL); in check_duplicate_label_node()
453 for_each_label(prop->labels, l) in check_duplicate_label_node()
454 check_duplicate_label(c, dti, l->label, node, prop, NULL); in check_duplicate_label_node()
/scripts/selinux/genheaders/
Dgenheaders.c95 int len = strlen(map->name), l = sizeof(s) - 1; in main() local
96 if (len >= l && memcmp(map->name + len - l, s, l) == 0) in main()
/scripts/genksyms/
Dkeywords.c70 int l = strlen(r->name); in is_reserved_word() local
71 if (len == l && !memcmp(str, r->name, len)) in is_reserved_word()
/scripts/atomic/
Datomics.tbl11 # * l - load: returns base type (has _acquire order variant)
20 read l cv
/scripts/coccinelle/free/
Dkfree.cocci63 identifier l;
74 when != goto l;

12