Searched refs:newtok (Results 1 – 2 of 2) sorted by relevance
880 char *newtok = PyOS_Readline(stdin, stdout, tok->prompt); in tok_nextc() local883 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 …]
860 char *newtok = PyOS_Readline(stdin, stdout, tok->prompt); in tok_nextc() local863 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 …]