Lines Matching refs:PyString_AS_STRING
356 p = PyString_AS_STRING(out); in getenvironment()
370 if (strlen(PyString_AS_STRING(key)) != ksize || in getenvironment()
371 strlen(PyString_AS_STRING(value)) != vsize) in getenvironment()
378 if (ksize == 0 || strchr(PyString_AS_STRING(key) + 1, '=') != NULL) { in getenvironment()
382 totalsize = (p - PyString_AS_STRING(out)) + ksize + 1 + in getenvironment()
385 size_t offset = p - PyString_AS_STRING(out); in getenvironment()
388 p = PyString_AS_STRING(out) + offset; in getenvironment()
390 memcpy(p, PyString_AS_STRING(key), ksize); in getenvironment()
393 memcpy(p, PyString_AS_STRING(value), vsize); in getenvironment()
400 _PyString_Resize(&out, p - PyString_AS_STRING(out)); in getenvironment()
486 environment ? PyString_AS_STRING(environment) : NULL, in sp_CreateProcess()