Skip to content

Instantly share code, notes, and snippets.

@trevd
Created December 29, 2013 05:11
Show Gist options
  • Save trevd/8167655 to your computer and use it in GitHub Desktop.
Save trevd/8167655 to your computer and use it in GitHub Desktop.
stdout, never heard of it.
android@android:/android/build/aosp/system/core/fastboot$ ag stderr
usb_windows.c
40:#define DBG(x...) fprintf(stderr, x)
protocol.c
71: fprintf(stderr,"(bootloader) %s\n", status + 4);
usbtest.c
99: fprintf(stderr,"write failed (%s)\n", strerror(errno));
104: fprintf(stderr,"%d bytes in %lld uS\n", arg_count * arg_size, (t1 - t0));
117: fprintf(stderr,"read failed (%s)\n", strerror(errno));
122: fprintf(stderr,"%d bytes in %lld uS\n", arg_count * arg_size, (t1 - t0));
144: fprintf(stderr,"usage: usbtest <testname>\n\navailable tests:\n");
146: fprintf(stderr," %-8s %s\n", tests[i].cmd, tests[i].help);
160: fprintf(stderr,"unknown argument: %s\n", arg);
166: fprintf(stderr,"count may not be zero\n");
171: fprintf(stderr,"size may not be greater than 4096\n");
196: fprintf(stderr,"usbtest: %s: could not find interface\n",
201: fprintf(stderr,"usbtest: %s: FAIL\n", tests[i].cmd);
204: fprintf(stderr,"usbtest: %s: OKAY\n", tests[i].cmd);
fastboot.c
129: fprintf(stderr,"unknown partition '%s'\n", item);
266: fprintf(stderr,"< waiting for device >\n");
281: fprintf(stderr,
327: fprintf(stderr, "no image specified\n");
333: fprintf(stderr, "cannot load '%s': %s\n", kernel, strerror(errno));
342: fprintf(stderr, "cannot boot a boot.img *and* ramdisk\n");
353: fprintf(stderr,"cannot load '%s': %s\n", ramdisk, strerror(errno));
358: fprintf(stderr,"creating boot image...\n");
364: fprintf(stderr,"failed to create boot.img\n");
368: fprintf(stderr,"creating boot image - %d bytes\n", bsize);
382: fprintf(stderr, "archive does not contain '%s'\n", name);
392: fprintf(stderr, "failed to allocate %d bytes\n", *sz);
397: fprintf(stderr, "failed to unzip '%s' from archive\n", name);
572: fprintf(stderr, "target reported max download size of %lld bytes\n",
993: fprintf(stderr, "******** Did you mean to fastboot format this partition?\n");
usb_linux.c
65:#define DBG1(x...) fprintf(stderr, x)
66:#define DBG(x...) fprintf(stderr, x)
util.c
64: fprintf(stderr,"error: ");
65: vfprintf(stderr, fmt, ap);
66: fprintf(stderr,"\n");
engine.c
160: fprintf(stderr,"FAILED (%s)\n", resp);
163: fprintf(stderr,"OKAY [%7.3fs]\n", (split - a->start));
291: fprintf(stderr,
293: fprintf(stderr,
297: fprintf(stderr,"FAILED (%s)\n", fb_get_error());
309: fprintf(stderr,
311: fprintf(stderr,
315: fprintf(stderr,"Formatting is not supported for filesystem with type '%s'.\n",
323: fprintf(stderr,
325: fprintf(stderr, "Unable to get partition size\n.");
328: fprintf(stderr,"FAILED (%s)\n", fb_get_error());
335: fprintf(stderr,"Cannot generate image.\n");
341: fprintf(stderr, "sending '%s' (%lli KB)...\n", partition, image.image_size/1024);
345: fprintf(stderr, "writing '%s'...\n", partition);
425: fprintf(stderr,"FAILED (%s)\n", resp);
432: fprintf(stderr,"IGNORE, product is %s required only for %s [%7.3fs]\n",
444: fprintf(stderr,"OKAY [%7.3fs]\n", (split - a->start));
449: fprintf(stderr,"FAILED\n\n");
450: fprintf(stderr,"Device %s is '%s'.\n", a->cmd + 7, resp);
451: fprintf(stderr,"Update %s '%s'",
454: fprintf(stderr," or '%s'", value[n]);
456: fprintf(stderr,".\n\n");
486: fprintf(stderr, "%s FAILED (%s)\n", a->cmd, resp);
489: fprintf(stderr, "%s: %s\n", (char*) a->data, resp);
505: fprintf(stderr, "%s FAILED (%s)\n", a->cmd, resp);
523: fprintf(stderr,"\n");
575: // fprintf(stderr,"%30s... ",a->msg);
576: fprintf(stderr,"%s...\n",a->msg);
591: fprintf(stderr,"%s\n",(char*)a->data);
607: fprintf(stderr,"finished. total time: %.3fs\n", (now() - start));
usb_osx.c
45:#define WARN(x...) fprintf(stderr, x)
50:#define ERR(x...) fprintf(stderr, "ERROR: " x)
android@android:/android/build/aosp/system/core/fastboot$ ag stdout
android@android:/android/build/aosp/system/core/fastboot$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment