Searched refs:ascii (Results 1 – 2 of 2) sorted by relevance
164 size_t lv_uefi_ucs2_to_ascii(const CHAR16 * ucs2, char * ascii, size_t ascii_len) in lv_uefi_ucs2_to_ascii() argument169 if(ucs2 == NULL || ascii == NULL || ascii_len == 0) { in lv_uefi_ucs2_to_ascii()179 ascii[string_index] = (char) ucs2[string_index]; in lv_uefi_ucs2_to_ascii()183 ascii[string_index] = 0x00; in lv_uefi_ucs2_to_ascii()197 size_t lv_uefi_ascii_to_ucs2(const char * ascii, CHAR16 * ucs2, size_t ucs2_len) in lv_uefi_ascii_to_ucs2() argument202 if(ascii == NULL || ucs2 == NULL || ucs2_len == 0) { in lv_uefi_ascii_to_ucs2()208 …for(string_index = 0; ascii[string_index] != 0x0000 && string_index < ucs2_len - 1; string_index++… in lv_uefi_ascii_to_ucs2()209 if(ascii[string_index] < 0x20 || ascii[string_index] > 0x7E) { in lv_uefi_ascii_to_ucs2()212 ucs2[string_index] = (CHAR16) ascii[string_index]; in lv_uefi_ascii_to_ucs2()
84 size_t lv_uefi_ucs2_to_ascii(const CHAR16 * ucs2, char * ascii, size_t ascii_len);95 size_t lv_uefi_ascii_to_ucs2(const char * ascii, CHAR16 * ucs2, size_t ucs2_len);