Lines Matching refs:val
96 putpair(char *p, const DBT *key, const DBT *val)
110 off -= val->size;
111 memmove(p + off, val->data, val->size);
188 DBT key, val;
236 val.data = (u_char *)op + ino[n + 1];
237 val.size = ino[n] - ino[n + 1];
238 putpair(np, &key, &val);
290 DBT key, val;
352 val.data = (u_char *)cino + ino[n + 1];
353 val.size = ino[n] - ino[n + 1];
358 if (PAIRFITS(op, (&key), (&val)))
359 putpair((char *)op, &key, &val);
366 putpair((char *)op, &key, &val);
371 if (PAIRFITS(np, (&key), (&val)))
372 putpair((char *)np, &key, &val);
379 putpair((char *)np, &key, &val);
398 __addel(HTAB *hashp, BUFHEAD *bufp, const DBT *key, const DBT *val)
422 FREESPACE(bp) >= PAIRSIZE(key, val)) {
423 squeeze_key(bp, key, val);
433 if (PAIRFITS(bp, key, val))
434 putpair(bufp->page, key, val);
442 if (PAIRFITS(sop, key, val))
443 putpair((char *)sop, key, val);
445 if (__big_insert(hashp, bufp, key, val))
877 squeeze_key(u_int16_t *sp, const DBT *key, const DBT *val)
891 off -= val->size;
893 memmove(p + off, val->data, val->size);
897 FREESPACE(sp) = free_space - PAIRSIZE(key, val);