Lines Matching refs:result

53     int result = 0;  in open_png()  local
61 result = -1; in open_png()
67 result = -2; in open_png()
72 result = -3; in open_png()
78 result = -4; in open_png()
84 result = -5; in open_png()
89 result = -6; in open_png()
117 result = -7; in open_png()
121 return result; in open_png()
124 if (result < 0) { in open_png()
131 return result; in open_png()
202 int result = 0; in res_create_display_surface() local
212 result = open_png(name, &png_ptr, &info_ptr, &width, &height, &channels); in res_create_display_surface()
213 if (result < 0) return result; in res_create_display_surface()
217 result = -8; in res_create_display_surface()
236 if (result < 0 && surface != NULL) free(surface); in res_create_display_surface()
237 return result; in res_create_display_surface()
242 int result = 0; in res_create_multi_display_surface() local
256 result = open_png(name, &png_ptr, &info_ptr, &width, &height, &channels); in res_create_multi_display_surface()
257 if (result < 0) return result; in res_create_multi_display_surface()
272 result = -9; in res_create_multi_display_surface()
278 result = -8; in res_create_multi_display_surface()
284 result = -8; in res_create_multi_display_surface()
308 if (result < 0) { in res_create_multi_display_surface()
316 return result; in res_create_multi_display_surface()
321 int result = 0; in res_create_alpha_surface() local
329 result = open_png(name, &png_ptr, &info_ptr, &width, &height, &channels); in res_create_alpha_surface()
330 if (result < 0) return result; in res_create_alpha_surface()
333 result = -7; in res_create_alpha_surface()
339 result = -8; in res_create_alpha_surface()
362 if (result < 0 && surface != NULL) free(surface); in res_create_alpha_surface()
363 return result; in res_create_alpha_surface()
387 int result = 0; in res_create_localized_alpha_surface() local
406 result = open_png(name, &png_ptr, &info_ptr, &width, &height, &channels); in res_create_localized_alpha_surface()
407 if (result < 0) return result; in res_create_localized_alpha_surface()
410 result = -7; in res_create_localized_alpha_surface()
427 result = -8; in res_create_localized_alpha_surface()
453 if (result < 0 && surface != NULL) free(surface); in res_create_localized_alpha_surface()
454 return result; in res_create_localized_alpha_surface()