Lines Matching refs:choice
35 If you write modifications of your own for SANE, it is your choice
383 HpChoice choice = *(HpChoice *)hp_data_data(data, this->data_offset);
384 strcpy(valp, choice->name);
392 HpChoice choice;
395 for (choice = this->choices; choice; choice = choice->next)
398 if (!*strlist || strcmp(*strlist, choice->name) != 0)
402 if (strcmp((const char *)valp, choice->name) == 0)
404 *(HpChoice *)hp_data_data(data, this->data_offset) = choice;
415 HpChoice choice = *(HpChoice *)hp_data_data(data, this->data_offset);
416 return choice->val;
423 HpChoice choice;
427 for (choice = this->choices; choice; choice = choice->next)
430 if (!*strlist || strcmp(*strlist, choice->name) != 0)
435 first_choice = choice; /* First enabled choice */
437 if (choice->val == val)
439 *(HpChoice *)hp_data_data(data, this->data_offset) = choice;
453 HpChoice choice;
456 for (choice = this->choices; choice; choice = choice->next)
457 if ((SANE_Int)strlen(choice->name) >= size)
458 size = strlen(choice->name) + 1;
470 HpChoice choice;
473 for (choice = this->choices; choice; choice = choice->next)
474 if (sanei_hp_choice_isEnabled(choice, optset, data, info))
475 this->strlist[count++] = choice->name;
492 HpChoice choice;
498 for (choice = choices; choice; choice = choice->next)
510 for (choice = this->choices; choice; choice = choice->next)
511 this->strlist[count++] = choice->name;