Lines Matching defs:size
354 * Probe function will set optd->size, optd->constraint_type,
481 return strncmp((const char *)val1, (const char *)val2, optd->size) == 0;
483 return memcmp(val1, val2, optd->size) == 0;
498 hp_byte_t * old_val = alloca(optd->size);
543 memcpy(old_val, valp, optd->size); /* Save requested value */
567 hp_byte_t * old_val = alloca(optd->size);
599 memcpy(old_val, valp, optd->size); /* Save requested value */
735 _set_size (HpOption opt, HpData data, SANE_Int size)
737 _hp_option_saneoption(opt, data)->size = size;
1639 size_t size, length;
1644 size = hp_option_saneoption(this, data)->size;
1645 if (!(buf = alloca(size)))
1647 length = size / sizeof(SANE_Fixed);
1658 size_t size;
1672 size = hp_option_saneoption(this, data)->size;
1673 assert(size == dim * dim * sizeof(SANE_Fixed));
1674 if (!(buf = alloca(size)))
1932 size_t size = sanei_hp_accessor_size(gvector->data_acsr);
1939 if (size != 256)
1941 DBG(1,"program_custom_gamma_simulate: size of vector is %d.\
1942 Should be 256.\n", (int)size);
2224 DBG(1, "read_calib_file: Error reading calibration data size\n");