Home
last modified time | relevance | path

Searched full:dictionary (Results 1 – 25 of 428) sorted by relevance

12345678910>>...18

/openbmc/bios-bmc-smm-error-logger/include/rde/
H A Drde_dictionary_manager.hpp16 * @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 Drde_handler.hpp23 // Used for RDE BEJ dictionary transfer.
104 * BIOS uses this header to send the BEJ dictionary data.
149 * @brief This keeps track of whether we received the dictionary start flag
157 * @brief We are using the prevDictResourceId to detect a new dictionary.
160 * the first dictionary data chunk. BMC will not receive this flag at start
161 * of every new dictionary but only for the first data chunk. Therefore
162 * difference between resource ID is used to identify a new dictionary
164 * dictionary data chunk.
201 * data packet is considered, not just the dictionary data contained within
225 * @brief Handle dictionary data with flag Start.
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/radiusclient-ng/radiusclient-ng/
H A DModify-configure.in-and-etc-Makefile.am.patch51 - 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 Dbej_dictionary.c23 * @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 Dbej_encoder_metadata.c53 * @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 Dbej_decoder_core.c139 * @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 = params->annotDictionary; in bejGetDictionaryAndProperty()
[all …]
/openbmc/libbej/include/libbej/
H A Dbej_dictionary.h13 * @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 Dredfish_code_update_utils.robot36 # 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 Dredfish_request.robot23 ${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 Dconnection_client.robot20 # 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 Dvar_funcs.py24 …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 Drest_client.robot41 # ${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 …]
/openbmc/openbmc-test-automation/openpower/ras/
H A Dtest_host_ras.robot34 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} MCACALIFIR_RECV1
44 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} MCACALIFIR_RECV32
53 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} MCACALIFIR_UE
65 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} MCI_RECV1
74 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} MCI_UE
86 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} CXA_RECV5
96 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} CXA_RECV32
105 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} CXA_UE
118 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} OBUS_RECV32
130 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} NPU0_RECV32
[all …]
H A Dtest_bmc_ras.robot37 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} MCACALIFIR_RECV1
47 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} MCACALIFIR_RECV32
57 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} MCACALIFIR_UE
69 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} MCI_RECV1
79 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} MCI_UE
92 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} CXA_RECV5
102 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} CXA_RECV32
112 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} CXA_UE
124 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} OBUS_RECV32
136 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} NPU0_RECV32
[all …]
H A Dtest_host_boot_ras.robot35 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} MCACALIFIR_RECV1
48 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} MCI_RECV1
60 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} NX_RECV1
74 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} L2FIR_RECV1
89 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} OCCFIR_RECV1
103 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} NCUFIR_RECV1
115 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} NCUFIR_UE
126 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} L3FIR_UE
137 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} L2FIR_UE
148 ${value}= Get From Dictionary ${ERROR_INJECT_DICT} CXA_UE
[all …]
/openbmc/openbmc-test-automation/ipmi/
H A Dtest_ipmi_fru_device.robot44 # 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
198 # Get each device and split field as key and value and append to a dictionary.
207 Set To Dictionary ${tmp} ${entry1} ${entry2}
210 # Assign serial number as key for main dictionary and a each device detail as value.
[all …]
/openbmc/linux/include/linux/
H A Dlz4.h102 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 Dxz.h32 * 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 Dzstd_lib.h52 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/bios-bmc-smm-error-logger/src/rde/
H A Drde_handler.cpp79 "Schema Dictionary not found for resourceId: {}\n", in operationInitRequest()
87 stdplus::print(stderr, "Annotation dictionary not found\n"); in operationInitRequest()
94 // We do not use the error dictionary. in operationInitRequest()
128 // This is a hack to get the resource ID for the dictionary data. Even in multiPartReceiveResp()
131 // dictionary data. in multiPartReceiveResp()
219 // This is a beginning of a dictionary. Reset CRC. in handleFlagStart()
236 "Invalid dictionary packet order. Need start before middle.\n"); in handleFlagMiddle()
243 // Start of a new dictionary. Mark previous dictionary as in handleFlagMiddle()
250 // Not a new dictionary. Add the received data to the existing in handleFlagMiddle()
251 // dictionary. in handleFlagMiddle()
[all …]
/openbmc/openbmc-test-automation/lib/external_intf/
H A Dmanagement_console_utils.robot25 # 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/lib/xz/
H A Dxz_dec_lzma2.c29 * 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 Dtest_lock_management.robot354 ${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/openbmc-test-automation/ffdc/plugins/
H A Dredfish.py60 dictionary.
118 Parse through the nested dictionary and get the resource id paths.
121 data Nested dictionary data from response message.
127 # Recursion if nested dictionary found.
152 Parse through the nested dictionary and get the searched key value.
155 data Nested dictionary data from response message.
156 key Search dictionary key element.
/openbmc/linux/Documentation/staging/
H A Dxz.rst51 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

12345678910>>...18