Searched refs:argv_ (Results 1 – 3 of 3) sorted by relevance
42 argv_.push_back(arg.c_str()); in PrepareArgs()44 argv_.push_back(nullptr); // Add null terminator. in PrepareArgs()48 execv(argv_[0], (char * const *)&argv_[0]); in Exec()49 PLOG(ERROR) << "execv(" << argv_[0] << ") failed"; in Exec()
49 std::vector<const char*> argv_; variable
125 auto end = argv_.end() - 1; // To exclude the terminating nullptr in HasArg()126 return find(argv_.begin(), end, arg) != end; in HasArg()133 auto end = argv_.end() - 1; // To exclude the terminating nullptr in FlagNotUsed()134 return find_if(argv_.begin(), end, has_prefix) == end; in FlagNotUsed()139 for (auto arg : argv_) { in Exec()