Lines Matching refs:gs
112 _GB2312State *gs;
117 gs = (_GB2312State *)ps;
119 if (gs->count < 0 || gs->count > sizeof(gs->bytes)) {
130 ncopy = MIN(MIN(n, MB_CUR_MAX), sizeof(gs->bytes) - gs->count);
131 memcpy(gs->bytes + gs->count, s, ncopy);
132 ocount = gs->count;
133 gs->count += ncopy;
134 s = (char *)gs->bytes;
135 n = gs->count;
145 gs->count = 0;
152 _GB2312State *gs;
154 gs = (_GB2312State *)ps;
156 if (gs->count != 0) {