Lines Matching refs:dbt2
2208 static int __dbj_am_compare(DB *db, const DBT *dbt1, const DBT *dbt2,
2229 if (dbt2->app_data != NULL)
2230 jdbtarr2 = ((DBT_LOCKED *)dbt2->app_data)->jarr;
2232 jdbtarr2 = (*jenv)->NewByteArray(jenv, (jsize)dbt2->size);
2236 (jsize)dbt2->size, (jbyte *)dbt2->data);
2249 if (dbt2->app_data == NULL)
2255 static int __dbj_bt_compare(DB *db, const DBT *dbt1, const DBT *dbt2)
2257 return __dbj_am_compare(db, dbt1, dbt2, bt_compare_method);
2260 static size_t __dbj_bt_prefix(DB *db, const DBT *dbt1, const DBT *dbt2)
2282 if (dbt2->app_data != NULL)
2283 jdbt2 = ((DBT_LOCKED *)dbt2->app_data)->jdbt;
2288 __dbj_dbt_copyout(jenv, dbt2, &jdbtarr2, jdbt2);
2300 if (dbt2->app_data == NULL) {
2308 static int __dbj_dup_compare(DB *db, const DBT *dbt1, const DBT *dbt2)
2324 jdbtarr2 = (*jenv)->NewByteArray(jenv, (jsize)dbt2->size);
2327 (*jenv)->SetByteArrayRegion(jenv, jdbtarr2, 0, (jsize)dbt2->size,
2328 (jbyte *)dbt2->data);
2354 static int __dbj_h_compare(DB *db, const DBT *dbt1, const DBT *dbt2)
2356 return __dbj_am_compare(db, dbt1, dbt2, h_compare_method);