Lines Matching full:dictionary
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].
95 * @param[out] nodeDictionary - if not NULL, return a pointer to the dictionary
97 * @param[out] childEntryOffset - if not NULL, return the dictionary starting
108 // If the node doesn't have a name, we can't use a dictionary. So we can use in bejFindSeqNumAndChildDictOffset()
133 const uint8_t* dictionary = in bejFindSeqNumAndChildDictOffset() local
135 bool isAnnotation = dictionary == dictionaries->annotationDictionary; in bejFindSeqNumAndChildDictOffset()
136 // If this node's dictionary and its parent's dictionary is different, in bejFindSeqNumAndChildDictOffset()
138 // dictionary. This should only happen for property annotations of form in bejFindSeqNumAndChildDictOffset()
140 if (dictionary != parentDictionary) in bejFindSeqNumAndChildDictOffset()
146 "Dictionary for property %s should be the annotation " in bejFindSeqNumAndChildDictOffset()
147 "dictionary. Might be a encoding failure. Maybe the " in bejFindSeqNumAndChildDictOffset()
156 int ret = bejDictGetPropertyByName(dictionary, dictStartingOffset, in bejFindSeqNumAndChildDictOffset()
161 "Failed to find dictionary entry for name %s. Search started " in bejFindSeqNumAndChildDictOffset()
169 *nodeDictionary = dictionary; in bejFindSeqNumAndChildDictOffset()
323 // sequence number in the dictionary and the starting dictionary index for in bejUpdateEnumMetaData()
344 "Failed to find dictionary entry for enum value %s. Search started " in bejUpdateEnumMetaData()
415 * @param parentDictionary - dictionary used by this node's parent.
419 * @param dictStartingOffset - starting dictionary child offset value of this
473 * @param parentDictionary - dictionary used by this node's parent.
474 * @param dictStartingOffset - starting dictionary child offset value of this
489 // Get the dictionary related data from the node. in bejUpdateParentMetaData()
499 node->metaData.dictionary = nodeDictionary; in bejUpdateParentMetaData()
543 dictionaries, parent->metaData.dictionary, in bejProcessChildNodes()
553 dictionaries, parent->metaData.dictionary, childPtr, in bejProcessChildNodes()
573 // Decide the starting property offset of the dictionary. in bejUpdateNodeMetadata()