Home
last modified time | relevance | path

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

/scripts/dtc/libfdt/
Dfdt_ro.c726 int length, count = 0; in fdt_stringlist_count() local
728 list = fdt_getprop(fdt, nodeoffset, property, &length); in fdt_stringlist_count()
730 return length; in fdt_stringlist_count()
732 end = list + length; in fdt_stringlist_count()
735 length = strnlen(list, end - list) + 1; in fdt_stringlist_count()
738 if (list + length > end) in fdt_stringlist_count()
741 list += length; in fdt_stringlist_count()
751 int length, len, idx = 0; in fdt_stringlist_search() local
754 list = fdt_getprop(fdt, nodeoffset, property, &length); in fdt_stringlist_search()
756 return length; in fdt_stringlist_search()
[all …]
/scripts/
Dcheck-sysctl-docs42 value = substr(value, 1, length(value) - 1)
70 if (length($i) == 0) {
78 if (length(token) > 0 && token != "and") {
83 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.pl612 my $length = @$lines;
613 printf "[%d %s] %s", $length, $_, @$lines[0];
DMakefile.extrawarn136 KBUILD_CFLAGS += -Wformat-zero-length -Wnonnull
Dspelling.txt924 legnth||length
926 lengh||length
927 lenght||length
928 lenth||length
Dcheckpatch.pl2382 my ($lineRef, $offset, $length) = @_;
2388 my $nl = $l + $length;
2632 my $length;
2832 ($length, $indent) = line_stats($rawline);
3821 if ($line =~ /^\+/ && $length > $max_line_length) {
3865 "line length of $length exceeds $max_line_length columns\n" . $herecurr);
/scripts/gcc-plugins/
Drandomize_layout_plugin.c153 unsigned long length; member
156 static void partition_struct(tree *fields, unsigned long length, struct partition_group *size_group… in partition_struct() argument
163 gcc_assert(length < INT_MAX); in partition_struct()
165 memset(size_groups, 0, sizeof(struct partition_group) * length); in partition_struct()
167 for (i = 0; i < length; i++) { in partition_struct()
177 size_groups[group_idx].length = accum_length; in partition_struct()
184 !size_groups[group_idx].length) { in partition_struct()
185 size_groups[group_idx].length = accum_length; in partition_struct()
192 static void performance_shuffle(tree *newtree, unsigned long length, ranctx *prng_state) in performance_shuffle() argument
195 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)