Lines Matching defs:size

69   size_t size, max_size = 0;
74 size = strlen (strings[i]) + 1;
75 if (size > max_size)
76 max_size = size;
300 s->opt[i].size = sizeof (SANE_Word);
319 o->size = 0;
328 o->size = max_string_size (mode_list);
331 s->val[MODE].s = malloc (o->size);
365 o->size = max_string_size (feeder_mode_list);
368 s->val[FEEDER_MODE].s = malloc (o->size);
377 o->size = max_string_size (source_list);
380 s->val[SOURCE].s = malloc (o->size);
414 o->size = max_string_size (manual_feed_list);
417 s->val[MANUALFEED].s = malloc (o->size);
427 o->size = sizeof (SANE_Int);
447 o->size = max_string_size (dfeed_sence_list);
450 s->val[DFEED_SENCE].s = malloc (o->size);
505 o->size = 0;
510 o->name = "paper-size";
511 o->title = SANE_I18N ("Paper size");
512 o->desc = SANE_I18N ("Physical size of the paper in the ADF");
518 o->size = max_string_size (o->constraint.string_list);
520 s->val[PAPER_SIZE].s = malloc (o->size);
596 o->size = 0;
606 o->size = sizeof (SANE_Int);
618 o->size = sizeof (SANE_Int);
629 o->size = sizeof (SANE_Int);
640 o->size = max_string_size (automatic_threshold_list);
643 s->val[AUTOMATIC_THRESHOLD].s = malloc (o->size);
653 o->size = max_string_size (image_emphasis_list);
656 s->val[IMAGE_EMPHASIS].s = malloc (o->size);
666 o->size = max_string_size (gamma_list);
669 s->val[GAMMA_CORRECTION].s = malloc (o->size);
679 o->size = max_string_size (lamp_list);
682 s->val[LAMP].s = malloc (o->size);
700 o->size = max_string_size (halftone_pattern);
703 s->val[HALFTONE_PATTERN].s = malloc (o->size);
723 o->size = sizeof (SANE_Int);
735 o->size = max_string_size (stapeled_list);
738 s->val[STAPELED_DOC].s = malloc (o->size);
749 o->size = max_string_size (white_level_list);
752 s->val[WHITE_LEVEL].s = malloc (o->size);
762 o->size = max_string_size (noise_reduction_list);
765 s->val[NOISE_REDUCTION].s = malloc (o->size);
775 o->size = sizeof (SANE_Int);
786 o->size = sizeof (SANE_Int);