/external/tensorflow/tensorflow/lite/experimental/ruy/profiler/ |
D | instrumentation.cc | 27 args_[i] = other.args_[i]; in operator =() 39 if (args_[i] != other.args_[i]) { in operator ==() 53 snprintf(buf, kBufSize, format_, args_[0]); in Formatted() 55 snprintf(buf, kBufSize, format_, args_[0], args_[1]); in Formatted() 57 snprintf(buf, kBufSize, format_, args_[0], args_[1], args_[2]); in Formatted() 59 snprintf(buf, kBufSize, format_, args_[0], args_[1], args_[2], args_[3]); in Formatted()
|
/external/perfetto/src/trace_processor/importers/common/ |
D | args_tracker.cc | 36 args_.emplace_back(); in AddArg() 38 auto* rid_arg = &args_.back(); in AddArg() 50 if (args_.empty()) in Flush() 67 std::stable_sort(args_.begin(), args_.end(), comparator); in Flush() 69 for (uint32_t i = 0; i < args_.size();) { in Flush() 70 const auto& arg = args_[i]; in Flush() 75 while (next_rid_idx < args_.size() && in Flush() 76 column == args_[next_rid_idx].column && in Flush() 77 row == args_[next_rid_idx].row) { in Flush() 82 context_->global_args_tracker->AddArgSet(args_, i, next_rid_idx); in Flush() [all …]
|
/external/grpc-grpc/src/cpp/common/ |
D | channel_arguments.cc | 39 args_.reserve(other.args_.size()); in ChannelArguments() 42 for (auto a = other.args_.begin(); a != other.args_.end(); ++a) { in ChannelArguments() 64 args_.push_back(ap); in ChannelArguments() 70 for (auto it = args_.begin(); it != args_.end(); ++it) { in ~ChannelArguments() 78 args_.swap(other.args_); in Swap() 98 for (auto it = args_.begin(); it != args_.end(); ++it) { in SetSocketMutator() 109 args_.push_back(mutator_arg); in SetSocketMutator() 124 for (auto it = args_.begin(); it != args_.end(); ++it) { in SetUserAgentPrefix() 175 args_.push_back(arg); in SetInt() 194 args_.push_back(arg); in SetPointerWithVtable() [all …]
|
D | secure_channel_arguments.cc | 31 for (unsigned int i = 0; i < args_.size(); i++) { in GetSslTargetNameOverride() 32 if (grpc::string(GRPC_SSL_TARGET_NAME_OVERRIDE_ARG) == args_[i].key) { in GetSslTargetNameOverride() 33 return args_[i].value.string; in GetSslTargetNameOverride()
|
/external/grpc-grpc/src/core/lib/transport/ |
D | pid_controller.cc | 28 : last_control_value_(args.initial_control_value()), args_(args) {} in PidController() 34 error_integral_ = GPR_CLAMP(error_integral_, -args_.integral_range(), in Update() 35 args_.integral_range()); in Update() 38 double dc_dt = args_.gain_p() * error + args_.gain_i() * error_integral_ + in Update() 39 args_.gain_d() * diff_error; in Update() 43 new_control_value = GPR_CLAMP(new_control_value, args_.min_control_value(), in Update() 44 args_.max_control_value()); in Update()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | functional_ops.cc | 163 args_.push_back(ctx_->input(i)); in State() 180 opts_, handle, args_, &rets_, in Start() 202 TensorVec args_; member in tensorflow::__anon351ad7530111::IfOp::State 258 args_.push_back(ctx_->input(i)); in State() 279 opts_, branch_handles_[branch], args_, &rets_, in Start() 300 TensorVec args_; member in tensorflow::__anon351ad7530111::CaseOp::State 365 args_.push_back(ctx_->input(i)); in State() 381 TensorVec args_; member in tensorflow::__anon351ad7530111::WhileOp::State 394 opts_, cond_handle_, args_, &rets_, in EvalCond() 461 opts_, body_handle_, args_, &rets_, in StartBody() [all …]
|
/external/v8/src/asmjs/ |
D | asm-types.cc | 149 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()
|
D | asm-types.h | 129 void AddArgument(AsmType* type) { args_.push_back(type); } in AddArgument() 130 const ZoneVector<AsmType*> Arguments() const { return args_; } in Arguments() 138 : return_type_(return_type), args_(zone) {} in AsmFunctionType() 148 ZoneVector<AsmType*> args_; variable
|
/external/grpc-grpc/include/grpcpp/support/ |
D | channel_arguments.h | 119 out.num_args = args_.size(); in c_channel_args() 120 out.args = args_.empty() ? NULL : const_cast<grpc_arg*>(&args_[0]); in c_channel_args() 142 std::vector<grpc_arg> args_; variable
|
/external/libcxx/utils/google-benchmark/src/ |
D | benchmark_register.cc | 142 const size_t family_size = family->args_.size() * thread_counts->size(); in FindBenchmarks() 153 for (auto const& args : family->args_) { in FindBenchmarks() 214 instance.last_benchmark_instance = (&args == &family->args_.back()); in FindBenchmarks() 263 args_.push_back({x}); in Arg() 278 args_.push_back({i}); in Range() 304 args_.push_back(std::move(tmp)); in Ranges() 334 args_.push_back({arg}); in DenseRange() 341 args_.push_back(args); in Args() 463 if (args_.empty()) { in ArgsCnt() 467 return static_cast<int>(args_.front().size()); in ArgsCnt()
|
/external/eigen/bench/tensors/ |
D | benchmark_main.cc | 75 args_.push_back(arg); in Arg() 87 args_.push_back(lo); in Range() 91 args_.push_back(hi); in Range() 132 if (args_.empty()) { in Run() 136 for (size_t i = 0; i < args_.size(); ++i) { in Run() 137 RunWithArg(args_[i]); in Run()
|
/external/libvpx/libvpx/third_party/googletest/src/src/ |
D | gtest-death-test.cc | 838 args_.push_back(NULL); in Arguments() 842 for (std::vector<char*>::iterator i = args_.begin(); i != args_.end(); in ~Arguments() 848 args_.insert(args_.end() - 1, posix::StrDup(argument)); in AddArgument() 856 args_.insert(args_.end() - 1, posix::StrDup(i->c_str())); in AddArguments() 860 return &args_[0]; in Argv() 864 return args_.size() - 1; in size() 868 std::vector<char*> args_; member in testing::internal::Arguments 1119 args_.push_back(NULL); in Arguments() 1123 for (std::vector<char*>::iterator i = args_.begin(); i != args_.end(); in ~Arguments() 1129 args_.insert(args_.end() - 1, posix::StrDup(argument)); in AddArgument() [all …]
|
/external/google-benchmark/src/ |
D | benchmark_register.cc | 147 const size_t family_size = family->args_.size() * thread_counts->size(); in FindBenchmarks() 158 for (auto const& args : family->args_) { in FindBenchmarks() 232 instance.last_benchmark_instance = (&args == &family->args_.back()); in FindBenchmarks() 282 args_.push_back({x}); in Arg() 297 args_.push_back({i}); in Range() 323 args_.push_back(std::move(tmp)); in Ranges() 352 args_.push_back({arg}); in DenseRange() 359 args_.push_back(args); in Args() 487 if (args_.empty()) { in ArgsCnt() 491 return static_cast<int>(args_.front().size()); in ArgsCnt()
|
/external/v4l2_codec2/tests/c2_e2e_test/jni/ |
D | video_encoder_e2e_test.cpp | 59 explicit C2VideoEncoderTestEnvironment(const CmdlineArgs& args) : args_(args) {} in C2VideoEncoderTestEnvironment() 84 std::vector<std::string> fields = SplitString(args_.test_stream_data, ':'); in ParseTestStreamData() 86 args_.test_stream_data.c_str()); in ParseTestStreamData() 88 args_.test_stream_data.c_str()); in ParseTestStreamData() 148 bool run_at_fps() const { return args_.run_at_fps; } in run_at_fps() 149 size_t num_encoded_frames() const { return args_.num_encoded_frames; } in num_encoded_frames() 152 const CmdlineArgs args_; member in android::C2VideoEncoderTestEnvironment
|
/external/libaom/libaom/third_party/googletest/src/googletest/src/ |
D | gtest-death-test.cc | 827 Arguments() { args_.push_back(nullptr); } in Arguments() 830 for (std::vector<char *>::iterator i = args_.begin(); i != args_.end(); in ~Arguments() 836 args_.insert(args_.end() - 1, posix::StrDup(argument)); in AddArgument() 843 args_.insert(args_.end() - 1, posix::StrDup(i->c_str())); in AddArguments() 846 char *const *Argv() { return &args_[0]; } in Argv() 848 int size() { return args_.size() - 1; } in size() 851 std::vector<char *> args_; member in testing::internal::Arguments 1165 Arguments() { args_.push_back(nullptr); } in Arguments() 1168 for (std::vector<char *>::iterator i = args_.begin(); i != args_.end(); in ~Arguments() 1174 args_.insert(args_.end() - 1, posix::StrDup(argument)); in AddArgument() [all …]
|
/external/mesa3d/src/gtest/src/ |
D | gtest-death-test.cc | 842 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 …]
|
/external/googletest/googletest/src/ |
D | gtest-death-test.cc | 842 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 …]
|
/external/vulkan-validation-layers/layers/ |
D | parameter_name.h | 76 …: source_(source), args_(args.size() ? args.begin() : (const size_t *)nullptr), num_indices_(args.… in ParameterName() 93 auto index = args_[i]; in Format() 126 const size_t *args_; ///< Array index values for formatting. variable
|
/external/tensorflow/tensorflow/core/platform/default/ |
D | test_benchmark.cc | 41 args_.push_back(std::make_pair(-1, -1)); in Benchmark() 57 args_.push_back(std::make_pair(x, -1)); in Arg() 63 args_.push_back(std::make_pair(x, y)); in ArgPair() 129 for (auto arg : b->args_) { in Run() 149 for (auto arg : b->args_) { in Run()
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | kernel_thunk.cc | 41 args_(args.begin(), args.end()), in KernelThunk() 58 CreateKernel(kernel_name_, args_.size(), executable.text(), in Initialize() 89 for (const BufferAllocation* arg : args_) { in ExecuteOnStream()
|
/external/bcc/src/cc/frontends/b/ |
D | type_check.cc | 243 if (n->args_.size() != num) in expect_method_arg() 245 num, num == 1 ? "" : "s", n->args_.size()); in expect_method_arg() 247 if (n->args_.size() < num - num_def_args || n->args_.size() > num) in expect_method_arg() 249 num, num == 1 ? "" : "s", num_def_args, n->args_.size()); in expect_method_arg() 295 for (auto it = n->args_.begin(); it != n->args_.end(); ++it) { in visit_method_call_expr_node() 309 n->args_[0]->flags_[ExprNode::IS_LHS] = true; in visit_method_call_expr_node() 312 if (n->args_.size() < 1) in visit_method_call_expr_node() 314 if (n->args_[0]->typeof_ != ExprNode::STRING) in visit_method_call_expr_node() 321 n->bit_width_ = n->args_[0]->bit_width_; in visit_method_call_expr_node() 322 n->args_[0]->flags_[ExprNode::IS_LHS] = true; in visit_method_call_expr_node()
|
/external/tensorflow/tensorflow/core/kernels/data/ |
D | captured_function.cc | 305 args_(std::move(args)), in OwnedArgsCallFrame() 309 return args_.size() + captured_inputs_->size(); in num_args() 314 if (index < args_.size()) { in GetArg() 317 *val = args_[index]; in GetArg() 319 } else if (index < args_.size() + captured_inputs_->size()) { in GetArg() 320 *val = (*captured_inputs_)[index - args_.size()]; in GetArg() 328 std::vector<Tensor> args_; member in tensorflow::data::__anon173dfe950111::OwnedArgsCallFrame 338 args_(args), in BorrowedArgsCallFrame() 342 return args_.size() + captured_inputs_->size(); in num_args() 347 if (index < args_.size()) { in GetArg() [all …]
|
/external/webrtc/webrtc/tools/ |
D | simple_command_line_parser.cc | 27 args_ = std::vector<std::string> (argv + 1, argv + argc); in Init() 89 for (iter = args_.begin(); iter != args_.end(); ++iter) { in ProcessFlags()
|
/external/llvm/utils/unittest/googletest/src/ |
D | gtest-death-test.cc | 851 args_.push_back(NULL); in Arguments() 855 for (std::vector<char*>::iterator i = args_.begin(); i != args_.end(); in ~Arguments() 861 args_.insert(args_.end() - 1, posix::StrDup(argument)); in AddArgument() 869 args_.insert(args_.end() - 1, posix::StrDup(i->c_str())); in AddArguments() 873 return &args_[0]; in Argv() 876 std::vector<char*> args_; member in testing::internal::Arguments
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/src/ |
D | gtest-death-test.cc | 906 args_.push_back(NULL); in Arguments() 910 for (std::vector<char*>::iterator i = args_.begin(); i != args_.end(); in ~Arguments() 916 args_.insert(args_.end() - 1, posix::StrDup(argument)); in AddArgument() 924 args_.insert(args_.end() - 1, posix::StrDup(i->c_str())); in AddArguments() 928 return &args_[0]; in Argv() 932 std::vector<char*> args_; member in testing::internal::Arguments
|