Lines Matching defs:key
115 * Converts a data element into a key for comparison. The key is provided by users, and the
118 VECTOR_Key key;
133 * @param key Indicates the pointer to the function provided by users for converting data elements
134 * into key values. If this function is not provided, set it to <b>NULL</b>.
141 Vector VECTOR_Make(VECTOR_Key key, VECTOR_Compare compare);
241 * @brief Checks the position of the element with a specified key.
243 * This function is used to check an element based on its key value. \n
246 * @param key Indicates the pointer to the key value of the element to check.
247 * @return Returns the index of the key element that is not less than 0 if the check is successful;
252 int16 VECTOR_FindByKey(Vector *vector, const void *key);