Home
last modified time | relevance | path

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

12345678

/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/
Dserver_address.cc41 : address_(address), args_(args), attributes_(std::move(attributes)) {} in ServerAddress()
46 : args_(args), attributes_(std::move(attributes)) { in ServerAddress()
52 : address_(other.address_), args_(grpc_channel_args_copy(other.args_)) { in ServerAddress()
59 grpc_channel_args_destroy(args_); in operator =()
60 args_ = grpc_channel_args_copy(other.args_); in operator =()
70 args_(other.args_), in ServerAddress()
72 other.args_ = nullptr; in ServerAddress()
76 grpc_channel_args_destroy(args_); in operator =()
77 args_ = other.args_; in operator =()
78 other.args_ = nullptr; in operator =()
[all …]
Dhttp_connect_handshaker.cc73 HandshakerArgs* args_ = nullptr; member in grpc_core::__anon3fe17e320111::HttpConnectHandshaker
100 endpoint_to_destroy_ = args_->endpoint; in CleanupArgsForFailureLocked()
101 args_->endpoint = nullptr; in CleanupArgsForFailureLocked()
102 read_buffer_to_destroy_ = args_->read_buffer; in CleanupArgsForFailureLocked()
103 args_->read_buffer = nullptr; in CleanupArgsForFailureLocked()
104 grpc_channel_args_destroy(args_->args); in CleanupArgsForFailureLocked()
105 args_->args = nullptr; in CleanupArgsForFailureLocked()
122 grpc_endpoint_shutdown(args_->endpoint, GRPC_ERROR_REF(error)); in HandshakeFailedLocked()
160 handshaker->args_->endpoint, handshaker->args_->read_buffer, in OnWriteDone()
191 for (size_t i = 0; i < handshaker->args_->read_buffer->count; ++i) { in OnReadDone()
[all …]
Dsubchannel_pool_interface.cc39 grpc_channel_args_destroy(const_cast<grpc_channel_args*>(args_)); in ~SubchannelKey()
43 Init(other.args_, grpc_channel_args_copy); in SubchannelKey()
47 grpc_channel_args_destroy(const_cast<grpc_channel_args*>(args_)); in operator =()
48 Init(other.args_, grpc_channel_args_copy); in operator =()
53 return grpc_channel_args_compare(args_, other.args_); in Cmp()
59 args_ = copy_channel_args(args); in Init()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/channel/
Dhandshaker.cc133 HandshakerArgsString(&args_).c_str()); in CallNextHandshakerLocked()
139 if (error != GRPC_ERROR_NONE || is_shutdown_ || args_.exit_early || in CallNextHandshakerLocked()
146 if (args_.endpoint != nullptr) { in CallNextHandshakerLocked()
151 grpc_endpoint_shutdown(args_.endpoint, GRPC_ERROR_REF(error)); in CallNextHandshakerLocked()
152 grpc_endpoint_destroy(args_.endpoint); in CallNextHandshakerLocked()
153 args_.endpoint = nullptr; in CallNextHandshakerLocked()
154 grpc_channel_args_destroy(args_.args); in CallNextHandshakerLocked()
155 args_.args = nullptr; in CallNextHandshakerLocked()
156 grpc_slice_buffer_destroy_internal(args_.read_buffer); in CallNextHandshakerLocked()
157 gpr_free(args_.read_buffer); in CallNextHandshakerLocked()
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/common/tasks/
Ddepthwise_conv.cc242 op.args_.AddInt("kernel_size_x", attr.weights.shape.w); in CreateDepthwiseConvolution2D()
243 op.args_.AddInt("stride_x", attr.strides.w); in CreateDepthwiseConvolution2D()
244 op.args_.AddInt("padding_x", -attr.padding.prepended.w); in CreateDepthwiseConvolution2D()
245 op.args_.AddInt("dilation_x", attr.dilations.w); in CreateDepthwiseConvolution2D()
246 op.args_.AddInt("kernel_size_y", attr.weights.shape.h); in CreateDepthwiseConvolution2D()
247 op.args_.AddInt("stride_y", attr.strides.h); in CreateDepthwiseConvolution2D()
248 op.args_.AddInt("padding_y", -attr.padding.prepended.h); in CreateDepthwiseConvolution2D()
249 op.args_.AddInt("dilation_y", attr.dilations.h); in CreateDepthwiseConvolution2D()
251 op.args_.AddInt("ch_multiplier", attr.weights.shape.o); in CreateDepthwiseConvolution2D()
267 op.args_.AddObject( in CreateDepthwiseConvolution2D()
[all …]
Dmax_unpooling.cc131 op.args_.AddInt("kernel_size_x", attr.kernel.w); in CreateMaxUnpooling()
132 op.args_.AddInt("padding_x", attr.padding.appended.w); in CreateMaxUnpooling()
133 op.args_.AddInt("stride_x", attr.strides.w); in CreateMaxUnpooling()
134 op.args_.AddInt("kernel_size_y", attr.kernel.h); in CreateMaxUnpooling()
135 op.args_.AddInt("padding_y", attr.padding.appended.h); in CreateMaxUnpooling()
136 op.args_.AddInt("stride_y", attr.strides.h); in CreateMaxUnpooling()
145 op.args_.AddInt("kernel_size_x", attr.kernel.w); in CreateMaxUnpooling()
146 op.args_.AddInt("padding_x", attr.padding.appended.w); in CreateMaxUnpooling()
147 op.args_.AddInt("stride_x", attr.strides.w); in CreateMaxUnpooling()
148 op.args_.AddInt("kernel_size_y", attr.kernel.h); in CreateMaxUnpooling()
[all …]
Dquantize_and_dequantize.cc43 op.args_.AddFloat("min", adjusted_attr.min); in CreateQuantizeAndDequantize()
44 op.args_.AddFloat("max", adjusted_attr.max); in CreateQuantizeAndDequantize()
45 op.args_.AddFloat("scale", adjusted_attr.scale); in CreateQuantizeAndDequantize()
47 op.args_.AddHalf("min", half(adjusted_attr.min)); in CreateQuantizeAndDequantize()
48 op.args_.AddHalf("max", half(adjusted_attr.max)); in CreateQuantizeAndDequantize()
49 op.args_.AddHalf("scale", half(adjusted_attr.scale)); in CreateQuantizeAndDequantize()
Dpooling.cc291 op.args_.AddInt("kernel_size_x", attr.kernel.w); in CreatePooling()
292 op.args_.AddInt("padding_x", -attr.padding.prepended.w); in CreatePooling()
293 op.args_.AddInt("stride_x", attr.strides.w); in CreatePooling()
294 op.args_.AddInt("kernel_size_y", attr.kernel.h); in CreatePooling()
295 op.args_.AddInt("padding_y", -attr.padding.prepended.h); in CreatePooling()
296 op.args_.AddInt("stride_y", attr.strides.h); in CreatePooling()
312 op.args_.AddInt("kernel_size_x", attr.kernel.w); in CreatePooling()
313 op.args_.AddInt("padding_x", -attr.padding.prepended.w); in CreatePooling()
314 op.args_.AddInt("stride_x", attr.strides.w); in CreatePooling()
315 op.args_.AddInt("kernel_size_y", attr.kernel.h); in CreatePooling()
[all …]
Dresize.cc52 args_.AddInt("border_x"); in GetResizeCode()
53 args_.AddInt("border_y"); in GetResizeCode()
54 args_.AddFloat("scale_factor_x"); in GetResizeCode()
55 args_.AddFloat("scale_factor_y"); in GetResizeCode()
187 args_.AddInt("border_x"); in GetResize3DCode()
188 args_.AddInt("border_y"); in GetResize3DCode()
189 args_.AddInt("border_z"); in GetResize3DCode()
190 args_.AddFloat("scale_factor_x"); in GetResize3DCode()
191 args_.AddFloat("scale_factor_y"); in GetResize3DCode()
192 args_.AddFloat("scale_factor_z"); in GetResize3DCode()
/external/perfetto/src/trace_processor/importers/common/
Dargs_tracker.cc36 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/ruy/ruy/profiler/
Dinstrumentation.cc29 args_[i] = other.args_[i]; in operator =()
41 if (args_[i] != other.args_[i]) { in operator ==()
55 snprintf(buf, kBufSize, format_, args_[0]); in Formatted()
57 snprintf(buf, kBufSize, format_, args_[0], args_[1]); in Formatted()
59 snprintf(buf, kBufSize, format_, args_[0], args_[1], args_[2]); in Formatted()
61 snprintf(buf, kBufSize, format_, args_[0], args_[1], args_[2], args_[3]); in Formatted()
/external/grpc-grpc/src/cpp/common/
Dchannel_arguments.cc39 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 …]
/external/grpc-grpc/src/core/lib/transport/
Dpid_controller.cc28 : 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/rust/crates/grpcio-sys/grpc/src/core/lib/transport/
Dpid_controller.cc28 : 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/perfetto/src/base/
Dperiodic_task.cc78 args_ = std::move(args); in Start()
79 if (args_.use_suspend_aware_timer) { in Start()
80 timer_fd_ = CreateTimerFd(args_.period_ms); in Start()
94 if (args_.start_first_task_immediately) in Start()
95 args_.task(); in Start()
100 PERFETTO_DCHECK(args_.period_ms > 0); in PostNextTask()
103 args_.period_ms - in PostNextTask()
104 static_cast<uint32_t>(base::GetWallTimeMs().count() % args_.period_ms); in PostNextTask()
117 if (!thiz || !thiz->args_.task || generation != thiz->generation_) in RunTaskAndPostNext()
146 auto task = thiz->args_.task; in RunTaskAndPostNext()
[all …]
/external/rust/crates/grpcio-sys/grpc/src/cpp/common/
Dchannel_arguments.cc39 args_.reserve(other.args_.size()); in ChannelArguments()
42 for (const auto& a : other.args_) { in ChannelArguments()
64 args_.push_back(ap); in ChannelArguments()
70 for (auto& arg : args_) { in ~ChannelArguments()
78 args_.swap(other.args_); in Swap()
98 for (auto& arg : args_) { in SetSocketMutator()
110 args_.push_back(mutator_arg); in SetSocketMutator()
111 args_.back().key = const_cast<char*>(strings_.back().c_str()); in SetSocketMutator()
126 for (auto& arg : args_) { in SetUserAgentPrefix()
176 args_.push_back(arg); in SetInt()
[all …]
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/transport/
Dsecurity_handshaker.cc95 HandshakerArgs* args_ = nullptr; member in grpc_core::__anonca80907c0111::SecurityHandshaker
147 size_t bytes_in_read_buffer = args_->read_buffer->length; in MoveReadBufferIntoHandshakeBuffer()
154 while (args_->read_buffer->count > 0) { in MoveReadBufferIntoHandshakeBuffer()
155 grpc_slice* next_slice = grpc_slice_buffer_peek_first(args_->read_buffer); in MoveReadBufferIntoHandshakeBuffer()
159 grpc_slice_buffer_remove_first(args_->read_buffer); in MoveReadBufferIntoHandshakeBuffer()
167 endpoint_to_destroy_ = args_->endpoint; in CleanupArgsForFailureLocked()
168 args_->endpoint = nullptr; in CleanupArgsForFailureLocked()
169 read_buffer_to_destroy_ = args_->read_buffer; in CleanupArgsForFailureLocked()
170 args_->read_buffer = nullptr; in CleanupArgsForFailureLocked()
171 grpc_channel_args_destroy(args_->args); in CleanupArgsForFailureLocked()
[all …]
/external/abseil-cpp/absl/strings/internal/str_format/
Dchecker.h111 return ConvParser(format, args_, error_, arg_position_, is_positional_); in SetFormat()
119 return ConvParser(format_, args_, error_ || error, arg_position_, in SetError()
124 return ConvParser(format_, args_, error_, arg_position, is_positional_); in SetArgPosition()
130 return SetArgs(args_.without_front()).SetError(!Contains(args_[0], conv)); in ConsumeNextArg()
137 return SetFormat(i.format).SetError(!Contains(args_[i.value - 1], conv)); in VerifyPositional()
198 args_(args), in ConvParser()
206 args_(args), in ConvParser()
224 constexpr ConvList args() const { return args_; } in args()
232 ConvList args_; variable
282 return (format_.empty() && (is_positional || args_.count == 0)) || in RunImpl()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/internal/str_format/
Dchecker.h104 return ConvParser(format, args_, error_, arg_position_, is_positional_); in SetFormat()
112 return ConvParser(format_, args_, error_ || error, arg_position_, in SetError()
117 return ConvParser(format_, args_, error_, arg_position, is_positional_); in SetArgPosition()
123 return SetArgs(args_.without_front()).SetError(!Contains(args_[0], conv)); in ConsumeNextArg()
130 return SetFormat(i.format).SetError(!Contains(args_[i.value - 1], conv)); in VerifyPositional()
191 args_(args), in ConvParser()
199 args_(args), in ConvParser()
217 constexpr ConvList args() const { return args_; } in args()
225 ConvList args_; variable
275 return (format_.empty() && (is_positional || args_.count == 0)) || in RunImpl()
[all …]
/external/webrtc/third_party/abseil-cpp/absl/strings/internal/str_format/
Dchecker.h111 return ConvParser(format, args_, error_, arg_position_, is_positional_); in SetFormat()
119 return ConvParser(format_, args_, error_ || error, arg_position_, in SetError()
124 return ConvParser(format_, args_, error_, arg_position, is_positional_); in SetArgPosition()
130 return SetArgs(args_.without_front()).SetError(!Contains(args_[0], conv)); in ConsumeNextArg()
137 return SetFormat(i.format).SetError(!Contains(args_[i.value - 1], conv)); in VerifyPositional()
198 args_(args), in ConvParser()
206 args_(args), in ConvParser()
224 constexpr ConvList args() const { return args_; } in args()
232 ConvList args_; variable
282 return (format_.empty() && (is_positional || args_.count == 0)) || in RunImpl()
[all …]
/external/openscreen/third_party/abseil/src/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 …]
/external/angle/third_party/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 …]
/external/libtextclassifier/abseil-cpp/absl/strings/internal/str_format/
Dchecker.h104 return ConvParser(format, args_, error_, arg_position_, is_positional_); in SetFormat()
112 return ConvParser(format_, args_, error_ || error, arg_position_, in SetError()
117 return ConvParser(format_, args_, error_, arg_position, is_positional_); in SetArgPosition()
123 return SetArgs(args_.without_front()).SetError(!Contains(args_[0], conv)); in ConsumeNextArg()
130 return SetFormat(i.format).SetError(!Contains(args_[i.value - 1], conv)); in VerifyPositional()
191 args_(args), in ConvParser()
199 args_(args), in ConvParser()
217 constexpr ConvList args() const { return args_; } in args()
225 ConvList args_; variable
275 return (format_.empty() && (is_positional || args_.count == 0)) || in RunImpl()
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/common/task/
Dgpu_operation.cc93 : args_(std::move(operation.args_)), in GPUOperation()
115 args_ = std::move(operation.args_); in operator =()
142 operation->args_.RenameArgs(unique_postfix, &code); in AddOperation()
144 RETURN_IF_ERROR(args_.Merge(std::move(operation->args_), unique_postfix)); in AddOperation()
162 args_.AddObjectRef(tensor_name, AccessType::READ, std::move(desc_new)); in AddSrcTensor()
169 args_.AddObjectRef(buffer_name, AccessType::READ, std::move(desc_new)); in AddSrcBuffer()
176 args_.AddObjectRef(texture_name, AccessType::READ, std::move(desc_new)); in AddSrcTexture2D()
183 args_.AddObjectRef(tensor_name, AccessType::WRITE, std::move(desc_new)); in AddDstTensor()
194 args_.AddObjectRef("src_tensor", AccessType::READ, std::move(src_desc)); in AssembleCode()
202 args_.AddObjectRef("dst_tensor", AccessType::WRITE, std::move(dst_desc)); in AssembleCode()
/external/tensorflow/tensorflow/core/kernels/
Dfunctional_ops.cc168 args_.push_back(ctx_->input(i)); in State()
180 opts_, handle, args_, &rets_, in Start()
202 TensorVec args_; member in tensorflow::__anonf02e412f0111::IfOp::State
294 args_.push_back(ctx_->input(i)); in State()
310 opts_, branch_handles_[branch], args_, &rets_, in Start()
331 TensorVec args_; member in tensorflow::__anonf02e412f0111::CaseOp::State
452 : args_(args), retvals_(retvals), ret_types_(ret_types) {} in BodyFuncCallFrame()
454 size_t num_args() const override { return args_->size(); } in num_args()
458 if (index < args_->size()) { in GetArg()
459 *val = &(*args_)[index]; in GetArg()
[all …]

12345678