Home
last modified time | relevance | path

Searched refs:statbuffer (Results 1 – 12 of 12) sorted by relevance

/external/syslinux/com32/hdt/
Dhdt-menu-dmi.c35 char statbuffer[STATLEN + 1]; in compute_system() local
42 snprintf(statbuffer, sizeof statbuffer, "Vendor: %s", in compute_system()
44 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); in compute_system()
48 snprintf(statbuffer, sizeof statbuffer, "Product Name: %s", in compute_system()
50 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); in compute_system()
54 snprintf(statbuffer, sizeof statbuffer, "Version: %s", dmi->system.version); in compute_system()
55 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); in compute_system()
59 snprintf(statbuffer, sizeof statbuffer, "Serial Number: %s", in compute_system()
61 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); in compute_system()
65 snprintf(statbuffer, sizeof statbuffer, "UUID: %s", dmi->system.uuid); in compute_system()
[all …]
Dhdt-menu-memory.c37 char statbuffer[STATLEN + 1]; in compute_e820() local
51 snprintf(statbuffer, sizeof statbuffer, in compute_e820()
54 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); in compute_e820()
62 snprintf(statbuffer, sizeof statbuffer, in compute_e820()
65 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); in compute_e820()
74 char statbuffer[STATLEN + 1]; in compute_e801() local
83 snprintf(statbuffer, sizeof statbuffer, "%s", "e801 output is bogus"); in compute_e801()
84 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); in compute_e801()
89 snprintf(statbuffer, sizeof statbuffer, in compute_e801()
92 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); in compute_e801()
[all …]
Dhdt-menu-about.c35 char statbuffer[STATLEN + 1]; in compute_aboutmenu() local
43 snprintf(statbuffer, sizeof statbuffer, "Product : %s", PRODUCT_NAME); in compute_aboutmenu()
44 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); in compute_aboutmenu()
49 snprintf(statbuffer, sizeof statbuffer, "Version : %s (%s)", VERSION, in compute_aboutmenu()
51 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); in compute_aboutmenu()
55 snprintf(statbuffer, sizeof statbuffer, "Website : %s",WEBSITE_URL); in compute_aboutmenu()
56 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); in compute_aboutmenu()
60 snprintf(statbuffer, sizeof statbuffer, "IRC Channel : %s",IRC_CHANNEL); in compute_aboutmenu()
61 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); in compute_aboutmenu()
65 snprintf(statbuffer, sizeof statbuffer, "Mailing List: %s", CONTACT); in compute_aboutmenu()
[all …]
Dhdt-menu-summary.c35 char statbuffer[STATLEN + 1]; in compute_summarymenu() local
44 snprintf(statbuffer, sizeof statbuffer, "CPU Vendor: %s", in compute_summarymenu()
46 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); in compute_summarymenu()
50 snprintf(statbuffer, sizeof statbuffer, "CPU Model: %s", in compute_summarymenu()
52 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); in compute_summarymenu()
71 snprintf(statbuffer, sizeof statbuffer, "Features : %s", features); in compute_summarymenu()
72 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); in compute_summarymenu()
80 snprintf(statbuffer, sizeof statbuffer, "System Vendor: %s", in compute_summarymenu()
82 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); in compute_summarymenu()
87 snprintf(statbuffer, sizeof statbuffer, in compute_summarymenu()
[all …]
Dhdt-menu-disk.c83 char statbuffer[STATLEN + 1]; in compute_partition_information() local
88 memset(statbuffer, 0, sizeof statbuffer); in compute_partition_information()
109 snprintf(statbuffer, sizeof statbuffer, "Size : %s", remove_spaces(size)); in compute_partition_information()
110 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); in compute_partition_information()
113 snprintf(statbuffer, sizeof statbuffer, "Type: %s", parttype); in compute_partition_information()
114 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); in compute_partition_information()
118 snprintf(statbuffer, sizeof statbuffer, "Bootloader: %s", in compute_partition_information()
120 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); in compute_partition_information()
125 snprintf(statbuffer, sizeof statbuffer, "Boot Flag: %s", in compute_partition_information()
127 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); in compute_partition_information()
[all …]
Dhdt-menu-vpd.c37 char statbuffer[STATLEN + 1]; /* Status bar */ in compute_vpd() local
45 snprintf(statbuffer, sizeof statbuffer, "Address: %s", in compute_vpd()
47 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); in compute_vpd()
53 snprintf(statbuffer, sizeof statbuffer, "Bios Build ID: %s", in compute_vpd()
55 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); in compute_vpd()
62 snprintf(statbuffer, sizeof statbuffer, "Bios Release Date: %s", in compute_vpd()
64 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); in compute_vpd()
71 snprintf(statbuffer, sizeof statbuffer, "Bios Version: %s", in compute_vpd()
73 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); in compute_vpd()
80 snprintf(statbuffer, sizeof statbuffer, "Default Flash Filename: %s", in compute_vpd()
[all …]
Dhdt-menu-pci.c38 char statbuffer[STATLEN]; in compute_pci_device() local
48 snprintf(statbuffer, sizeof statbuffer, "Vendor Name: %s", in compute_pci_device()
50 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); in compute_pci_device()
55 snprintf(statbuffer, sizeof statbuffer, "Product Name %s", in compute_pci_device()
57 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); in compute_pci_device()
62 snprintf(statbuffer, sizeof statbuffer, "Class Name: %s", in compute_pci_device()
64 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); in compute_pci_device()
69 snprintf(statbuffer, sizeof statbuffer, in compute_pci_device()
72 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); in compute_pci_device()
78 snprintf(statbuffer, sizeof statbuffer, in compute_pci_device()
[all …]
Dhdt-menu-processor.c35 char statbuffer[SUBMENULEN + 1]; in show_flag() local
38 snprintf(statbuffer, sizeof statbuffer, "Flags: %s", buffer); in show_flag()
39 add_item(output_buffer, statbuffer, OPT_INACTIVE, NULL, 0); in show_flag()
55 char statbuffer[STATLEN + 1]; in compute_processor() local
72 snprintf(statbuffer, sizeof statbuffer, "Vendor: %s", hardware->cpu.vendor); in compute_processor()
73 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); in compute_processor()
77 snprintf(statbuffer, sizeof statbuffer, "Model: %s", hardware->cpu.model); in compute_processor()
78 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); in compute_processor()
82 snprintf(statbuffer, sizeof statbuffer, "Number of CPU cores: %d", in compute_processor()
84 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); in compute_processor()
[all …]
Dhdt-menu-vesa.c36 char statbuffer[STATLEN + 1]; in compute_vesa_card() local
44 snprintf(statbuffer, sizeof statbuffer, "Version: %d.%d", in compute_vesa_card()
46 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); in compute_vesa_card()
50 snprintf(statbuffer, sizeof statbuffer, "Vendor Name: %s", in compute_vesa_card()
52 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); in compute_vesa_card()
56 snprintf(statbuffer, sizeof statbuffer, "Product Name: %s", in compute_vesa_card()
58 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); in compute_vesa_card()
63 snprintf(statbuffer, sizeof statbuffer, "Produt Revision: %s", in compute_vesa_card()
65 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); in compute_vesa_card()
70 snprintf(statbuffer, sizeof statbuffer, "Software Revision: %d", in compute_vesa_card()
[all …]
Dhdt-menu-syslinux.c37 char statbuffer[STATLEN + 1]; in compute_syslinuxmenu() local
48 snprintf(statbuffer, sizeof statbuffer, "Bootloader: %s", in compute_syslinuxmenu()
50 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); in compute_syslinuxmenu()
55 snprintf(statbuffer, sizeof statbuffer, "Version: %s", in compute_syslinuxmenu()
57 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); in compute_syslinuxmenu()
61 snprintf(statbuffer, sizeof statbuffer, "Version: %u", in compute_syslinuxmenu()
63 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); in compute_syslinuxmenu()
67 snprintf(statbuffer, sizeof statbuffer, "Max API: %u", in compute_syslinuxmenu()
69 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); in compute_syslinuxmenu()
76 snprintf(statbuffer, sizeof statbuffer, "%s", in compute_syslinuxmenu()
[all …]
Dhdt-menu-acpi.c33 char statbuffer[STATLEN + 1] = { 0 }; in compute_table() local
37 snprintf(statbuffer, sizeof statbuffer, "%-4s v%03x %-6s %-7s 0x%08x %-4s 0x%08x @ 0x%p", in compute_table()
40 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); in compute_table()
108 char statbuffer[STATLEN + 1] = { 0 }; in compute_acpi_tables() local
111 snprintf(statbuffer, sizeof statbuffer, "%-4s @ 0x%p", fa->signature, fa->address); in compute_acpi_tables()
112 add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0); in compute_acpi_tables()
/external/ltp/testcases/kernel/controllers/libcontrollers/
Dlibcontrollers.c46 struct stat statbuffer; in scan_shares_files() local
53 if (lstat(fullpath, &statbuffer) < 0) { in scan_shares_files()
58 if (S_ISDIR(statbuffer.st_mode) == 0) { /* not a directory */ in scan_shares_files()