Lines Matching full:graphic
183 graphic_t *graphic; in _citrus_HZ_mbrtowc_priv() local
200 graphic = NULL; in _citrus_HZ_mbrtowc_priv()
220 graphic = GR(psenc->inuse); in _citrus_HZ_mbrtowc_priv()
224 graphic = GL(psenc->inuse); in _citrus_HZ_mbrtowc_priv()
229 if (graphic == NULL) in _citrus_HZ_mbrtowc_priv()
266 if (graphic != GR(psenc->inuse)) in _citrus_HZ_mbrtowc_priv()
270 if (graphic != GL(psenc->inuse)) in _citrus_HZ_mbrtowc_priv()
273 range = &ranges[(size_t)graphic->charset]; in _citrus_HZ_mbrtowc_priv()
278 if (graphic->length == (tail - head)) { in _citrus_HZ_mbrtowc_priv()
279 if (graphic->charset > GB2312) in _citrus_HZ_mbrtowc_priv()
305 graphic_t *graphic; in _citrus_HZ_wcrtomb_priv() local
320 graphic = (bit == 0) ? candidate->left : candidate->right; in _citrus_HZ_wcrtomb_priv()
321 if (graphic == NULL) in _citrus_HZ_wcrtomb_priv()
326 graphic = ei->ascii; in _citrus_HZ_wcrtomb_priv()
327 if (graphic == NULL) in _citrus_HZ_wcrtomb_priv()
329 candidate = graphic->escape; in _citrus_HZ_wcrtomb_priv()
330 range = &ranges[(size_t)graphic->charset]; in _citrus_HZ_wcrtomb_priv()
331 len = graphic->length; in _citrus_HZ_wcrtomb_priv()
333 graphic = ei->gb2312; in _citrus_HZ_wcrtomb_priv()
334 if (graphic == NULL) in _citrus_HZ_wcrtomb_priv()
336 candidate = graphic->escape; in _citrus_HZ_wcrtomb_priv()
337 range = &ranges[(size_t)graphic->charset]; in _citrus_HZ_wcrtomb_priv()
338 len = graphic->length; in _citrus_HZ_wcrtomb_priv()
348 graphic = (bit == 0) ? candidate->left : candidate->right; in _citrus_HZ_wcrtomb_priv()
349 if (graphic == NULL) in _citrus_HZ_wcrtomb_priv()
351 range = &ranges[(size_t)graphic->charset]; in _citrus_HZ_wcrtomb_priv()
352 len = graphic->length; in _citrus_HZ_wcrtomb_priv()
530 graphic_t *graphic; in _citrus_HZ_parse_graphic() local
536 graphic = calloc(1, sizeof(*graphic)); in _citrus_HZ_parse_graphic()
537 if (graphic == NULL) in _citrus_HZ_parse_graphic()
542 GL(escape) = graphic; in _citrus_HZ_parse_graphic()
546 GR(escape) = graphic; in _citrus_HZ_parse_graphic()
549 free(graphic); in _citrus_HZ_parse_graphic()
552 graphic->escape = escape; in _citrus_HZ_parse_graphic()
556 graphic->charset = ASCII; in _citrus_HZ_parse_graphic()
557 graphic->length = 1; in _citrus_HZ_parse_graphic()
558 ei->ascii = graphic; in _citrus_HZ_parse_graphic()
563 graphic->charset = GB2312; in _citrus_HZ_parse_graphic()
564 graphic->length = 2; in _citrus_HZ_parse_graphic()
565 ei->gb2312 = graphic; in _citrus_HZ_parse_graphic()
568 graphic->charset = CS94; in _citrus_HZ_parse_graphic()
570 graphic->charset = CS96; in _citrus_HZ_parse_graphic()
576 graphic->length = (size_t)(*s - '0'); in _citrus_HZ_parse_graphic()