Lines Matching refs:cmd
58 char cmd[CMD_SIZE]; member
79 std::string cmd = "getvar:"; in fb_getvar() local
80 cmd += key; in fb_getvar()
84 if (fb_command_response(transport, cmd.c_str(), buf)) { in fb_getvar()
111 cmdsize = vsnprintf(a->cmd, sizeof(a->cmd), fmt, ap); in queue_action()
114 if (cmdsize >= sizeof(a->cmd)) { in queue_action()
116 die("Command length (%d) exceeds maximum size (%d)", cmdsize, sizeof(a->cmd)); in queue_action()
229 fprintf(stderr,"Device %s is '%s'.\n", a->cmd + 7, resp); in cb_check()
262 fprintf(stderr, "%s FAILED (%s)\n", a->cmd, resp); in cb_display()
280 fprintf(stderr, "%s FAILED (%s)\n", a->cmd, resp); in cb_save()
308 void fb_queue_command(const char *cmd, const char *msg) in fb_queue_command() argument
310 Action *a = queue_action(OP_COMMAND, cmd); in fb_queue_command()
357 status = fb_command(transport, a->cmd); in fb_execute_queue()
361 status = fb_command_response(transport, a->cmd, resp); in fb_execute_queue()