Lines Matching refs:erase_first
976 …o_update(Transport* transport, const char* filename, const char* slot_override, bool erase_first) { in do_update() argument
1012 if (erase_first && needs_erase(transport, partition.c_str())) { in do_update()
1043 static void do_flashall(Transport* transport, const char* slot_override, int erase_first) { in do_flashall() argument
1068 if (erase_first && needs_erase(transport, partition.c_str())) { in do_flashall()
1253 bool erase_first = true; in main() local
1345 erase_first = false; in main()
1464 if (erase_first && needs_erase(transport, partition.c_str())) { in main()
1532 if (erase_first && needs_erase(transport, partition.c_str())) { in main()
1560 do_flashall(transport, slot_override.c_str(), erase_first); in main()
1564 do_update(transport, argv[1], slot_override.c_str(), erase_first); in main()
1567 do_update(transport, "update.zip", slot_override.c_str(), erase_first); in main()