Home
last modified time | relevance | path

Searched refs:ow_ (Results 1 – 17 of 17) sorted by relevance

/third_party/protobuf/src/google/protobuf/util/internal/
Djson_objectwriter_test.cc50 ow_(nullptr) {} in JsonObjectWriterTest()
52 ~JsonObjectWriterTest() override { delete ow_; } in ~JsonObjectWriterTest()
63 JsonObjectWriter* ow_; member in google::protobuf::util::converter::JsonObjectWriterTest
67 ow_ = new JsonObjectWriter("", out_stream_); in TEST_F()
68 ow_->StartObject("")->EndObject(); in TEST_F()
73 ow_ = new JsonObjectWriter("", out_stream_); in TEST_F()
74 ow_->StartObject("") in TEST_F()
83 ow_ = new JsonObjectWriter("", out_stream_); in TEST_F()
84 ow_->StartList("")->EndList(); in TEST_F()
89 ow_ = new JsonObjectWriter("", out_stream_); in TEST_F()
[all …]
Dprotostream_objectwriter_test.cc109 ow_() {} in BaseProtoStreamObjectWriterTest()
115 ow_() { in BaseProtoStreamObjectWriterTest()
126 ow_() { in BaseProtoStreamObjectWriterTest()
133 ow_.reset(helper_.NewProtoWriter(GetTypeUrl(descriptors[0]), output_.get(), in ResetTypeInfo()
168 std::unique_ptr<ProtoStreamObjectWriter> ow_; member in google::protobuf::util::converter::BaseProtoStreamObjectWriterTest
197 ow_->StartObject("")->EndObject(); in TEST_P()
209 ow_->StartObject("") in TEST_P()
230 ow_->StartObject("") in TEST_P()
259 ow_->StartObject("") in TEST_P()
274 ow_->StartObject("")->RenderInt32("value", 12345)->EndObject(); in TEST_P()
[all …]
Djson_stream_parser_test.cc87 JsonStreamParserTest() : mock_(), ow_(&mock_) {} in JsonStreamParserTest()
154 ExpectingObjectWriter ow_; member in google::protobuf::util::converter::JsonStreamParserTest
164 ow_.RenderBool("", true); in TEST_F()
172 ow_.RenderBool("", false); in TEST_F()
180 ow_.RenderNull(""); in TEST_F()
189 ow_.StartObject("")->EndObject(); in TEST_F()
197 ow_.StartList("")->EndList(); in TEST_F()
206 ow_.RenderDouble("", 42.5); in TEST_F()
214 ow_.RenderDouble("", 1.2345e-10); in TEST_F()
222 ow_.RenderDouble("", -1045.235); in TEST_F()
[all …]
Dprotostream_objectsource_test.cc96 ow_(&mock_), in ProtostreamObjectSourceTest()
130 ow_.StartObject("") in PrepareExpectingObjectWriterForRepeatedPrimitive()
285 ExpectingObjectWriter ow_; member in google::protobuf::util::converter::ProtostreamObjectSourceTest
300 ow_.StartObject("")->EndObject(); in TEST_P()
322 ow_.StartObject("") in TEST_P()
348 ow_.StartList("repStr") in TEST_P()
362 ow_.StartObject("")->RenderUint64("@id", 12345)->EndObject(); in TEST_P()
373 ow_.StartObject("") in TEST_P()
389 ow_.StartObject("") in TEST_P()
422 ow_.StartObject("") in TEST_P()
[all …]
Dprotostream_objectwriter.cc204 ow_(), in AnyWriter()
219 if (ow_ == nullptr) { in StartObject()
230 ow_->StartObject(""); in StartObject()
235 ow_->StartObject(name); in StartObject()
241 if (ow_ == nullptr) { in EndObject()
250 ow_->EndObject(); in EndObject()
263 if (ow_ == nullptr) { in StartList()
272 ow_->StartList(""); in StartList()
274 ow_->StartList(name); in StartList()
284 if (ow_ == nullptr) { in EndList()
[all …]
Djson_stream_parser.cc142 : ow_(ow), in JsonStreamParser()
355 ow_->RenderString(key_, parsed_); in ParseString()
531 ow_->RenderDouble(key_, number.double_val); in ParseNumber()
536 ow_->RenderInt64(key_, number.int_val); in ParseNumber()
541 ow_->RenderUint64(key_, number.uint_val); in ParseNumber()
648 ow_->StartObject(key_); in HandleBeginObject()
666 ow_->EndObject(); in ParseObjectMid()
687 ow_->EndObject(); in ParseEntry()
744 ow_->StartList(key_); in HandleBeginArray()
756 ow_->EndList(); in ParseArrayValue()
[all …]
Ddefault_value_objectwriter.cc70 ow_(ow) {} in DefaultValueObjectWriter()
81 ow_->RenderBool(name, value); in RenderBool()
91 ow_->RenderInt32(name, value); in RenderInt32()
101 ow_->RenderUint32(name, value); in RenderUint32()
111 ow_->RenderInt64(name, value); in RenderInt64()
121 ow_->RenderUint64(name, value); in RenderUint64()
131 ow_->RenderDouble(name, value); in RenderDouble()
141 ow_->RenderBool(name, value); in RenderFloat()
151 ow_->RenderString(name, value); in RenderString()
164 ow_->RenderBytes(name, value); in RenderBytes()
[all …]
Dproto_writer.cc291 ow_(enclosing), in ProtoElement()
310 ow_(this->parent()->ow_), in ProtoElement()
317 ? ow_->size_insert_.size() in ProtoElement()
323 if (ow_->IsRepeated(*field)) { in ProtoElement()
335 int start_pos = ow_->stream_->ByteCount(); in ProtoElement()
341 ow_->size_insert_.push_back(info); in ProtoElement()
353 ow_->MissingField((*it)->name()); in pop()
364 ow_->size_insert_[size_index_].size += ow_->stream_->ByteCount(); in pop()
368 int size = ow_->size_insert_[size_index_].size; in pop()
373 ow_->size_insert_[e->size_index_].size += length; in pop()
[all …]
Dprotostream_objectwriter.h227 std::unique_ptr<ProtoStreamObjectWriter> ow_; variable
300 ProtoStreamObjectWriter* ow_;
Djson_stream_parser.h226 ObjectWriter* ow_; variable
Ddefault_value_objectwriter.h319 ObjectWriter* ow_; variable
Dproto_writer.h212 ProtoWriter* ow_;
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/arrays/
Dspacetobatch_gpu_kernel.h47 …CalSpaceToBatch<T>(size, input, in_, ih_, iw_, ic_, on_, oh_, ow_, oc_, paddings_[0][0], paddings_… in Launch()
69 ow_ = (iw_ + paddings_[1][0] + paddings_[1][1]) / block_size_; in Init()
70 output_size_ = on_ * oc_ * oh_ * ow_ * sizeof(T); in Init()
82 ow_ = 0; in ResetResource()
166 size_t ow_; variable
Dbatchtospace_gpu_kernel.h46 …CalBatchToSpace<T>(size, input, in_, ih_, iw_, ic_, on_, oh_, ow_, oc_, crops_[0][0], crops_[0][1]… in Launch()
68 ow_ = iw_ * block_size_ - crops_[1][0] - crops_[1][1]; in Init()
69 output_size_ = on_ * oc_ * oh_ * ow_ * sizeof(T); in Init()
81 ow_ = 0; in ResetResource()
174 size_t ow_; variable
Ddepthtospace_gpu_kernel.h50 CalDepthToSpace(size, input, in_, ic_, ih_, iw_, on_, oc_, oh_, ow_, block_size_, output, in Launch()
102 ow_ = iw_ * block_size_; in Init()
121 ow_ = 0; in ResetResource()
151 size_t ow_; variable
Dspacetodepth_gpu_kernel.h51 CalSpaceToDepth(size, input, in_, ic_, ih_, iw_, on_, oc_, oh_, ow_, block_size_, output, in Launch()
103 ow_ = iw_ / block_size_; in Init()
122 ow_ = 0; in ResetResource()
152 size_t ow_; variable
/third_party/mindspore/mindspore/lite/src/runtime/kernel/opencl/cl/
Dstrided_slice.cl48 int ow_ = idx % size.z;
56 int iw = begin.z + stride.z * ow_;