String functions.
Definition in file strings.h.
int __pure strcasecmp |
( |
const char * |
first, |
|
|
const char * |
second |
|
) |
| |
Compare case-insensitive strings.
- Parameters
-
first | First string |
second | Second string |
- Return values
-
Definition at line 208 of file string.c.
static __always_inline int off_t userptr_t second
int strncasecmp(const char *first, const char *second, size_t max)
Compare case-insensitive strings.
uint32_t first
Length to skip in first segment.
References first, second, and strncasecmp().
Referenced by com32_identify(), comboot_identify(), efi_file_find(), efi_file_open(), efi_local_check_volume_name(), efi_snp_hii_fetch(), efi_snp_hii_store(), http_authentication(), http_digest_authenticate(), http_format_metadata_flavor(), http_parse_connection(), http_parse_content_encoding(), http_parse_digest_auth(), http_parse_header(), http_parse_transfer_encoding(), http_scheme(), parse_fc_els_handler(), string_test_exec(), sundance_probe(), tftp_process_option(), and xfer_uri_opener().
int __pure strncasecmp |
( |
const char * |
first, |
|
|
const char * |
second, |
|
|
size_t |
max |
|
) |
| |
Compare case-insensitive strings.
- Parameters
-
first | First string |
second | Second string |
max | Maximum length to compare |
- Return values
-
Definition at line 221 of file string.c.
226 for ( ;
max-- ; first_bytes++, second_bytes++ ) {
227 diff = (
toupper ( *first_bytes ) -
231 if ( ! *first_bytes )
static __always_inline int off_t userptr_t second
static int toupper(int character)
Convert character to upper case.
uint32_t first
Length to skip in first segment.
References first, max, second, and toupper().
Referenced by efi_file_open(), strcasecmp(), string_test_exec(), and x509_check_dnsname().
Definition at line 176 of file strings.h.
Referenced by __attribute__(), __memmove(), a3c90x_internal_ReadEeprom(), acpi_describe(), aes_unwrap(), aes_wrap(), arbel_fill_mlx_send_wqe(), arbel_fill_ud_send_wqe(), arbel_post_send(), ata_command(), bigint_grow_sample(), bigint_shrink_sample(), block_capacity(), block_read(), block_read_capacity(), block_write(), bzimage_load_initrds(), ccmp_ctr_xor(), copy_encap_settings(), copy_from_real(), copy_from_real_libkir(), copy_from_user(), copy_settings(), copy_to_user(), dmfe_transmit(), edd_describe(), efi_describe(), efi_pxe_udp_write(), efi_undi_fill_header(), efi_undi_receive(), elf_load_segment(), elf_segment(), elfboot_check_segment(), eth_transmit(), fc_els_rx(), fc_els_tx(), fc_xchg_rx(), fc_xchg_tx(), gcc_implicit_memcpy(), gcc_implicit_memset(), generic_memcpy(), generic_memcpy_reverse(), generic_memmove(), generic_memset(), hermon_fill_mlx_send_wqe(), hermon_fill_ud_send_wqe(), hermon_post_send(), ib_complete_recv(), ib_post_send(), ib_pull(), ib_push(), ibft_alloc_string(), ibft_set_string(), ibft_set_string_setting(), identify_device(), inet6_ntoa(), intf_close(), intf_get_dest_op_no_passthru_untyped(), intf_get_dest_op_untyped(), intf_insert(), intf_plug(), intf_poke(), ipoib_complete_recv(), ipoib_transmit(), ipv4_netdev(), ipv4_route(), ipv4_rx(), ipv6_netdev(), ipv6_route(), ipv6_route_okx(), ipv6_rx(), job_progress(), linda_complete_recv(), linda_post_send(), memcpy_0(), memcpy_1(), memcpy_10(), memcpy_11(), memcpy_12(), memcpy_13(), memcpy_14(), memcpy_15(), memcpy_16(), memcpy_17(), memcpy_18(), memcpy_19(), memcpy_2(), memcpy_20(), memcpy_21(), memcpy_22(), memcpy_23(), memcpy_24(), memcpy_25(), memcpy_26(), memcpy_27(), memcpy_28(), memcpy_29(), memcpy_3(), memcpy_30(), memcpy_31(), memcpy_4(), memcpy_5(), memcpy_6(), memcpy_7(), memcpy_8(), memcpy_9(), memcpy_test_speed(), memcpy_var(), memset_var(), memset_zero_0(), memset_zero_1(), memset_zero_10(), memset_zero_11(), memset_zero_12(), memset_zero_13(), memset_zero_14(), memset_zero_15(), memset_zero_16(), memset_zero_17(), memset_zero_18(), memset_zero_19(), memset_zero_2(), memset_zero_20(), memset_zero_21(), memset_zero_22(), memset_zero_23(), memset_zero_24(), memset_zero_25(), memset_zero_26(), memset_zero_27(), memset_zero_28(), memset_zero_29(), memset_zero_3(), memset_zero_30(), memset_zero_31(), memset_zero_4(), memset_zero_5(), memset_zero_6(), memset_zero_7(), memset_zero_8(), memset_zero_9(), nbi_load_segment(), nbi_prepare_segment(), nbi_process_segments(), net80211_tx_mgmt(), peerdisc_stat(), pxenv_udp_write(), qib7322_complete_recv(), qib7322_post_send(), resize_dhcp_option(), resolv_done(), scsi_command(), scsi_response(), shuffle(), strcat(), strcpy(), string_copy(), string_test_exec(), strncpy(), tcp_process_tx_queue(), tls_cipherstream_deliver(), trivial_memcpy_user(), trivial_memmove_user(), udp_tx(), uri_copy_fields(), xfer_alloc_iob(), xfer_buffer(), xfer_deliver(), xfer_vredirect(), xfer_window(), xhci_enqueue(), and xsigo_xds_complete().