Searched refs:template_buffer (Results 1 – 2 of 2) sorted by relevance
1060 static unsigned char template_buffer[256] = {0}; in PyUnknownEncodingHandler() local1069 if (template_buffer[1] == 0) { in PyUnknownEncodingHandler()1071 template_buffer[i] = i; in PyUnknownEncodingHandler()1074 u = PyUnicode_Decode((char*) template_buffer, 256, name, "replace"); in PyUnknownEncodingHandler()
1226 static char template_buffer[257]; variable1234 template_buffer[i] = i; in init_template_buffer()1236 template_buffer[256] = 0; in init_template_buffer()1250 PyUnicode_Decode(template_buffer, 256, name, "replace"); in PyUnknownEncodingHandler()