Home
last modified time | relevance | path

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

/scripts/
A Dcleanpatch193 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
226 unshift(@h, $l);
229 foreach $l (@h) {
230 $out_bytes += length($l);
[all …]
A Dspdxcheck.py47 for l in open(el.path, encoding="utf-8").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:"):
A Dcheckpatch.pl1539 my $l = '';
2352 my $l = $2;
2354 my $nl = $l + $length;
2355 $$lineRef =~ s/\+$o,$l \@\@/\+$no,$nl \@\@/;
5996 foreach my $l (@stmt_array) {
5997 $l =~ s/\\$//;
5999 $define_stmt = $l;
6001 } elsif ($l =~ /^[\+ ]/) {
6002 $define_stmt .= substr($l, 1);
/scripts/kconfig/
A Dutil.c55 size_t l; in str_append() local
57 l = strlen(gs->s) + strlen(s) + 1; in str_append()
58 if (l > gs->len) { in str_append()
59 gs->s = xrealloc(gs->s, l); in str_append()
60 gs->len = l; in str_append()
A Dkconf_id.c46 int l = strlen(id->name); in kconf_id_lookup() local
48 if (len == l && !memcmp(str, id->name, len)) in kconf_id_lookup()
A Dconfdata.c547 size_t l; in kconfig_print_comment() local
550 l = strcspn(p, "\n"); in kconfig_print_comment()
552 if (l) { in kconfig_print_comment()
554 xfwrite(p, l, 1, fp); in kconfig_print_comment()
555 p += l; in kconfig_print_comment()
619 size_t l; in header_print_comment() local
623 l = strcspn(p, "\n"); in header_print_comment()
625 if (l) { in header_print_comment()
627 xfwrite(p, l, 1, fp); in header_print_comment()
628 p += l; in header_print_comment()
A 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()
A 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)
A Dsymbol.c878 size_t l; in sym_escape_string_value() local
884 l = strcspn(p, "\"\\"); in sym_escape_string_value()
885 p += l; in sym_escape_string_value()
901 l = strcspn(p, "\"\\"); in sym_escape_string_value()
902 strncat(res, p, l); in sym_escape_string_value()
903 p += l; in sym_escape_string_value()
/scripts/dtc/
A Dtreesource.c240 struct label *l; in write_tree_source_node() local
243 for_each_label(tree->labels, l) in write_tree_source_node()
244 fprintf(f, "%s: ", l->label); in write_tree_source_node()
252 for_each_label(prop->labels, l) in write_tree_source_node()
253 fprintf(f, "%s: ", l->label); in write_tree_source_node()
272 struct label *l; in dt_to_source() local
274 for_each_label(re->labels, l) in dt_to_source()
275 fprintf(f, "%s: ", l->label); in dt_to_source()
A Ddtc.h173 #define for_each_label_withdel(l0, l) \ argument
174 for ((l) = (l0); (l); (l) = (l)->next)
176 #define for_each_label(l0, l) \ argument
177 for_each_label_withdel(l0, l) \
178 if (!(l)->deleted)
A Dflattree.c189 struct label *l; in asm_emit_beginnode() local
191 for_each_label(labels, l) { in asm_emit_beginnode()
193 fprintf(f, "%s:\n", l->label); in asm_emit_beginnode()
202 struct label *l; in asm_emit_endnode() local
206 for_each_label(labels, l) { in asm_emit_endnode()
215 struct label *l; in asm_emit_property() local
217 for_each_label(labels, l) { in asm_emit_property()
219 fprintf(f, "%s:\n", l->label); in asm_emit_property()
532 struct label *l; in dt_to_asm() local
534 for_each_label(re->labels, l) { in dt_to_asm()
[all …]
A Dlivetree.c155 struct label *l; in merge_nodes() local
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()
543 struct label *l; in get_node_by_label() local
547 for_each_label(tree->labels, l) in get_node_by_label()
548 if (streq(l->label, label)) in get_node_by_label()
858 struct label *l; in generate_label_tree_internal() local
867 p = get_property(an, l->label); in generate_label_tree_internal()
870 " exists in /%s", l->label, in generate_label_tree_internal()
[all …]
A Dutil.c451 int l = strlen(long_opts[i].name) + 1; in util_usage() local
453 l += a_arg_len; in util_usage()
454 if (optlen < l) in util_usage()
455 optlen = l; in util_usage()
A Dsrcpos.c290 void srcpos_set_line(char *f, int l) in srcpos_set_line() argument
293 current_srcfile->lineno = l; in srcpos_set_line()
A Dsrcpos.h114 extern void srcpos_set_line(char *f, int l);
A Dchecks.c199 int rem, l; in check_is_string_list() local
211 l = strnlen(str, rem); in check_is_string_list()
212 if (l == rem) { in check_is_string_list()
216 rem -= l + 1; in check_is_string_list()
217 str += l + 1; in check_is_string_list()
424 struct label *l; in check_duplicate_label_node() local
427 for_each_label(node->labels, l) in check_duplicate_label_node()
428 check_duplicate_label(c, dti, l->label, node, NULL, NULL); in check_duplicate_label_node()
433 for_each_label(prop->labels, l) in check_duplicate_label_node()
434 check_duplicate_label(c, dti, l->label, node, prop, NULL); in check_duplicate_label_node()
/scripts/dtc/pylibfdt/
A Dlibfdt.i_shipped715 return self.as_cell('l')

Completed in 39 milliseconds