Home
last modified time | relevance | path

Searched refs:mutable_value (Results 1 – 25 of 31) sorted by relevance

12

/external/protobuf/benchmarks/util/
Dschema_proto2_to_proto3_util.h101 enum_type->mutable_value(j)->CopyFrom(enum_type->value(0)); in ScrubEnum()
102 enum_type->mutable_value(0)->CopyFrom(temp_enum_value); in ScrubEnum()
108 enum_type->mutable_value()->Add(); in ScrubEnum()
109 for (int i = enum_type->mutable_value()->size() - 1; i > 0; i--) { in ScrubEnum()
110 enum_type->mutable_value(i)->CopyFrom( in ScrubEnum()
111 *enum_type->mutable_value(i - 1)); in ScrubEnum()
113 enum_type->mutable_value(0)->set_number(0); in ScrubEnum()
114 enum_type->mutable_value(0)->set_name("ADDED_ZERO_VALUE_" + in ScrubEnum()
/external/tensorflow/tensorflow/core/example/
Dfeature_util.cc75 return feature->mutable_int64_list()->mutable_value(); in GetFeatureValues()
86 return feature->mutable_float_list()->mutable_value(); in GetFeatureValues()
104 return feature->mutable_bytes_list()->mutable_value(); in GetFeatureValues()
109 return feature->mutable_bytes_list()->mutable_value(); in GetFeatureValues()
/external/libchrome/mojo/public/cpp/system/
Dbuffer.cc14 MojoCreateSharedBuffer(num_bytes, &options, handle.mutable_value()); in Create()
29 MojoDuplicateBufferHandle(value(), &options, result_handle.mutable_value()); in Clone()
Dmessage_pipe.h55 options, handle0.mutable_value(), handle1.mutable_value()); in CreateMessagePipe()
Ddata_pipe.h125 producer_handle.mutable_value(), in CreateDataPipe()
126 consumer_handle.mutable_value()); in CreateDataPipe()
Dmessage.h38 MojoMessageHandle* mutable_value() { return &value_; } in mutable_value() function
Dhandle.h172 MojoHandle* mutable_value() { return &value_; } in mutable_value() function
/external/tensorflow/tensorflow/compiler/xrt/tests/
Draw_api_test.cc482 *alloc.mutable_value() = in TEST()
530 *alloc1.mutable_value() = in TEST()
533 *alloc2.mutable_value() = in TEST()
612 *alloc.mutable_value() = in TEST()
641 *alloc.mutable_value() = TwoElementTuple(); in TEST()
665 *alloc.mutable_value() = TwoElementTuple(); in TEST()
685 *alloc.mutable_value() = NestedTuple(); in TEST()
725 *alloc_0.mutable_value() = TwoElementTuple(); in TEST()
727 *alloc_1.mutable_value() = ScalarLiteral(); in TEST()
831 *p0.mutable_value() = FloatVector({1.0f, 2.0f}); in TEST()
[all …]
/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_code.cc207 sample_pb->mutable_value()->Add(1); in Add()
210 sample_pb->mutable_value()->Add(gn->exec_micros(node->node->step())); in Add()
212 sample_pb->mutable_value()->Add( in Add()
215 sample_pb->mutable_value()->Add( in Add()
218 sample_pb->mutable_value()->Add( in Add()
221 sample_pb->mutable_value()->Add(gn->peak_bytes(node->node->step())); in Add()
223 sample_pb->mutable_value()->Add( in Add()
226 sample_pb->mutable_value()->Add(gn->output_bytes(node->node->step())); in Add()
228 sample_pb->mutable_value()->Add(gn->parameters()); in Add()
230 sample_pb->mutable_value()->Add(gn->float_ops(node->node->step())); in Add()
/external/protobuf/src/google/protobuf/
Dmap_entry_lite.h230 inline ValueMapEntryAccessorType* mutable_value() {
258 ValueMapEntryAccessorType* value = mutable_value();
296 if (!ValueTypeHandler::Read(input, mutable_value())) {
478 ValueMover::Move(value_ptr_, entry_->mutable_value());
529 ValueMover::Move(entry_->mutable_value(), value_ptr_);
537 ValueMover::Move(value_ptr_, entry_->mutable_value());
Dany.pb.h219 std::string* mutable_value();
327 inline std::string* Any::mutable_value() { in mutable_value() function
Dany.pb.cc193 … ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(mutable_value(), ptr, ctx); in _InternalParse()
246 input, this->mutable_value())); in MergePartialFromCodedStream()
Dwrappers.pb.h1321 std::string* mutable_value();
1490 std::string* mutable_value();
1685 inline std::string* StringValue::mutable_value() { in mutable_value() function
1762 inline std::string* BytesValue::mutable_value() { in mutable_value() function
Dwrappers.pb.cc2232 …ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParserUTF8(mutable_value(), ptr, ctx, "… in _InternalParse()
2270 input, this->mutable_value())); in MergePartialFromCodedStream()
2516 … ptr = ::PROTOBUF_NAMESPACE_ID::internal::InlineGreedyStringParser(mutable_value(), ptr, ctx); in _InternalParse()
2554 input, this->mutable_value())); in MergePartialFromCodedStream()
Dmap_field_inl.h308 (*new_entry->mutable_value()) = it->second; in SyncRepeatedFieldWithMapNoLock()
Dtype.pb.cc2723 ptr = ctx->ParseMessage(mutable_value(), ptr); in _InternalParse()
2776 input, mutable_value())); in MergePartialFromCodedStream()
2923 mutable_value()->PROTOBUF_NAMESPACE_ID::Any::MergeFrom(from.value()); in MergeFrom()
/external/libchrome/mojo/public/cpp/system/tests/
Dcore_unittest.cc43 EXPECT_EQ(kInvalidHandleValue, *h0.mutable_value()); in TEST()
48 EXPECT_EQ(static_cast<MojoHandle>(123), *h1.mutable_value()); in TEST()
50 *h1.mutable_value() = static_cast<MojoHandle>(456); in TEST()
/external/tensorflow/tensorflow/core/kernels/
Dsummary_image_op_test.cc62 Summary::Value* value = summary->mutable_value(i); in CheckAndRemoveEncodedImages()
Dsummary_audio_op_test.cc63 Summary::Value* value = summary->mutable_value(i); in CheckAndRemoveEncodedAudio()
/external/tensorflow/tensorflow/core/grappler/costs/
Dgraph_properties.cc2325 *input_properties[i].mutable_value() = raw_val; in InferStatically()
2328 *input_properties[i].mutable_value() = *ctx->input_tensor_protos[i]; in InferStatically()
2333 *input_properties[i].mutable_value() = MakeTensorProtoFromShape( in InferStatically()
2357 *output_properties[i].mutable_value() = raw_val; in InferStatically()
2360 *output_properties[i].mutable_value() = in InferStatically()
2366 *output_properties[i].mutable_value() = MakeTensorProtoFromShape( in InferStatically()
Dutils.cc122 *(input->mutable_value()) = t; in ExtractExtraProperties()
/external/tensorflow/tensorflow/core/debug/
Ddebug_io_utils.cc162 Summary::Value* value = event.mutable_summary()->mutable_value(0); in WrapStringTensorAsEvents()
217 ->mutable_value(0) in WrapTensorAsEvents()
/external/protobuf/src/google/protobuf/util/internal/
Dprotostream_objectsource_test.cc711 out.add_map1()->mutable_value()->set_foo("foovalue"); in TEST_P()
712 MapOut* nested = out.add_map2()->mutable_value(); in TEST_P()
/external/protobuf/src/google/protobuf/util/
Dtype_resolver_util.cc167 Any* value = out->mutable_value(); in ConvertOptionField()
/external/libprotobuf-mutator/src/
Dmutator.cc488 *any->mutable_value() = value; in Run()

12