Lines Matching defs:this

16    along with this program.  If not, see <https://www.gnu.org/licenses/>.
19 additional uses of the libraries contained in this release of SANE.
22 to produce an executable, this does not by itself cause the
33 those changes may be distributed with this exception intact.
36 whether to permit this exception to apply to your modifications.
37 If you do not wish that, delete this exception notice.
316 sanei_hp_device_compat (HpDevice this, enum hp_device_compat_e which)
318 return (this->compat & which) != 0;
324 HpDevice this;
344 this = sanei_hp_allocz(sizeof(*this));
345 this->data = sanei_hp_data_new();
347 if (!this || !this->data)
350 this->sanedev.name = sanei_hp_strdup(devname);
351 if (!this->sanedev.name)
353 this->sanedev.vendor = "Hewlett-Packard";
354 this->sanedev.type = "flatbed scanner";
356 status = sanei_hp_device_probe_model (&(this->compat), scsi, 0, &model_name);
360 status = sanei_hp_optset_new(&(this->options), scsi, this);
365 this->sanedev.model = sanei_hp_strdup (model_name);
366 if (!this->sanedev.model)
373 sanei_hp_data_destroy(this->data);
374 sanei_hp_free((void *)this->sanedev.name);
375 sanei_hp_free((void *)this->sanedev.model);
376 sanei_hp_free(this);
381 devname, this->sanedev.model);
383 *newp = this;
390 HpDevice this;
425 this = sanei_hp_allocz(sizeof(*this));
426 this->data = sanei_hp_data_new();
428 if (!this || !this->data)
431 this->sanedev.name = sanei_hp_strdup(devname);
433 if (!this->sanedev.name || !str)
435 this->sanedev.model = str;
438 this->sanedev.vendor = "Hewlett-Packard";
439 this->sanedev.type = "flatbed scanner";
441 status = sanei_hp_device_probe(&(this->compat), scsi);
445 status = sanei_hp_optset_new(&this->options, scsi, this);
453 sanei_hp_data_destroy(this->data);
454 sanei_hp_free((void *)this->sanedev.name);
455 sanei_hp_free((void *)this->sanedev.model);
456 sanei_hp_free(this);
461 devname, this->sanedev.model);
463 *newp = this;
468 sanei_hp_device_sanedevice (HpDevice this)
470 return &this->sanedev;