Lines Matching full:dictionary

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,
159 // We need to pick the correct dictionary.
162 *dictionary = params->mainDictionary;
167 *dictionary = params->annotDictionary;
172 fprintf(stderr, "Failed to select a dictionary. schema type: %u\n",
178 bejDictGetProperty(*dictionary, dictPropOffset, sequenceNumber, prop);
181 fprintf(stderr, "Failed to get dictionary property for offset: %u\n",
197 const uint8_t* dictionary;
202 &dictionary, &prop) != 0))
206 return bejDictGetPropertyName(dictionary, prop->nameOffset,
244 // dictionary property offsets to this section's parent property
269 // Do not change the parent dictionary property offset since we are
312 // Dictionary only contains an entry for element 0.
315 const uint8_t* dictionary;
319 sequenceNumber, &dictionary, &prop));
324 propName = bejDictGetPropertyName(dictionary, prop->nameOffset,
362 // annotation dictionary for decoding the next segment.
380 const uint8_t* dictionary;
384 &dictionary, &prop));
389 propName = bejDictGetPropertyName(dictionary, prop->nameOffset,
428 // annotation dictionary for decoding the next segment.
492 const uint8_t* dictionary;
496 sequenceNumber, &dictionary, &prop));
501 propName = bejDictGetPropertyName(dictionary, prop->nameOffset,
517 bejDictGetProperty(dictionary, prop->childPointerOffset,
520 dictionary, enumValueProp->nameOffset, enumValueProp->nameLength);
679 * @param[in] schemaDictionary - main schema dictionary to use.
680 * @param[in] annotationDictionary - annotation dictionary
706 // At start, parent property from the main dictionary is the