Searched refs:enum (Results 1 – 25 of 30) sorted by relevance
12
/scripts/dts/python-devicetree/tests/test-bindings/ |
A D | enums.yaml | 4 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 D | base_multi.yaml | 19 # - 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 D | diamond.yaml | 19 # - 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 D | base.yaml | 6 # "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 D | thing.yaml | 9 # - 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 D | invalid_child_propenum.yaml | 3 # This binding should not try to change the "enum:" values 10 child-prop-enum: 11 enum:
|
A D | invalid_grandchild_propenum.yaml | 3 # This binding should not try to change the "enum:" values 11 grandchild-prop-enum: 12 enum:
|
A D | base_amend.yaml | 16 # | 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 D | invalid_propenum.yaml | 3 # This binding should not try to change the "enum:" values 14 prop-enum: 15 enum:
|
/scripts/schemas/twister/ |
A D | platform-schema.yaml | 31 enum: ["mcu", "qemu", "sim", "unit", "native"] 40 enum: 57 enum:
|
A D | testsuite-schema.yaml | 89 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 D | test.dts | 466 // 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 D | statuses.py | 10 from enum import Enum
|
A D | testsuite.py | 12 from enum import Enum
|
/scripts/west_commands/zspdx/ |
A D | datatypes.py | 6 from enum import Enum
|
A D | cmakefileapi.py | 5 from enum import Enum
|
/scripts/schemas/ |
A D | board-schema.yml | 64 enum: 129 enum: ['first', 'last']
|
A D | soc-schema.yml | 114 enum: ['first', 'last']
|
/scripts/dts/python-devicetree/src/devicetree/ |
A D | edtlib.py | 597 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 D | dtlib.py | 16 import enum 253 class Type(enum.IntEnum): 266 class _MarkerType(enum.IntEnum): 704 class _T(enum.IntEnum):
|
/scripts/coredump/coredump_parser/ |
A D | elf_parser.py | 12 from enum import IntEnum
|
/scripts/utils/ |
A D | pinctrl_nrf_migrate.py | 82 import enum 94 class PIN_CONFIG(enum.Enum):
|
/scripts/release/ |
A D | list_devicetree_bindings_changes.py | 298 lambda prop: binding_start.prop2specs[prop].enum, 299 lambda prop: binding_end.prop2specs[prop].enum,
|
/scripts/coredump/gdbstubs/arch/ |
A D | xtensa.py | 12 from enum import Enum
|
/scripts/build/ |
A D | gen_relocate_app.py | 50 from enum import Enum
|
Completed in 36 milliseconds
12