Home | History | Annotate | Download | only in fastboot

Lines Matching defs:cmd

70     char cmd[CMD_SIZE];
89 char cmd[CMD_SIZE] = "getvar:";
90 int getvar_len = strlen(cmd);
95 vsnprintf(cmd + getvar_len, sizeof(cmd) - getvar_len, fmt, args);
97 cmd[CMD_SIZE - 1] = '\0';
98 return fb_command_response(usb, cmd, response);
146 cmdsize = vsnprintf(a->cmd, sizeof(a->cmd), fmt, ap);
149 if (cmdsize >= sizeof(a->cmd)) {
151 die("Command length (%d) exceeds maximum size (%d)", cmdsize, sizeof(a->cmd));
258 fprintf(stderr,"Device %s is '%s'.\n", a->cmd + 7, resp);
294 fprintf(stderr, "%s FAILED (%s)\n", a->cmd, resp);
313 fprintf(stderr, "%s FAILED (%s)\n", a->cmd, resp);
342 void fb_queue_command(const char *cmd, const char *msg)
344 Action *a = queue_action(OP_COMMAND, cmd);
391 status = fb_command(usb, a->cmd);
395 status = fb_command_response(usb, a->cmd, resp);