/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 | 23 * @param[in] dictionary - pointer to the dictionary. 27 static bool bejValidatePropertyOffset(const uint8_t* dictionary, in bejValidatePropertyOffset() argument 35 "Invalid property offset. Pointing to Dictionary header data\n"); in bejValidatePropertyOffset() 40 // starting from first property within the dictionary. in bejValidatePropertyOffset() 50 (const struct BejDictionaryHeader*)dictionary; in bejValidatePropertyOffset() 55 "Invalid property offset %u. It falls outside of dictionary " in bejValidatePropertyOffset() 66 // First property is present soon after the dictionary header. in bejDictGetPropertyHeadOffset() 79 int bejDictGetProperty(const uint8_t* dictionary, in bejDictGetProperty() argument 85 (const struct BejDictionaryHeader*)dictionary; in bejDictGetProperty() 87 if (!bejValidatePropertyOffset(dictionary, propertyOffset)) in bejDictGetProperty() [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 | 139 * @brief Get the correct property and the dictionary it belongs to. 143 * @param[in] schemaType - indicate whether to use the annotation dictionary or 144 * the main schema dictionary. 147 * @param[out] dictionary - if the function is successful, this will point to a 148 * valid dictionary to be used. 150 * property in a dictionary. 155 uint32_t sequenceNumber, const uint8_t** dictionary, in bejGetDictionaryAndProperty() argument 159 // We need to pick the correct dictionary. in bejGetDictionaryAndProperty() 162 *dictionary = params->mainDictionary; in bejGetDictionaryAndProperty() 167 *dictionary in bejGetDictionaryAndProperty() 197 const uint8_t* dictionary; bejGetPropName() local 315 const uint8_t* dictionary; bejHandleBejSet() local 380 const uint8_t* dictionary; bejHandleBejArray() local 492 const uint8_t* dictionary; bejHandleBejEnum() local [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 | 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/linux/include/linux/ |
H A D | lz4.h | 102 const uint8_t *dictionary; member 364 * LZ4_loadDictHC() - Load a static dictionary into LZ4_streamHC 366 * @dictionary: dictionary to load 367 * @dictSize: size of dictionary 369 * Use this function to load a static dictionary into LZ4HC_stream. 370 * Any previous data will be forgotten, only 'dictionary' 374 * Return : dictionary size, in bytes (necessarily <= 64 KB) 376 int LZ4_loadDictHC(LZ4_streamHC_t *streamHCPtr, const char *dictionary, 381 * compressed blocks as a dictionary using the HC algorithm 391 * previous blocks as dictionary. One key assumption is that previous [all …]
|
H A D | xz.h | 32 * dictionary doesn't need to be allocated as 37 * dictionary buffer. All data structures are 40 * @XZ_DYNALLOC: Multi-call mode. The LZMA2 dictionary is 78 * @XZ_MEMLIMIT_ERROR: A bigger LZMA2 dictionary would be needed than 154 * @dict_max: Maximum size of the LZMA2 dictionary (history buffer) for 156 * (mode == XZ_SINGLE). LZMA2 dictionary is always 2^n bytes 159 * In the kernel, dictionary sizes of 64 KiB, 128 KiB, 256 KiB, 162 * dictionary can be fine and useful. 166 * fail. The output space is used as the dictionary buffer, which is why 167 * there is no need to allocate the dictionary as part of the decoder's [all …]
|
H A D | zstd_lib.h | 52 a dictionary. Dictionary compression can be performed in: 53 - a single step (described as Simple dictionary API) 54 - a single step, reusing a dictionary (described as Bulk-processing 55 dictionary API) 363 …ZSTD_c_dictIDFlag=202, /* When applicable, dictionary's ID is written into frame header (default… 492 * Compression parameters and dictionary remain unchanged. 496 * This removes any reference to any dictionary too. 618 * set more specific parameters, the pledged source size, or load a dictionary. 731 * Streaming in combination with advanced parameters and dictionary compression 739 * ZSTD_CCtx_refCDict(zcs, NULL); // clear the dictionary (if any) [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/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() 119 // We do not use the error dictionary. in operationInitRequest() 169 // This is a hack to get the resource ID for the dictionary data. Even in multiPartReceiveResp() 172 // dictionary data. in multiPartReceiveResp() 260 // This is a beginning of a dictionary. Reset CRC. in handleFlagStart() 277 "Invalid dictionary packet order. Need start before middle.\n"); in handleFlagMiddle() 284 // Start of a new dictionary. Mark previous dictionary as in handleFlagMiddle() 291 // Not a new dictionary. Add the received data to the existing in handleFlagMiddle() 292 // dictionary. in handleFlagMiddle() [all …]
|
/openbmc/linux/lib/xz/ |
H A D | xz_dec_lzma2.c | 29 * Dictionary (history buffer) 41 * in which the dictionary variables address the actual output 44 struct dictionary { struct 55 * How full dictionary is. This is used to detect corrupt input that argument 64 * End of the dictionary buffer. In multi-call mode, this is argument 65 * the same as the dictionary size. In single-call mode, this 71 * Size of the dictionary as specified in Block Header. This is used argument 78 * Maximum allowed dictionary size in multi-call mode. argument 84 * Amount of memory currently allocated for the dictionary. argument 241 * True if dictionary reset is needed. This is false before [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/linux/Documentation/staging/ |
H A D | xz.rst | 51 dictionary. It will also append a four-byte trailer containing the 54 which will use no BCJ filter and 1 MiB LZMA2 dictionary. 73 In userspace, LZMA2 is typically used with dictionary sizes of several 74 megabytes. The decoder needs to have the dictionary in RAM, thus big 76 by the kernel. 1 MiB is probably the maximum reasonable dictionary 83 An exception to above dictionary size limitation is when the decoder 86 doesn't depend on the dictionary size, and it is perfectly fine to 87 use a big dictionary: for maximum compression, the dictionary should
|
/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()
|