Home
last modified time | relevance | path

Searched refs:_lookup (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython2/Lib/
Dmailbox.py310 os.remove(os.path.join(self._path, self._lookup(key)))
325 old_subpath = self._lookup(key)
327 temp_subpath = self._lookup(temp_key)
352 subpath = self._lookup(key)
370 f = open(os.path.join(self._path, self._lookup(key)), 'r')
378 f = open(os.path.join(self._path, self._lookup(key)), 'rb')
386 self._lookup(key)
537 def _lookup(self, key): member in Maildir
592 self._lookup()
602 self._lookup(key)
[all …]
/external/python/cpython3/Lib/
Dmailbox.py333 os.remove(os.path.join(self._path, self._lookup(key)))
345 old_subpath = self._lookup(key)
347 temp_subpath = self._lookup(temp_key)
372 subpath = self._lookup(key)
387 with open(os.path.join(self._path, self._lookup(key)), 'rb') as f:
392 f = open(os.path.join(self._path, self._lookup(key)), 'rb')
400 self._lookup(key)
547 def _lookup(self, key): member in Maildir
602 self._lookup()
612 self._lookup(key)
[all …]
/external/tensorflow/tensorflow/python/ops/distributions/
Dbijector_impl.py742 mapping = self._lookup(x=x, kwargs=kwargs)
776 mapping = self._lookup(y=y, kwargs=kwargs)
843 mapping = self._lookup(y=y, kwargs=kwargs)
946 mapping = self._lookup(x=x, kwargs=kwargs)
1013 mapping = mapping.merge(mapping=self._lookup(
1021 def _lookup(self, x=None, y=None, kwargs=None): member in Bijector
/external/python/cpython2/Lib/test/
Dtest_mailbox.py733 self.assertRaises(KeyError, lambda: self._box._lookup('foo'))
735 self.assertEqual(self._box._lookup(key0), os.path.join('new', key0))
741 self.assertRaises(KeyError, lambda: self._box._lookup(key0))
784 path = os.path.join(self._path, self._box._lookup(key))
/external/python/cpython3/Lib/test/
Dtest_mailbox.py825 self.assertRaises(KeyError, lambda: self._box._lookup('foo'))
827 self.assertEqual(self._box._lookup(key0), os.path.join('new', key0))
833 self.assertRaises(KeyError, lambda: self._box._lookup(key0))
876 path = os.path.join(self._path, self._box._lookup(key))