Lines Matching refs:nbytes
598 if (space_seq == NULL || space_seq->nbytes != 1) in ctype_finish()
655 int nbytes = charmap->width_rules[cnt].from->nbytes; in ctype_finish() local
663 memcpy (bytes, charmap->width_rules[cnt].from->bytes, nbytes); in ctype_finish()
665 while (nbytes < charmap->width_rules[cnt].to->nbytes in ctype_finish()
667 nbytes) <= 0) in ctype_finish()
673 = charmap_find_symbol (charmap, (char *) bytes, nbytes); in ctype_finish()
690 inner = nbytes - 1; in ctype_finish()
697 if (nbytes >= charmap->width_rules[cnt].to->nbytes) in ctype_finish()
701 memset (&bytes[1], 0, nbytes); in ctype_finish()
702 ++nbytes; in ctype_finish()
707 while (++inner < nbytes) in ctype_finish()
791 ctype->mbdigits[cnt]->nbytes = 1; in ctype_finish()
853 .nbytes = 1, in ctype_finish()
1034 ctype->mbdigits[cnt]->nbytes); in ctype_output()
1044 ctype->mboutdigits[cnt]->nbytes); in ctype_output()
1401 if (seq != NULL && seq->nbytes == 1) in charclass_symbolic_ellipsis()
1524 if (seq->ucs4 == last_wch && seq->nbytes == 1) in charclass_ucs4_ellipsis()
1587 if (now->val.charcode.nbytes != last_charcode_len) in charclass_charcode_ellipsis()
1654 seq->nbytes = last_charcode_len; in charclass_charcode_ellipsis()
1673 seq->nbytes = last_charcode_len; in charclass_charcode_ellipsis()
2293 if (!ignore_content && seq != NULL && seq->nbytes == 1) in ctype_read()
2316 last_charcode_len = now->val.charcode.nbytes; in ctype_read()
2597 if (from_seq != NULL && from_seq->nbytes == 1 in ctype_read()
2599 && to_seq != NULL && (to_seq->nbytes != 1 in ctype_read()
2604 && from_seq->nbytes == 1 && to_seq->nbytes == 1) in ctype_read()
2881 else if (seq->nbytes != 1) in set_one_default()
2977 else if (seq->nbytes != 1) in set_class_defaults()
2996 else if (seq->nbytes != 1) in set_class_defaults()
3016 else if (seq->nbytes != 1) in set_class_defaults()
3036 else if (seq->nbytes != 1) in set_class_defaults()
3056 else if (seq->nbytes != 1) in set_class_defaults()
3076 else if (seq->nbytes != 1) in set_class_defaults()
3115 else if (seq->nbytes != 1) in set_class_defaults()
3135 else if (seq->nbytes != 1) in set_class_defaults()
3201 else if (seq->nbytes != 1) in set_class_defaults()
3242 else if (seq_from->nbytes != 1) in set_class_defaults()
3265 else if (seq_to->nbytes != 1) in set_class_defaults()
3332 ctype->mboutdigits[cnt]->nbytes = 1; in set_class_defaults()
3792 int nbytes = charmap->width_rules[cnt].from->nbytes; in allocate_arrays() local
3800 memcpy (bytes, charmap->width_rules[cnt].from->bytes, nbytes); in allocate_arrays()
3802 while (nbytes < charmap->width_rules[cnt].to->nbytes in allocate_arrays()
3804 nbytes) <= 0) in allocate_arrays()
3810 charmap_find_symbol (charmap, (char *) bytes, nbytes); in allocate_arrays()
3833 inner = nbytes - 1; in allocate_arrays()
3840 if (nbytes >= charmap->width_rules[cnt].to->nbytes) in allocate_arrays()
3844 memset (&bytes[1], 0, nbytes); in allocate_arrays()
3845 ++nbytes; in allocate_arrays()
3850 while (++inner < nbytes) in allocate_arrays()