Lines Matching refs:gs
98 _GB2312State *gs;
103 gs = (_GB2312State *)ps;
105 if (gs->count < 0 || gs->count > sizeof(gs->bytes)) {
116 ncopy = MIN(MIN(n, GB2312_MB_CUR_MAX), sizeof(gs->bytes) - gs->count);
117 memcpy(gs->bytes + gs->count, s, ncopy);
118 ocount = gs->count;
119 gs->count += ncopy;
120 s = (char *)gs->bytes;
121 n = gs->count;
131 gs->count = 0;
138 _GB2312State *gs;
140 gs = (_GB2312State *)ps;
142 if (gs->count != 0) {