Lines Matching refs:newp
274 * `origp' is NULL, then act like add_dt(); if `newp' is NULL, then
278 update_dt(const dt_handle_t *dhp, const dt_rec_t *origp, dt_rec_t *newp)
318 if (newp != NULL) {
319 if (origp == NULL || origp->dt_type != newp->dt_type ||
320 strcmp(origp->dt_key, newp->dt_key) != 0) {
321 retval = find_dt(fp, 0, query, 1, newp, NULL, &found);
384 if (newp != NULL) {
385 retval = write_rec(newfd, newp, recoff + st.st_size - recnext);
423 modify_dt(void *handle, const dt_rec_t *origp, dt_rec_t *newp)
425 return (update_dt((dt_handle_t *)handle, origp, newp));