Home
last modified time | relevance | path

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

/external/selinux/python/semanage/
Dseobject.py1051 valid_types = [] variable in portRecords
1056 … self.valid_types = list(list(sepolicy.info(sepolicy.ATTRIBUTE, "port_type"))[0]["types"])
1104 if type not in self.valid_types:
1169 if setype and setype not in self.valid_types:
1337 valid_types = [] variable in ibpkeyRecords
1343 self.valid_types = sorted(str(t) for t in q.results())
1378 if type not in self.valid_types:
1442 if setype and setype not in self.valid_types:
1597 valid_types = [] variable in ibendportRecords
1603 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/python/cpython2/Lib/test/support/
D__init__.py1613 valid_types = (unittest.TestSuite, unittest.TestCase)
1621 elif isinstance(cls, valid_types):
/external/tensorflow/tensorflow/python/keras/engine/
Dnetwork.py628 valid_types = (tuple, list, tensor_shape.TensorShape)
629 if not isinstance(input_shape, valid_types):
/external/python/cpython3/Lib/test/support/
D__init__.py2113 valid_types = (unittest.TestSuite, unittest.TestCase)
2121 elif isinstance(cls, valid_types):
/external/python/cpython3/Tools/clinic/
Dclinic.py1691 valid_types = ('buffer', 'file', 'suppress')
1692 if type not in valid_types:
1693 …"Invalid destination type " + repr(type) + " for " + name + " , must be " + ', '.join(valid_types))