Home
last modified time | relevance | path

Searched refs:StringValue (Results 1 – 22 of 22) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/
DJsonParser.cs89 { StringValue.Descriptor.FullName, MergeWrapperField },
187 string name = token.StringValue; in Merge()
296 object key = ParseMapKey(keyField, token.StringValue); in MergeMapField()
357 case JsonToken.TokenType.StringValue: in ParseSingleValue()
358 return ParseSingleStringValue(field, token.StringValue); in ParseSingleValue()
436 case JsonToken.TokenType.StringValue: in MergeStructValue()
437 … fields[Value.StringValueFieldNumber].Accessor.SetValue(message, firstToken.StringValue); in MergeStructValue()
498 token.StringValue != JsonFormatter.AnyTypeUrlField || in MergeAny()
512 if (token.Type != JsonToken.TokenType.StringValue) in MergeAny()
516 string typeUrl = token.StringValue; in MergeAny()
[all …]
DJsonToken.cs65 return new JsonToken(TokenType.StringValue, stringValue: value); in Value()
78 StringValue, enumerator
98 internal string StringValue { get { return stringValue; } } property in Google.Protobuf.JsonToken
137 case TokenType.StringValue: in ToString()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/WellKnownTypes/
DStruct.cs229 case KindOneofCase.StringValue: in Value()
230 StringValue = other.StringValue; in Value()
284 public string StringValue { property in Google.Protobuf.WellKnownTypes.Value
285 get { return kindCase_ == KindOneofCase.StringValue ? (string) kind_ : ""; }
288 kindCase_ = KindOneofCase.StringValue;
340 StringValue = 3, enumerator
372 if (StringValue != other.StringValue) return false; in Equals()
385 if (kindCase_ == KindOneofCase.StringValue) hash ^= StringValue.GetHashCode(); in GetHashCode()
408 if (kindCase_ == KindOneofCase.StringValue) { in WriteTo()
410 output.WriteString(StringValue); in WriteTo()
[all …]
DWrappers.cs45 …peof(global::Google.Protobuf.WellKnownTypes.StringValue), global::Google.Protobuf.WellKnownTypes.S… in WrappersReflection()
933 public sealed partial class StringValue : pb::IMessage<StringValue> { class
934 …te static readonly pb::MessageParser<StringValue> _parser = new pb::MessageParser<StringValue>(() …
936 public static pb::MessageParser<StringValue> Parser { get { return _parser; } }
949 public StringValue() { in StringValue() method in Google.Protobuf.WellKnownTypes.StringValue
956 public StringValue(StringValue other) : this() { in StringValue() method in Google.Protobuf.WellKnownTypes.StringValue
961 public StringValue Clone() { in Clone()
962 return new StringValue(this); in Clone()
981 return Equals(other as StringValue); in Equals()
985 public bool Equals(StringValue other) { in Equals()
[all …]
DValuePartial.cs45 return new Value { StringValue = value }; in ForString()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dwrappers.pb.cc170 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StringValue, value_), in protobuf_AssignDesc_google_2fprotobuf_2fwrappers_2eproto()
175 StringValue::default_instance_, in protobuf_AssignDesc_google_2fprotobuf_2fwrappers_2eproto()
180 sizeof(StringValue), in protobuf_AssignDesc_google_2fprotobuf_2fwrappers_2eproto()
181 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StringValue, _internal_metadata_), in protobuf_AssignDesc_google_2fprotobuf_2fwrappers_2eproto()
182 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StringValue, _is_default_instance_)); in protobuf_AssignDesc_google_2fprotobuf_2fwrappers_2eproto()
226 StringValue_descriptor_, &StringValue::default_instance()); in protobuf_RegisterTypes()
248 delete StringValue::default_instance_; in protobuf_ShutdownFile_google_2fprotobuf_2fwrappers_2eproto()
283 StringValue::default_instance_ = new StringValue(); in protobuf_AddDesc_google_2fprotobuf_2fwrappers_2eproto()
292 StringValue::default_instance_->InitAsDefaultInstance(); in protobuf_AddDesc_google_2fprotobuf_2fwrappers_2eproto()
2149 const int StringValue::kValueFieldNumber;
[all …]
Dwrappers.pb.h46 class StringValue; variable
717 class LIBPROTOBUF_EXPORT StringValue : public ::google::protobuf::Message /* @@protoc_insertion_poi…
719 StringValue();
720 virtual ~StringValue();
722 StringValue(const StringValue& from);
724 inline StringValue& operator=(const StringValue& from) {
734 static const StringValue& default_instance();
736 void UnsafeArenaSwap(StringValue* other);
737 void Swap(StringValue* other);
741 inline StringValue* New() const { return New(NULL); } in New()
[all …]
Dunittest_well_known_types.proto40 google.protobuf.StringValue string_field = 17;
65 repeated google.protobuf.StringValue string_field = 17;
87 google.protobuf.StringValue string_field = 17;
112 map<int32,google.protobuf.StringValue> string_field = 17;
Dwrappers.proto107 // The JSON representation for `StringValue` is JSON string.
108 message StringValue { message
/frameworks/base/core/java/android/util/
DKeyValueListParser.java325 public static class StringValue { class in KeyValueListParser
331 public StringValue(String key, String defaultValue) { in StringValue() method in KeyValueListParser.StringValue
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/
Djson_format_proto3.proto122 google.protobuf.StringValue string_value = 8;
132 repeated google.protobuf.StringValue repeated_string_value = 18;
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/
DJsonParserTest.cs143 [TestCase(typeof(StringValue), "\"foo\"", "foo")]
227 … Assert.AreEqual(new StringValue { Value = "foo" }, StringValue.Parser.ParseJson("\"foo\"")); in IndividualWrapperTypes()
682 Assert.AreEqual(new Value { StringValue = "hi" }, Value.Parser.ParseJson("\"hi\"")); in StructValue_String()
DJsonFormatterTest.cs276 Assert.AreEqual("\"\"", JsonFormatter.Default.Format(new StringValue())); in WrapperFormatting_Message()
523 [TestCase(typeof(StringValue), "foo", "\"foo\"")]
DJsonTokenizerTest.cs66 public void StringValue(string json, string expectedValue) in StringValue() method in Google.Protobuf.JsonTokenizerTest
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/testdata/
Dwrappers.proto91 google.protobuf.StringValue string = 1;
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/conformance/
Dconformance.proto223 google.protobuf.StringValue optional_string_wrapper = 208;
233 repeated google.protobuf.StringValue repeated_string_wrapper = 218;
DMakefile.am49 com/google/protobuf/StringValue.java \
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/
DDescriptor.cs4859 public pb::ByteString StringValue { property in Google.Protobuf.Reflection.UninterpretedOption
4895 if (StringValue != other.StringValue) return false; in Equals()
4908 if (StringValue.Length != 0) hash ^= StringValue.GetHashCode(); in GetHashCode()
4937 if (StringValue.Length != 0) { in WriteTo()
4939 output.WriteBytes(StringValue); in WriteTo()
4963 if (StringValue.Length != 0) { in CalculateSize()
4964 size += 1 + pb::CodedOutputStream.ComputeBytesSize(StringValue); in CalculateSize()
4990 if (other.StringValue.Length != 0) { in MergeFrom()
4991 StringValue = other.StringValue; in MergeFrom()
5027 StringValue = input.ReadBytes(); in MergeFrom()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/
Dutility.cc125 google::protobuf::StringValue s; in GetStringFromAny()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/test/java/com/google/protobuf/util/
DJsonFormatTest.java45 import com.google.protobuf.StringValue;
894 anyMessage = Any.pack(StringValue.newBuilder().setValue("Hello").build()); in testAnyFields()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/test/proto/com/google/protobuf/util/
Djson_test.proto174 google.protobuf.StringValue string_value = 8;
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/main/java/com/google/protobuf/util/
DJsonFormat.java64 import com.google.protobuf.StringValue;
569 printers.put(StringValue.getDescriptor().getFullName(), wrappersPrinter); in buildWellKnownTypePrinters()
1086 parsers.put(StringValue.getDescriptor().getFullName(), wrappersPrinter); in buildWellKnownTypeParsers()