Lines Matching defs:ps
41 mbstate_t ps;
46 memset(&ps, 0, sizeof(ps));
53 size_t res = src ? wcrtomb(buf, src, &ps) : 0;
77 memset(&ps, 0, sizeof(ps));
81 size_t res = src ? wcrtomb(&out[j], src, &ps) : 0;
101 mbstate_t ps;
106 memset(&ps, 0, sizeof(ps));
109 size_t res = mbrtowc(NULL, src, native_mb.size() - i, &ps);
132 memset(&ps, 0, sizeof(ps)); // Clear the shift state.
138 size_t res = mbrtowc(dst, src, native_mb.size() - i, &ps);