Lines Matching refs:gs
95 _GB18030State *gs;
100 gs = (_GB18030State *)ps;
102 if (gs->count < 0 || gs->count > sizeof(gs->bytes)) {
113 ncopy = MIN(MIN(n, MB_CUR_MAX), sizeof(gs->bytes) - gs->count);
114 memcpy(gs->bytes + gs->count, s, ncopy);
115 ocount = gs->count;
116 gs->count += ncopy;
117 s = (char *)gs->bytes;
118 n = gs->count;
168 gs->count = 0;
178 _GB18030State *gs;
182 gs = (_GB18030State *)ps;
184 if (gs->count != 0) {