Home
last modified time | relevance | path

Searched refs:new_string (Results 1 – 3 of 3) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_xml_etree.py100 new_string = string + ""
101 new_string = string + " "
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Parser/
Dtokenizer.c134 new_string(const char *s, Py_ssize_t len) in new_string() function
161 return new_string(str, strlen(str)); in decode_str()
237 char* r = new_string(begin, t - begin); in get_coding_spec()
241 r = new_string(q, strlen(q)); in get_coding_spec()
377 tok->encoding = new_string("utf-8", 5); /* resulting is in utf-8 */ in check_bom()
816 converted = new_string(PyString_AS_STRING(utf8), in tok_stdin_decode()
826 tok->encoding = new_string(encoding, strlen(encoding)); in tok_stdin_decode()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/
Dtokenizer.c134 new_string(const char *s, Py_ssize_t len) in new_string() function
161 return new_string(str, strlen(str)); in decode_str()
237 char* r = new_string(begin, t - begin); in get_coding_spec()
241 r = new_string(q, strlen(q)); in get_coding_spec()
363 tok->encoding = new_string("utf-8", 5); /* resulting is in utf-8 */ in check_bom()
796 converted = new_string(PyString_AS_STRING(utf8), in tok_stdin_decode()
806 tok->encoding = new_string(encoding, strlen(encoding)); in tok_stdin_decode()