Lines Matching refs:drec
248 DBT krec, drec; in bsddb_length() local
253 &krec, &drec,R_FIRST); in bsddb_length()
256 &krec, &drec, R_NEXT)) in bsddb_length()
272 DBT krec, drec; in bsddb_subscript() local
300 status = (dp->di_bsddb->get)(dp->di_bsddb, &krec, &drec, 0); in bsddb_subscript()
302 if (drec.size > sizeof(buf)) data = malloc(drec.size); in bsddb_subscript()
304 if (data!=NULL) memcpy(data,drec.data,drec.size); in bsddb_subscript()
316 result = PyString_FromStringAndSize(data, (int)drec.size); in bsddb_subscript()
325 DBT krec, drec; in bsddb_ass_sub() local
361 drec.data = data; in bsddb_ass_sub()
362 drec.size = size; in bsddb_ass_sub()
364 status = (dp->di_bsddb->put)(dp->di_bsddb, &krec, &drec, 0); in bsddb_ass_sub()
406 DBT krec, drec; in bsddb_keys() local
416 status = (dp->di_bsddb->seq)(dp->di_bsddb, &krec, &drec, R_FIRST); in bsddb_keys()
443 (dp->di_bsddb, &krec, &drec, R_NEXT); in bsddb_keys()
467 DBT krec, drec; in bsddb_has_key() local
492 status = (dp->di_bsddb->get)(dp->di_bsddb, &krec, &drec, 0); in bsddb_has_key()
506 DBT krec, drec; in bsddb_set_location() local
532 status = (dp->di_bsddb->seq)(dp->di_bsddb, &krec, &drec, R_CURSOR); in bsddb_set_location()
534 if (drec.size > sizeof(buf)) data = malloc(drec.size); in bsddb_set_location()
536 if (data!=NULL) memcpy(data,drec.data,drec.size); in bsddb_set_location()
550 data, drec.size); in bsddb_set_location()
553 data, drec.size); in bsddb_set_location()
562 DBT krec, drec; in bsddb_seq() local
573 &drec, sequence_request); in bsddb_seq()
578 if (drec.size > sizeof(dbuf)) ddata = malloc(drec.size); in bsddb_seq()
580 if (ddata != NULL) memcpy(ddata,drec.data,drec.size); in bsddb_seq()
598 ddata, drec.size); in bsddb_seq()
601 ddata, drec.size); in bsddb_seq()