Searched refs:_locate (Results 1 – 2 of 2) sorted by relevance
/external/chromium-trace/catapult/telemetry/third_party/modulegraph/modulegraph/ |
D | zipio.py | 60 def _locate(path): function 97 path, rest = _locate(path) 130 path, rest = _locate(path) 183 path, rest = _locate(path) 228 path, rest = _locate(path) 279 path, rest = _locate(path) 324 path, rest = _locate(path) 335 path, rest = _locate(path) 384 path, rest = _locate(path)
|
/external/chromium-trace/catapult/telemetry/third_party/modulegraph/modulegraph_tests/ |
D | test_zipio.py | 19 self.assertEqual(zipio._locate('/usr/bin/ditto'), ('/usr/bin/ditto', None)) 20 self.assertEqual(zipio._locate('/usr/bin/ditto/bar'), ('/usr/bin/ditto', 'bar')) 21 …self.assertEqual(zipio._locate('/usr/bin/ditto/foo/bar///bar/'), ('/usr/bin/ditto', 'foo/bar/bar')) 22 …self.assertEqual(zipio._locate('/usr/bin/ditto///foo/bar///bar/'), ('/usr/bin/ditto', 'foo/bar/bar… 23 self.assertRaises(IOError, zipio._locate, '/usr/bin/ditto.bar') 24 self.assertRaises(IOError, zipio._locate, '/foo/bar/baz.txt')
|