/third_party/protobuf/php/tests/ |
D | WrapperTypeSettersTest.php | 13 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/ |
D | MIRYamlMapping.h | 34 struct StringValue { struct 38 StringValue() = default; argument 39 StringValue(std::string Value) : Value(std::move(Value)) {} in StringValue() function 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/flutter/skia/dm/ |
D | DMJsonWriter.cpp | 126 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/skia/dm/ |
D | DMJsonWriter.cpp | 126 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/grpc/src/csharp/Grpc.IntegrationTesting/ |
D | Metrics.cs | 88 case ValueOneofCase.StringValue: in GaugeResponse() 89 StringValue = other.StringValue; in GaugeResponse() 137 public string StringValue { property in Grpc.Testing.GaugeResponse 138 get { return valueCase_ == ValueOneofCase.StringValue ? (string) value_ : ""; } 141 valueCase_ = ValueOneofCase.StringValue; 151 StringValue = 4, enumerator 181 if (StringValue != other.StringValue) return false; in Equals() 192 if (valueCase_ == ValueOneofCase.StringValue) hash ^= StringValue.GetHashCode(); in GetHashCode() 222 if (valueCase_ == ValueOneofCase.StringValue) { in WriteTo() 224 output.WriteString(StringValue); in WriteTo() [all …]
|
/third_party/protobuf/csharp/src/Google.Protobuf/ |
D | JsonParser.cs | 91 { 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 …]
|
D | JsonToken.cs | 65 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/flutter/skia/tests/ |
D | JSONTest.cpp | 180 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/skia/tests/ |
D | JSONTest.cpp | 180 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/ |
D | Struct.cs | 288 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 …]
|
D | Wrappers.cs | 47 …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/ |
D | wrappers.pb.h | 76 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 …]
|
D | wrappers.pb.cc | 48 ::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 …]
|
/third_party/protobuf/php/tests/proto/ |
D | test_wrapper_type_setters.proto | 15 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/flutter/skia/modules/skottie/src/layers/ |
D | TextLayer.cpp | 128 const skjson::StringValue* jname = (*jfont)["fName"]; in parseFonts() 129 const skjson::StringValue* jfamily = (*jfont)["fFamily"]; in parseFonts() 130 const skjson::StringValue* jstyle = (*jfont)["fStyle"]; in parseFonts() 131 const skjson::StringValue* jpath = (*jfont)["fPath"]; in parseFonts() 200 const skjson::StringValue* jch = (*jchar)["ch"]; in parseFonts() 205 const skjson::StringValue* jfamily = (*jchar)["fFamily"]; in parseFonts() 206 const skjson::StringValue* jstyle = (*jchar)["style"]; // "style", not "fStyle"... in parseFonts()
|
D | ImageLayer.cpp | 20 const skjson::StringValue* name = jimage["p"]; in loadImageAsset() 21 const skjson::StringValue* path = jimage["u"]; in loadImageAsset() 22 const skjson::StringValue* id = jimage["id"]; in loadImageAsset()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | SIMachineFunctionInfo.h | 121 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/ |
D | TextLayer.cpp | 213 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()
|
D | AudioLayer.cpp | 59 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()
|
/third_party/node/tools/inspector_protocol/lib/ |
D | Values_h.template | 110 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/node/src/ |
D | env.cc | 70 #define VP(PropertyName, StringValue) V(Private, PropertyName) in Serialize() argument 71 #define VY(PropertyName, StringValue) V(Symbol, PropertyName) in Serialize() argument 72 #define VS(PropertyName, StringValue) V(String, PropertyName) in Serialize() argument 92 #define VP(PropertyName, StringValue) V(Private, PropertyName) in DeserializeProperties() argument 93 #define VY(PropertyName, StringValue) V(Symbol, PropertyName) in DeserializeProperties() argument 94 #define VS(PropertyName, StringValue) V(String, PropertyName) in DeserializeProperties() argument 138 #define V(PropertyName, StringValue) \ in CreateProperties() argument 144 reinterpret_cast<const uint8_t*>(StringValue), \ in CreateProperties() 146 sizeof(StringValue) - 1) \ in CreateProperties() 150 #define V(PropertyName, StringValue) \ in CreateProperties() argument [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMELFStreamer.cpp | 94 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/flutter/engine/flutter/shell/platform/common/cpp/client_wrapper/ |
D | encodable_value_unittests.cc | 84 EXPECT_EQ(value.StringValue(), hello); in TEST() 86 EXPECT_EQ(value.StringValue(), "Goodbye"); in TEST() 161 EXPECT_EQ(list_value[2].StringValue(), "Three"); in TEST() 198 EXPECT_EQ(EncodableValue(EncodableValue::Type::kString).StringValue().size(), in TEST() 313 .StringValue(), in TEST() 326 .StringValue(), in TEST()
|
/third_party/skia/src/utils/ |
D | SkJSON.h | 284 class StringValue final : public Value { 288 StringValue(); 289 StringValue(const char* src, size_t size, SkArenaAlloc& alloc); 320 StringValue fKey;
|
/third_party/flutter/skia/src/utils/ |
D | SkJSON.h | 278 class StringValue final : public Value { 282 StringValue(); 283 StringValue(const char* src, size_t size, SkArenaAlloc& alloc); 314 StringValue fKey;
|