Home
last modified time | relevance | path

Searched refs:length (Results 1 – 13 of 13) 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) == ")") {
168 if (length(components) > 1 && components[1] == table) {
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.pl611 my $length = @$lines;
612 printf "[%d %s] %s", $length, $_, @$lines[0];
DMakefile.extrawarn51 KBUILD_CFLAGS += -Wno-format-zero-length
Dspelling.txt842 legnth||length
844 lengh||length
845 lenght||length
846 lenth||length
Dcheckpatch.pl2381 my ($lineRef, $offset, $length) = @_;
2387 my $nl = $l + $length;
2631 my $length;
2831 ($length, $indent) = line_stats($rawline);
3820 if ($line =~ /^\+/ && $length > $max_line_length) {
3864 "line length of $length exceeds $max_line_length columns\n" . $herecurr);
/scripts/gcc-plugins/
Drandomize_layout_plugin.c171 unsigned long length; member
174 static void partition_struct(tree *fields, unsigned long length, struct partition_group *size_group… in partition_struct() argument
181 gcc_assert(length < INT_MAX); in partition_struct()
183 memset(size_groups, 0, sizeof(struct partition_group) * length); in partition_struct()
185 for (i = 0; i < length; i++) { in partition_struct()
195 size_groups[group_idx].length = accum_length; in partition_struct()
202 !size_groups[group_idx].length) { in partition_struct()
203 size_groups[group_idx].length = accum_length; in partition_struct()
210 static void performance_shuffle(tree *newtree, unsigned long length, ranctx *prng_state) in performance_shuffle() argument
213 struct partition_group size_group[length]; in performance_shuffle()
[all …]
Dstackleak_plugin.c438 static inline bool string_equal(tree node, const char *string, int length) in string_equal() argument
440 if (TREE_STRING_LENGTH(node) < length) in string_equal()
442 if (TREE_STRING_LENGTH(node) > length + 1) in string_equal()
444 if (TREE_STRING_LENGTH(node) == length + 1 && in string_equal()
445 TREE_STRING_POINTER(node)[length] != '\0') in string_equal()
447 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
80 …ead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-ar…
87 …ead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-ar…
/scripts/gdb/linux/
Dutils.py91 def read_memoryview(inf, start, length): argument
92 m = inf.read_memory(start, length)
/scripts/kconfig/
Dnconf.gui.c153 { int length, x, y; in print_in_middle() local
167 length = strlen(string); in print_in_middle()
168 temp = (width - length) / 2; in print_in_middle()