Home
last modified time | relevance | path

Searched refs:length (Results 1 – 13 of 13) sorted by relevance

/scripts/dtc/libfdt/
Dfdt_ro.c755 int length, count = 0; in fdt_stringlist_count() local
757 list = fdt_getprop(fdt, nodeoffset, property, &length); in fdt_stringlist_count()
759 return length; in fdt_stringlist_count()
761 end = list + length; in fdt_stringlist_count()
764 length = strnlen(list, end - list) + 1; in fdt_stringlist_count()
767 if (list + length > end) in fdt_stringlist_count()
770 list += length; in fdt_stringlist_count()
780 int length, len, idx = 0; in fdt_stringlist_search() local
783 list = fdt_getprop(fdt, nodeoffset, property, &length); in fdt_stringlist_search()
785 return length; in fdt_stringlist_search()
[all …]
/scripts/
Dcheck-sysctl-docs38 value = substr(value, 1, length(value) - 1)
66 if (length($i) == 0) {
74 if (length(token) > 0 && token != "and") {
79 if (inbrackets && substr($i, length($i), 1) == ")") {
Dextract_xc3028.pl46 my ($offset, $length) = @_;
50 while ($length > 0) {
53 $chunklength = $length if ($chunklength > $length);
58 $length -= $rcount;
104 my ($offset, $length) = @_;
105 my $out = get_hunk($offset, $length);
107 printf "(len %d) ",$length if ($debug);
109 for (my $i=0;$i<$length;$i++) {
119 my ($offset, $length) = @_;
120 my $out = get_hunk($offset, $length);
[all …]
Dget_dvb_firmware869 my ($infile, $offset, $length, $outfile) = @_;
875 while($length > 0) {
878 $chunklength = $length if ($chunklength > $length);
883 $length -= $rcount;
Dleaking_addresses.pl670 my $length = @$lines;
671 printf "[%d %s] %s", $length, $_, @$lines[0];
Dverify_builtin_ranges.awk69 if (length(val) == 16)
DMakefile.extrawarn145 KBUILD_CFLAGS += -Wformat-zero-length -Wnonnull
Dspelling.txt934 legnth||length
936 lengh||length
937 lenght||length
938 lenth||length
Dcheckpatch.pl2386 my ($lineRef, $offset, $length) = @_;
2392 my $nl = $l + $length;
2636 my $length;
2839 ($length, $indent) = line_stats($rawline);
3834 if ($line =~ /^\+/ && $length > $max_line_length) {
3878 "line length of $length exceeds $max_line_length columns\n" . $herecurr);
/scripts/gcc-plugins/
Drandomize_layout_plugin.c152 unsigned long length; member
155 static void partition_struct(tree *fields, unsigned long length, struct partition_group *size_group… in partition_struct() argument
162 gcc_assert(length < INT_MAX); in partition_struct()
164 memset(size_groups, 0, sizeof(struct partition_group) * length); in partition_struct()
166 for (i = 0; i < length; i++) { in partition_struct()
176 size_groups[group_idx].length = accum_length; in partition_struct()
183 !size_groups[group_idx].length) { in partition_struct()
184 size_groups[group_idx].length = accum_length; in partition_struct()
191 static void performance_shuffle(tree *newtree, unsigned long length, ranctx *prng_state) in performance_shuffle() argument
194 struct partition_group size_group[length]; in performance_shuffle()
[all …]
Dstackleak_plugin.c436 static inline bool string_equal(tree node, const char *string, int length) in string_equal() argument
438 if (TREE_STRING_LENGTH(node) < length) in string_equal()
440 if (TREE_STRING_LENGTH(node) > length + 1) in string_equal()
442 if (TREE_STRING_LENGTH(node) == length + 1 && in string_equal()
443 TREE_STRING_POINTER(node)[length] != '\0') in string_equal()
445 return !memcmp(TREE_STRING_POINTER(node), string, length); in string_equal()
/scripts/coccinelle/misc/
Dflexible_array.cocci3 /// Zero-length and one-element arrays are deprecated, see
99 …ead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-ar…
106 …ead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-ar…
/scripts/gdb/linux/
Dutils.py110 def read_memoryview(inf, start, length): argument
111 m = inf.read_memory(start, length)