Home
last modified time | relevance | path

Searched refs:is_reserved (Results 1 – 8 of 8) sorted by relevance

/external/u-boot/drivers/gpio/
Dadi_gpio2.c51 #define is_reserved(m, i, e) (map_entry(m, i) & gpio_bit(i)) macro
148 if (unlikely(!check_gpio(ident) && is_reserved(gpio, ident, 1))) { in peripheral_request()
154 if (unlikely(is_reserved(peri, ident, 1))) { in peripheral_request()
217 if (unlikely(!is_reserved(peri, ident, 0))) in peripheral_free()
260 if (unlikely(is_reserved(gpio, gpio, 1))) { in gpio_request()
265 if (unlikely(is_reserved(peri, gpio, 1))) { in gpio_request()
284 if (unlikely(!is_reserved(gpio, gpio, 0))) { in gpio_free()
310 if (unlikely(is_reserved(special_gpio, gpio, 1))) { in special_gpio_request()
315 if (unlikely(is_reserved(peri, gpio, 1))) { in special_gpio_request()
333 if (unlikely(!is_reserved(special_gpio, gpio, 0))) { in special_gpio_free()
[all …]
/external/python/cpython3/Lib/test/
Dtest_pathlib.py680 self.assertIs(False, P('').is_reserved())
681 self.assertIs(False, P('/').is_reserved())
682 self.assertIs(False, P('/foo/bar').is_reserved())
683 self.assertIs(False, P('/dev/con/PRN/NUL').is_reserved())
1127 self.assertIs(False, P('').is_reserved())
1128 self.assertIs(False, P('/').is_reserved())
1129 self.assertIs(False, P('/foo/bar').is_reserved())
1130 self.assertIs(True, P('con').is_reserved())
1131 self.assertIs(True, P('NUL').is_reserved())
1132 self.assertIs(True, P('NUL.txt').is_reserved())
[all …]
Dtest_ipaddress.py1700 self.assertEqual(True, ipaddress.ip_network('240.0.0.0').is_reserved)
1708 self.assertEqual(False, ipaddress.ip_network('11.0.0.0').is_reserved)
1741 self.assertEqual(True, ipaddress.ip_address('240.0.0.1').is_reserved)
1743 ipaddress.ip_address('239.255.255.255').is_reserved)
1842 self.assertEqual(True, ipaddress.ip_address('100::').is_reserved)
1843 self.assertEqual(True, ipaddress.ip_network('4000::1/128').is_reserved)
/external/python/cpython3/Lib/
Dipaddress.py996 def is_reserved(self): member in _BaseNetwork
1004 return (self.network_address.is_reserved and
1005 self.broadcast_address.is_reserved)
1309 def is_reserved(self): member in IPv4Address
1936 def is_reserved(self): member in IPv6Address
Dpathlib.py227 def is_reserved(self, parts): member in _WindowsFlavour
356 def is_reserved(self, parts): member in _PosixFlavour
928 def is_reserved(self): member in PurePath
931 return self._flavour.is_reserved(self._parts)
/external/tensorflow/tensorflow/python/framework/
Dpython_op_gen.cc1031 bool is_reserved = python_op_gen_internal::IsPythonReserved(function_name); in GetPythonOps() local
1038 if (!hidden_by_api_def || is_reserved || in GetPythonOps()
1042 } else if (is_reserved) { in GetPythonOps()
/external/python/cpython3/Doc/library/
Dipaddress.rst188 .. attribute:: is_reserved
251 .. attribute:: is_reserved
430 .. attribute:: is_reserved
639 .. attribute:: is_reserved
Dpathlib.rst465 .. method:: PurePath.is_reserved()
471 >>> PureWindowsPath('nul').is_reserved()
473 >>> PurePosixPath('nul').is_reserved()