Lines Matching refs:hbins

93         uint8_t *hbins;  in TEST()  local
101 hbins = (uint8_t *) bcd + HIVE_CELL_OFFSET; in TEST()
105 const Key *root = get_key(hbins, len, offset, "\0"); in TEST()
107 assert_se(!get_key(hbins, sizeof(Key) - 1, offset, "\0")); in TEST()
109 assert_se(!get_key(hbins, len, offset, "\0BadOffset\0")); in TEST()
110 assert_se(!get_key(hbins, len, offset, "\0BadSig\0")); in TEST()
111 assert_se(!get_key(hbins, len, offset, "\0BadKeyNameLen\0")); in TEST()
112 assert_se(!get_key(hbins, len, offset, "\0SubkeyBadOffset\0Dummy\0")); in TEST()
113 assert_se(!get_key(hbins, len, offset, "\0SubkeyBadSig\0Dummy\0")); in TEST()
114 assert_se(!get_key(hbins, len, offset, "\0SubkeyBadNEntries\0Dummy\0")); in TEST()
116 assert_se(!get_key_value(hbins, len, root, "Dummy")); in TEST()
118 const Key *kv_bad_offset = get_key(hbins, len, offset, "\0KeyValuesBadOffset\0"); in TEST()
120 assert_se(!get_key_value(hbins, len, kv_bad_offset, "Dummy")); in TEST()
122 const Key *kv_bad_n_key_values = get_key(hbins, len, offset, "\0KeyValuesBadNKeyValues\0"); in TEST()
124 assert_se(!get_key_value(hbins, len, kv_bad_n_key_values, "Dummy")); in TEST()
126 const Key *kv = get_key(hbins, len, offset, "\0KeyValues\0"); in TEST()
129 assert_se(!get_key_value(hbins, len, kv, "BadOffset")); in TEST()
130 assert_se(!get_key_value(hbins, len, kv, "BadSig")); in TEST()
131 assert_se(!get_key_value(hbins, len, kv, "BadNameLen")); in TEST()
132 assert_se(!get_key_value(hbins, len, kv, "InlineData")); in TEST()
133 assert_se(!get_key_value(hbins, len, kv, "BadDataOffset")); in TEST()
134 assert_se(!get_key_value(hbins, len, kv, "BadDataSize")); in TEST()