Searched refs:utf8 (Results 1 – 12 of 12) sorted by relevance
/systemd-251/src/vconsole/ |
D | vconsole-setup.c | 81 static int toggle_utf8_vc(const char *name, int fd, bool utf8) { in toggle_utf8_vc() argument 88 r = ioctl(fd, KDSKBMODE, utf8 ? K_UNICODE : K_XLATE); in toggle_utf8_vc() 90 …eturn log_warning_errno(errno, "Failed to %s UTF-8 kbdmode on %s: %m", enable_disable(utf8), name); in toggle_utf8_vc() 92 r = loop_write(fd, utf8 ? "\033%G" : "\033%@", 3, false); in toggle_utf8_vc() 94 …n log_warning_errno(r, "Failed to %s UTF-8 term processing on %s: %m", enable_disable(utf8), name); in toggle_utf8_vc() 98 SET_FLAG(tc.c_iflag, IUTF8, utf8); in toggle_utf8_vc() 102 … return log_warning_errno(errno, "Failed to %s iutf8 flag on %s: %m", enable_disable(utf8), name); in toggle_utf8_vc() 104 log_debug("UTF-8 kbdmode %sd on %s", enable_disable(utf8), name); in toggle_utf8_vc() 108 static int toggle_utf8_sysfs(bool utf8) { in toggle_utf8_sysfs() argument 111 …r = write_string_file("/sys/module/vt/parameters/default_utf8", one_zero(utf8), WRITE_STRING_FILE_… in toggle_utf8_sysfs() [all …]
|
/systemd-251/src/resolve/ |
D | resolved-util.c | 13 _cleanup_free_ char *utf8 = NULL; in resolve_system_hostname() local 47 r = sym_idn2_to_unicode_8z8z(label, &utf8, 0); in resolve_system_hostname() 51 assert(utf8_is_valid(utf8)); in resolve_system_hostname() 53 r = strlen(utf8); in resolve_system_hostname() 54 decoded = utf8; in resolve_system_hostname()
|
/systemd-251/src/test/ |
D | test-utf8.c | 173 static const char utf8[] = { 'a', 'b', 'c', 0xf0, 0x90, 0x90, 0xb7 }; in TEST() local 180 assert_se(memcmp(a, utf8, sizeof(utf8)) == 0); in TEST() 183 b = utf8_to_utf16(utf8, sizeof(utf8)); in TEST() 189 assert_se(strlen(a) == sizeof(utf8)); in TEST() 190 assert_se(memcmp(a, utf8, sizeof(utf8)) == 0); in TEST()
|
D | meson.build | 154 [files('test-utf8.c')],
|
/systemd-251/src/locale/ |
D | kbd-model-map | 33 bg_pho-utf8 bg,us pc105 ,phonetic terminate:ctrl_alt_bksp,grp:shifts_toggle,grp_led:scroll 44 bg_bds-utf8 bg,us pc105 - terminate:ctrl_alt_bksp,grp:shifts_toggle,grp_led:scroll
|
/systemd-251/test/test-keymap-util/ |
D | kbd-model-map | 33 bg_pho-utf8 bg,us pc105 ,phonetic terminate:ctrl_alt_bksp,grp:shifts_toggle,grp_led:scroll 44 bg_bds-utf8 bg,us pc105 - terminate:ctrl_alt_bksp,grp:shifts_toggle,grp_led:scroll
|
/systemd-251/ |
D | mkosi.build | 38 elif locale -a | grep -q en_US.utf8; then
|
D | NEWS | 11743 "sd-rtnl.h", "sd-resolve.h", "sd-utf8.h" are found in this 11755 and "sd-utf8.h" are compile-time optional via the
|
/systemd-251/src/systemd/ |
D | meson.build | 39 'sd-utf8.h',
|
/systemd-251/src/libsystemd/ |
D | meson.build | 160 'sd-utf8/sd-utf8.c',
|
/systemd-251/src/basic/ |
D | meson.build | 254 'utf8.c', 255 'utf8.h',
|
/systemd-251/src/boot/ |
D | bootctl.c | 2080 char utf8[DECIMAL_STR_MAX(usec_t)]; in parse_timeout() local 2101 xsprintf(utf8, USEC_FMT, MIN(timeout / USEC_PER_SEC, UINT32_MAX)); in parse_timeout() 2103 encoded = utf8_to_utf16(utf8, strlen(utf8)); in parse_timeout()
|