/openbmc/bios-bmc-smm-error-logger/include/rde/ |
H A D | rde_dictionary_manager.hpp | 16 * @brief Resource ID for the annotation dictionary. The other entity 18 * annotation dictionary. 23 * @brief Holds an RDE BEJ dictionary entry. 30 // True indicates that the dictionary data is ready to be used. 44 * @brief Starts a dictionary entry with the provided data. 46 * @param[in] resourceId - PDR resource id corresponding to the dictionary. 47 * @param[in] data - dictionary data. 53 * @brief Set the dictionary valid status. Until this is called, dictionary 56 * @param[in] resourceId - PDR resource id corresponding to the dictionary. 62 * @brief Add more dictionary data for an existing entry. Adding data to a [all …]
|
H A D | rde_handler.hpp | 24 // Used for RDE BEJ dictionary transfer. 105 * BIOS uses this header to send the BEJ dictionary data. 150 * @brief This keeps track of whether we received the dictionary start flag 158 * @brief We are using the prevDictResourceId to detect a new dictionary. 161 * the first dictionary data chunk. BMC will not receive this flag at start 162 * of every new dictionary but only for the first data chunk. Therefore 163 * difference between resource ID is used to identify a new dictionary 165 * dictionary data chunk. 202 * data packet is considered, not just the dictionary data contained within 226 * @brief Handle dictionary data with flag Start. [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/radiusclient-ng/radiusclient-ng/ |
H A D | Modify-configure.in-and-etc-Makefile.am.patch | 51 - dictionary dictionary.ascend dictionary.compat dictionary.merit \ 52 - dictionary.sip 56 +pkgdata_DATA = dictionary dictionary.ascend dictionary.compat \ 57 + dictionary.merit dictionary.sip 59 EXTRA_DIST = issue port-id-map dictionary dictionary.ascend \ 60 dictionary.compat dictionary.merit servers radiusclient.conf.in \ 61 @@ -25,6 +27,7 @@ EXTRA_DIST = issue port-id-map dictionary dictionary.ascend \ 75 # dictionary of allowed attributes and values 77 -dictionary @pkgsysconfdir@/dictionary 78 +dictionary @pkgdatadir@/dictionary
|
/openbmc/libbej/src/ |
H A D | bej_dictionary.c | 24 * @param[in] dictionary - pointer to the dictionary. 28 static bool bejValidatePropertyOffset(const uint8_t* dictionary, in bejValidatePropertyOffset() argument 36 "Invalid property offset. Pointing to Dictionary header data\n"); in bejValidatePropertyOffset() 41 // starting from first property within the dictionary. in bejValidatePropertyOffset() 51 (const struct BejDictionaryHeader*)dictionary; in bejValidatePropertyOffset() 56 "Invalid property offset %u. It falls outside of dictionary " in bejValidatePropertyOffset() 66 const uint8_t* dictionary, uint32_t dictionarySize, uint16_t nameOffset, in bejValidatePropertyNameLength() argument 73 // After the property names, the dictionary has at least the in bejValidatePropertyNameLength() 79 fprintf(stderr, "Property name length goes beyond dictionary size\n"); in bejValidatePropertyNameLength() 85 const char* name = (const char*)dictionary + nameOffset; in bejValidatePropertyNameLength() [all …]
|
H A D | bej_encoder_metadata.c | 53 * @brief Get the dictionary for the provided node. 56 * @param[in] parentDictionary - dictionary used for the parent of this node. 59 * @return a pointer to the dictionary to be used. 65 // If the node name is NULL, we have to use parent dictionary. in bejGetRelatedDictionary() 71 // If the parent is using annotation dictionary, that means the parent is an in bejGetRelatedDictionary() 73 // (Could this be false?). Therefore we should use the annotation dictionary in bejGetRelatedDictionary() 84 * @brief Get dictionary data for the given node. 87 * @param[in] parentDictionary - the dictionary used by the provided node's 91 * @param[in] dictStartingOffset - starting dictionary child offset value of 94 * dictionary schema type: [major|annotation]. [all …]
|
H A D | bej_decoder_core.c | 160 * @brief Get the correct property and the dictionary it belongs to. 164 * @param[in] schemaType - indicate whether to use the annotation dictionary or 165 * the main schema dictionary. 168 * @param[out] dictionary - if the function is successful, this will point to a 169 * valid dictionary to be used. 171 * property in a dictionary. 176 uint32_t sequenceNumber, const uint8_t** dictionary, in bejGetDictionaryAndProperty() argument 180 // We need to pick the correct dictionary. in bejGetDictionaryAndProperty() 183 *dictionary = params->mainDictionary; in bejGetDictionaryAndProperty() 188 *dictionary = params->annotDictionary; in bejGetDictionaryAndProperty() [all …]
|
/openbmc/libbej/include/libbej/ |
H A D | bej_dictionary.h | 13 * @brief Mask for the type of the dictionary within a bejTupleS. 24 * @brief BEJ dictionary type. 33 * @brief Dictionary property header. 56 * @brief Get the offset of the first property in a dictionary. 64 * dictionary. 67 * dictionary. 74 * @param[in] dictionary - dictionary containing the sequence number. 82 int bejDictGetProperty(const uint8_t* dictionary, 89 * @param[in] dictionary - dictionary containing the property. 90 * @param[in] nameOffset - dictionary offset of the name. [all …]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | redfish_code_update_utils.robot | 36 # test inventory dictionary for the firmware functional status. 68 [Documentation] Return dictionary of the image type, version and functional state 91 &{sw_inv_dict}= Create Dictionary 99 &{tmp_dict}= Create Dictionary 104 Set To Dictionary ${tmp_dict} image_type ${image_info["Description"]} 105 Set To Dictionary ${tmp_dict} image_id ${uri_path.split("/")[-1]} 109 Set To Dictionary ${tmp_dict} functional ${functional} 110 Set To Dictionary ${tmp_dict} version ${image_info["Version"]} 111 Set To Dictionary ${sw_inv_dict} ${uri_path.split("/")[-1]} ${tmp_dict} 136 # Convert from dictionary to list. [all …]
|
H A D | redfish_request.robot | 23 ${client_id}= Create Dictionary ClientID=None 24 ${oem_data}= Create Dictionary OpenBMC=${client_id} 25 ${data}= Create Dictionary UserName=${user_name} Password=${password} Oem=${oem_data} 42 ${session_dict}= Create Dictionary 45 ${auth_token}= Create Dictionary X-Auth-Token ${session_resp.headers['X-Auth-Token']} 47 Set To Dictionary ${session_dict} headers ${auth_token} 48 Set To Dictionary ${session_dict} Location ${session_resp.headers['Location']} 51 Set To Dictionary ${session_dict} Content ${session_resp.content}
|
H A D | connection_client.robot | 20 # connection_args A dictionary of acceptable inputs to the Open Connection 31 # If no host was provided, add ${OPENBMC_HOST} to the dictionary 33 ... Dictionary Should Contain Key ${connection_args} host 35 ... Set To Dictionary ${connection_args} host=${OPENBMC_HOST} 43 ... Dictionary Should Contain Key ${connection_args} port 46 # to the dictionary and open the connection. Otherwise, open the connection 50 ... Set To Dictionary ${connection_args} port=${SSH_PORT} AND 79 # connection_args A dictionary of arguments to pass to Open Connection 87 # Search the dictionary to see if it includes the host and alias. 89 ... Dictionary Should Contain Key ${connection_args} host [all …]
|
H A D | var_funcs.py | 24 …Create a dictionary whose keys/values are the arg names/arg values passed to it and return it to t… 27 Note: The resulting dictionary will be ordered. 40 The print-out of the resulting var dictionary is: 70 Join a dictionary's keys and values into a string and return the string. 73 dict The dictionary whose keys and values are to be joined. 74 …record_delim The delimiter to be used to separate dictionary pairs in the resul… 104 Split a string into a dictionary and return it. 109 …string The string to be split into a dictionary. The string must have the 111 …record_delim The delimiter to be used to separate dictionary pairs in the input… 149 …file_name_dict A dictionary with keys/values which are to appear as part of the f… [all …]
|
H A D | rest_client.robot | 41 # ${kwargs}= Create Dictionary allow_redirect=${True}. 46 ${headers}= Create Dictionary X-Auth-Token=${XAUTH_TOKEN} Accept=application/json 47 Set To Dictionary ${kwargs} headers ${headers} 68 # ${kwargs}= Create Dictionary allow_redirect=${True}. 72 ${headers}= Create Dictionary Content-Type=application/json 74 Set To Dictionary ${kwargs} headers ${headers} 93 # ${kwargs}= Create Dictionary allow_redirect=${True}. 97 ${headers}= Create Dictionary Content-Type=application/json 117 # ${kwargs}= Create Dictionary allow_redirect=${True}. 121 ${headers}= Create Dictionary Content-Type=application/json [all …]
|
H A D | jobs_processing.py | 24 return_dict A dictionary consisting of pid/process status for the 26 this dictionary. 32 # Build PID:<status> dictionary. 73 return_dict A dictionary consisting of pid/process status for the 75 this dictionary. 82 # Build execution time:<status> dictionary.
|
H A D | openbmc_ffdc_list.py | 233 # Remove the REST dictionary elements. 313 # @brief This method returns the list from the dictionary for cmds 315 # @return List of key pair from the dictionary 323 # @brief This method returns the list from the dictionary for scp 325 # @return List of key pair from the dictionary 333 # @brief This method returns the list from the dictionary for scp 335 # @return List of key pair from the dictionary 343 # @brief This method returns the list from the dictionary for scp 345 # @return List of key pair from the dictionary 353 # @brief This method returns the list index from dictionary [all …]
|
H A D | ipmi_utils.py | 26 Get all SOL info and return it as a dictionary. 135 Get IPMI 'lan print' output and return it as a dictionary. 155 Given that data, this function will return the following dictionary. 184 # process it as a sub-dictionary. 202 # Make auth_type_enable_dict sub-dictionary... 219 Get IPMI power reading data and return it as a dictionary. 232 For the data shown above, the following dictionary will be returned. 244 strip_watts Strip all dictionary values of the 261 Get IPMI mc info data and return it as a dictionary. 287 For the data shown above, the following dictionary will be returned. [all …]
|
/openbmc/openbmc-test-automation/ffdc/plugins/ |
H A D | redfish.py | 77 should be returned as a JSON string or as a dictionary. 90 dictionary. Defaults to "json". 151 Parse through the nested dictionary and extract resource ID paths. 153 This function traverses a nested dictionary and extracts resource ID paths. 155 dictionary containing resource information. 158 resource for which the response is obtained in the data dictionary. 163 data (dict): A nested dictionary containing resource 166 in the data dictionary. Defaults to an empty 175 # Recursion if nested dictionary found. 200 Parse through the nested dictionary and retrieve the value associated with [all …]
|
/openbmc/openbmc-test-automation/ipmi/ |
H A D | test_ipmi_fru_device.robot | 44 # Create dictionary with FRU device serial number as key and details as value from IPMI. 53 …# Creates dictionary with serial number as key, and corresponding FRU device uri as value from dbu… 54 Get DBUS Dictionary For FRU Devices ${dbus_fru_uri_list} ${ipmi_fru} 56 # Compare dbus dictionary each field, with IPMI FRU device fields for each FRU device. 157 # Get the FRU list and return as a dictionary with serial number as key. 181 &{fru}= Create Dictionary 186 &{tmp}= Create Dictionary 199 # Get each device and split field as key and value and append to a dictionary. 208 Set To Dictionary ${tmp} ${entry1} ${entry2} 211 # Assign serial number as key for main dictionary and a each device detail as value. [all …]
|
/openbmc/openbmc-test-automation/lib/external_intf/ |
H A D | management_console_utils.robot | 25 # command Get command from dictionary. 27 ${service_command}= Get From Dictionary ${daemon_command} ${command} 37 # message Get status message from dictionary. 39 ${service_command}= Get From Dictionary ${daemon_command} status 40 ${service_message}= Get From Dictionary ${daemon_message} ${message} 53 ${session_info}= Create Dictionary 57 Set To Dictionary ${session_info} SessionIDs ${session_resp['Id']} 58 Set To Dictionary ${session_info} ClientID ${session_resp["Context"]} 59 Set To Dictionary ${session_info} SessionToken ${XAUTH_TOKEN} 60 Set To Dictionary ${session_info} SessionResp ${session_resp} [all …]
|
/openbmc/linux/include/linux/ |
D | lz4.h |
|
D | zstd_lib.h |
|
/openbmc/bios-bmc-smm-error-logger/src/rde/ |
H A D | rde_handler.cpp | 104 "Schema Dictionary not found for resourceId: {}\n", in operationInitRequest() 112 stdplus::print(stderr, "Annotation dictionary not found\n"); in operationInitRequest() 122 // We do not use the error dictionary. in operationInitRequest() 173 // This is a hack to get the resource ID for the dictionary data. Even in multiPartReceiveResp() 176 // dictionary data. in multiPartReceiveResp() 277 // This is a beginning of a dictionary. Reset CRC. in handleFlagStart() 294 "Invalid dictionary packet order. Need start before middle.\n"); in handleFlagMiddle() 301 // Start of a new dictionary. Mark previous dictionary as in handleFlagMiddle() 308 // Not a new dictionary. Add the received data to the existing in handleFlagMiddle() 309 // dictionary. in handleFlagMiddle() [all …]
|
/openbmc/openbmc-test-automation/openpower/ext_interfaces/ |
H A D | test_lock_management.robot | 354 ${session_info}= Create Dictionary 358 Set To Dictionary ${session_info} SessionIDs ${session['Id']} 359 Set To Dictionary ${session_info} ClientID ${session["Context"]} 364 RW General Dictionary 365 [Documentation] Create dictionary of lock request. 372 ${request_dict}= Create Dictionary 375 Set To Dictionary ${request_dict} LockType ${key} 376 Set To Dictionary ${request_dict} SegmentFlags ${read_case["${key}"]} 379 Set To Dictionary ${request_dict} ResourceID ${res_id} 406 # session_info Session information are stored in dictionary. [all …]
|
/openbmc/bios-bmc-smm-error-logger/test/ |
H A D | rde_dictionary_manager_test.cpp | 43 // Add a single dictionary. in TEST_F() 47 // Mark the dictionary as a valid dictionary. in TEST_F() 51 // Request the dictionary back and verify the data. in TEST_F() 62 // Add a single dictionary. in TEST_F() 65 // Request the dictionary back without marking it complete. Request should in TEST_F() 72 // Creates a dictionary in TEST_F() 78 // Creates a second dictionary. in TEST_F() 131 // Creates a dictionary in TEST_F() 135 // Lets copy the dictionary in two sizes. in TEST_F()
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/ |
H A D | ObjectMapper.interface.yaml | 10 Obtain a dictionary of service -> implemented interface(s) for the 25 A dictionary of service -> implemented interface(s). 30 Obtain a dictionary of ancestor -> services where ancestor is an 46 A dictionary of ancestor -> services. 51 Obtain a dictionary of path -> services where path is in sutbtree and 71 A dictionary of path -> services. 124 A dictionary of path -> services. 158 Retrieves a dictionary of D-Bus paths -> services of associated 200 A dictionary of path -> services.
|
/openbmc/openbmc-test-automation/ipmi/dcmi/ |
H A D | test_dcmi_get_temperature_reading.robot | 88 &{tmp}= Create Dictionary 90 ${sensor_dbus}= Get From Dictionary ${response} dbus 91 ${instance}= Get From Dictionary ${response} instance 92 Set To Dictionary ${tmp} ${instance} ${sensor_dbus} 94 Set To Dictionary ${dcmi_sensor_uri} ${key} ${tmp} 106 ${dbus_uris}= Get From Dictionary ${dcmi_sensor_uri} ${key} 107 ${dbus_uri}= Get From Dictionary ${dbus_uris} ${instance} 133 ${dbus_uris}= Get From Dictionary ${dcmi_sensor_uri} ${key} 134 ${dbus_uri}= Get From Dictionary ${dbus_uris} ${instance} 197 ${dbus_uris}= Get From Dictionary ${dcmi_sensor_uri} ${key} [all …]
|