Lines Matching refs:cmd_string
47 static char *cmd_string = NULL; variable
162 if (cmd_string == NULL) { in fastboot_send()
165 cmd_string = strsep(&cmd_parameter, ":"); in fastboot_send()
166 cmd_string = strdup(cmd_string); in fastboot_send()
170 } else if (!strcmp("getvar", cmd_string)) { in fastboot_send()
172 } else if (!strcmp("download", cmd_string)) { in fastboot_send()
174 } else if (!strcmp("flash", cmd_string)) { in fastboot_send()
176 } else if (!strcmp("erase", cmd_string)) { in fastboot_send()
178 } else if (!strcmp("boot", cmd_string)) { in fastboot_send()
180 } else if (!strcmp("continue", cmd_string)) { in fastboot_send()
182 } else if (!strncmp("reboot", cmd_string, 6)) { in fastboot_send()
184 } else if (!strcmp("set_active", cmd_string)) { in fastboot_send()
188 error("command %s not implemented.\n", cmd_string); in fastboot_send()
216 if (!strcmp("boot", cmd_string)) { in fastboot_send()
218 } else if (!strcmp("continue", cmd_string)) { in fastboot_send()
220 } else if (!strncmp("reboot", cmd_string, 6)) { in fastboot_send()
409 if (!strcmp("reboot-bootloader", cmd_string)) { in fb_reboot()
458 if (cmd_string) { in cleanup_command_data()
459 free(cmd_string); in cleanup_command_data()
461 cmd_parameter = cmd_string = NULL; in cleanup_command_data()