Home
last modified time | relevance | path

Searched refs:parsestr (Results 1 – 23 of 23) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/
Dares_strsplit.c76 char *parsestr; in ares_strsplit() local
104 parsestr = ares_strdup(in); in ares_strsplit()
105 if (parsestr == NULL) in ares_strsplit()
113 ares_free(parsestr); in ares_strsplit()
116 temp[0] = parsestr; in ares_strsplit()
120 if (!is_delim(parsestr[i], delms, num_delims)) in ares_strsplit()
124 parsestr[i] = '\0'; in ares_strsplit()
126 temp[cnt] = parsestr+i+1; in ares_strsplit()
134 ares_free(parsestr); in ares_strsplit()
152 ares_free(parsestr); in ares_strsplit()
[all …]
/external/python/cpython3/Lib/email/
Dparser.py59 def parsestr(self, text, headersonly=False): member in Parser
75 def parsestr(self, text, headersonly=True): member in HeaderParser
76 return Parser.parsestr(self, text, True)
123 return self.parser.parsestr(text, headersonly)
D__init__.py38 return Parser(*args, **kws).parsestr(s)
/external/python/cpython2/Lib/email/
Dparser.py74 def parsestr(self, text, headersonly=False): member in Parser
90 def parsestr(self, text, headersonly=True): member in HeaderParser
91 return Parser.parsestr(self, text, True)
D__init__.py57 return Parser(*args, **kws).parsestr(s)
/external/python/cpython2/Doc/library/
Demail.errors.rst29 :meth:`Parser.parsestr <email.parser.Parser.parsestr>` methods.
42 :meth:`Parser.parsestr <email.parser.Parser.parsestr>` methods.
Demail-examples.rst15 parsestr(message_as_string) methods of the Parser() class:
Demail.parser.rst149 .. method:: parsestr(text[, headersonly])
170 ``Parser().parsestr(s)``. Optional *_class* and *strict* are interpreted as
Demail.rst192 :meth:`~email.parser.Parser.parsestr` methods grew a *headersonly* argument.
/external/python/cpython2/Doc/includes/
Demail-headers.py8 headers = Parser().parsestr('From: <user@example.com>\n'
/external/python/cpython3/Doc/includes/
Demail-headers.py10 headers = Parser(policy=default).parsestr(
/external/python/apitools/apitools/base/py/
Dbatch.py380 msg = parser.parsestr(payload)
462 mime_response = parser.parsestr(header + content)
/external/python/cpython3/Tools/i18n/
Dmsgfmt.py155 charset = p.parsestr(msgstr.decode(encoding)).get_content_charset()
/external/python/setuptools/setuptools/
Dwheel.py89 return email.parser.Parser().parsestr(value)
/external/python/cpython3/Lib/test/test_email/
Dtest_policy.py324 p.parsestr('Subject: test\n\n')
Dtest_email.py219 msg = parser.parsestr(msgdata)
1816 msg = Parser().parsestr(text)
2110 m = Parser().parsestr("""\
/external/python/cpython3/Doc/library/
Demail.parser.rst214 .. method:: parsestr(text, headersonly=False)
265 ``Parser().parsestr(s)``. *_class* and *policy* are interpreted as
/external/python/cpython2/Python/
Dast.c40 static PyObject *parsestr(struct compiling *, const node *n, const char *);
3461 parsestr(struct compiling *c, const node *n, const char *s) in parsestr() function
3560 if ((v = parsestr(c, n, STR(CHILD(n, 0)))) != NULL) { in parsestrplus()
3564 s = parsestr(c, n, STR(CHILD(n, i))); in parsestrplus()
/external/python/cpython2/Lib/email/test/
Dtest_email.py205 msg = parser.parsestr(msgdata)
1196 msg = Parser().parsestr(text)
1490 m = Parser().parsestr("""\
Dtest_email_renamed.py1131 msg = Parser().parsestr(text)
1425 m = Parser().parsestr("""\
/external/python/cpython3/Lib/http/
Dclient.py225 return email.parser.Parser(_class=_class).parsestr(hstring)
/external/python/setuptools/pkg_resources/
D__init__.py2854 self._pkg_info = email.parser.Parser().parsestr(metadata)
/external/python/cpython3/Python/
Dast.c5644 parsestr(struct compiling *c, const node *n, int *bytesmode, int *rawmode, in parsestr() function
5779 if (parsestr(c, CHILD(n, i), &this_bytesmode, &this_rawmode, &s, in parsestrplus()