Home
last modified time | relevance | path

Searched refs:newtok (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Parser/
Dtokenizer.c880 char *newtok = PyOS_Readline(stdin, stdout, tok->prompt); in tok_nextc() local
883 if (newtok == NULL) in tok_nextc()
885 else if (*newtok == '\0') { in tok_nextc()
886 PyMem_FREE(newtok); in tok_nextc()
890 else if (tok_stdin_decode(tok, &newtok) != 0) in tok_nextc()
891 PyMem_FREE(newtok); in tok_nextc()
896 size_t newlen = oldlen + strlen(newtok); in tok_nextc()
903 PyMem_FREE(newtok); in tok_nextc()
910 strcpy(tok->buf + oldlen, newtok); in tok_nextc()
911 PyMem_FREE(newtok); in tok_nextc()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/
Dtokenizer.c860 char *newtok = PyOS_Readline(stdin, stdout, tok->prompt); in tok_nextc() local
863 if (newtok == NULL) in tok_nextc()
865 else if (*newtok == '\0') { in tok_nextc()
866 PyMem_FREE(newtok); in tok_nextc()
870 else if (tok_stdin_decode(tok, &newtok) != 0) in tok_nextc()
871 PyMem_FREE(newtok); in tok_nextc()
876 size_t newlen = oldlen + strlen(newtok); in tok_nextc()
883 PyMem_FREE(newtok); in tok_nextc()
890 strcpy(tok->buf + oldlen, newtok); in tok_nextc()
891 PyMem_FREE(newtok); in tok_nextc()
[all …]