Home
last modified time | relevance | path

Searched refs:width_rules (Results 1 – 3 of 3) sorted by relevance

/glibc-2.36/locale/programs/
Dcharmap.c908 memcpy (new_rules, result->width_rules, in new_width()
911 result->width_rules = new_rules; in new_width()
915 result->width_rules[result->nwidth_rules].from = from_val; in new_width()
916 result->width_rules[result->nwidth_rules].to = to_val; in new_width()
917 result->width_rules[result->nwidth_rules].width = (unsigned int) width; in new_width()
Dcharmap.h43 struct width_rule *width_rules; member
Dld-ctype.c651 if (charmap->width_rules != NULL) in ctype_finish()
655 int nbytes = charmap->width_rules[cnt].from->nbytes; in ctype_finish()
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()
666 || memcmp (bytes, charmap->width_rules[cnt].to->bytes, in ctype_finish()
697 if (nbytes >= charmap->width_rules[cnt].to->nbytes) in ctype_finish()
3761 if (charmap->width_rules != NULL) in allocate_arrays()
3765 int nbytes = charmap->width_rules[cnt].from->nbytes; in allocate_arrays()
3773 memcpy (bytes, charmap->width_rules[cnt].from->bytes, nbytes); in allocate_arrays()
3775 while (nbytes < charmap->width_rules[cnt].to->nbytes in allocate_arrays()
[all …]