Home
last modified time | relevance | path

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

1234

/third_party/protobuf/php/tests/
DWrapperTypeSettersTest.php13 use Google\Protobuf\StringValue; alias
110 …[TestWrapperSetters::class, StringValue::class, "setStringValue", "setStringValueUnwrapped", "getS…
111 ["asdf", new StringValue(["value" => "asdf"])],
112 ["", new StringValue(["value" => ""])],
114 ["", new StringValue()],
115 [5, new StringValue(["value" => "5"])], // Test conversion from number to string
116 [5.5, new StringValue(["value" => "5.5"])], // Test conversion from number to string
117 [-7, new StringValue(["value" => "-7"])], // Test conversion from number to string
118 … [-7.5, new StringValue(["value" => "-7.5"])], // Test conversion from number to string
136 …[TestWrapperSetters::class, StringValue::class, "setStringValueOneof", "setStringValueOneofUnwrapp…
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMIRYamlMapping.h34 struct StringValue { struct
38 StringValue() = default; argument
39 StringValue(std::string Value) : Value(std::move(Value)) {} in StringValue() argument
40 StringValue(const char Val[]) : Value(Val) {} in StringValue() function
42 bool operator==(const StringValue &Other) const {
47 template <> struct ScalarTraits<StringValue> {
48 static void output(const StringValue &S, void *, raw_ostream &OS) {
52 static StringRef input(StringRef Scalar, void *Ctx, StringValue &S) {
63 struct FlowStringValue : StringValue {
65 FlowStringValue(std::string Value) : StringValue(std::move(Value)) {}
[all …]
/third_party/skia/dm/
DDMJsonWriter.cpp126 br.name = key["name"].as<StringValue>().begin(); in ReadJson()
127 br.config = key["config"].as<StringValue>().begin(); in ReadJson()
128 br.sourceType = key["source_type"].as<StringValue>().begin(); in ReadJson()
129 br.ext = options["ext"].as<StringValue>().begin(); in ReadJson()
130 br.gamut = options["gamut"].as<StringValue>().begin(); in ReadJson()
131 br.transferFn = options["transfer_fn"].as<StringValue>().begin(); in ReadJson()
132 br.colorType = options["color_type"].as<StringValue>().begin(); in ReadJson()
133 br.alphaType = options["alpha_type"].as<StringValue>().begin(); in ReadJson()
134 br.colorDepth = options["color_depth"].as<StringValue>().begin(); in ReadJson()
135 br.md5 = (*r)["md5"].as<StringValue>().begin(); in ReadJson()
[all …]
/third_party/protobuf/csharp/src/Google.Protobuf/
DJsonParser.cs91 { StringValue.Descriptor.FullName, MergeWrapperField },
189 string name = token.StringValue; in Merge()
304 object key = ParseMapKey(keyField, token.StringValue); in MergeMapField()
375 case JsonToken.TokenType.StringValue: in ParseSingleValue()
376 return ParseSingleStringValue(field, token.StringValue); in ParseSingleValue()
454 case JsonToken.TokenType.StringValue: in MergeStructValue()
455 … fields[Value.StringValueFieldNumber].Accessor.SetValue(message, firstToken.StringValue); in MergeStructValue()
516 token.StringValue != JsonFormatter.AnyTypeUrlField || in MergeAny()
530 if (token.Type != JsonToken.TokenType.StringValue) in MergeAny()
534 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()
/third_party/skia/tests/
DJSONTest.cpp180 check_vector<StringValue>(reporter, v, s ? strlen(s) : 0, !!s); in check_string()
182 REPORTER_ASSERT(reporter, !strcmp(v.as<StringValue>().begin(), s)); in check_string()
288 check_vector<StringValue>(reporter, v.as<ArrayValue>()[2], 3, true); in DEF_TEST()
354 const auto v6 = StringValue(nullptr, 0, alloc); in DEF_TEST()
355 check_value<StringValue>(reporter, v6, "\"\""); in DEF_TEST()
357 const auto v7 = StringValue(" foo ", 5, alloc); in DEF_TEST()
358 check_value<StringValue>(reporter, v7, "\" foo \""); in DEF_TEST()
360 const auto v8 = StringValue(" foo bar baz ", 13, alloc); in DEF_TEST()
361 check_value<StringValue>(reporter, v8, "\" foo bar baz \""); in DEF_TEST()
374 { StringValue("key_0", 5, alloc), v1 }, in DEF_TEST()
[all …]
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DStruct.cs288 case KindOneofCase.StringValue: in Value()
289 StringValue = other.StringValue; in Value()
344 public string StringValue { property in Google.Protobuf.WellKnownTypes.Value
345 get { return kindCase_ == KindOneofCase.StringValue ? (string) kind_ : ""; }
348 kindCase_ = KindOneofCase.StringValue;
400 StringValue = 3, enumerator
432 if (StringValue != other.StringValue) return false; in Equals()
445 if (kindCase_ == KindOneofCase.StringValue) hash ^= StringValue.GetHashCode(); in GetHashCode()
474 if (kindCase_ == KindOneofCase.StringValue) { in WriteTo()
476 output.WriteString(StringValue); in WriteTo()
[all …]
DWrappers.cs47 …peof(global::Google.Protobuf.WellKnownTypes.StringValue), global::Google.Protobuf.WellKnownTypes.S… in WrappersReflection()
1320 public sealed partial class StringValue : pb::IMessage<StringValue> class
1325 …te static readonly pb::MessageParser<StringValue> _parser = new pb::MessageParser<StringValue>(() …
1328 public static pb::MessageParser<StringValue> Parser { get { return _parser; } }
1341 public StringValue() { in StringValue() method in Google.Protobuf.WellKnownTypes.StringValue
1348 public StringValue(StringValue other) : this() { in StringValue() method in Google.Protobuf.WellKnownTypes.StringValue
1354 public StringValue Clone() { in Clone()
1355 return new StringValue(this); in Clone()
1374 return Equals(other as StringValue); in Equals()
1378 public bool Equals(StringValue other) { in Equals()
[all …]
/third_party/protobuf/src/google/protobuf/
Dwrappers.pb.h76 class StringValue; variable
93 … PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::StringValue* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_…
1060 class PROTOBUF_EXPORT StringValue PROTOBUF_FINAL :
1063 inline StringValue() : StringValue(nullptr) {} in StringValue() function
1064 virtual ~StringValue();
1066 StringValue(const StringValue& from);
1067 StringValue(StringValue&& from) noexcept in StringValue() function
1068 : StringValue() { in StringValue()
1072 inline StringValue& operator=(const StringValue& from) {
1076 inline StringValue& operator=(StringValue&& from) noexcept {
[all …]
Dwrappers.pb.cc48 ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<StringValue> _instance;
144 new (ptr) PROTOBUF_NAMESPACE_ID::StringValue(); in InitDefaultsscc_info_StringValue_google_2fprotobuf_2fwrappers_2eproto()
147 PROTOBUF_NAMESPACE_ID::StringValue::InitAsDefaultInstance(); in InitDefaultsscc_info_StringValue_google_2fprotobuf_2fwrappers_2eproto()
229 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::StringValue, _internal_metadata_),
233 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::StringValue, value_),
249 { 42, -1, sizeof(PROTOBUF_NAMESPACE_ID::StringValue)},
1679 void StringValue::InitAsDefaultInstance() { in InitAsDefaultInstance()
1681 class StringValue::_Internal {
1685 StringValue::StringValue(::PROTOBUF_NAMESPACE_ID::Arena* arena) in StringValue() function in StringValue
1691 StringValue::StringValue(const StringValue& from) in StringValue() function in StringValue
[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;
/third_party/protobuf/php/tests/proto/
Dtest_wrapper_type_setters.proto15 google.protobuf.StringValue string_value = 8;
20 google.protobuf.StringValue string_value_oneof = 11;
23 repeated google.protobuf.StringValue repeated_string_value = 12;
25 map<string, google.protobuf.StringValue> map_string_value = 13;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIMachineFunctionInfo.h121 StringValue RegisterName;
132 StringValue(Other.RegisterName); in SIArgument()
141 StringValue(Other.RegisterName);
149 RegisterName.~StringValue(); in ~SIArgument()
278 StringValue ScratchRSrcReg = "$private_rsrc_reg";
279 StringValue ScratchWaveOffsetReg = "$scratch_wave_offset_reg";
280 StringValue FrameOffsetReg = "$fp_reg";
281 StringValue StackPtrOffsetReg = "$sp_reg";
305 StringValue("$private_rsrc_reg"));
307 StringValue("$scratch_wave_offset_reg"));
[all …]
/third_party/skia/modules/skottie/src/layers/
DTextLayer.cpp213 const skjson::StringValue* jname = (*jfont)["fName"]; in parseFonts()
214 const skjson::StringValue* jfamily = (*jfont)["fFamily"]; in parseFonts()
215 const skjson::StringValue* jstyle = (*jfont)["fStyle"]; in parseFonts()
216 const skjson::StringValue* jpath = (*jfont)["fPath"]; in parseFonts()
320 const skjson::StringValue* jch = (*jchar)["ch"]; in resolveEmbeddedTypefaces()
325 const skjson::StringValue* jfamily = (*jchar)["fFamily"]; in resolveEmbeddedTypefaces()
326 const skjson::StringValue* jstyle = (*jchar)["style"]; // "style", not "fStyle"... in resolveEmbeddedTypefaces()
DAudioLayer.cpp59 const skjson::StringValue* name = jaudio["p"]; in attachAudioLayer()
60 const skjson::StringValue* path = jaudio["u"]; in attachAudioLayer()
61 const skjson::StringValue* id = jaudio["id"]; in attachAudioLayer()
DFootageLayer.cpp80 const skjson::StringValue* name = jimage["p"]; in loadFootageAsset()
81 const skjson::StringValue* path = jimage["u"]; in loadFootageAsset()
82 const skjson::StringValue* id = jimage["id"]; in loadFootageAsset()
/third_party/node/deps/v8/third_party/inspector_protocol/lib/
DValues_h.template116 class {{config.lib.export_macro}} StringValue : public Value {
118 static std::unique_ptr<StringValue> create(const String& value)
120 return std::unique_ptr<StringValue>(new StringValue(value));
123 static std::unique_ptr<StringValue> create(const char* value)
125 return std::unique_ptr<StringValue>(new StringValue(value));
133 explicit StringValue(const String& value) : Value(TypeString), m_stringValue(value) { }
134 explicit StringValue(const char* value) : Value(TypeString), m_stringValue(value) { }
/third_party/node/tools/inspector_protocol/lib/
DValues_h.template110 class {{config.lib.export_macro}} StringValue : public Value {
112 static std::unique_ptr<StringValue> create(const String& value)
114 return std::unique_ptr<StringValue>(new StringValue(value));
117 static std::unique_ptr<StringValue> create(const char* value)
119 return std::unique_ptr<StringValue>(new StringValue(value));
128 explicit StringValue(const String& value) : Value(TypeString), m_stringValue(value) { }
129 explicit StringValue(const char* value) : Value(TypeString), m_stringValue(value) { }
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMELFStreamer.cpp94 StringRef StringValue) override;
207 StringRef StringValue) { in emitIntTextAttribute() argument
212 if (!StringValue.empty()) in emitIntTextAttribute()
213 OS << ", \"" << StringValue << "\""; in emitIntTextAttribute()
285 std::string StringValue; member
347 Item->StringValue = Value; in setAttributeItem()
362 StringRef StringValue, bool OverwriteExisting) { in setAttributeItems() argument
369 Item->StringValue = StringValue; in setAttributeItems()
378 StringValue in setAttributeItems()
406 StringRef StringValue) override;
[all …]
/third_party/skia/src/utils/
DSkJSON.h284 class StringValue final : public Value {
288 StringValue();
289 StringValue(const char* src, size_t size, SkArenaAlloc& alloc);
320 StringValue fKey;
/third_party/protobuf/ruby/tests/
Dbasic_test.proto139 google.protobuf.StringValue string = 8;
155 repeated google.protobuf.StringValue repeated_string = 18;
167 map<int32, google.protobuf.StringValue> map_string = 28;
180 google.protobuf.StringValue oneof_string = 38;
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/protos/src/google/protobuf/
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;
/third_party/skia/modules/particles/include/
DSkParticleSerialization.h86 for (const skjson::StringValue* line : *lines) { in visit()
101 const skjson::StringValue* typeString = get("Type"); in visit()
159 if (const skjson::StringValue* str = v) { in TryParse()
/third_party/node/deps/v8/src/inspector/
Dv8-webdriver-serializer.cc34 protocol::StringValue::create(webDriver_value->getType())); in _serializeRecursively()
84 protocol::StringValue::create(toProtocolString( in _serializeRegexp()
90 protocol::StringValue::create(flags)); in _serializeRegexp()
103 (*result)->setValue(protocol::StringValue::create( in _serializeDate()
175 key_protocol_value = protocol::StringValue::create( in _serializeMap()
243 key_protocol_value = protocol::StringValue::create( in _serializeObjectValue()
/third_party/node/src/
Denv.cc296 #define VP(PropertyName, StringValue) V(Private, PropertyName) in Serialize() argument
297 #define VY(PropertyName, StringValue) V(Symbol, PropertyName) in Serialize() argument
298 #define VS(PropertyName, StringValue) V(String, PropertyName) in Serialize() argument
333 #define VP(PropertyName, StringValue) V(Private, PropertyName) in DeserializeProperties() argument
334 #define VY(PropertyName, StringValue) V(Symbol, PropertyName) in DeserializeProperties() argument
335 #define VS(PropertyName, StringValue) V(String, PropertyName) in DeserializeProperties() argument
405 #define V(PropertyName, StringValue) \ in CreateProperties() argument
411 reinterpret_cast<const uint8_t*>(StringValue), \ in CreateProperties()
413 sizeof(StringValue) - 1) \ in CreateProperties()
417 #define V(PropertyName, StringValue) \ in CreateProperties() argument
[all …]

1234