Searched refs:is_resource (Results 1 – 9 of 9) sorted by relevance
/external/python/cpython3/Lib/test/test_importlib/ |
D | test_resource.py | 14 self.assertTrue(resources.is_resource(self.data, 'binary.file')) 17 self.assertFalse(resources.is_resource(self.data, 'not-a-file')) 21 self.assertFalse(resources.is_resource(self.data, 'subdirectory')) 63 self.assertTrue(resources.is_resource(package, 'B')) 69 self.assertFalse(resources.is_resource(package, 'D')) 75 self.assertFalse(resources.is_resource(package, 'Z')) 93 self.assertFalse(resources.is_resource(module, 'A')) 119 resources.is_resource(submodule, 'binary.file')) 123 resources.is_resource('ziptestdata.subdirectory', 'binary.file')) 143 self.assertFalse(resources.is_resource(
|
D | test_abc.py | 316 def is_resource(self, *args, **kwargs): member in ResourceReader 317 return super().is_resource(*args, **kwargs) 337 self.ins.is_resource('dummy_file')
|
D | util.py | 417 def is_resource(self, path_): member in create_package.Reader
|
/external/python/cpython3/Lib/importlib/ |
D | resources.py | 218 def is_resource(package: Package, name: str) -> bool: function 227 return reader.is_resource(name) 293 def is_resource(self, name): member in _ZipImportResourceReader
|
D | abc.py | 378 def is_resource(self, name): member in ResourceReader
|
D | _bootstrap_external.py | 932 if not self.is_resource(resource): 937 def is_resource(self, name): member in FileLoader
|
/external/tensorflow/tensorflow/core/framework/ |
D | variable.proto | 28 bool is_resource = 5; field
|
/external/tensorflow/tensorflow/python/ops/ |
D | resource_variable_ops.py | 637 if not variable_def.is_resource: 939 var_def.is_resource = True 1529 if v.is_resource:
|
/external/python/cpython3/Doc/library/ |
D | importlib.rst | 526 .. abstractmethod:: is_resource(name) 536 acceptable to return names for which :meth:`is_resource` would 919 .. function:: is_resource(package, name)
|