Lines Matching refs:key_val
505 opj_tls_key_val_t* key_val; member
521 if (tls->key_val[i].opj_free_func) { in opj_tls_destroy()
522 tls->key_val[i].opj_free_func(tls->key_val[i].value); in opj_tls_destroy()
525 opj_free(tls->key_val); in opj_tls_destroy()
533 if (tls->key_val[i].key == key) { in opj_tls_get()
534 return tls->key_val[i].value; in opj_tls_get()
550 if (tls->key_val[i].key == key) { in opj_tls_set()
551 if (tls->key_val[i].opj_free_func) { in opj_tls_set()
552 tls->key_val[i].opj_free_func(tls->key_val[i].value); in opj_tls_set()
554 tls->key_val[i].value = value; in opj_tls_set()
555 tls->key_val[i].opj_free_func = opj_free_func; in opj_tls_set()
559 new_key_val = (opj_tls_key_val_t*) opj_realloc(tls->key_val, in opj_tls_set()
564 tls->key_val = new_key_val; in opj_tls_set()