Home
last modified time | relevance | path

Searched refs:decode_header (Results 1 – 17 of 17) sorted by relevance

/third_party/python/Lib/test/test_email/
Dtest_asian_codecs.py9 from email.header import Header, decode_header
42 eq(decode_header(h.encode()),
Dtest_email.py21 from email.header import Header, decode_header, make_header
2313 dh = decode_header(s)
2329 dh = decode_header(s)
2338 dh = decode_header(s)
2346 dh = decode_header(s)
2353 dh = decode_header(s)
2365 dh = decode_header(s % q)
2371 self.assertEqual(decode_header(s),
2377 self.assertEqual(decode_header(s),
2383 self.assertEqual(decode_header(s),
[all …]
/third_party/python/Doc/library/
Demail.header.rst176 .. function:: decode_header(header)
188 >>> from email.header import decode_header
189 >>> decode_header('=?iso-8859-1?q?p=F6stal?=')
196 :func:`decode_header`.
198 :func:`decode_header` takes a header value string and returns a sequence of
Dnntplib.rst29 ... print(id, nntplib.decode_header(over['subject']))
389 It is advisable to use the :func:`decode_header` function on header
401 >>> nntplib.decode_header(over['from'])
551 .. function:: decode_header(header_str)
558 >>> decode_header("Some subject")
560 >>> decode_header("=?ISO-8859-15?Q?D=E9buter_en_Python?=")
562 >>> decode_header("Re: =?UTF-8?B?cHJvYmzDqG1lIGRlIG1hdHJpY2U=?=")
/third_party/lame/mpglib/
Dcommon.h36 int decode_header(PMPSTR mp, struct frame *fr, unsigned long newhead);
Dcommon.c186 decode_header(PMPSTR mp, struct frame *fr, unsigned long newhead) in decode_header() function
Dinterface.c511 if (!decode_header(mp, &mp->fr, mp->header)) in decodeMP3_clipchoice()
/third_party/python/Lib/
Dnntplib.py79 from email.header import decode_header as _email_decode_header
167 def decode_header(header_str): function
1083 author = decode_header(over['from']).split('<', 1)[0]
1084 subject = decode_header(over['subject'])
/third_party/mesa3d/src/freedreno/decode/
Dpgmdump2.c199 decode_header(struct state *state, struct header *hdr) in decode_header() function
452 decode_header(state, hdr); in dump_program()
/third_party/ffmpeg/libavcodec/
Dpsd.c68 static int decode_header(PSDContext * s) in decode_header() function
311 if ((ret = decode_header(s)) < 0) in decode_frame()
Dsnowdec.c299 static int decode_header(SnowContext *s){ in decode_header() function
454 if ((res = decode_header(s)) < 0) in decode_frame()
Dexr.c1550 static int decode_header(EXRContext *s, AVFrame *frame) in decode_header() function
2054 if ((ret = decode_header(s, picture)) < 0) in decode_frame()
/third_party/python/Lib/email/
Dheader.py61 def decode_header(header): function
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/packaging/
Dmetadata.py361 for bin, encoding in email.header.decode_header(h):
/third_party/python/Doc/whatsnew/
D3.3.rst1312 the :mod:`email.header` :meth:`~email.header.decode_header` or
2407 :func:`email.header.decode_header` has been fixed. Code that uses the
2409 (``str(make_header(decode_header(h))``) will see no change, but code that
2410 looks at the individual tuples returned by decode_header will see that
/third_party/python/Lib/test/
Dtest_nntplib.py1326 self.assertEqual(nntplib.decode_header(a), b)
/third_party/python/Misc/
DHISTORY7353 - Issue #1079: email.header.decode_header now correctly parses all the examples
9483 - Issue #11584: email.header.decode_header no longer fails if the header