Lines Matching defs:cp
37 CURSOR *cp;
43 cp = (CURSOR *)dbc->internal;
46 (u_int)dbc, (u_int)cp, (u_long)cp->pgno, (u_long)cp->indx,
47 (u_long)cp->dpgno, (u_long)cp->dindx, (u_long)cp->recno);
48 if (F_ISSET(cp, C_DELETED))
73 CURSOR *cp;
94 cp = (CURSOR *)dbc->internal;
96 if ((cp->pgno == pgno && cp->indx == indx) ||
97 (cp->dpgno == pgno && cp->dindx == indx)) {
99 F_SET(cp, C_DELETED);
101 F_CLR(cp, C_DELETED);
123 CURSOR *cp;
136 cp = (CURSOR *)dbc->internal;
137 if (cp->pgno == pgno && cp->indx >= indx)
138 cp->indx += adjust;
139 if (cp->dpgno == pgno && cp->dindx >= indx)
140 cp->dindx += adjust;
159 CURSOR *cp;
172 cp = (CURSOR *)dbc->internal;
178 if (cp->dpgno == PGNO_INVALID &&
179 cp->pgno == fpgno && cp->indx == fi) {
180 cp->indx = first;
181 cp->dpgno = tpgno;
182 cp->dindx = ti;
199 CURSOR *cp;
212 cp = (CURSOR *)dbc->internal;
213 if (cp->pgno == fpgno)
214 cp->pgno = tpgno;
234 CURSOR *cp;
253 cp = (CURSOR *)dbc->internal;
254 if (cp->pgno == ppgno)
255 if (cp->indx < split_indx) {
257 cp->pgno = lpgno;
259 cp->pgno = rpgno;
260 cp->indx -= split_indx;
262 if (cp->dpgno == ppgno)
263 if (cp->dindx < split_indx) {
265 cp->dpgno = lpgno;
267 cp->dpgno = rpgno;
268 cp->dindx -= split_indx;