/xen/tools/xenpmd/ |
A D | xenpmd.c | 195 strncpy(info->model_number, attrib_value, 31); in set_attribute_battery_info() 202 strncpy(info->serial_number, attrib_value, 31); in set_attribute_battery_info() 209 strncpy(info->battery_type, attrib_value, 31); in set_attribute_battery_info() 216 strncpy(info->oem_info, attrib_value, 31); in set_attribute_battery_info() 279 strncpy(attrib_name, line_info, delimiter-line_info); in parse_battery_info_or_status() 286 strncpy(attrib_value, delimiter+1, in parse_battery_info_or_status()
|
/xen/tools/firmware/rombios/32bit/ |
A D | util.h | 20 char *strncpy(char *dest, const char *src, unsigned n);
|
A D | util.c | 151 strncpy(char *dest, const char *src, unsigned n) in strncpy() function
|
/xen/tools/libacpi/ |
A D | README | 8 * strncpy
|
A D | build.c | 32 #define fixed_strcpy(d, s) strncpy((d), (s), sizeof(d))
|
/xen/xen/common/libelf/ |
A D | libelf-private.h | 88 do { strncpy((d),(s),sizeof((d))-1); \
|
/xen/xen/include/xen/ |
A D | string.h | 17 #define strncpy __xen_has_no_strncpy__ macro
|
/xen/tools/firmware/hvmloader/ |
A D | smbios.c | 167 strncpy(buf, "Intel", len); in get_cpu_manufacturer() 169 strncpy(buf, "AMD", len); in get_cpu_manufacturer() 171 strncpy(buf, "unknown", len); in get_cpu_manufacturer() 689 strncpy(buf, "CPU ", sizeof(buf)); in smbios_type_4_init()
|
A D | util.h | 171 char *strncpy(char *dest, const char *src, unsigned n);
|
A D | util.c | 191 strncpy(char *dest, const char *src, unsigned n) in strncpy() function
|
/xen/tools/misc/ |
A D | xenperf.c | 178 strncpy(hypercall_name, hypercall_name_table[j], in main()
|
A D | xen-livepatch.c | 189 strncpy(name, argv[0], len); in get_name()
|
/xen/xen/include/acpi/platform/ |
A D | acenv.h | 235 #define ACPI_STRNCPY(d,s,n) (void) strncpy((d), (s), (acpi_size)(n))
|
/xen/xen/tools/kconfig/ |
A D | nconf.gui.c | 227 strncpy(tmp, line, min(len, x)); in fill_window() 400 strncpy(result, init, *result_len); in dialog_inputbox()
|
/xen/tools/libxc/ |
A D | xc_dom_x86.c | 773 strncpy(start_info->magic, dom->guest_type, sizeof(start_info->magic)); in start_info_x86_32() 795 strncpy((char *)start_info->cmd_line, dom->cmdline, MAX_GUEST_CMDLINE); in start_info_x86_32() 819 strncpy(start_info->magic, dom->guest_type, sizeof(start_info->magic)); in start_info_x86_64() 846 strncpy((char *)start_info->cmd_line, dom->cmdline, MAX_GUEST_CMDLINE); in start_info_x86_64() 1756 strncpy(modules_cmdline_start + HVMLOADER_MODULE_CMDLINE_SIZE * index, in add_module_to_list() 1793 strncpy(cmdline, dom->cmdline, dom->cmdline_size); in bootlate_hvm()
|
A D | xc_dom_boot.c | 74 strncpy(xen_caps, dom->xen_caps, XEN_CAPABILITIES_INFO_LEN - 1); in xc_dom_compat_check()
|
A D | xc_pm.c | 308 strncpy(scaling_governor, govname, CPUFREQ_NAME_LEN - 1); in xc_set_cpufreq_gov()
|
A D | xc_private.c | 586 strncpy(errbuf, strerror_str, XS_BUFSIZE); in xc_strerror()
|
/xen/tools/libxl/ |
A D | libxl_json.c | 762 strncpy(t, s, len); in json_callback_number() 785 strncpy(t, (const char *) str, len); in json_callback_string() 809 strncpy(t, (const char *) str, len); in json_callback_map_key()
|
A D | libxl_utils.c | 796 strncpy(p, "0x", 3); in libxl_bitmap_to_hex_string() 1262 strncpy(un->sun_path, path, sizeof(un->sun_path) - 1); in libxl__prepare_sockaddr_un()
|
A D | libxl_cpuid.c | 409 strncpy(entry->policy[value], str, 32); in libxl_cpuid_parse_config_xend()
|
A D | libxlu_cfg.c | 637 strncpy(numbuf,p,(maxlen)); \ in xlu__cfgl_dequote()
|
/xen/xen/tools/kconfig/lxdialog/ |
A D | checklist.c | 23 strncpy(list_item, item_str(), list_width - item_x); in print_item()
|
A D | menubox.c | 59 strncpy(menu_item, item, menu_width - item_x); in do_print_item()
|
/xen/stubdom/grub/ |
A D | mini-os.c | 747 strncpy(config_file, argv[1], sizeof(config_file) - 1); in main()
|