Lines Matching refs:tmp_val
667 DBT tmp_val, *myval;
738 if ((ret = __ham_init_dbt(&tmp_val,
741 memset(tmp_val.data, 0, data->doff);
742 memcpy((u_int8_t *)tmp_val.data +
744 myval = &tmp_val;
905 DBT *myval, tmp_val;
1004 * We do not zero tmp_val since the comparison
1007 tmp_val.data = HKEYDATA_DATA(hk);
1008 tmp_val.size = LEN_HDATA(hcp->pagep,
1011 __bam_defcmp(&tmp_val, val) :
1012 dbp->dup_compare(&tmp_val, val);
1036 memcpy(&tmp_val, val, sizeof(*val));
1037 if (F_ISSET(&tmp_val, DB_DBT_PARTIAL)) {
1042 if (tmp_val.doff + hcp->dup_off > hcp->dup_len)
1043 tmp_val.dlen = 0;
1044 else if (tmp_val.dlen + tmp_val.doff >
1046 tmp_val.dlen =
1047 hcp->dup_len - tmp_val.doff;
1052 tmp_val.doff += hcp->dup_off;
1054 F_SET(&tmp_val, DB_DBT_PARTIAL);
1055 tmp_val.dlen = hcp->dup_len;
1056 tmp_val.doff = hcp->dup_off + sizeof(db_indx_t);
1058 myval = &tmp_val;
1086 DBT *myval, tmp_val;
1094 memcpy(&tmp_val, nval, sizeof(*nval));
1095 F_SET(&tmp_val, DB_DBT_PARTIAL);
1096 tmp_val.doff = 0;
1099 memcpy(&tmp_val.dlen,
1102 tmp_val.dlen = LEN_HDATA(hcp->pagep,
1104 myval = &tmp_val;