/third_party/backends/backend/ |
H A D | microtek2.c | 2010 SANE_Option_Descriptor *sod; in init_options() local 2022 /* cannot be used as after a sane_close the sod's must be initialized */ in init_options() 2027 sod = ms->sod; in init_options() 2256 sod[OPT_GAMMA_CUSTOM].size = option_size * sizeof (SANE_Int); in init_options() 2257 sod[OPT_GAMMA_CUSTOM_R].size = option_size * sizeof (SANE_Int); in init_options() 2258 sod[OPT_GAMMA_CUSTOM_G].size = option_size * sizeof (SANE_Int); in init_options() 2259 sod[OPT_GAMMA_CUSTOM_B].size = option_size * sizeof (SANE_Int); in init_options() 2352 sod[i].type = SANE_TYPE_FIXED; in init_options() 2353 sod[ in init_options() 2844 set_option_dependencies(Microtek2_Scanner *ms, SANE_Option_Descriptor *sod, Option_Value *val) set_option_dependencies() argument 3023 SANE_Option_Descriptor *sod; sane_control_option() local 3574 restore_gamma_options(SANE_Option_Descriptor *sod, Option_Value *val) restore_gamma_options() argument [all...] |
H A D | microtek.c | 1048 SANE_Option_Descriptor *sod = ms->sod; in init_options() local 1053 memset(ms->sod, 0, sizeof(ms->sod)); in init_options() 1057 sod[i].size = sizeof(SANE_Word); in init_options() 1058 sod[i].cap = SANE_CAP_SOFT_SELECT | SANE_CAP_SOFT_DETECT; in init_options() 1061 sod[OPT_NUM_OPTS].name = SANE_NAME_NUM_OPTIONS; in init_options() 1062 sod[OPT_NUM_OPTS].title = SANE_TITLE_NUM_OPTIONS; in init_options() 1063 sod[OPT_NUM_OPTS].desc = SANE_DESC_NUM_OPTIONS; in init_options() 1064 sod[OPT_NUM_OPT in init_options() 3351 SANE_Option_Descriptor *sod; sane_control_option() local [all...] |
H A D | pnm.c | 151 static SANE_Option_Descriptor sod[] = { variable 635 if (option < 0 || option >= NELEMS (sod)) in sane_get_option_descriptor() 637 return &sod[option]; in sane_get_option_descriptor() 658 if (option < 0 || option >= NELEMS (sod)) in sane_control_option() 665 if (!SANE_OPTION_IS_ACTIVE (sod[option].cap)) in sane_control_option() 674 if (!SANE_OPTION_IS_SETTABLE (sod[option].cap)) in sane_control_option() 679 status = sanei_constrain_value (sod + option, (void *) &v, &myinfo); in sane_control_option() 693 if (!SANE_OPTION_IS_SETTABLE (sod[option].cap)) in sane_control_option() 698 status = sanei_constrain_value (sod + option, value, &myinfo); in sane_control_option() 724 sod[opt_gamm in sane_control_option() [all...] |
H A D | gphoto2.c | 146 static SANE_Option_Descriptor sod[] = { variable 483 sod[GPHOTO2_OPT_SNAP].cap |= SANE_CAP_INACTIVE; in init_gphoto2() 489 sod[GPHOTO2_OPT_THUMBS].cap |= SANE_CAP_INACTIVE; in init_gphoto2() 495 sod[GPHOTO2_OPT_ERASE].cap |= SANE_CAP_INACTIVE; in init_gphoto2() 545 sod[GPHOTO2_OPT_IMAGE_NUMBER].cap |= SANE_CAP_INACTIVE; in get_info() 551 sod[GPHOTO2_OPT_IMAGE_NUMBER].cap &= ~SANE_CAP_INACTIVE; in get_info() 604 sod[GPHOTO2_OPT_FOLDER].constraint.string_list = in get_info() 802 sod[GPHOTO2_OPT_IMAGE_SELECTION].title = strdup (buf); in sane_init() 842 sod[GPHOTO2_OPT_FOLDER].cap |= SANE_CAP_INACTIVE; in sane_init() 1023 if (option < 0 || option >= NELEMS (sod)) in sane_get_option_descriptor() [all...] |
H A D | dc210.c | 130 static SANE_Option_Descriptor sod[] = { variable 754 sod[DC210_OPT_IMAGE_NUMBER].cap |= SANE_CAP_INACTIVE; in sane_init() 760 sod[DC210_OPT_IMAGE_NUMBER].cap &= ~SANE_CAP_INACTIVE; in sane_init() 893 if (option < 0 || option >= NELEMS (sod)) in sane_get_option_descriptor() 895 return &sod[option]; in sane_get_option_descriptor() 906 handle, sod[option].title, in sane_control_option() 915 if (option < 0 || option >= NELEMS (sod)) in sane_control_option() 921 status = sanei_constrain_value (sod + option, value, &myinfo); in sane_control_option() 986 sod[DC210_OPT_LOWRES].cap &= ~SANE_CAP_INACTIVE; in sane_control_option() 988 sod[DC210_OPT_IMAGE_NUMBE in sane_control_option() [all...] |
H A D | dc240.c | 133 static SANE_Option_Descriptor sod[] = { variable 584 sod[DC240_OPT_IMAGE_NUMBER].cap |= SANE_CAP_INACTIVE; in get_info() 590 sod[DC240_OPT_IMAGE_NUMBER].cap &= ~SANE_CAP_INACTIVE; in get_info() 620 sod[DC240_OPT_FOLDER].constraint.string_list = in get_info() 1026 if (option < 0 || option >= NELEMS (sod)) in sane_get_option_descriptor() 1028 return &sod[option]; in sane_get_option_descriptor() 1039 if (option < 0 || option >= NELEMS (sod)) in sane_control_option() 1044 handle, sod[option].title, in sane_control_option() 1058 if (!SANE_OPTION_IS_ACTIVE (sod[option].cap)) in sane_control_option() 1067 status = sanei_constrain_value (sod in sane_control_option() [all...] |
H A D | hpsj5s.c | 94 static SANE_Option_Descriptor sod[] = { variable 206 sod[1].constraint.range = &ImageWidthRange; /*Width option */ in sane_init() 207 sod[2].constraint.word_list = &ImageResolutionsList[0]; /*Resolution option */ in sane_init() 357 if (option < 0 || option >= NELEMS (sod)) /*No real options supported */ in sane_get_option_descriptor() 360 return &sod[option]; /*Return demanded option */ in sane_get_option_descriptor() 370 if ((option >= NELEMS (sod)) || (option < 0)) /*Supported only this option */ in sane_control_option() 379 *((SANE_Int *) value) = NELEMS (sod); in sane_control_option()
|
H A D | dc25.c | 164 static SANE_Option_Descriptor sod[] = { variable 1920 sod[DC25_OPT_IMAGE_NUMBER].cap |= SANE_CAP_INACTIVE; in sane_init() 1929 sod[DC25_OPT_IMAGE_NUMBER].cap &= ~SANE_CAP_INACTIVE; in sane_init() 2037 if (option < 0 || option >= NELEMS (sod)) in sane_get_option_descriptor() 2039 return &sod[option]; in sane_get_option_descriptor() 2052 handle, sod[option].title, in sane_control_option() 2061 if (option < 0 || option >= NELEMS (sod)) in sane_control_option() 2067 status = sanei_constrain_value (sod + option, value, &myinfo); in sane_control_option() 2120 sod[DC25_OPT_LOWRES].cap &= ~SANE_CAP_INACTIVE; in sane_control_option() 2124 sod[DC25_OPT_LOWRE in sane_control_option() [all...] |
H A D | microtek.h | 258 SANE_Option_Descriptor sod[RNUM_OPTIONS]; /* option list for session */ member
|
H A D | microtek2.h | 1023 SANE_Option_Descriptor sod[NUM_OPTIONS + 1]; /* option list for session */ member
|
/third_party/backends/frontend/ |
H A D | test.c | 62 const SANE_Option_Descriptor *sod; in testsane() local 88 sod = sane_get_option_descriptor (hand, hlp); in testsane() 89 if (sod == NULL) in testsane() 91 fprintf (stderr, "Gopt(%d) : stat=%p\n", hlp, sod); in testsane() 92 fprintf (stderr, "name : %s\n", sod->name); in testsane() 93 fprintf (stderr, "title: %s\n", sod->title); in testsane() 94 fprintf (stderr, "desc : %s\n", sod->desc); in testsane() 96 fprintf (stderr, "type : %d\n", sod->type); in testsane() 97 fprintf (stderr, "unit : %d\n", sod->unit); in testsane() 98 fprintf (stderr, "size : %d\n", sod in testsane() [all...] |
/third_party/backends/backend/pixma/ |
H A D | pixma.c | 84 #define SOD(opt) OPT_IN_CTX[opt].sod 343 SANE_Option_Descriptor *sod = &SOD (n); in clamp_value() local 345 const SANE_Range *range = sod->constraint.range; in clamp_value() 348 nmemb = sod->size / sizeof (SANE_Word); in clamp_value() 528 SANE_Option_Descriptor *sod = &SOD (n); in select_value_from_list() local 530 const SANE_Word *list = sod->constraint.word_list; in select_value_from_list() 533 nmemb = sod->size / sizeof (SANE_Word); in select_value_from_list() 570 switch (opt->sod.type) in control_scalar_option() 583 switch (opt->sod.type) in control_scalar_option() 593 if (opt->sod in control_scalar_option() 684 SANE_Option_Descriptor *sod = &SOD (n); control_option() local 1025 SANE_Option_Descriptor *sod = &SOD (opt_gamma_table); init_option_descriptors() local [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/types/ |
H A D | optional_test.cc | 1341 std::string sod(n, 'd'); in TEST() 1342 OS od = sod; in TEST()
|