Home
last modified time | relevance | path

Searched refs:ustr (Results 1 – 10 of 10) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/
Dcharset.py299 def from_splittable(self, ustr, to_output=True): argument
316 if not isinstance(ustr, unicode) or codec is None:
317 return ustr
319 return ustr.encode(codec, 'replace')
322 return ustr
Dheader.py267 ustr = unicode(s, incodec, errors)
272 ustr.encode(outcodec, errors)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/
Dtest_email_codecs_renamed.py60 ustr = unicode(msg.get_payload(), msg.get_content_charset())
61 self.assertEqual(jhello, ustr.encode(jcode))
Dtest_email_codecs.py60 ustr = unicode(msg.get_payload(), msg.get_content_charset())
61 self.assertEqual(jhello, ustr.encode(jcode))
Dtest_email_renamed.py2856 ustr = unicode(h)
2857 eq(ustr.encode('utf-8'),
Dtest_email.py3030 ustr = unicode(h)
3031 eq(ustr.encode('utf-8'),
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
D_json.c370 PyObject *ustr = PyUnicode_FromUnicode(NULL, 0); in join_list_unicode() local
371 if (ustr == NULL) in join_list_unicode()
374 joinfn = PyObject_GetAttrString(ustr, "join"); in join_list_unicode()
375 Py_DECREF(ustr); in join_list_unicode()
Darraymodule.c1440 Py_UNICODE *ustr; in array_fromunicode() local
1443 if (!PyArg_ParseTuple(args, "u#:fromunicode", &ustr, &n)) in array_fromunicode()
1465 ustr, n * sizeof(Py_UNICODE)); in array_fromunicode()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
D_json.c370 PyObject *ustr = PyUnicode_FromUnicode(NULL, 0); in join_list_unicode() local
371 if (ustr == NULL) in join_list_unicode()
374 joinfn = PyObject_GetAttrString(ustr, "join"); in join_list_unicode()
375 Py_DECREF(ustr); in join_list_unicode()
Darraymodule.c1440 Py_UNICODE *ustr; in array_fromunicode() local
1443 if (!PyArg_ParseTuple(args, "u#:fromunicode", &ustr, &n)) in array_fromunicode()
1465 ustr, n * sizeof(Py_UNICODE)); in array_fromunicode()