![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
Functions | |
char * | strdup (const char *s) |
char * | strconcat (const char *s1, const char *s2) |
size_t | strnlen (const char *src, size_t max) |
size_t | strlen (const char *src) |
char * | strchr (const char *s, int c) |
char * | strrchr (const char *s, int c) |
Find a character in a string. More... | |
char * | strncpy (char *to, const char *from, int count) |
char * | strcpy (char *dst, const char *src) |
int | strcmp (const char *s1, const char *s2) |
int | strncmp (const char *s1, const char *s2, int maxlen) |
unsigned int | skip_atoi (char **s) |
int | strspn (const char *str, const char *spn) |
int | strcspn (const char *str, const char *spn) |
char * | strstr (const char *haystack, const char *needle) |
char * | strtok_r (char *str, const char *delim, char **ptr) |
char * | strtok (char *str, const char *delim) |
long | atol (const char *str) |
long atol | ( | const char * | str | ) |
Definition at line 200 of file string.c.
References isdigit(), and strspn().
Referenced by init_frb2_wdt(), and vpd_get_int().
unsigned int skip_atoi | ( | char ** | s | ) |
Definition at line 126 of file string.c.
Referenced by cse_check_update_status(), dt_fixup_external(), and vtxprintf().
char* strchr | ( | const char * | s, |
int | c | ||
) |
Definition at line 50 of file string.c.
Referenced by dt_find_node_by_path(), dt_fixup_external(), and is_runtime_data().
int strcmp | ( | const char * | s1, |
const char * | s2 | ||
) |
Definition at line 103 of file string.c.
Referenced by audio_codec_device_update(), config_node(), cse_locate_area_as_rdev_rw(), dt_add_bin_prop(), dt_check_compat_match(), dt_copy_subtree(), dt_delete_prop(), dt_find_bin_prop(), dt_find_node(), dt_find_prop_value(), dt_fixup_external(), dt_fixup_locals(), dt_import_fragment(), dt_iterate_mac(), dt_iterate_phy(), dt_platform_fixup_phy(), dt_prop_is_phandle(), dt_read_cell_props(), fdt_find_compat(), find_cbfs_preload_context(), find_image(), fit_load(), fit_update_memory(), fixup_mac(), fixup_memory(), fmap_locate_area(), fw_cfg_acpi_tables(), fw_cfg_find_file(), fw_cfg_smbios_tables(), get_blc_pwm_freq_value(), image_node(), is_runtime_data(), name_from_hid(), smbios_add_string(), and variant_devtree_update().
char* strconcat | ( | const char * | s1, |
const char * | s2 | ||
) |
Definition at line 19 of file string.c.
References dead_code, ENV_RAMSTAGE, malloc(), memcpy(), and strlen().
Referenced by dl_oem_smbios_strings(), and smbios_mainboard_bios_version().
char* strcpy | ( | char * | dst, |
const char * | src | ||
) |
Definition at line 92 of file string.c.
Referenced by cbfs_preload(), detailed_block(), dev_path(), dram_print_spd_ddr2(), dt_flatten_node(), dt_flatten_prop(), fill_processor_name(), fopen(), gcov_exit(), report_cpu_info(), smbios_add_oem_string(), smbios_add_string(), and update_board_layout().
int strcspn | ( | const char * | str, |
const char * | spn | ||
) |
Definition at line 150 of file string.c.
Referenced by strtok_r().
char* strdup | ( | const char * | s | ) |
Definition at line 7 of file string.c.
References dead_code, ENV_RAMSTAGE, malloc(), memcpy(), s, and strlen().
Referenced by add_device_ref(), camera_fill_cio2(), dt_find_node(), dt_find_node_by_path(), dt_fix_symbols(), dt_set_bin_prop_by_path(), fit_add_compat_string(), and fw_cfg_smbios_init().
size_t strlen | ( | const char * | src | ) |
Definition at line 42 of file string.c.
Referenced by __gcov_init(), acpi_create_dbg2(), acpi_create_dmar_andd(), acpi_create_ecdt(), acpi_device_path_fill(), acpi_device_path_join(), acpi_device_uid(), acpigen_emit_string(), acpigen_write_name_unicode(), cbfs_preload(), clean_compat_string(), configure_clock(), display_fsp_version_info_hob(), dt_add_string_prop(), dt_flat_node_size(), dt_flat_prop_size(), dt_flatten_node(), dt_flatten_prop(), dt_platform_fixup_phy(), fdt_node_name(), find_label(), fit_check_compat(), fit_load(), fopen(), gcov_exit(), gcov_write_string(), generate_vbt(), get_bios_version(), is_runtime_data(), lb_mainboard(), lb_string_platform_blob_version(), lb_strings(), mptable_init(), nhlt_serialize_oem_overrides(), parse_uuid(), print_dimm_info(), print_dmi_info(), print_subsection(), report_cpu_info(), save_dimm_info(), save_lpddr4_dimm_info_part_num(), smbios_add_oem_string(), smbios_add_string(), smbios_fill_dimm_part_number(), smbios_mainboard_bios_version(), smbios_mainboard_manufacturer(), smbios_next(), smbios_string_table_len(), spd_get_name(), strconcat(), strdup(), strstr(), svc_debug_print(), variant_board_sku(), vga_line_write(), and vpd_find().
int strncmp | ( | const char * | s1, |
const char * | s2, | ||
int | maxlen | ||
) |
Definition at line 114 of file string.c.
Referenced by acpi_find_wakeup_vector(), anx7625_parse_edid(), biosemu_dev_check_exprom(), configure_clock(), dt_check_compat_match(), dt_fix_symbols(), dt_platform_fixup_phy(), find_label(), fit_check_compat(), is_runtime_data(), strstr(), valid_rsdp(), and write_table_entry().
char* strncpy | ( | char * | to, |
const char * | from, | ||
int | count | ||
) |
Definition at line 72 of file string.c.
References count.
Referenced by acpi_create_dbg2(), copy_meminfo(), dimm_info_fill(), load_cached_fpf(), mptable_init(), prepare_dmi_17(), qclib_add_if_table_entry(), recover_tcpa_log(), set_coreboot_date(), set_dimm_info(), smbios_fill_dimm_part_number(), smbios_mainboard_serial_number(), soc_save_dimm_info(), tcpa_log_add_table_entry(), transfer_memory_info(), and wilco_ec_get_info().
Definition at line 34 of file string.c.
Referenced by cmos_get_uint_option(), dt_check_compat_match(), find_image_with_overlays(), load_cached_fpf(), trim_trailing_whitespace(), and vtxprintf().
char* strrchr | ( | const char * | s, |
int | c | ||
) |
Find a character in a string.
s | The string. |
c | The character. |
Definition at line 60 of file string.c.
Referenced by dt_set_bin_prop_by_path().
int strspn | ( | const char * | str, |
const char * | spn | ||
) |
Definition at line 135 of file string.c.
Referenced by atol(), and strtok_r().
char* strstr | ( | const char * | haystack, |
const char * | needle | ||
) |
char* strtok | ( | char * | str, |
const char * | delim | ||
) |
Definition at line 193 of file string.c.
References strtok_r().