Lines Matching defs:idx
339 int idx, delim;
353 for (idx = 0; idx < RESCONFMAXSEARCH; idx++) {
354 if (conf->search[idx] != NULL) {
355 isc_mem_free(conf->mctx, conf->search[idx]);
356 conf->search[idx] = NULL;
365 idx = 0;
370 conf->search[idx] = isc_mem_strdup(conf->mctx, word);
371 if (conf->search[idx] == NULL)
373 idx++;
388 int delim, res, idx;
404 idx = conf->sortlistnxt;
405 res = create_addr(word, &conf->sortlist[idx].addr, 1);
410 res = create_addr(p, &conf->sortlist[idx].mask, 0);
417 conf->sortlist[idx].mask = conf->sortlist[idx].addr;
418 memset(&conf->sortlist[idx].mask.type, 0xff,
419 sizeof(conf->sortlist[idx].mask.type));