Lines Matching refs:gs
83 _GB18030State *gs;
88 gs = (_GB18030State *)ps;
90 if (gs->count < 0 || gs->count > sizeof(gs->bytes)) {
101 ncopy = MIN(MIN(n, MB_CUR_MAX), sizeof(gs->bytes) - gs->count);
102 memcpy(gs->bytes + gs->count, s, ncopy);
103 ocount = gs->count;
104 gs->count += ncopy;
105 s = (char *)gs->bytes;
106 n = gs->count;
156 gs->count = 0;
166 _GB18030State *gs;
170 gs = (_GB18030State *)ps;
172 if (gs->count != 0) {