Searched refs:argv (Results 226 - 250 of 4752) sorted by path

1234567891011>>

/external/chromium_org/chrome/browser/policy/
H A Dpolicy_browsertest.cc2748 CommandLine::StringVector argv = command_line->argv(); variable
2749 argv.erase(std::remove_if(++argv.begin(), argv.end(), IsNonSwitchArgument),
2750 argv.end());
2751 command_line->InitFromArgv(argv);
2752 ASSERT_TRUE(std::equal(argv.begin(), argv.end(),
2753 command_line->argv()
[all...]
/external/chromium_org/chrome/browser/printing/
H A Dprinter_manager_dialog_linux.cc50 std::vector<std::string> argv; local
51 argv.push_back(command);
53 if (!base::LaunchProcess(argv, base::LaunchOptions(), &handle)) {
/external/chromium_org/chrome/browser/
H A Dprocess_info_snapshot_mac_unittest.cc118 std::vector<std::string> argv; local
119 argv.push_back("/usr/bin/top");
120 argv.push_back("-l");
121 argv.push_back("0");
126 ASSERT_TRUE(base::LaunchProcess(argv, options, &process_handle));
H A Dprocess_singleton_posix.cc549 const std::vector<std::string>& argv,
622 const std::string& current_dir, const std::vector<std::string>& argv,
627 if (parent_->notification_callback_.Run(CommandLine(argv),
702 // line argv array.
841 // format is "START\0<current dir>\0<argv[0]>\0...\0<argv[n]>".
850 const std::vector<std::string>& argv = cmd_line.argv(); local
851 for (std::vector<std::string>::const_iterator it = argv.begin();
852 it != argv
621 HandleMessage( const std::string& current_dir, const std::vector<std::string>& argv, SocketReader* reader) argument
[all...]
H A Dprocess_singleton_posix_unittest.cc60 callback_command_lines_.push_back(command_line.argv());
H A Dprocess_singleton_startup_lock.cc48 std::make_pair(command_line.argv(), current_directory));
H A Dshell_integration_linux.cc64 bool LaunchXdgUtility(const std::vector<std::string>& argv, int* exit_code) { argument
81 if (!base::LaunchProcess(argv, options, &handle)) {
121 std::vector<std::string> argv;
122 argv.push_back("xdg-icon-resource");
123 argv.push_back("install");
127 argv.push_back("--mode");
128 argv.push_back("user");
130 argv.push_back("--size");
131 argv.push_back(base::IntToString(width));
133 argv
244 std::vector<std::string> argv; local
300 const CommandLine::StringVector& argv = command_line.argv(); local
344 std::vector<std::string> argv; local
539 std::vector<std::string> argv; local
[all...]
/external/chromium_org/chrome/browser/ui/libgtk2ui/
H A Dgtk2_util.cc27 const std::vector<std::string>& args = command_line.argv();
29 scoped_ptr<char *[]> argv(new char *[argc + 1]);
31 // TODO(piman@google.com): can gtk_init modify argv? Just being safe
33 argv[i] = strdup(args[i].c_str());
35 argv[argc] = NULL;
36 char **argv_pointer = argv.get();
40 free(argv[i]);
/external/chromium_org/chrome/browser/ui/webui/
H A Dflags_ui.cc231 // argv[0] is the program name |CommandLine::NO_PROGRAM|.
232 flags.assign(user_flags.argv().begin() + 1, user_flags.argv().end());
H A Dversion_ui.cc96 const ArgvList& argv = CommandLine::ForCurrentProcess()->argv(); local
97 for (ArgvList::const_iterator iter = argv.begin(); iter != argv.end(); iter++)
/external/chromium_org/chrome/browser/ui/webui/options/
H A Dadvanced_options_utils_linux.cc92 std::vector<std::string> argv;
94 argv.push_back(command[i]);
96 if (!base::LaunchProcess(argv, base::LaunchOptions(), &handle)) {
/external/chromium_org/chrome/common/
H A Dcrash_keys.cc316 const CommandLine::StringVector& argv = command_line->argv(); local
320 base::StringPrintf("%" PRIuS, argv.size() - 1));
324 // Go through the argv, skipping the exec path.
325 for (size_t i = 1; i < argv.size(); ++i) {
327 std::string switch_str = base::WideToUTF8(argv[i]);
329 std::string switch_str = argv[i];
H A Dswitch_utils_unittest.cc13 const CommandLine::CharType* argv[] = { local
20 CommandLine cmd_line(arraysize(argv), argv); local
/external/chromium_org/chrome/common/extensions/docs/server2/
H A Denvironment.py43 return sys.argv and os.path.basename(sys.argv[0]) == 'preview.py'
H A Dintegration_test.py289 # Kill sys.argv because we have our own flags.
290 sys.argv = [sys.argv[0]]
H A Dlink_converter.py78 opts, argv = parser.parse_args()
82 if len(argv) != 1:
85 for root, dirs, files in os.walk(argv[0]):
H A Dpreview.py78 (opts, argv) = parser.parse_args()
H A Dstart_dev_server.py23 if len(sys.argv) < 2:
33 args = [sys.executable] + sys.argv[1:] + [SRC_PATH]
H A Dupdate_server.py15 if len(sys.argv) > 1 and sys.argv[1].endswith('appcfg.py'):
16 appcfg_path = sys.argv[1]
17 additional_args = sys.argv[2:]
20 additional_args = sys.argv[1:]
35 server2_path = os.path.dirname(sys.argv[0])
/external/chromium_org/chrome/common/extensions/docs/server2/test_data/github_file_system/test_owner/repo/unzipped_repo/src/
H A Dhello.notpy6 def main(argv, argc):
11 print 'Hello, %s!' % random.choice(argv[1:])
16 main(sys.argv, len(sys.argv))
/external/chromium_org/chrome/common/mac/
H A Dapp_mode_common.h129 // Original |argc| and |argv|.
131 char** argv; // Required: v1.0 member in struct:app_mode::ChromeAppModeInfo
/external/chromium_org/chrome/installer/gcapi/
H A Dgcapi_test.cc63 int main(int argc, char* argv[]) { argument
65 CommandLine::Init(argc, argv);
67 testing::InitGoogleTest(&argc, argv);
/external/chromium_org/chrome/installer/mac/third_party/bsdiff/
H A Dgoobsdiff.c332 int main(int argc,char *argv[]) argument
349 if(argc!=4) errx(1,"usage: %s oldfile newfile patchfile",argv[0]);
353 if(((fd=open(argv[1],O_RDONLY,0))<0) ||
358 (close(fd)==-1)) err(1,"%s",argv[1]);
369 if(((fd=open(argv[2],O_RDONLY,0))<0) ||
374 (close(fd)==-1)) err(1,"%s",argv[2]);
384 if ((pf = fopen(argv[3], "wb")) == NULL)
385 err(1, "%s", argv[3]);
408 err(1, "fwrite(%s)", argv[3]);
512 err(1, "fwrite(%s)", argv[
[all...]
H A Dgoobspatch.c366 int main(int argc,char * argv[]) argument
382 if(argc!=4) errx(1,"usage: %s oldfile newfile patchfile",argv[0]);
385 if ((f = fopen(argv[3], "rb")) == NULL)
386 err(1, "fopen(%s)", argv[3]);
415 err(1, "fread(%s)", argv[3]);
434 err(1, "fseeko/ftello(%s)", argv[3]);
438 cfopen(&cf, argv[3], sizeof(header), "control", header[88]);
439 cfopen(&df, argv[3], sizeof(header) + zctrllen, "diff", header[89]);
440 cfopen(&ef, argv[3], sizeof(header) + zctrllen + zdatalen, "extra",
444 err(1, "fclose(%s)", argv[
[all...]
/external/chromium_org/chrome/installer/setup/
H A Drun_all_unittests.cc10 int main(int argc, char** argv) { argument
11 TestSuite test_suite(argc, argv);

Completed in 551 milliseconds

1234567891011>>