Home
last modified time | relevance | path

Searched refs:array (Results 1 – 15 of 15) sorted by relevance

/scripts/dts/python-devicetree/tests/test-bindings/
A Dprops.yaml18 array:
19 type: array
21 uint8-array:
22 type: uint8-array
28 string-array:
29 type: string-array
38 phandle-array-foos:
39 type: phandle-array
41 phandle-array-foo-names:
42 type: string-array
[all …]
A Ddefaults.yaml15 array:
16 type: array
20 uint8-array:
21 type: uint8-array
30 string-array:
31 type: string-array
A Denums.yaml35 array-enum:
36 type: array
44 string-array-enum: # tokenizable string-array
45 type: string-array
A Dphandle-array-controller-0.yaml5 compatible: "phandle-array-controller-0"
7 phandle-array-foo-cells: []
A Dphandle-array-controller-2.yaml5 compatible: "phandle-array-controller-2"
7 phandle-array-foo-cells:
A Dphandle-array-controller-1.yaml5 compatible: "phandle-array-controller-1"
7 phandle-array-foo-cells:
A Dgpio-src.yaml9 type: phandle-array
/scripts/native_simulator/common/src/include/
A Dnsi_utils.h24 #define NSI_ARRAY_SIZE(array) (sizeof(array) / sizeof((array)[0])) argument
/scripts/dts/python-devicetree/tests/test-wrong-bindings/
A Dwrong-phandle-array-name.yaml8 wrong-phandle-array-name:
9 type: phandle-array
/scripts/west_commands/runners/
A Dcanopen_program.py329 array = canopen.objectdictionary.Array('Program data', 0x1f50)
332 array.add_member(member)
333 objdict.add_object(array)
335 array = canopen.objectdictionary.Array('Program control', 0x1f51)
338 array.add_member(member)
339 objdict.add_object(array)
344 array.add_member(member)
345 objdict.add_object(array)
347 array = canopen.objectdictionary.Array('Flash error ID', 0x1f57)
350 array.add_member(member)
[all …]
/scripts/dts/python-devicetree/tests/
A Dtest.dts393 array = <1 2 3>;
394 uint8-array = [ 12 34 ];
396 string-array = "foo", "bar", "baz";
405 compatible = "phandle-array-controller-1";
406 #phandle-array-foo-cells = <1>;
412 #phandle-array-foo-cells = <2>;
423 #phandle-array-foo-cells = <0>;
428 #phandle-array-foo-cells = <0>;
475 array-enum = <0 40 40 10>;
476 string-array-enum = "foo", "bar";
[all …]
/scripts/pylib/display-twister-harness/camera_shield/plugins/
A Dsignature_plugin.py159 phash1 = np.array(sig1["phash"])
160 phash2 = np.array(sig2["phash"])
168 dhash1 = np.array(sig1["dhash"])
169 dhash2 = np.array(sig2["dhash"])
178 hist1 = np.array(sig1["color_hist"])
179 hist2 = np.array(sig2["color_hist"])
190 hist1 = np.array(sig1["gray_hist"])
191 hist2 = np.array(sig2["gray_hist"])
208 grad1 = np.array(sig1["gradient_hist"])
209 grad2 = np.array(sig2["gradient_hist"])
/scripts/pylib/power-twister-harness/utils/
A DUtilityFunctions.py35 data_array = np.array(data, dtype=np.float64) # Convert to float64 to avoid type issues
122 indices = np.concatenate(([0], np.array(peaks), [len(data)]))
/scripts/coccinelle/
A Darray_size.cocci1 /// Use ARRAY_SIZE instead of dividing sizeof array with sizeof an element
4 //# where there is a division of sizeof the array by the sizeof its first
/scripts/
A Dcheckpatch.pl286 my @array = split(/,/, join(',', @$arrayRef));
287 foreach my $word (@array) {
4140 my $array = $1;
4141 …if ($line =~ m@\b(sizeof\s*\(\s*\Q$array\E\s*\)\s*/\s*sizeof\s*\(\s*\Q$array\E\s*\[\s*0\s*\]\s*\))…
4144 "Prefer ARRAY_SIZE($array)\n" . $herecurr) &&
4146 $fixed[$fixlinenr] =~ s/\Q$array_div\E/ARRAY_SIZE($array)/;

Completed in 39 milliseconds