Lines Matching refs:kp
78 register Rskey_t* kp;
84 if (!(kp = vmnewof(Vmheap, 0, Rskey_t, 1, disc ? 0 : sizeof(Rsdisc_t))))
86 kp->id = lib;
87 kp->disc = disc ? disc : (Rsdisc_t*)(kp + 1);
88 kp->disc->version = keydisc->version;
89 kp->disc->keylen = -1;
90 kp->disc->data = REC_D_TYPE('\n');
91 kp->keydisc = keydisc;
92 kp->state = &state;
93 kp->insize = INSIZE;
94 kp->outsize = OUTSIZE;
95 kp->procsize = PROCSIZE;
96 kp->head = kp->tail = &kp->field.global;
97 kp->field.global.end.field = MAXFIELD;
98 kp->meth = Rsrasp;
101 kp->xfrmsiz = 256;
102 if (!(kp->xfrmbuf = vmnewof(Vmheap, 0, unsigned char, kp->xfrmsiz, 0)))
104 vmfree(Vmheap, kp);
105 kp = 0;
108 return kp;
117 rskeyclose(Rskey_t* kp)
119 rskeyclose(kp)
120 Rskey_t* kp;
126 if (!kp)
128 np = kp->field.global.next;
136 np = kp->accumulate.head;
142 if (kp->field.positions)
143 vmfree(Vmheap, kp->field.positions);
144 vmfree(Vmheap, kp);