Lines Matching defs:err
42 int err = hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &module);
43 ALOGE_IF(err, "FATAL: can't find the %s module", GRALLOC_HARDWARE_MODULE_ID);
44 if (err == 0) {
52 status_t err;
54 err = mAllocMod->registerBuffer(mAllocMod, handle);
56 ALOGW_IF(err, "registerBuffer(%p) failed %d (%s)",
57 handle, err, strerror(-err));
58 return err;
64 status_t err;
66 err = mAllocMod->unregisterBuffer(mAllocMod, handle);
68 ALOGW_IF(err, "unregisterBuffer(%p) failed %d (%s)",
69 handle, err, strerror(-err));
70 return err;
77 status_t err;
79 err = mAllocMod->lock(mAllocMod, handle, usage,
83 ALOGW_IF(err, "lock(...) failed %d (%s)", err, strerror(-err));
84 return err;
90 status_t err;
92 err = mAllocMod->unlock(mAllocMod, handle);
94 ALOGW_IF(err, "unlock(...) failed %d (%s)", err, strerror(-err));
95 return err;