Lines Matching refs:wstr
390 decode_ascii(const char *arg, wchar_t **wstr, size_t *wlen,
436 *wstr = res;
442 decode_current_locale(const char* arg, wchar_t **wstr, size_t *wlen,
479 *wstr = res;
545 *wstr = res;
561 return decode_ascii(arg, wstr, wlen, reason, errors);
575 *wstr (use PyMem_RawFree() to free the memory). If wlen is not NULL, write
589 _Py_DecodeLocaleEx(const char* arg, wchar_t **wstr, size_t *wlen,
595 return _Py_DecodeUTF8Ex(arg, strlen(arg), wstr, wlen, reason,
598 return decode_current_locale(arg, wstr, wlen, reason, errors);
603 return _Py_DecodeUTF8Ex(arg, strlen(arg), wstr, wlen, reason,
611 return _Py_DecodeUTF8Ex(arg, strlen(arg), wstr, wlen, reason,
622 return decode_ascii(arg, wstr, wlen, reason, errors);
626 return decode_current_locale(arg, wstr, wlen, reason, errors);
653 wchar_t *wstr;
654 int res = _Py_DecodeLocaleEx(arg, &wstr, wlen,
664 return wstr;
912 wchar_t *wstr;
913 int res = decode_current_locale(encoding, &wstr, NULL,
918 return wstr;