Home
last modified time | relevance | path

Searched refs:ListValue (Results 1 – 25 of 99) sorted by relevance

1234

/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DStruct.cs47 …typeof(global::Google.Protobuf.WellKnownTypes.ListValue), global::Google.Protobuf.WellKnownTypes.L… in StructReflection()
253 case KindOneofCase.ListValue: in Value()
254 ListValue = other.ListValue.Clone(); in Value()
342 public global::Google.Protobuf.WellKnownTypes.ListValue ListValue { property in Google.Protobuf.WellKnownTypes.Value
343 …get { return kindCase_ == KindOneofCase.ListValue ? (global::Google.Protobuf.WellKnownTypes.ListVa…
346 kindCase_ = value == null ? KindOneofCase.None : KindOneofCase.ListValue;
359 ListValue = 6, enumerator
391 if (!object.Equals(ListValue, other.ListValue)) return false; in Equals()
404 if (kindCase_ == KindOneofCase.ListValue) hash ^= ListValue.GetHashCode(); in GetHashCode()
439 if (kindCase_ == KindOneofCase.ListValue) { in WriteTo()
[all …]
DValuePartial.cs85 return new Value { ListValue = new ListValue { Values = { values } } }; in ForList()
/external/golang-protobuf/ptypes/struct/
Dstruct.pb.go176 ListValue *ListValue `protobuf:"bytes,6,opt,name=list_value,json=listValue,proto3,oneof"` member
233 func (m *Value) GetListValue() *ListValue {
235 return x.ListValue
255 type ListValue struct { struct
263 func (m *ListValue) Reset() { *m = ListValue{} } argument
264 func (m *ListValue) String() string { return proto.CompactTextString(m) } argument
265 func (*ListValue) ProtoMessage() {} argument
266 func (*ListValue) Descriptor() ([]byte, []int) { argument
270 func (*ListValue) XXX_WellKnownType() string { return "ListValue" } argument
272 func (m *ListValue) XXX_Unmarshal(b []byte) error { argument
[all …]
Dstruct.proto77 ListValue list_value = 6;
90 // `ListValue` is a wrapper around a repeated field of values.
92 // The JSON representation for `ListValue` is JSON array.
93 message ListValue { message
/external/protobuf/src/google/protobuf/
Dstruct.pb.h62 class ListValue; variable
76 …<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::ListValue* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_…
515 const PROTOBUF_NAMESPACE_ID::ListValue& list_value() const;
516 PROTOBUF_NAMESPACE_ID::ListValue* release_list_value();
517 PROTOBUF_NAMESPACE_ID::ListValue* mutable_list_value();
518 void set_allocated_list_value(PROTOBUF_NAMESPACE_ID::ListValue* list_value);
520 PROTOBUF_NAMESPACE_ID::ListValue* list_value);
521 PROTOBUF_NAMESPACE_ID::ListValue* unsafe_arena_release_list_value();
549 PROTOBUF_NAMESPACE_ID::ListValue* list_value_;
558 class PROTOBUF_EXPORT ListValue :
[all …]
Dstruct.pb.cc36 const PROTOBUF_NAMESPACE_ID::ListValue* list_value_;
40 ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<ListValue> _instance;
62 new (ptr) PROTOBUF_NAMESPACE_ID::ListValue(); in InitDefaultsscc_info_ListValue_google_2fprotobuf_2fstruct_2eproto()
68 PROTOBUF_NAMESPACE_ID::ListValue::InitAsDefaultInstance(); in InitDefaultsscc_info_ListValue_google_2fprotobuf_2fstruct_2eproto()
107 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::ListValue, _internal_metadata_),
111 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::ListValue, values_),
117 { 27, -1, sizeof(PROTOBUF_NAMESPACE_ID::ListValue)},
555 …AMESPACE_ID::_Value_default_instance_.list_value_ = const_cast< PROTOBUF_NAMESPACE_ID::ListValue*>( in InitAsDefaultInstance()
556 PROTOBUF_NAMESPACE_ID::ListValue::internal_default_instance()); in InitAsDefaultInstance()
561 static const PROTOBUF_NAMESPACE_ID::ListValue& list_value(const Value* msg);
[all …]
Dstruct.proto76 ListValue list_value = 6;
89 // `ListValue` is a wrapper around a repeated field of values.
91 // The JSON representation for `ListValue` is JSON array.
92 message ListValue { message
/external/libchrome/base/
Dvalues.cc67 return CopyListWithoutEmptyChildren(static_cast<const ListValue&>(node)); in CopyWithoutEmptyChildren()
504 bool Value::GetAsList(ListValue** out_value) { in GetAsList()
506 *out_value = static_cast<ListValue*>(this); in GetAsList()
512 bool Value::GetAsList(const ListValue** out_value) const { in GetAsList()
514 *out_value = static_cast<const ListValue*>(this); in GetAsList()
787 ListValue* DictionaryValue::SetList(StringPiece path, in SetList()
788 std::unique_ptr<ListValue> in_value) { in SetList()
789 return static_cast<ListValue*>(Set(path, std::move(in_value))); in SetList()
927 const ListValue** out_value) const { in GetList()
934 *out_value = static_cast<const ListValue*>(value); in GetList()
[all …]
Dvalues.h45 class ListValue; variable
321 bool GetAsList(ListValue** out_value);
322 bool GetAsList(const ListValue** out_value) const;
434 ListValue* SetList(StringPiece path, std::unique_ptr<ListValue> in_value);
483 bool GetList(StringPiece path, const ListValue** out_value) const;
485 bool GetList(StringPiece path, ListValue** out_value);
514 const ListValue** out_value) const;
516 bool GetListWithoutPathExpansion(StringPiece key, ListValue** out_value);
592 class BASE_EXPORT ListValue : public Value {
598 static std::unique_ptr<ListValue> From(std::unique_ptr<Value> value);
[all …]
Dvalues_unittest.cc43 std::is_nothrow_constructible<ListValue, Value::ListStorage&&>::value, in TEST()
137 ListValue value; in TEST()
145 ListValue value(storage); in TEST()
154 ListValue value(std::move(storage)); in TEST()
709 ListValue* toolbar_bookmarks; in TEST()
713 std::unique_ptr<ListValue> new_toolbar_bookmarks(new ListValue); in TEST()
722 ListValue* bookmark_list; in TEST()
736 std::unique_ptr<ListValue> mixed_list(new ListValue()); in TEST()
844 ListValue list; in TEST()
855 ListValue list; in TEST()
[all …]
/external/libchrome/components/json_schema/
Djson_schema_validator.h17 class ListValue; variable
142 JSONSchemaValidator(base::DictionaryValue* schema, base::ListValue* types);
189 const base::ListValue* choices,
194 const base::ListValue* choices,
203 void ValidateArray(const base::ListValue* instance,
210 void ValidateTuple(const base::ListValue* instance,
/external/protobuf/java/util/src/test/java/com/google/protobuf/util/
DValuesTest.java35 import com.google.protobuf.ListValue;
76 ListValue.Builder builder = ListValue.newBuilder(); in testOfListValue_ConstructsInstance()
85 ListValue.Builder builder = ListValue.newBuilder(); in testOfIterable_ReturnsTheValue()
100 .isEqualTo(Value.newBuilder().setListValue(ListValue.getDefaultInstance()).build()); in testOfIterable_ReturnsTheValue()
/external/libchrome/base/json/
Djson_reader_unittest.cc56 std::unique_ptr<ListValue> list = in TEST()
57 ListValue::From(JSONReader().ReadToValue("[1, /* comment, 2 ] */ \n 3]")); in TEST()
65 list = ListValue::From(JSONReader().ReadToValue("[1, /*a*/2, 3]")); in TEST()
251 std::unique_ptr<ListValue> list = in TEST()
252 ListValue::From(JSONReader::Read("[true, false, null]")); in TEST()
263 std::unique_ptr<ListValue> list = ListValue::From(JSONReader::Read("[]")); in TEST()
269 std::unique_ptr<ListValue> list = ListValue::From( in TEST()
298 std::unique_ptr<ListValue> list = in TEST()
299 ListValue::From(JSONReader::Read("[true,]", JSON_ALLOW_TRAILING_COMMAS)); in TEST()
374 ListValue* inner_array = nullptr; in TEST()
[all …]
Djson_writer_unittest.cc26 EXPECT_TRUE(JSONWriter::Write(ListValue(), &output_js)); in TEST()
60 std::unique_ptr<ListValue> list(new ListValue()); in TEST()
64 list->Append(std::make_unique<ListValue>()); in TEST()
120 ListValue binary_list; in TEST()
/external/protobuf/ruby/lib/google/protobuf/
Dwell_known_types.rb145 when ListValue
148 self.list_value = ListValue.from_a(value)
187 ListValue.class_eval do
217 ret = ListValue.new
/external/protobuf/src/google/protobuf/util/internal/testdata/
Dstruct.proto66 google.protobuf.ListValue top_level_listvalue = 29;
67 google.protobuf.ListValue top_level_empty_listvalue = 30;
68 google.protobuf.ListValue top_level_listvalue_with_empty_struct = 31;
92 google.protobuf.ListValue shopping_list = 1;
96 repeated google.protobuf.ListValue dimensions = 1;
102 map<string, google.protobuf.ListValue> listvalue_map = 3;
/external/libbrillo/brillo/
Dvalue_conversion.h51 const base::ListValue** out_value) { in FromValue()
61 std::unique_ptr<base::ListValue>* out_value);
71 const base::ListValue* list = nullptr; in FromValue()
120 std::unique_ptr<base::ListValue> result{new base::ListValue}; in ToValue()
Dvalue_conversion.cc23 std::unique_ptr<base::ListValue>* out_value) { in FromValue()
24 const base::ListValue* list = nullptr; in FromValue()
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DValues.java33 import com.google.protobuf.ListValue;
69 public static Value of(ListValue value) { in of()
79 ListValue.Builder listValue = valueBuilder.getListValueBuilder(); in of()
/external/libchrome/components/policy/core/common/
Dregistry_dict.cc45 const base::ListValue* list = nullptr; in ConvertRegistryValue()
58 std::unique_ptr<base::ListValue> result(new base::ListValue()); in ConvertRegistryValue()
59 for (base::ListValue::const_iterator entry(list->begin()); in ConvertRegistryValue()
110 std::unique_ptr<base::ListValue> result(new base::ListValue()); in ConvertRegistryValue()
327 std::unique_ptr<base::ListValue> result(new base::ListValue()); in ConvertToJSON()
/external/libchrome/dbus/
Dvalues_util.cc26 bool PopListElements(MessageReader* reader, base::ListValue* list_value) { in PopListElements()
187 std::unique_ptr<base::ListValue> list_value(new base::ListValue); in PopDataAsValue()
197 std::unique_ptr<base::ListValue> list_value(new base::ListValue); in PopDataAsValue()
280 const base::ListValue* list = nullptr; in AppendValueData()
/external/libchrome/mojo/public/mojom/base/
Dvalues.mojom24 ListValue list_value;
28 // should use base.mojom.DictionaryValue or base.mojom.ListValue in the method
36 struct ListValue {
/external/libchrome/base/test/
Dgtest_util.cc56 ListValue root; in WriteCompiledInTestsToFile()
80 base::ListValue* tests = nullptr; in ReadTestNamesFromFile()
85 for (base::ListValue::iterator i = tests->begin(); i != tests->end(); ++i) { in ReadTestNamesFromFile()
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.-attr-value.-list-value.pbtxt1 path: "tensorflow.AttrValue.ListValue"
4 name: "ListValue"
/external/libchrome/ipc/
Dipc_message_unittest.cc68 TEST(IPCMessageTest, ListValue) { in TEST() argument
69 base::ListValue input; in TEST()
77 base::ListValue output; in TEST()
101 auto sublist = std::make_unique<base::ListValue>(); in TEST()

1234