Searched defs:defects (Results 1 - 3 of 3) sorted by relevance

/external/python/cpython3/Lib/email/
H A Dheaderregistry.py169 contain one key, 'defects', initialized to an empty list. After the call
176 The defects key is intended to collect parsing defects, which the message
179 list instead. The standard header parsers register defects for RFC
196 kwds = {'defects': []}
205 def init(self, name, *, parse_tree, defects):
208 self._defects = defects
215 def defects(self): member in class:BaseHeader
297 kwds['defects'].append(errors.HeaderMissingRequiredValue())
345 defects
[all...]
/external/python/cpython3/Lib/test/test_email/
H A 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 class:PolicyAPITests.MyPolicy
175 super().__init__(*args, defects=[], **kw)
177 self.defects.append(defect)
190 self.assertEqual(my_policy.defects, [defect
[all...]
/external/opencv/cv/src/
H A Dcvconvhull.cpp521 CvSeq* defects = 0; local
597 CV_CALL( defects = cvCreateSeq( CV_SEQ_KIND_GENERIC, sizeof(CvSeq),
651 cvStartAppendToSeq( defects, &writer );
653 /* cycle through ptseq and hull with computing defects */
721 defects = cvEndWriteSeq( &writer );
725 return defects;

Completed in 128 milliseconds