Home
last modified time | relevance | path

Searched refs:enum (Results 1 – 25 of 30) sorted by relevance

12

/scripts/dts/python-devicetree/tests/test-bindings/
A Denums.yaml4 description: Property enum test
9 int-enum:
11 enum:
16 string-enum: # not tokenizable
18 enum:
24 enum:
30 enum:
35 array-enum:
37 enum:
46 enum:
[all …]
/scripts/dts/python-devicetree/tests/test-bindings-init/
A Dbase_multi.yaml19 # - child-prop-enum
23 # - prop-enum (amended)
29 # - grandchild-prop-enum
33 # - child-prop-enum
37 # - prop-enum (amended)
43 # - child-prop-enum
47 # - grandchild-prop-enum
61 property-allowlist: [prop-1, prop-2, prop-enum]
76 prop-enum:
83 property-allowlist: [prop-1, prop-2, prop-enum]
[all …]
A Ddiamond.yaml19 # - prop-enum (amended in base_amend.yaml)
23 # - prop-enum (amended in thing.yaml)
26 # - prop-enum (last amended here)
32 # - child-prop-enum (amended in base_amend.yaml)
36 # - child-prop-enum (amended in thing.yaml)
39 # - child-prop-enum (last amended here)
49 # - grandchild-prop-enum (amended in thing.yaml)
52 # - grandchild-prop-enum (last amended here)
73 prop-enum:
83 child-prop-enum:
[all …]
A Dbase.yaml6 # "required:", "enum:" and "default:") up to the grandchild-binding level.
11 # + prop-enum
19 # + child-prop-enum
27 # + grandchild-prop-enum
40 prop-enum:
43 enum:
65 child-prop-enum:
68 enum:
90 grandchild-prop-enum:
93 enum:
A Dthing.yaml9 # - prop-enum (amended)
14 # - child-prop-enum (amended)
19 # - grandchild-prop-enum (amended)
26 property-allowlist: [prop-1, prop-enum]
28 property-allowlist: [child-prop-1, child-prop-enum]
30 property-allowlist: [grandchild-prop-1, grandchild-prop-enum]
39 prop-enum:
56 child-prop-enum:
68 grandchild-prop-enum:
A Dinvalid_child_propenum.yaml3 # This binding should not try to change the "enum:" values
10 child-prop-enum:
11 enum:
A Dinvalid_grandchild_propenum.yaml3 # This binding should not try to change the "enum:" values
11 grandchild-prop-enum:
12 enum:
A Dbase_amend.yaml16 # | required: | | prop-enum |
17 # | enum: | prop-2 | |
40 enum:
48 prop-enum:
64 enum:
69 child-prop-enum:
87 enum:
92 grandchild-prop-enum:
A Dinvalid_propenum.yaml3 # This binding should not try to change the "enum:" values
14 prop-enum:
15 enum:
/scripts/schemas/twister/
A Dplatform-schema.yaml31 enum: ["mcu", "qemu", "sim", "unit", "native"]
40 enum:
57 enum:
A Dtestsuite-schema.yaml89 enum: ["smoke", "unit", "integration", "acceptance", "system", "regression"]
154 enum: ["function", "class", "module", "package", "session"]
223 enum: ["mcu", "qemu", "sim", "unit", "native"]
235 enum:
262 enum: ["unit"]
/scripts/dts/python-devicetree/tests/
A Dtest.dts466 // For testing 'enum:'
471 int-enum = <1>;
472 string-enum = "foo_bar";
473 tokenizable-enum = "123 is ok";
474 tokenizable-lower-enum = "bar";
475 array-enum = <0 40 40 10>;
476 string-array-enum = "foo", "bar";
477 no-enum = "baz";
/scripts/pylib/twister/twisterlib/
A Dstatuses.py10 from enum import Enum
A Dtestsuite.py12 from enum import Enum
/scripts/west_commands/zspdx/
A Ddatatypes.py6 from enum import Enum
A Dcmakefileapi.py5 from enum import Enum
/scripts/schemas/
A Dboard-schema.yml64 enum:
129 enum: ['first', 'last']
A Dsoc-schema.yml114 enum: ['first', 'last']
/scripts/dts/python-devicetree/src/devicetree/
A Dedtlib.py597 def enum(self) -> Optional[list]: member in PropertySpec
605 if self.type not in {'string', 'string-array'} or self.enum is None:
612 for value in self.enum]
754 enum = self.spec.enum
756 return [enum.index(subval) for subval in val] if enum else None
1530 enum = prop_spec.enum
1532 if enum and subval not in enum:
2437 if not spec.enum or spec.type != 'string':
2445 ', '.join(repr(x) for x in spec.enum))
2452 ', '.join(repr(x) for x in spec.enum))
A Ddtlib.py16 import enum
253 class Type(enum.IntEnum):
266 class _MarkerType(enum.IntEnum):
704 class _T(enum.IntEnum):
/scripts/coredump/coredump_parser/
A Delf_parser.py12 from enum import IntEnum
/scripts/utils/
A Dpinctrl_nrf_migrate.py82 import enum
94 class PIN_CONFIG(enum.Enum):
/scripts/release/
A Dlist_devicetree_bindings_changes.py298 lambda prop: binding_start.prop2specs[prop].enum,
299 lambda prop: binding_end.prop2specs[prop].enum,
/scripts/coredump/gdbstubs/arch/
A Dxtensa.py12 from enum import Enum
/scripts/build/
A Dgen_relocate_app.py50 from enum import Enum

Completed in 36 milliseconds

12