Lines Matching refs:index
39 ret->index = NULL; in TXT_DB_read()
43 if ((ret->index = OPENSSL_malloc(sizeof(*ret->index) * num)) == NULL) in TXT_DB_read()
48 ret->index[i] = NULL; in TXT_DB_read()
120 OPENSSL_free(ret->index); in TXT_DB_read()
137 lh = db->index[idx]; in TXT_DB_get_by_index()
181 lh_OPENSSL_STRING_free(db->index[field]); in TXT_DB_create_index()
182 db->index[field] = idx; in TXT_DB_create_index()
240 if (db->index[i] != NULL) { in TXT_DB_insert()
243 r = lh_OPENSSL_STRING_retrieve(db->index[i], row); in TXT_DB_insert()
254 if (db->index[i] != NULL) { in TXT_DB_insert()
257 (void)lh_OPENSSL_STRING_insert(db->index[i], row); in TXT_DB_insert()
258 if (lh_OPENSSL_STRING_retrieve(db->index[i], row) == NULL) in TXT_DB_insert()
269 if (db->index[i] != NULL) { in TXT_DB_insert()
272 (void)lh_OPENSSL_STRING_delete(db->index[i], row); in TXT_DB_insert()
286 if (db->index != NULL) { in TXT_DB_free()
288 lh_OPENSSL_STRING_free(db->index[i]); in TXT_DB_free()
289 OPENSSL_free(db->index); in TXT_DB_free()