Home
last modified time | relevance | path

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

/external/mtools/
Dmk_direntry.c317 static int is_reserved(char *ans, int islong) in is_reserved() function
359 if((is_reserved(longname,1)) || in get_slots()
366 } else if(is_reserved(dosname->base,0)) { in get_slots()
/external/protobuf/src/google/protobuf/compiler/php/
Dphp_generator.cc118 bool is_reserved = false; in ReservedNamePrefix() local
125 is_reserved = true; in ReservedNamePrefix()
130 if (is_reserved) { in ReservedNamePrefix()
217 bool is_reserved = false; in ConstantNamePrefix() local
224 is_reserved = true; in ConstantNamePrefix()
231 is_reserved = false; in ConstantNamePrefix()
236 if (is_reserved) { in ConstantNamePrefix()
/external/python/cpython3/Lib/test/
Dtest_pathlib.py734 self.assertIs(False, P('').is_reserved())
735 self.assertIs(False, P('/').is_reserved())
736 self.assertIs(False, P('/foo/bar').is_reserved())
737 self.assertIs(False, P('/dev/con/PRN/NUL').is_reserved())
1248 self.assertIs(False, P('').is_reserved())
1249 self.assertIs(False, P('/').is_reserved())
1250 self.assertIs(False, P('/foo/bar').is_reserved())
1251 self.assertIs(True, P('con').is_reserved())
1252 self.assertIs(True, P('NUL').is_reserved())
1253 self.assertIs(True, P('NUL.txt').is_reserved())
[all …]
Dtest_ipaddress.py2176 self.assertEqual(True, ipaddress.ip_network('240.0.0.0').is_reserved)
2184 self.assertEqual(False, ipaddress.ip_network('11.0.0.0').is_reserved)
2217 self.assertEqual(True, ipaddress.ip_address('240.0.0.1').is_reserved)
2219 ipaddress.ip_address('239.255.255.255').is_reserved)
2318 self.assertEqual(True, ipaddress.ip_address('100::').is_reserved)
2319 self.assertEqual(True, ipaddress.ip_network('4000::1/128').is_reserved)
/external/python/pyfakefs/pyfakefs/tests/
Dfake_pathlib_test.py193 self.assertFalse(self.path('/dev').is_reserved())
194 self.assertFalse(self.path('/').is_reserved())
195 self.assertFalse(self.path('COM1').is_reserved())
196 self.assertFalse(self.path('nul.txt').is_reserved())
201 self.assertFalse(self.path('/dev').is_reserved())
202 self.assertFalse(self.path('/').is_reserved())
203 self.assertTrue(self.path('COM1').is_reserved())
204 self.assertTrue(self.path('nul.txt').is_reserved())
/external/python/cpython3/Lib/
Dipaddress.py1058 def is_reserved(self): member in _BaseNetwork
1066 return (self.network_address.is_reserved and
1067 self.broadcast_address.is_reserved)
1310 def is_reserved(self): member in IPv4Address
1959 def is_reserved(self): member in IPv6Address
Dpathlib.py231 def is_reserved(self, parts): member in _WindowsFlavour
364 def is_reserved(self, parts): member in _PosixFlavour
997 def is_reserved(self): member in PurePath
1000 return self._flavour.is_reserved(self._parts)
/external/python/ipaddress/
Dipaddress.py1123 def is_reserved(self): member in _BaseNetwork
1131 return (self.network_address.is_reserved and
1132 self.broadcast_address.is_reserved)
1410 def is_reserved(self): member in IPv4Address
2057 def is_reserved(self): member in IPv6Address
Dtest_ipaddress.py1753 self.assertEqual(True, ipaddress.ip_network('240.0.0.0').is_reserved)
1761 self.assertEqual(False, ipaddress.ip_network('11.0.0.0').is_reserved)
1795 self.assertEqual(True, ipaddress.ip_address('240.0.0.1').is_reserved)
1797 ipaddress.ip_address('239.255.255.255').is_reserved)
1896 self.assertEqual(True, ipaddress.ip_address('100::').is_reserved)
1897 self.assertEqual(True, ipaddress.ip_network('4000::1/128').is_reserved)
/external/python/parse_type/tasks/_vendor/
Dpathlib.py224 def is_reserved(self, parts): member in _WindowsFlavour
322 def is_reserved(self, parts): member in _PosixFlavour
884 def is_reserved(self): member in PurePath
887 return self._flavour.is_reserved(self._parts)
/external/python/pyfakefs/pyfakefs/
Dfake_pathlib.py344 def is_reserved(self, parts): member in _FakeWindowsFlavour
417 def is_reserved(self, parts): member in _FakePosixFlavour
/external/tensorflow/tensorflow/python/framework/
Dpython_op_gen.cc1221 bool is_reserved = python_op_gen_internal::IsPythonReserved(function_name); local
1228 if (!hidden_by_api_def || is_reserved ||
1232 } else if (is_reserved) {
/external/crosvm/src/plugin/
Dvcpu.rs184 if self.is_reserved(space, start) { in reserve_range()
247 fn is_reserved(&self, space: IoSpace, addr: u64) -> bool { in is_reserved() method
/external/protobuf/php/ext/google/protobuf/
Ddef.c732 static bool is_reserved(const char *segment, int length) { in is_reserved() function
758 if (is_reserved(segment, length)) { in fill_prefix()
/external/python/cpython3/Doc/library/
Dipaddress.rst188 .. attribute:: is_reserved
286 .. attribute:: is_reserved
484 .. attribute:: is_reserved
696 .. attribute:: is_reserved
Dpathlib.rst478 .. method:: PurePath.is_reserved()
484 >>> PureWindowsPath('nul').is_reserved()
486 >>> PurePosixPath('nul').is_reserved()