Home
last modified time | relevance | path

Searched refs:list_value (Results 1 – 21 of 21) sorted by relevance

/external/tensorflow/tensorflow/python/saved_model/
Dnested_structure_coder_test.py41 expected.list_value.values.add().float64_value = 1.5
42 expected.list_value.values.add().float64_value = 2.5
43 expected.list_value.values.add().float64_value = 3.0
54 list_value = expected.tuple_value.values.add().list_value
55 list_value.values.add().int64_value = 3
56 tuple_value = list_value.values.add().tuple_value
69 list_value = expected.dict_value.fields["b"].list_value
70 list_value.values.add().int64_value = 7
71 list_value.values.add().float64_value = 2.5
82 expected_list = expected.list_value
[all …]
Dnested_structure_coder.py123 def do_encode(self, list_value, encode_fn): argument
125 encoded_list.list_value.CopyFrom(struct_pb2.ListValue())
126 for element in list_value:
127 encoded_list.list_value.values.add().CopyFrom(encode_fn(element))
134 return [decode_fn(element) for element in value.list_value.values]
/external/libchrome/dbus/
Dvalues_util.cc26 bool PopListElements(MessageReader* reader, base::ListValue* list_value) { in PopListElements() argument
31 list_value->Append(std::move(element_value)); in PopListElements()
187 std::unique_ptr<base::ListValue> list_value(new base::ListValue); in PopDataAsValue() local
188 if (PopListElements(&sub_reader, list_value.get())) in PopDataAsValue()
189 result = std::move(list_value); in PopDataAsValue()
197 std::unique_ptr<base::ListValue> list_value(new base::ListValue); in PopDataAsValue() local
198 if (PopListElements(&sub_reader, list_value.get())) in PopDataAsValue()
199 result = std::move(list_value); in PopDataAsValue()
/external/libbrillo/policy/tests/
Dlibpolicy_unittest.cc66 std::vector<std::string> list_value; in TEST() local
67 ASSERT_TRUE(policy.GetUserWhitelist(&list_value)); in TEST()
68 ASSERT_EQ(3, list_value.size()); in TEST()
69 EXPECT_EQ("me@here.com", list_value[0]); in TEST()
70 EXPECT_EQ("you@there.com", list_value[1]); in TEST()
71 EXPECT_EQ("*@monsters.com", list_value[2]); in TEST()
224 std::vector<std::string> list_value; in TEST() local
231 EXPECT_FALSE(policy.GetUserWhitelist(&list_value)); in TEST()
/external/protobuf/python/google/protobuf/internal/
Dmessage_factory_test.py68 msg.factory_1_message.list_value.extend([u'one', u'two', u'three'])
69 msg.factory_1_message.list_value.append(u'four')
77 msg.list_value.extend([u'four', u'three', u'two'])
78 msg.list_value.append(u'one')
Dwell_known_types.py657 return struct_value.list_value
675 return self.fields[key].list_value
714 return self.values.add().list_value
Dfactory_test1.proto55 repeated string list_value = 5; field
Dfactory_test2.proto63 repeated string list_value = 11; field
/external/protobuf/src/google/protobuf/
Dstruct.pb.h281 const ::google::protobuf::ListValue& list_value() const;
284 void set_allocated_list_value(::google::protobuf::ListValue* list_value);
664 inline const ::google::protobuf::ListValue& Value::list_value() const { in list_value() function
690 inline void Value::set_allocated_list_value(::google::protobuf::ListValue* list_value) { in set_allocated_list_value() argument
692 if (list_value) { in set_allocated_list_value()
694 kind_.list_value_ = list_value; in set_allocated_list_value()
Dstruct.pb.cc917 mutable_list_value()->::google::protobuf::ListValue::MergeFrom(from.list_value()); in MergeFrom()
1196 const ::google::protobuf::ListValue& Value::list_value() const { in list_value() function in google::protobuf::Value
1222 void Value::set_allocated_list_value(::google::protobuf::ListValue* list_value) { in set_allocated_list_value() argument
1224 if (list_value) { in set_allocated_list_value()
1226 kind_.list_value_ = list_value; in set_allocated_list_value()
Dstruct.proto77 ListValue list_value = 6; field
/external/libchrome/mojo/public/mojom/base/
Dvalues.mojom24 ListValue list_value;
/external/libchrome/mojo/public/cpp/base/
Dvalues_mojom_traits.h115 static const base::Value& list_value(const base::Value& value) {
/external/protobuf/python/google/protobuf/
Djson_format.py256 return _ListValueMessageToJsonObject(message.list_value)
464 _ConvertListValueMessage(value, message.list_value)
/external/tensorflow/tensorflow/core/protobuf/
Dstruct.proto61 ListValue list_value = 51; field
/external/golang-protobuf/ptypes/struct/
Dstruct.proto77 ListValue list_value = 6; field
/external/tensorflow/tensorflow/core/grappler/
Dmutable_graph_view_test.cc223 AttrValue list_value; in TEST() local
224 list_value.mutable_list()->add_type(DT_FLOAT); in TEST()
226 graph.UpdateNode("bar_2", "IdentityN", kDevice, {{"T", list_value}})); in TEST()
229 CheckNode(graph, "bar_2", "IdentityN", kDevice, {{"T", list_value}}, in TEST()
/external/protobuf/java/util/src/test/proto/com/google/protobuf/util/
Djson_test.proto192 google.protobuf.ListValue list_value = 3; field
/external/protobuf/conformance/
Dconformance_test.cc1713 list_value: {
1764 list_value: {
/external/tensorflow/tensorflow/lite/toco/
Dimport_tensorflow.cc1265 const AttrValue::ListValue& list_value = GetListAttr(node, list); in GetOutputNamesFromNodeDef() local
1266 for (int j = 0; j < list_value.type_size(); ++j) { in GetOutputNamesFromNodeDef()
1314 const AttrValue::ListValue& list_value = GetListAttr(node, list); in GetOutputTypesFromNodeDef() local
1315 for (int j = 0; j < list_value.type_size(); ++j) { in GetOutputTypesFromNodeDef()
1316 add_type(list_value.type(j)); in GetOutputTypesFromNodeDef()
/external/libchrome/base/
Dvalues_unittest.cc1635 ListValue list_value; in TEST() local
1643 main_dict.SetKey("list", list_value.Clone()); in TEST()
1651 main_list.Append(std::make_unique<Value>(list_value.Clone())); in TEST()