Lines Matching refs:key
74 static inline RK_U64 META_KEY_TO_U64(RK_U32 key, RK_U32 type) in META_KEY_TO_U64() argument
76 return (RK_U64)((RK_U32)htobe32(key)) | ((RK_U64)type << 32); in META_KEY_TO_U64()
79 #define EXPAND_AS_TRIE(key, type) \ argument
81 RK_U64 val = META_KEY_TO_U64(key, type); \
86 #define EXPAND_AS_LOG(key, type) \ argument
88 RK_U32 key_val = htobe32(key); \
91 i++, #key, str[0], str[1], str[2], str[3], #type); \
179 static inline RK_S32 get_index_of_key(MppMetaKey key, MppMetaType type, const char *caller);
180 #define get_index_of_key_f(key, type) get_index_of_key(key, type, __FUNCTION__); argument
262 static inline RK_S32 get_index_of_key(MppMetaKey key, MppMetaType type, const char *caller) in MPP_SINGLETON()
268 RK_U64 val = META_KEY_TO_U64(key, type); in MPP_SINGLETON()
571 const char *key = NULL; in mpp_meta_dump() local
579 key = mpp_trie_info_name(node); in mpp_meta_dump()
582 key[0], key[1], key[2], key[3]); in mpp_meta_dump()
584 switch (key[4]) { in mpp_meta_dump()
611 MPP_RET mpp_meta_set_##func_type(MppMeta meta, MppMetaKey key, arg_type val) \
620 index = get_index_of_key_f(key, key_type); \
636 MPP_RET mpp_meta_get_##func_type(MppMeta meta, MppMetaKey key, arg_type *val) \
646 index = get_index_of_key_f(key, key_type); \
662 … MPP_RET mpp_meta_get_##func_type##_d(MppMeta meta, MppMetaKey key, arg_type *val, arg_type def) \
672 index = get_index_of_key_f(key, key_type); \