Lines Matching refs:result
824 if (auto result = res_create_display_surface(filename.c_str(), &surface); result < 0) { in LoadBitmap() local
825 LOG(ERROR) << "Failed to load bitmap " << filename << " (error " << result << ")"; in LoadBitmap()
833 auto result = res_create_localized_alpha_surface(filename.c_str(), locale_.c_str(), &surface); in LoadLocalizedBitmap() local
834 if (result == 0) { in LoadLocalizedBitmap()
839 << result << "). Falling back to use default locale."; in LoadLocalizedBitmap()
841 result = res_create_localized_alpha_surface(filename.c_str(), DEFAULT_LOCALE, &surface); in LoadLocalizedBitmap()
842 if (result == 0) { in LoadLocalizedBitmap()
847 << " (error " << result << ")"; in LoadLocalizedBitmap()
852 char** result = new char*[rows]; in Alloc2d() local
854 result[i] = new char[cols]; in Alloc2d()
855 memset(result[i], 0, cols); in Alloc2d()
857 return result; in Alloc2d()