Searched refs:efi_char (Results 1 - 11 of 11) sorted by relevance
/freebsd-12-stable/stand/efi/include/ |
H A D | efichar.h | 35 typedef CHAR16 efi_char; typedef 38 int ucs2_to_utf8(const efi_char *, char **); 39 int utf8_to_ucs2(const char *, efi_char **, size_t *); 40 int ucs2len(const efi_char *);
|
/freebsd-12-stable/stand/efi/libefi/ |
H A D | efichar.c | 46 ucs2len(const efi_char *str) 61 utf8_len_of_ucs2(const efi_char *nm) 64 efi_char c; 81 ucs2_to_utf8(const efi_char *nm, char **name) 84 efi_char c; 131 utf8_to_ucs2(const char *name, efi_char **nmp, size_t *len) 133 efi_char *nm; 183 *nm++ = (efi_char)ucs4;
|
H A D | efienv.c | 101 (ucs2len(valstr) + 1) * sizeof(efi_char), valstr);
|
/freebsd-12-stable/usr.sbin/efivar/ |
H A D | efiutil.c | 79 efi_char *ucs2; 85 ucs2 = malloc(datalen + sizeof(efi_char)); 87 ucs2[datalen / sizeof(efi_char)] = 0; 125 efi_char *descr; 133 if (datalen < sizeof(attr) + sizeof(fplen) + sizeof(efi_char)) 142 descr = (efi_char *)(intptr_t)(void *)walker; 144 walker += (len + 1) * sizeof(efi_char);
|
/freebsd-12-stable/sys/sys/ |
H A D | efi.h | 49 typedef uint16_t efi_char; typedef 140 efi_status (*rt_getvar)(efi_char *, struct uuid *, uint32_t *, 142 efi_status (*rt_scanvar)(u_long *, efi_char *, struct uuid *) 144 efi_status (*rt_setvar)(efi_char *, struct uuid *, uint32_t, 148 efi_char *) EFIABI_ATTR; 155 efi_char *st_fwvendor;
|
H A D | efiio.h | 43 efi_char *name; /* User pointer to name, in wide chars */
|
/freebsd-12-stable/lib/libefivar/ |
H A D | efivar.c | 219 static efi_char *buf; 220 static size_t buflen = 256 * sizeof(efi_char); 233 buf = malloc(buflen + sizeof(efi_char)); 254 void *new = realloc(buf, var.namesize + sizeof(efi_char)); 268 var.name[var.namesize / sizeof(efi_char)] = 0; /* EFI doesn't NUL terminate */
|
H A D | efivar-dp-parse.c | 3036 efi_char * v;
|
/freebsd-12-stable/sys/dev/efidev/ |
H A D | efidev.c | 82 efi_char *name; 89 if (name[ev->namesize / sizeof(efi_char) - 1] != 0) { 117 efi_char *name; 140 efi_char *name; 154 if (name[ev->namesize / sizeof(efi_char) - 1] != 0) {
|
H A D | efirt.c | 475 efi_var_get(efi_char *name, struct uuid *vendor, uint32_t *attrib, 495 efi_var_nextname(size_t *namesize, efi_char *name, struct uuid *vendor) 512 efi_var_set(efi_char *name, struct uuid *vendor, uint32_t attrib,
|
/freebsd-12-stable/usr.sbin/efibootmgr/ |
H A D | efibootmgr.c | 580 efi_char *bbuf = NULL; 714 efi_char *descr; 723 if (datalen < sizeof(attr) + sizeof(fplen) + sizeof(efi_char)) 732 descr = (efi_char *)(intptr_t)(void *)walker; 734 walker += (len + 1) * sizeof(efi_char); 769 efi_char *desc; 775 desc = (efi_char*)(intptr_t)(void *)pos;
|
Completed in 185 milliseconds