Home
last modified time | relevance | path

Searched refs:str_length (Results 1 – 6 of 6) sorted by relevance

/openbmc/libpldm/src/dsp/
H A Dbios_table.c67 if (str_length == 0) { in pldm_bios_table_string_entry_encode()
76 str_length) { in pldm_bios_table_string_entry_encode()
747 memcpy(&str_length, entry->value, sizeof(str_length)); in pldm_bios_table_attr_value_entry_string_decode_length()
780 str_length) { in pldm_bios_table_attr_value_entry_encode_string()
783 memcpy(table_entry->value + sizeof(str_length), str, str_length); in pldm_bios_table_attr_value_entry_encode_string()
784 str_length = htole16(str_length); in pldm_bios_table_attr_value_entry_encode_string()
785 memcpy(table_entry->value, &str_length, sizeof(str_length)); in pldm_bios_table_attr_value_entry_encode_string()
791 uint16_t str_length = in attr_value_table_entry_length_string() local
794 str_length); in attr_value_table_entry_length_string()
1096 uint16_t str_length; member
[all …]
/openbmc/linux/drivers/media/pci/bt8xx/
H A Ddst_ca.c130 int length, str_length; in ca_get_app_info() local
147 str_length = length - 6; in ca_get_app_info()
148 if (str_length < 0) { in ca_get_app_info()
149 str_length = 0; in ca_get_app_info()
160 state->messages[9] = str_length; in ca_get_app_info()
161 memmove(&state->messages[10], &state->messages[12], str_length); in ca_get_app_info()
/openbmc/libpldm/tests/dsp/
H A Dbios_table.cpp1008 auto str_length = std::strlen(str); in TEST() local
1009 auto encodeLength = pldm_bios_table_string_entry_encode_length(str_length); in TEST()
1014 encodeEntry.data(), encodeEntry.size(), str, str_length), in TEST()
1023 encodeEntry.data(), encodeEntry.size() - 1, str, str_length), in TEST()
1026 encodeEntry.data(), encodeEntry.size() - 1, str, str_length); in TEST()
1131 auto str_length = pldm_bios_table_string_entry_decode_string_length(entry); in TEST() local
1132 EXPECT_EQ(str_length, 2); in TEST()
1133 std::vector<char> strBuf(str_length + 1, 0); in TEST()
/openbmc/libpldm/include/libpldm/
H A Dbios_table.h107 const char *str, uint16_t str_length);
535 uint8_t attr_type, uint16_t str_length, const char *string);
/openbmc/linux/fs/smb/client/
H A Dsess.c1023 int str_length, in cifs_security_buffer_from_str() argument
1045 str_length, in cifs_security_buffer_from_str()
/openbmc/libpldm/abi/x86_64/
H A Dgcc.dump1983 'name' => 'str_length',
2645 'name' => 'str_length',