Lines Matching refs:idx
393 int idx, delim;
411 for (idx = 0; idx < LWRES_CONFMAXSEARCH; idx++) {
412 if (confdata->search[idx] != NULL) {
413 CTXFREE(confdata->search[idx],
414 strlen(confdata->search[idx])+1);
415 confdata->search[idx] = NULL;
424 idx = 0;
429 confdata->search[idx] = lwres_strdup(ctx, word);
430 if (confdata->search[idx] == NULL)
432 idx++;
506 int delim, res, idx;
525 idx = confdata->sortlistnxt;
526 res = lwres_create_addr(word, &confdata->sortlist[idx].addr, 1);
532 &confdata->sortlist[idx].mask,
540 confdata->sortlist[idx].mask =
541 confdata->sortlist[idx].addr;
543 memset(&confdata->sortlist[idx].mask.address, 0xff,
544 confdata->sortlist[idx].addr.length);