Home
last modified time | relevance | path

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

/third_party/python/Lib/test/
Dtest_pathlib.py750 self.assertIs(False, P('').is_reserved())
751 self.assertIs(False, P('/').is_reserved())
752 self.assertIs(False, P('/foo/bar').is_reserved())
753 self.assertIs(False, P('/dev/con/PRN/NUL').is_reserved())
1282 self.assertIs(False, P('').is_reserved())
1283 self.assertIs(False, P('/').is_reserved())
1284 self.assertIs(False, P('/foo/bar').is_reserved())
1286 self.assertIs(False, P('//my/share/nul/con/aux').is_reserved())
1288 self.assertIs(True, P('nul').is_reserved())
1289 self.assertIs(True, P('aux').is_reserved())
[all …]
Dtest_ipaddress.py2189 self.assertEqual(True, ipaddress.ip_network('240.0.0.0').is_reserved)
2197 self.assertEqual(False, ipaddress.ip_network('11.0.0.0').is_reserved)
2230 self.assertEqual(True, ipaddress.ip_address('240.0.0.1').is_reserved)
2232 ipaddress.ip_address('239.255.255.255').is_reserved)
2331 self.assertEqual(True, ipaddress.ip_address('100::').is_reserved)
2332 self.assertEqual(True, ipaddress.ip_network('4000::1/128').is_reserved)
/third_party/protobuf/php/ext/google/protobuf/
Dnames.c116 static bool is_reserved(const char *segment, int length) { in is_reserved() function
138 if (is_reserved(segment, length)) { in fill_prefix()
/third_party/protobuf/src/google/protobuf/compiler/php/
Dphp_generator.cc119 bool is_reserved = false; in ReservedNamePrefix() local
126 is_reserved = true; in ReservedNamePrefix()
131 if (is_reserved) { in ReservedNamePrefix()
218 bool is_reserved = false; in ConstantNamePrefix() local
225 is_reserved = true; in ConstantNamePrefix()
232 is_reserved = false; in ConstantNamePrefix()
237 if (is_reserved) { in ConstantNamePrefix()
/third_party/python/Lib/
Dipaddress.py1059 def is_reserved(self): member in _BaseNetwork
1067 return (self.network_address.is_reserved and
1068 self.broadcast_address.is_reserved)
1316 def is_reserved(self): member in IPv4Address
1965 def is_reserved(self): member in IPv6Address
Dpathlib.py205 def is_reserved(self, parts): member in _WindowsFlavour
263 def is_reserved(self, parts): member in _PosixFlavour
885 def is_reserved(self): member in PurePath
888 return self._flavour.is_reserved(self._parts)
/third_party/rust/crates/rustix/src/net/
Dip.rs759 || self.is_reserved() in is_global()
852 pub const fn is_reserved(&self) -> bool { in is_reserved() method
/third_party/python/Doc/library/
Dipaddress.rst208 .. attribute:: is_reserved
306 .. attribute:: is_reserved
504 .. attribute:: is_reserved
716 .. attribute:: is_reserved
Dpathlib.rst480 .. method:: PurePath.is_reserved()
486 >>> PureWindowsPath('nul').is_reserved()
488 >>> PurePosixPath('nul').is_reserved()
/third_party/python/Misc/NEWS.d/
D3.10.0rc1.rst418 :meth:`pathlib.PureWindowsPath.is_reserved` now identifies a greater range
/third_party/skia/third_party/externals/tint/src/reader/wgsl/
Dparser_impl.cc142 bool is_reserved(Token t) { in is_reserved() function
3292 if (is_reserved(t)) { in expect_ident()