Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/
Dstructseq.c193 const char *cname, *crepr; in structseq_repr() local
205 crepr = PyUnicode_AsUTF8(repr); in structseq_repr()
206 if (crepr == NULL) { in structseq_repr()
212 len = strlen(cname) + strlen(crepr) + 3; in structseq_repr()
217 strcpy(pbuf, crepr); in structseq_repr()
218 pbuf += strlen(crepr); in structseq_repr()
/external/python/cpython2/Objects/
Dstructseq.c263 char *cname, *crepr; in structseq_repr() local
276 crepr = PyString_AsString(repr); in structseq_repr()
277 if (crepr == NULL) { in structseq_repr()
284 len = strlen(cname) + strlen(crepr) + 3; in structseq_repr()
289 strcpy(pbuf, crepr); in structseq_repr()
290 pbuf += strlen(crepr); in structseq_repr()