Lines Matching refs:fprintf

50         fprintf(stderr, "Fail to read size of %s\n", descriptor->name().c_str());  in read_length_delimited()
72 fprintf(stderr, "Fail to read string of field %s, expect size %d, read %lu\n", in read_length_delimited()
74 fprintf(stderr, "String read \"%s\"\n", str.c_str()); in read_length_delimited()
104 fprintf(stderr, "bad VARINT: 0x%x (%d) at index %d of field %s\n", in read_message()
113 fprintf(stderr, "bad VARINT: 0x%x (%d) at index %d of field %s\n", in read_message()
119 fprintf(stderr, "bad LENGTH_DELIMITED: 0x%x (%d) at index %d of field %s\n", in read_message()
129 fprintf(stderr, "bad FIXED32: 0x%x (%d) at index %d of field %s\n", in read_message()
134 fprintf(stderr, "bad tag: 0x%x (%d) at index %d of field %s\n", tag, tag, in read_message()
283 fprintf(out, "usage: incident_report -i INPUT [-o OUTPUT]\n"); in usage()
284 fprintf(out, "\n"); in usage()
285 fprintf(out, "Pretty-prints an incident report protobuf file.\n"); in usage()
286 fprintf(out, " -i INPUT the input file. INPUT may be '-' to use stdin\n"); in usage()
287 fprintf(out, " -o OUTPUT the output file. OUTPUT may be '-' or omitted to use stdout\n"); in usage()
288 fprintf(out, "\n"); in usage()
289 fprintf(out, "\n"); in usage()
290 fprintf(out, "usage: incident_report [-o OUTPUT] [-t|b] [-s SERIAL] [SECTION...]\n"); in usage()
291 fprintf(out, "\n"); in usage()
292 fprintf(out, "Take an incident report over adb (which must be in the PATH).\n"); in usage()
293 fprintf(out, " -b output the incident report raw protobuf format\n"); in usage()
294 fprintf(out, " -o OUTPUT the output file. OUTPUT may be '-' or omitted to use stdout\n"); in usage()
295 fprintf(out, " -r REASON human readable description of why the report is taken.\n"); in usage()
296 fprintf(out, " -s SERIAL sent to adb to choose which device, instead of $ANDROID_SERIAL\n"); in usage()
297 fprintf(out, " -t output the incident report in pretty-printed text format\n"); in usage()
298 fprintf(out, "\n"); in usage()
299 fprintf(out, " SECTION which bugreport sections to print, either the int code of the\n"); in usage()
300 fprintf(out, " section in the Incident proto or the field name. If ommited,\n"); in usage()
301 fprintf(out, " the report will contain all fields\n"); in usage()
302 fprintf(out, "\n"); in usage()
362 fprintf(stderr, "unable to open file for read (%s): %s\n", strerror(errno), in main()
371 fprintf(stderr, "pipe failed: %s\n", strerror(errno)); in main()
377 fprintf(stderr, "fork failed: %s\n", strerror(errno)); in main()
406 fprintf(stderr, "execvp failed: %s\n", strerror(errno)); in main()
422 fprintf(stderr, "unable to open file for write: %s\n", outFilename); in main()
434 fprintf(stderr, "unable to read incident\n"); in main()