Lines Matching refs:this

9  *    notice, this list of conditions and the following disclaimer.
11 * notice, this list of conditions and the following disclaimer in the
13 * 3. All advertising materials mentioning features or use of this software
18 * may be used to endorse or promote products derived from this software
38 * Permission to use, copy, modify, and distribute this software for any
40 * copyright notice and this permission notice appear in all copies.
105 static struct __res_state * nw_res_get(struct irs_nw *this);
106 static void nw_res_set(struct irs_nw *this,
110 static int init(struct irs_nw *this);
121 irs_lcl_nw(struct irs_acc *this) {
125 UNUSED(this);
153 nw_close(struct irs_nw *this) {
154 struct pvt *pvt = (struct pvt *)this->private;
156 nw_minimize(this);
162 memput(this, sizeof *this);
166 nw_byaddr(struct irs_nw *this, void *net, int length, int type) {
169 if (init(this) == -1)
172 nw_rewind(this);
173 while ((p = nw_next(this)) != NULL)
181 nw_byname(struct irs_nw *this, const char *name, int type) {
185 if (init(this) == -1)
188 nw_rewind(this);
189 while ((p = nw_next(this)) != NULL) {
203 nw_rewind(struct irs_nw *this) {
204 struct pvt *pvt = (struct pvt *)this->private;
220 nw_next(struct irs_nw *this) {
221 struct pvt *pvt = (struct pvt *)this->private;
227 if (init(this) == -1)
231 nw_rewind(this);
257 /* allocation failed; skip this long line */
318 nw_minimize(struct irs_nw *this) {
319 struct pvt *pvt = (struct pvt *)this->private;
330 nw_res_get(struct irs_nw *this) {
331 struct pvt *pvt = (struct pvt *)this->private;
341 nw_res_set(this, res, free);
348 nw_res_set(struct irs_nw *this, struct __res_state *res,
350 struct pvt *pvt = (struct pvt *)this->private;
362 init(struct irs_nw *this) {
363 struct pvt *pvt = (struct pvt *)this->private;
365 if (!pvt->res && !nw_res_get(this))