Home
last modified time | relevance | path

Searched refs:utf8 (Results 1 – 15 of 15) sorted by relevance

/device/linaro/bootloader/edk2/BaseTools/Scripts/
DConvertUni.py37 def __init__(self, utf8, source): argument
38 self.utf8 = utf8
60 if self.utf8:
76 if bom != self.utf8:
118 self.ok &= ConvertOneArg(self.utf8, arg).ok
134 self.utf8 = not self.args.utf_16
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/
Dtokenizer.c390 PyObject* utf8 = NULL; in fp_readl()
406 utf8 = buf; in fp_readl()
408 if (utf8 == NULL) { in fp_readl()
409 utf8 = PyUnicode_AsUTF8String(buf); in fp_readl()
411 if (utf8 == NULL) in fp_readl()
414 str = PyString_AsString(utf8); in fp_readl()
415 utf8len = PyString_GET_SIZE(utf8); in fp_readl()
419 Py_DECREF(utf8); in fp_readl()
426 Py_DECREF(utf8); in fp_readl()
590 PyObject *utf8; in translate_into_utf8() local
[all …]
DPython.asdl49 -- col_offset is the byte offset in the utf8 string the parser uses
83 -- col_offset is the byte offset in the utf8 string the parser uses
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Parser/
Dtokenizer.c404 PyObject* utf8 = NULL; in fp_readl()
426 utf8 = buf; in fp_readl()
428 if (utf8 == NULL) { in fp_readl()
429 utf8 = PyUnicode_AsUTF8String(buf); in fp_readl()
431 if (utf8 == NULL) in fp_readl()
434 str = PyString_AsString(utf8); in fp_readl()
435 utf8len = PyString_GET_SIZE(utf8); in fp_readl()
439 Py_DECREF(utf8); in fp_readl()
446 Py_DECREF(utf8); in fp_readl()
610 PyObject *utf8; in translate_into_utf8() local
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/expat/
Dxmltok.c1252 char utf8[256][4]; member
1299 const char *utf8; in unknown_toUtf8() local
1303 utf8 = uenc->utf8[(unsigned char)**fromP]; in unknown_toUtf8()
1304 n = *utf8++; in unknown_toUtf8()
1310 utf8 = buf; in unknown_toUtf8()
1320 *(*toP)++ = *utf8++; in unknown_toUtf8()
1366 e->utf8[i][0] = 1; in XmlInitUnknownEncoding()
1367 e->utf8[i][1] = 0; in XmlInitUnknownEncoding()
1373 e->utf8[i][0] = 0; in XmlInitUnknownEncoding()
1382 e->utf8[i][0] = 1; in XmlInitUnknownEncoding()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/expat/
Dxmltok.c1244 char utf8[256][4]; member
1291 const char *utf8; in unknown_toUtf8() local
1295 utf8 = uenc->utf8[(unsigned char)**fromP]; in unknown_toUtf8()
1296 n = *utf8++; in unknown_toUtf8()
1302 utf8 = buf; in unknown_toUtf8()
1312 *(*toP)++ = *utf8++; in unknown_toUtf8()
1358 e->utf8[i][0] = 1; in XmlInitUnknownEncoding()
1359 e->utf8[i][1] = 0; in XmlInitUnknownEncoding()
1365 e->utf8[i][0] = 0; in XmlInitUnknownEncoding()
1374 e->utf8[i][0] = 1; in XmlInitUnknownEncoding()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_multibytecodec_support.py38 for native, utf8 in zip(*[StringIO(f).readlines()
41 self.assertEqual(u, utf8.decode('utf-8'))
337 utf8 = f.read()
338 return encoded, utf8
Dtest_xmlrpc.py150 utf8 = """<?xml version='1.0' encoding='iso-8859-1'?>
175 (s, d), m = xmlrpclib.loads(utf8)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
D_testcapimodule.c1076 PyObject *wide, *utf8; in test_widechar() local
1082 utf8 = PyUnicode_FromString("\xf4\x8a\xaf\x8d"); in test_widechar()
1083 if (utf8 == NULL) { in test_widechar()
1088 if (PyUnicode_GET_SIZE(wide) != PyUnicode_GET_SIZE(utf8)) { in test_widechar()
1090 Py_DECREF(utf8); in test_widechar()
1094 if (PyUnicode_Compare(wide, utf8)) { in test_widechar()
1096 Py_DECREF(utf8); in test_widechar()
1104 Py_DECREF(utf8); in test_widechar()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Python/
Dmarshal.c345 PyObject *utf8; in w_object() local
346 utf8 = PyUnicode_AsUTF8String(v); in w_object()
347 if (utf8 == NULL) { in w_object()
353 n = PyString_GET_SIZE(utf8); in w_object()
360 w_string(PyString_AS_STRING(utf8), (int)n, p); in w_object()
361 Py_DECREF(utf8); in w_object()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Python/
Dmarshal.c363 PyObject *utf8; in w_object() local
364 utf8 = PyUnicode_AsUTF8String(v); in w_object()
365 if (utf8 == NULL) { in w_object()
371 w_pstring(PyString_AS_STRING(utf8), PyString_GET_SIZE(utf8), p); in w_object()
372 Py_DECREF(utf8); in w_object()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dmarshal.c345 PyObject *utf8; in w_object() local
346 utf8 = PyUnicode_AsUTF8String(v); in w_object()
347 if (utf8 == NULL) { in w_object()
353 n = PyString_GET_SIZE(utf8); in w_object()
360 w_string(PyString_AS_STRING(utf8), (int)n, p); in w_object()
361 Py_DECREF(utf8); in w_object()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/
DREADME166 enc/utf8.c UTF-8 encoding.
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/
Dtest_email_renamed.py578 utf8 = Charset("utf-8")
584 h.append(utf8_head, utf8)
2833 utf8 = Charset("utf-8")
2839 h.append(utf8_head, utf8)
Dtest_email.py641 utf8 = Charset("utf-8")
647 h.append(utf8_head, utf8)
3007 utf8 = Charset("utf-8")
3013 h.append(utf8_head, utf8)