Home
last modified time | relevance | path

Searched refs:_box (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_mailbox.py56 self._box = self._factory(self._path)
59 self._box.close()
65 keys.append(self._box.add(self._template % 0))
66 self.assertEqual(len(self._box), 1)
67 keys.append(self._box.add(mailbox.Message(_sample_message)))
68 self.assertEqual(len(self._box), 2)
69 keys.append(self._box.add(email.message_from_string(_sample_message)))
70 self.assertEqual(len(self._box), 3)
71 keys.append(self._box.add(io.BytesIO(_bytes_sample_message)))
72 self.assertEqual(len(self._box), 4)
[all …]
/external/python/cpython2/Lib/test/
Dtest_mailbox.py56 self._box = self._factory(self._path)
59 self._box.close()
65 keys.append(self._box.add(self._template % 0))
66 self.assertEqual(len(self._box), 1)
67 keys.append(self._box.add(mailbox.Message(_sample_message)))
68 self.assertEqual(len(self._box), 2)
69 keys.append(self._box.add(email.message_from_string(_sample_message)))
70 self.assertEqual(len(self._box), 3)
71 keys.append(self._box.add(StringIO.StringIO(_sample_message)))
72 self.assertEqual(len(self._box), 4)
[all …]
/external/eigen/test/
Dgeo_alignedbox.cpp22 template<typename BoxType> void alignedbox(const BoxType& _box) in alignedbox() argument
32 const Index dim = _box.dim(); in alignedbox()
86 void alignedboxCastTests(const BoxType& _box) in alignedboxCastTests() argument
93 const Index dim = _box.dim(); in alignedboxCastTests()
/external/pigweed/pw_presubmit/py/pw_presubmit/
Dpresubmit.py92 def _box(style, left, middle, right, box=tools.make_box('><>')) -> str: function
305 _box(
491 _box(_CHECK_UPPER, f'{count}/{total}', self.name,
503 _box(_CHECK_LOWER, result.colorized(_LEFT), self.name, time_str))