Lines Matching refs:err
40 int err = hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &module);
41 LOGE_IF(err, "FATAL: can't find the %s module", GRALLOC_HARDWARE_MODULE_ID);
42 if (err == 0) {
86 status_t err;
89 err = mAllocDev->alloc(mAllocDev, w, h, format, usage, handle, stride);
91 err = sw_gralloc_handle_t::alloc(w, h, format, usage, handle, stride);
94 LOGW_IF(err, "alloc(%u, %u, %d, %08x, ...) failed %d (%s)",
95 w, h, format, usage, err, strerror(-err));
97 if (err == NO_ERROR) {
114 return err;
119 status_t err;
121 err = mAllocDev->free(mAllocDev, handle);
123 err = sw_gralloc_handle_t::free((sw_gralloc_handle_t*)handle);
126 LOGW_IF(err, "free(...) failed %d (%s)", err, strerror(-err));
127 if (err == NO_ERROR) {
133 return err;