Home
last modified time | relevance | path

Searched refs:valid_types (Results 1 – 7 of 7) sorted by relevance

/external/selinux/python/semanage/
Dseobject.py1048 valid_types = [] variable in portRecords
1053 … self.valid_types = list(list(sepolicy.info(sepolicy.ATTRIBUTE, "port_type"))[0]["types"])
1095 if type not in self.valid_types:
1160 if setype and setype not in self.valid_types:
1328 valid_types = [] variable in ibpkeyRecords
1334 self.valid_types = sorted(str(t) for t in q.results())
1369 if type not in self.valid_types:
1433 if setype and setype not in self.valid_types:
1588 valid_types = [] variable in ibendportRecords
1594 self.valid_types = set(str(t) for t in q.results())
[all …]
/external/deqp/external/openglcts/modules/gl/
Dgl4cDirectStateAccessBuffersTests.cpp2774 static const glw::GLenum valid_types[] = { GL_RED, GL_RG, in TestErrorsOfClearNamedBufferData() local
2782 static const glw::GLenum valid_types_last = sizeof(valid_types) / sizeof(valid_types[0]) - 1; in TestErrorsOfClearNamedBufferData()
2786 while (&valid_types[valid_types_last] != in TestErrorsOfClearNamedBufferData()
2787 std::find(&valid_types[0], &valid_types[valid_types_last], (++invalid_type))) in TestErrorsOfClearNamedBufferData()
3058 static const glw::GLenum valid_types[] = { GL_RED, GL_RG, in TestErrorsOfClearNamedBufferSubData() local
3066 static const glw::GLenum valid_types_last = sizeof(valid_types) / sizeof(valid_types[0]) - 1; in TestErrorsOfClearNamedBufferSubData()
3070 while (&valid_types[valid_types_last] != in TestErrorsOfClearNamedBufferSubData()
3071 std::find(&valid_types[0], &valid_types[valid_types_last], (++invalid_type))) in TestErrorsOfClearNamedBufferSubData()
/external/selinux/python/sepolicy/sepolicy/
D__init__.py342 valid_types = set([ALLOW, AUDITALLOW, NEVERALLOW, DONTAUDIT, TRANSITION, ROLE_ALLOW])
344 if setype not in valid_types:
345 raise ValueError("Type has to be in %s" % " ".join(valid_types))
/external/tensorflow/tensorflow/python/keras/engine/
Dnetwork.py786 valid_types = (tuple, list, tensor_shape.TensorShape)
787 if not isinstance(input_shape, valid_types):
/external/python/cpython2/Lib/test/support/
D__init__.py1613 valid_types = (unittest.TestSuite, unittest.TestCase)
1621 elif isinstance(cls, valid_types):
/external/python/cpython3/Lib/test/support/
D__init__.py1982 valid_types = (unittest.TestSuite, unittest.TestCase)
1990 elif isinstance(cls, valid_types):
/external/python/cpython3/Tools/clinic/
Dclinic.py1591 valid_types = ('buffer', 'file', 'suppress')
1592 if type not in valid_types:
1593 …"Invalid destination type " + repr(type) + " for " + name + " , must be " + ', '.join(valid_types))