Home
last modified time | relevance | path

Searched refs:argv_ (Results 1 – 23 of 23) sorted by relevance

/third_party/node/test/fuzzers/
Dfuzz_helper.h11 argv_ = static_cast<char**>(malloc(nr_args_ * sizeof(char*))); in Argv()
12 argv_[0] = static_cast<char*>(malloc(total_len)); in Argv()
17 snprintf(argv_[0] + offset, len, "%s", *it); in Argv()
20 argv_[i] = argv_[0] + offset; in Argv()
27 free(argv_[0]); in ~Argv()
28 free(argv_); in ~Argv()
36 return argv_;
40 char** argv_;
/third_party/gn/src/base/
Dcommand_line.cc163 : argv_(1), begin_args_(1), parse_switches_(true) {} in CommandLine()
166 : argv_(1), begin_args_(1), parse_switches_(true) { in CommandLine()
171 : argv_(1), begin_args_(1), parse_switches_(true) { in CommandLine()
176 : argv_(1), begin_args_(1), parse_switches_(true) { in CommandLine()
265 argv_ = StringVector(1); in InitFromArgv()
273 return FilePath(argv_[0]); in GetProgram()
278 TrimWhitespace(program.value(), TRIM_ALL, &argv_[0]); in SetProgram()
280 TrimWhitespaceASCII(program.value(), TRIM_ALL, &argv_[0]); in SetProgram()
349 argv_.insert(argv_.begin() + begin_args_++, combined_switch_string); in AppendSwitchNative()
374 StringVector args(argv_.begin() + begin_args_, argv_.end()); in GetArgs()
[all …]
Dcommand_line.h149 const StringVector& argv() const { return argv_; } in argv()
240 StringVector argv_; variable
/third_party/node/test/cctest/
Dnode_test_fixture.h25 argv_ = static_cast<char**>(malloc(nr_args_ * sizeof(char*))); in Argv()
26 argv_[0] = static_cast<char*>(malloc(total_len)); in Argv()
31 snprintf(argv_[0] + offset, len, "%s", *it); in Argv()
34 argv_[i] = argv_[0] + offset; in Argv()
41 free(argv_[0]); in ~Argv()
42 free(argv_); in ~Argv()
50 return argv_;
54 char** argv_;
/third_party/skia/third_party/externals/libwebp/examples/
Dexample_util.c70 args->argv_ = argv; in ResetCommandLineArguments()
78 WebPFree((void*)args->argv_); in ExUtilDeleteCommandLineArguments()
105 args->argv_ = (const char**)WebPMalloc(MAX_ARGC * sizeof(*args->argv_)); in ExUtilInitCommandLineArguments()
106 if (args->argv_ == NULL) return 0; in ExUtilInitCommandLineArguments()
117 args->argv_[argc++] = cur; in ExUtilInitCommandLineArguments()
Dexample_util.h49 const char** argv_; member
Dimg2webp.c150 argv = cmd_args.argv_; in main()
Dwebpmux.c134 if (!strcmp(args->argv_[i], arg)) { in CountOccurrences()
627 const char* const* argv = config->cmd_args_.argv_; in ParseCommandLine()
/third_party/flutter/skia/third_party/externals/libwebp/examples/
Dexample_util.c70 args->argv_ = argv; in ResetCommandLineArguments()
78 free((void*)args->argv_); in ExUtilDeleteCommandLineArguments()
105 args->argv_ = (const char**)malloc(MAX_ARGC * sizeof(*args->argv_)); in ExUtilInitCommandLineArguments()
106 if (args->argv_ == NULL) return 0; in ExUtilInitCommandLineArguments()
117 args->argv_[argc++] = cur; in ExUtilInitCommandLineArguments()
Dexample_util.h49 const char** argv_; member
Dimg2webp.c150 argv = cmd_args.argv_; in main()
Dwebpmux.c132 if (!strcmp(args->argv_[i], arg)) { in CountOccurrences()
624 const char* const* argv = config->cmd_args_.argv_; in ParseCommandLine()
/third_party/boost/tools/build/src/
Dmanager.py36 self.argv_ = bjam.variable("ARGV")
60 return self.argv_
/third_party/cef/tests/ceftests/
Dtest_suite.cc87 : argc_(argc), argv_(argc, argv), retval_(0) { in CefTestSuite()
124 testing::InitGoogleTest(&argc_, argv_.array()); in InitMainProcess()
Dtest_suite.h47 CefScopedArgArray argv_; variable
/third_party/node/src/
Dnode.cc208 inspector_path = argv_.size() > 1 ? argv_[1].c_str() : ""; in InitializeInspector()
942 std::vector<std::string> argv_(argv, argv + *argc); // NOLINT in Init() local
948 int exit_code = InitializeNodeWithArgs(&argv_, &exec_argv_, &errors); in Init()
951 fprintf(stderr, "%s: %s\n", argv_.at(0).c_str(), error.c_str()); in Init()
970 *argc = argv_.size(); in Init()
979 argv[i] = strdup(argv_[i].c_str()); in Init()
Dnode_worker.h79 std::vector<std::string> argv_; variable
Dnode_worker.cc82 argv_ = std::vector<std::string>{env->argv()[0]}; in Worker()
317 std::move(argv_), in Run()
Denv.cc344 argv_(args), in Environment()
Denv-inl.h696 return argv_; in argv()
Denv.h1355 std::vector<std::string> argv_; variable
/third_party/skia/third_party/externals/spirv-cross/
Dmain.cpp79 CLIParser(CLICallbacks cbs_, int argc_, char *argv_[]) in CLIParser()
82 , argv(argv_) in CLIParser()
/third_party/chromium/patch/
D0003-3.2-Beta3-1115.patch58450 + : argc_(argc), argv_(argv) {}
58990 + CefMainArgs mainargs(argc_, const_cast<char**>(argv_));
59514 + const char** argv_;