Lines Matching refs:utf16
639 - utf16 = grub_malloc (utf16len * sizeof (utf16[0]));
640 + utf16 = grub_calloc (utf16len, sizeof (utf16[0]));
641 if (!utf16)
648 - utf16 = grub_malloc (utf16len * sizeof (utf16[0]));
649 + utf16 = grub_calloc (utf16len, sizeof (utf16[0]));
650 if (!utf16)
1033 - utf16 = grub_malloc (sizeof (grub_uint16_t) * len);
1034 + utf16 = grub_calloc (len, sizeof (grub_uint16_t));
1035 if (!utf16)
1039 grub_uint16_t *utf16;
1042 - utf16 = grub_malloc (sizeof (grub_uint16_t) * namelen);
1043 + utf16 = grub_calloc (namelen, sizeof (grub_uint16_t));
1044 if (!utf16)
1046 grub_memcpy (utf16, name, sizeof (grub_uint16_t) * namelen);