Home
last modified time | relevance | path

Searched refs:defects (Results 1 – 25 of 59) sorted by relevance

123

/external/python/cpython3/Lib/test/test_email/
Dtest__encoded_words.py10 result, defects = _ew.decode_q(source)
12 self.assertDefectsEqual(defects, ex_defects)
28 result, defects = _ew.decode_b(source)
30 self.assertDefectsEqual(defects, ex_defects)
62 def _test(self, source, result, charset='us-ascii', lang='', defects=[]): argument
67 self.assertDefectsEqual(d, defects)
88 defects = [errors.UndecodableBytesDefect])
94 defects = [
101 defects = [errors.InvalidBase64CharactersDefect])
106 defects = [
[all …]
Dtest_headerregistry.py110 self.assertEqual(len(h.defects), 0)
111 self.assertIsInstance(h.defects, tuple)
114 self.assertEqual(len(h.defects), 1)
115 self.assertIsInstance(h.defects, tuple)
135 defects = args[0] if l>0 else []
140 self.assertDefectsEqual(h.defects, defects)
181 self.assertEqual(h.defects, ())
187 self.assertEqual(h.defects, ())
193 self.assertEqual(h.defects, ())
199 self.assertEqual(h.defects, ())
[all …]
Dtest_policy.py140 self.defects = []
145 self.assertEqual(obj.defects, [defect])
148 self.assertEqual(obj.defects, [defect, defect2])
152 self.defects = []
167 self.assertEqual(foo.defects, [defect1])
170 self.assertEqual(foo.defects, [defect1, defect2])
173 defects = None variable in PolicyAPITests.MyPolicy
175 super().__init__(*args, defects=[], **kw)
177 self.defects.append(defect)
190 self.assertEqual(my_policy.defects, [defect1])
[all …]
Dtest__header_value_parser.py22 def _assert_results(self, tl, rest, string, value, defects, remainder, argument
26 self.assertDefectsEqual(tl.all_defects, defects)
31 def _test_get_x(self, method, source, string, value, defects, argument
34 self._assert_results(tl, rest, string, value, defects, remainder,
38 def _test_parse_x(self, method, input, string, value, defects, argument
41 self._assert_results(tl, '', string, value, defects, '', comments)
417 self.assertEqual(ptext.defects[0].non_printables[0], '\x00')
457 self.assertEqual(ptext.defects[0].non_printables[0], '\x00')
487 self.assertEqual(atext.defects[0].non_printables[0], '\x00')
1186 self.assertEqual(dtext.defects[0].non_printables[0], '\x00')
[all …]
Dtest_email.py613 self.assertIsInstance(msg.defects[0],
2103 self.assertEqual(len(inner.defects), 1)
2104 self.assertIsInstance(inner.defects[0],
2111 self.assertEqual(len(msg.defects), 2)
2112 self.assertIsInstance(msg.defects[0],
2114 self.assertIsInstance(msg.defects[1],
2144 self.assertEqual(len(msg.defects), 1)
2145 self.assertIsInstance(msg.defects[0],
2151 self.assertEqual(len(msg.defects), 0)
2159 self.assertEqual(len(msg.defects), 0)
[all …]
/external/python/cpython3/Lib/email/
D_header_value_parser.py111 self.defects = []
126 return sum((x.all_defects for x in self), self.defects)
163 if self.defects:
164 extra = ' Defects: {}'.format(self.defects)
571 if self.defects:
742 parts[1][1].defects.append(errors.InvalidHeaderDefect(
755 param.defects.append(errors.InvalidHeaderDefect(
759 param.defects.append(errors.InvalidHeaderDefect(
781 param.defects.append(errors.UndecodableBytesDefect())
857 self.defects = []
[all …]
D_encoded_words.py178 bstring, defects = _cte_decoders[cte](bstring)
183 defects.append(errors.UndecodableBytesDefect("Encoded word "
189 defects.append(errors.CharsetError("Unknown charset {} "
191 return string, charset, lang, defects
Dheaderregistry.py205 def init(self, name, *, parse_tree, defects): argument
208 self._defects = defects
215 def defects(self): member in BaseHeader
348 defects = list(address_list.all_defects)
356 defects = []
358 kwds['defects'] = defects
Dcontentmanager.py104 if header.defects:
105 raise header.defects[0]
Dfeedparser.py509 self._cur.defects.append(defect)
521 self._cur.defects.append(defect)
/external/python/cpython2/Lib/email/
Dfeedparser.py195 root.defects.append(errors.MultipartInvariantViolationDefect())
308 self._cur.defects.append(errors.NoBoundaryInMultipartDefect())
412 self._cur.defects.append(errors.StartBoundaryNotFoundDefect())
464 self._cur.defects.append(defect)
492 self._cur.defects.append(defect)
498 self._cur.defects.append(defect)
/external/libgsm/
DCOPYRIGHT7 software for any purpose nor are held responsible for any defects of
30 for any defects of this software. THERE IS ABSOLUTELY NO
DNOTICE7 software for any purpose nor are held responsible for any defects of
30 for any defects of this software. THERE IS ABSOLUTELY NO
/external/tremolo/
DREADME7 When syncing with svn, please ensure that these defects are not
/external/python/cpython3/Doc/library/
Demail.headerregistry.rst59 .. attribute:: defects
64 module for a discussion of the types of defects that may be reported.
96 ``kwds`` is a dictionary containing one pre-initialized key, ``defects``.
97 ``defects`` is an empty list. The parse method should append any detected
98 defects to this list. On return, the ``kwds`` dictionary *must* contain
99 values for at least the keys ``decoded`` and ``defects``. ``decoded``
133 words. Defects are registered in such cases, as well as defects for issues
Demail.errors.rst62 Here is the list of the defects that the :class:`~email.parser.FeedParser`
63 can find while parsing messages. Note that the defects are added to the message
/external/python/cpython2/Doc/library/
Demail.errors.rst64 Here's the list of the defects that the :class:`~email.parser.FeedParser`
65 can find while parsing messages. Note that the defects are added to the message
Demail.parser.rst58 broken. It will populate a message object's *defects* attribute with a list of
60 list of defects that it can find.
222 *defects* attribute list. See :mod:`email.errors` for details.
/external/python/cpython2/Lib/email/test/
Dtest_email_renamed.py1454 self.assertEqual(len(inner.defects), 1)
1455 self.assertIsInstance(inner.defects[0],
1461 self.assertEqual(len(msg.defects), 2)
1462 self.assertIsInstance(msg.defects[0],
1464 self.assertIsInstance(msg.defects[1],
1519 self.assertEqual(len(msg.defects), 2)
1520 self.assertIsInstance(msg.defects[0],
1522 self.assertIsInstance(msg.defects[1],
1536 self.assertEqual(len(bad.defects), 1)
1537 self.assertIsInstance(bad.defects[0],
[all …]
Dtest_email.py1519 self.assertEqual(len(inner.defects), 1)
1520 self.assertIsInstance(inner.defects[0],
1526 self.assertEqual(len(msg.defects), 2)
1527 self.assertIsInstance(msg.defects[0],
1529 self.assertIsInstance(msg.defects[1],
1584 self.assertEqual(len(msg.defects), 2)
1585 self.assertIsInstance(msg.defects[0],
1587 self.assertIsInstance(msg.defects[1],
1601 self.assertEqual(len(bad.defects), 1)
1602 self.assertIsInstance(bad.defects[0],
[all …]
/external/python/cpython2/Misc/
DREADME.coverity12 There were originally about 100 defects reported. Some of these
DREADME.klocwork13 There were originally 175 defects reported. Most of these
/external/python/cpython3/Misc/
DREADME.coverity12 There were originally about 100 defects reported. Some of these
/external/deqp-deps/glslang/
DREADME-spirv-remap.txt26 remapping defects, it has only been exercised on one real world game shader
32 Report defects, enhancements requests, code improvements, etc to:
/external/python/setuptools/docs/
Dhistory.txt41 and addressed many defects.

123