Lines Matching refs:local_result
34 int local_result = 0; in log_error() local
38 local_result = fprintf(stderr, "%s: ", prog_name); in log_error()
39 if (local_result < 0) { in log_error()
40 result = local_result; in log_error()
43 result += local_result; in log_error()
44 local_result = vfprintf(stderr, msg, args); in log_error()
45 if (local_result < 0) { in log_error()
46 result = local_result; in log_error()
49 result += local_result; in log_error()
50 local_result = fprintf(stderr, "\n"); in log_error()
51 if (local_result < 0) { in log_error()
52 result = local_result; in log_error()
55 result += local_result; in log_error()
63 int local_result = 0; in log_msg() local
67 local_result = vfprintf(stdout, msg, args); in log_msg()
68 if (local_result < 0) { in log_msg()
69 result = local_result; in log_msg()
72 result += local_result; in log_msg()
73 local_result = fprintf(stdout, "\n"); in log_msg()
74 if (local_result < 0) { in log_msg()
75 result = local_result; in log_msg()
78 result += local_result; in log_msg()