Home
last modified time | relevance | path

Searched refs:args_ (Results 1 – 25 of 41) sorted by relevance

12

/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/
Dchecker.h118 return ConvParser(format, args_, error_, arg_position_, is_positional_); in SetFormat()
126 return ConvParser(format_, args_, error_ || error, arg_position_, in SetError()
131 return ConvParser(format_, args_, error_, arg_position, is_positional_); in SetArgPosition()
137 return SetArgs(args_.without_front()).SetError(!Contains(args_[0], conv)); in ConsumeNextArg()
144 return SetFormat(i.format).SetError(!Contains(args_[i.value - 1], conv)); in VerifyPositional()
205 args_(args), in ConvParser()
213 args_(args), in ConvParser()
231 constexpr ConvList args() const { return args_; } in args()
239 ConvList args_; variable
289 return (format_.empty() && (is_positional || args_.count == 0)) || in RunImpl()
[all …]
Dbind.h154 args_ = absl::MakeSpan(few_args_, args.size()); in Streamable()
157 args_ = many_args_; in Streamable()
169 absl::Span<const FormatArgImpl> args_; variable
Dbind.cc204 if (!FormatUntyped(&os, format_, args_)) os.setstate(std::ios::failbit); in Print()
/third_party/node/deps/v8/src/parsing/
Dpending-compilation-error-handler.cc22 DCHECK_NE(args_[0].type, kMainThreadHandle); in SetString()
23 args_[0].type = kMainThreadHandle; in SetString()
24 args_[0].js_string = string; in SetString()
29 DCHECK_NE(args_[0].type, kMainThreadHandle); in SetString()
30 args_[0].type = kMainThreadHandle; in SetString()
31 args_[0].js_string = isolate->heap()->NewPersistentHandle(string); in SetString()
38 switch (args_[i].type) { in Prepare()
40 return SetString(args_[i].ast_string->string(), isolate); in Prepare()
60 switch (args_[index].type) { in ArgString()
62 return args_[index].js_string; in ArgString()
[all …]
Dpending-compilation-error-handler.h96 args_{MessageArgument{arg0}, MessageArgument{}} {} in MessageDetails()
103 args_{MessageArgument{arg0}, MessageArgument{arg1}} { in MessageDetails()
112 args_{MessageArgument{arg0}, MessageArgument{}} {} in MessageDetails()
118 if (args_[i].type == kNone) break; in ArgCount()
123 DCHECK_EQ(args_[i].type, kNone); in ArgCount()
162 MessageArgument args_[kMaxArgumentCount]; variable
/third_party/node/deps/v8/src/asmjs/
Dasm-types.cc149 for (size_t ii = 0; ii < args_.size(); ++ii) { in Name()
150 ret += args_[ii]->Name(); in Name()
151 if (ii != args_.size() - 1) { in Name()
248 if (args_.size() != that->args_.size()) { in IsA()
252 for (size_t ii = 0; ii < args_.size(); ++ii) { in IsA()
253 if (!AsmType::IsExactly(args_[ii], that->args_[ii])) { in IsA()
267 if (args_.size() != args.size()) { in CanBeInvokedWith()
271 for (size_t ii = 0; ii < args_.size(); ++ii) { in CanBeInvokedWith()
272 if (!args[ii]->IsA(args_[ii])) { in CanBeInvokedWith()
Dasm-types.h133 void AddArgument(AsmType* type) { args_.push_back(type); } in AddArgument()
134 const ZoneVector<AsmType*> Arguments() const { return args_; } in Arguments()
142 : return_type_(return_type), args_(zone) {} in AsmFunctionType()
152 ZoneVector<AsmType*> args_; variable
/third_party/googletest/googletest/src/
Dgtest-death-test.cc842 Arguments() { args_.push_back(nullptr); } in Arguments()
845 for (std::vector<char*>::iterator i = args_.begin(); i != args_.end(); in ~Arguments()
851 args_.insert(args_.end() - 1, posix::StrDup(argument)); in AddArgument()
858 args_.insert(args_.end() - 1, posix::StrDup(i->c_str())); in AddArguments()
861 char* const* Argv() { return &args_[0]; } in Argv()
863 int size() { return static_cast<int>(args_.size()) - 1; } in size()
866 std::vector<char*> args_; member in testing::internal::Arguments
1179 Arguments() { args_.push_back(nullptr); } in Arguments()
1182 for (std::vector<char*>::iterator i = args_.begin(); i != args_.end(); in ~Arguments()
1188 args_.insert(args_.end() - 1, posix::StrDup(argument)); in AddArgument()
[all …]
/third_party/mesa3d/src/gtest/src/
Dgtest-death-test.cc842 Arguments() { args_.push_back(nullptr); } in Arguments()
845 for (std::vector<char*>::iterator i = args_.begin(); i != args_.end(); in ~Arguments()
851 args_.insert(args_.end() - 1, posix::StrDup(argument)); in AddArgument()
859 args_.insert(args_.end() - 1, posix::StrDup(i->c_str())); in AddArguments()
863 return &args_[0]; in Argv()
867 return args_.size() - 1; in size()
871 std::vector<char*> args_; member in testing::internal::Arguments
1193 Arguments() { args_.push_back(nullptr); } in Arguments()
1196 for (std::vector<char*>::iterator i = args_.begin(); i != args_.end(); in ~Arguments()
1202 args_.insert(args_.end() - 1, posix::StrDup(argument)); in AddArgument()
[all …]
/third_party/benchmark/src/
Dbenchmark_register.cc152 const size_t family_size = family->args_.size() * thread_counts->size(); in FindBenchmarks()
164 for (auto const& args : family->args_) { in FindBenchmarks()
239 args_.push_back({x}); in Arg()
255 args_.push_back({i}); in Range()
290 args_.push_back(args); in ArgsProduct()
318 args_.push_back({arg}); in DenseRange()
325 args_.push_back(args); in Args()
476 if (args_.empty()) { in ArgsCnt()
480 return static_cast<int>(args_.front().size()); in ArgsCnt()
Dbenchmark_api_internal.cc18 args_(args), in BenchmarkInstance()
96 State st(name_.function_name, iters, args_, thread_id, threads_, timer, in Run()
104 State st(name_.function_name, /*iters*/ 1, args_, /*thread_id*/ 0, threads_, in Setup()
112 State st(name_.function_name, /*iters*/ 1, args_, /*thread_id*/ 0, threads_, in Teardown()
Dbenchmark_api_internal.h55 const std::vector<int64_t>& args_; variable
/third_party/node/deps/v8/include/
Dv8-function-callback.h247 V8_INLINE PropertyCallbackInfo(internal::Address* args) : args_(args) {} in PropertyCallbackInfo()
248 internal::Address* args_; variable
439 return *reinterpret_cast<Isolate**>(&args_[kIsolateIndex]); in GetIsolate()
444 return Local<Value>(reinterpret_cast<Value*>(&args_[kDataIndex])); in Data()
449 return Local<Object>(reinterpret_cast<Object*>(&args_[kThisIndex])); in This()
454 return Local<Object>(reinterpret_cast<Object*>(&args_[kHolderIndex])); in Holder()
459 return ReturnValue<T>(&args_[kReturnValueIndex]); in GetReturnValue()
465 if (args_[kShouldThrowOnErrorIndex] != in ShouldThrowOnError()
467 return args_[kShouldThrowOnErrorIndex] != I::IntToSmi(I::kDontThrow); in ShouldThrowOnError()
/third_party/skia/third_party/externals/libwebp/examples/
Dwebpmux.c121 FeatureArg* args_; member
522 free(config->args_); in DeleteConfig()
633 FeatureArg* const arg = &config->args_[feature_arg_index]; in ParseCommandLine()
845 config->args_ = (FeatureArg*)calloc(num_feature_args, sizeof(*config->args_)); in InitializeConfig()
846 if (config->args_ == NULL) { in InitializeConfig()
878 num = ExUtilGetInt(config->args_[0].params_, 10, &parse_error); in GetFrame()
955 switch (config->args_[i].subtype_) { in Process()
958 ok = ParseBgcolorArgs(config->args_[i].params_, &bgcolor); in Process()
969 ExUtilGetInt(config->args_[i].params_, 10, &parse_error); in Process()
985 ok = ExUtilReadFileToWebPData(config->args_[i].filename_, in Process()
[all …]
/third_party/gn/src/gn/
Daction_values.h30 SubstitutionList& args() { return args_; } in args()
31 const SubstitutionList& args() const { return args_; } in args()
60 SubstitutionList args_; variable
Dtoolchain.h85 Scope::KeyValueMap& args() { return args_; } in args()
86 const Scope::KeyValueMap& args() const { return args_; } in args()
132 Scope::KeyValueMap args_; variable
Dparse_tree.cc737 return functions::RunFunction(scope, this, args_.get(), block_.get(), err); in Execute()
745 return function_.range().Union(args_->GetRange()); in GetRange()
757 child.GetList().push_back(args_->GetJSONNode()); in GetJSONNode()
773 ret->args_ = ListNode::NewFromJSON(children[0]); in NewFromJSON()
787 Location args_old_loc = args_->Begin().location(); in SetNewLocation()
790 const_cast<Token&>(args_->Begin()).set_location(args_new_loc); in SetNewLocation()
791 const_cast<Token&>(args_->End()->value()).set_location(args_new_loc); in SetNewLocation()
Dparse_tree.h389 const ListNode* args() const { return args_.get(); } in args()
390 void set_args(std::unique_ptr<ListNode> a) { args_ = std::move(a); } in set_args()
401 std::unique_ptr<ListNode> args_; variable
/third_party/node/src/
Dnode_main_instance.cc37 : args_(args), in NodeMainInstance()
65 : args_(args), in NodeMainInstance()
156 args_, in CreateMainEnvironment()
189 CreateEnvironment(isolate_data_.get(), context, args_, exec_args_)); in CreateMainEnvironment()
Dnode_main_instance.h80 std::vector<std::string> args_; variable
Dnode_internals.h323 const std::vector<std::string>& args() const { return args_; } in args()
329 std::vector<std::string> args_; variable
/third_party/node/deps/v8/tools/
Darguments.mjs7 this.args_ = args;
55 while (this.args_.length) {
56 let arg = this.args_.shift();
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/
Dparse.cc155 ArgsList(int argc, char* argv[]) : args_(argv, argv + argc), next_arg_(0) {} in ArgsList()
157 : args_(args), next_arg_(0) {} in ArgsList()
162 int Size() const { return args_.size() - next_arg_; } in Size()
164 absl::string_view Front() const { return args_[next_arg_]; } in Front()
168 std::vector<std::string> args_; member in absl::flags_internal::__anon82ede80f0511::ArgsList
184 args_.push_back(""); in ReadFromFlagfile()
206 args_.push_back(std::string(stripped)); in ReadFromFlagfile()
/third_party/spirv-headers/tools/buildHeaders/jsoncpp/dist/
Djsoncpp.cpp3826 args_.push_back(index); in makePath()
3839 args_.push_back(std::string(beginName, current)); in makePath()
3853 args_.push_back(**itInArg); in addPathInArg()
3863 for (Args::const_iterator it = args_.begin(); it != args_.end(); ++it) { in resolve()
3886 for (Args::const_iterator it = args_.begin(); it != args_.end(); ++it) { in resolve()
3905 for (Args::const_iterator it = args_.begin(); it != args_.end(); ++it) { in make()
/third_party/protobuf/conformance/third_party/jsoncpp/
Djsoncpp.cpp3859 args_.push_back(index); in makePath()
3872 args_.push_back(std::string(beginName, current)); in makePath()
3886 args_.push_back(**itInArg); in addPathInArg()
3896 for (Args::const_iterator it = args_.begin(); it != args_.end(); ++it) { in resolve()
3919 for (Args::const_iterator it = args_.begin(); it != args_.end(); ++it) { in resolve()
3938 for (Args::const_iterator it = args_.begin(); it != args_.end(); ++it) { in make()

12