Searched refs:argv_hold (Results 1 – 2 of 2) sorted by relevance
/system/core/logcat/ |
D | logcatd_main.cpp | 42 std::vector<const char*> argv_hold; in main() local 43 for (auto& str : args) argv_hold.push_back(str.c_str()); in main() 44 argv_hold.push_back(nullptr); in main() 49 ret = android_logcat_run_command(ctx, -1, -1, argv_hold.size() - 1, in main() 50 (char* const*)&argv_hold[0], envp); in main() 52 for (std::vector<const char*>::iterator it = argv_hold.begin(); in main() 53 it != argv_hold.end();) { in main() 57 it = argv_hold.erase(it); in main() 65 int retval = android_logcat_run_command(ctx, -1, -1, argv_hold.size() - 1, in main() 66 (char* const*)&argv_hold[0], envp); in main()
|
D | logcat.cpp | 87 std::vector<const char*> argv_hold; member 139 context->argv_hold.clear(); in create_android_logcat() 1752 context->argv_hold.push_back(str.c_str()); in android_logcat_run_command_thread() 1754 context->argv_hold.push_back(nullptr); in android_logcat_run_command_thread() 1760 context->argc = context->argv_hold.size() - 1; in android_logcat_run_command_thread() 1761 context->argv = (char* const*)&context->argv_hold[0]; in android_logcat_run_command_thread() 1766 for (auto str : context->argv_hold) { in android_logcat_run_command_thread() 1783 context->argv_hold.clear(); in android_logcat_run_command_thread() 1825 context->argv_hold.clear(); in android_logcat_destroy()
|