• Home
  • Raw
  • Download

Lines Matching +full:0 +full:xd800

64 		efi_char16_t ch[2] = { 0 };  in efi_printk()
66 ch[0] = *s8; in efi_printk()
68 efi_char16_t nl[2] = { '\r', 0 }; in efi_printk()
102 *map->desc_size = 0; in efi_get_memory_map()
103 key = 0; in efi_get_memory_map()
181 u64 max_addr = 0; in efi_high_alloc()
208 for (i = 0; i < map_size / desc_size; i++) { in efi_high_alloc()
235 * Don't allocate at 0x0. It will confuse code that in efi_high_alloc()
238 if (start == 0x0) in efi_high_alloc()
253 max_addr = 0; in efi_high_alloc()
301 for (i = 0; i < map_size / desc_size; i++) { in efi_low_alloc()
318 * Don't allocate at 0x0. It will confuse code that in efi_low_alloc()
322 if (start == 0x0) in efi_low_alloc()
369 EFI_FILE_MODE_READ, (u64)0); in efi_file_size()
379 info_sz = 0; in efi_file_size()
528 file_addr = 0; in handle_cmdline_files()
529 file_size_total = 0; in handle_cmdline_files()
533 j = 0; /* See close_handles */ in handle_cmdline_files()
538 *load_addr = 0; in handle_cmdline_files()
539 *load_size = 0; in handle_cmdline_files()
544 for (nr_files = 0; *str; nr_files++) { in handle_cmdline_files()
570 for (i = 0; i < nr_files; i++) { in handle_cmdline_files()
600 *p = '\0'; in handle_cmdline_files()
625 status = efi_high_alloc(sys_table_arg, file_size_total, 0x1000, in handle_cmdline_files()
640 for (j = 0; j < nr_files; j++) { in handle_cmdline_files()
684 *load_addr = 0; in handle_cmdline_files()
685 *load_size = 0; in handle_cmdline_files()
707 unsigned long new_addr = 0; in efi_relocate_kernel()
763 return 1 + (c >= 0x80) + (c >= 0x800); in efi_utf8_bytes()
775 if (n && c >= 0xd800 && c <= 0xdbff && in efi_utf16_to_utf8()
776 *src >= 0xdc00 && *src <= 0xdfff) { in efi_utf16_to_utf8()
777 c = 0x10000 + ((c & 0x3ff) << 10) + (*src & 0x3ff); in efi_utf16_to_utf8()
781 if (c >= 0xd800 && c <= 0xdfff) in efi_utf16_to_utf8()
782 c = 0xfffd; /* Unmatched surrogate */ in efi_utf16_to_utf8()
783 if (c < 0x80) { in efi_utf16_to_utf8()
787 if (c < 0x800) { in efi_utf16_to_utf8()
788 *dst++ = 0xc0 + (c >> 6); in efi_utf16_to_utf8()
791 if (c < 0x10000) { in efi_utf16_to_utf8()
792 *dst++ = 0xe0 + (c >> 12); in efi_utf16_to_utf8()
795 *dst++ = 0xf0 + (c >> 18); in efi_utf16_to_utf8()
796 *dst++ = 0x80 + ((c >> 12) & 0x3f); in efi_utf16_to_utf8()
798 *dst++ = 0x80 + ((c >> 6) & 0x3f); in efi_utf16_to_utf8()
800 *dst++ = 0x80 + (c & 0x3f); in efi_utf16_to_utf8()
821 unsigned long cmdline_addr = 0; in efi_convert_cmdline()
824 int options_bytes = 0; /* UTF-8 bytes */ in efi_convert_cmdline()
825 int options_chars = 0; /* UTF-16 chars */ in efi_convert_cmdline()
827 u16 zero = 0; in efi_convert_cmdline()
845 status = efi_high_alloc(sys_table_arg, options_bytes, 0, in efi_convert_cmdline()
854 *s1 = '\0'; in efi_convert_cmdline()