/external/llvm/include/llvm/CodeGen/ |
D | MIRYamlMapping.h | 28 struct StringValue { struct 32 StringValue() {} in StringValue() argument 33 StringValue(std::string Value) : Value(std::move(Value)) {} in StringValue() function 35 bool operator==(const StringValue &Other) const { 40 template <> struct ScalarTraits<StringValue> { 41 static void output(const StringValue &S, void *, llvm::raw_ostream &OS) { 45 static StringRef input(StringRef Scalar, void *Ctx, StringValue &S) { 56 struct FlowStringValue : StringValue { 58 FlowStringValue(std::string Value) : StringValue(Value) {} 63 return ScalarTraits<StringValue>::output(S, nullptr, OS); [all …]
|
/external/protobuf/php/tests/ |
D | wrapper_type_setters_test.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 135 …]],[TestWrapperSetters::class, StringValue::class, "setStringValueOneof", "setStringValueOneofUnwr… [all …]
|
/external/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() argument 40 StringValue(const char Val[]) : Value(Val) {} in StringValue() argument 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 …]
|
/external/llvm-project/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() argument 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 …]
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/contextual/ |
D | TestContextualDeserialization.java | 35 static class StringValue { class in TestContextualDeserialization 38 public StringValue(String v) { value = v; } in StringValue() method in TestContextualDeserialization.StringValue 44 public StringValue a; 46 public StringValue b; 55 @Name("CtorA") @JsonProperty("a") StringValue a, in ContextualCtorBean() 56 @Name("CtorB") @JsonProperty("b") StringValue b) in ContextualCtorBean() 66 public StringValue a; 69 public StringValue b; 75 public StringValue[] beans; 81 public List<StringValue> beans; [all …]
|
D | TestContextualWithAnnDeserializer.java | 24 static class StringValue { class in TestContextualWithAnnDeserializer 27 public StringValue(String v) { value = v; } in StringValue() method in TestContextualWithAnnDeserializer.StringValue 34 public StringValue value; 38 extends JsonDeserializer<StringValue> 49 public StringValue deserialize(JsonParser p, DeserializationContext ctxt) throws IOException in deserialize() 51 return new StringValue(""+_fieldName+"="+p.getText()); in deserialize()
|
/external/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 …]
|
/external/turbine/java/com/google/turbine/model/ |
D | Const.java | 88 public StringValue asString() { in asString() 143 public StringValue asString() { in asString() 144 return new StringValue(String.valueOf(value)); in asString() 227 public StringValue asString() { in asString() 228 return new StringValue(String.valueOf(value)); in asString() 310 public StringValue asString() { in asString() 311 return new StringValue(String.valueOf(value)); in asString() 393 public StringValue asString() { in asString() 394 return new StringValue(String.valueOf(value)); in asString() 479 public StringValue asString() { in asString() [all …]
|
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/ |
D | Metrics.cs | 84 case ValueOneofCase.StringValue: in GaugeResponse() 85 StringValue = other.StringValue; in GaugeResponse() 133 public string StringValue { property in Grpc.Testing.GaugeResponse 134 get { return valueCase_ == ValueOneofCase.StringValue ? (string) value_ : ""; } 137 valueCase_ = ValueOneofCase.StringValue; 147 StringValue = 4, enumerator 177 if (StringValue != other.StringValue) return false; in Equals() 188 if (valueCase_ == ValueOneofCase.StringValue) hash ^= StringValue.GetHashCode(); in GetHashCode() 215 if (valueCase_ == ValueOneofCase.StringValue) { in WriteTo() 217 output.WriteString(StringValue); in WriteTo() [all …]
|
/external/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/ |
D | RISCVELFStreamer.h | 25 std::string StringValue; member 62 Item->StringValue = std::string(Value); in setAttributeItem() 71 StringRef StringValue, bool OverwriteExisting) { in setAttributeItems() argument 78 Item->StringValue = std::string(StringValue); in setAttributeItems() 84 std::string(StringValue)}); in setAttributeItems() 90 StringRef StringValue) override;
|
D | RISCVELFStreamer.cpp | 87 StringRef StringValue) { in emitIntTextAttribute() argument 88 setAttributeItems(Attribute, IntValue, StringValue, in emitIntTextAttribute() 133 Streamer.emitBytes(item.StringValue); in finishAttributeSection() 138 Streamer.emitBytes(item.StringValue); in finishAttributeSection() 159 Result += item.StringValue.size() + 1; // string + '\0' in calculateContentSize() 164 Result += item.StringValue.size() + 1; // string + '\0'; in calculateContentSize()
|
/external/protobuf/csharp/src/Google.Protobuf/ |
D | JsonParser.cs | 89 { StringValue.Descriptor.FullName, MergeWrapperField }, 187 string name = token.StringValue; in Merge() 301 object key = ParseMapKey(keyField, token.StringValue); in MergeMapField() 362 case JsonToken.TokenType.StringValue: in ParseSingleValue() 363 return ParseSingleStringValue(field, token.StringValue); in ParseSingleValue() 441 case JsonToken.TokenType.StringValue: in MergeStructValue() 442 … fields[Value.StringValueFieldNumber].Accessor.SetValue(message, firstToken.StringValue); in MergeStructValue() 503 token.StringValue != JsonFormatter.AnyTypeUrlField || in MergeAny() 517 if (token.Type != JsonToken.TokenType.StringValue) in MergeAny() 521 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()
|
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | Struct.cs | 244 case KindOneofCase.StringValue: in Value() 245 StringValue = other.StringValue; in Value() 300 public string StringValue { property in Google.Protobuf.WellKnownTypes.Value 301 get { return kindCase_ == KindOneofCase.StringValue ? (string) kind_ : ""; } 304 kindCase_ = KindOneofCase.StringValue; 356 StringValue = 3, enumerator 388 if (StringValue != other.StringValue) return false; in Equals() 401 if (kindCase_ == KindOneofCase.StringValue) hash ^= StringValue.GetHashCode(); in GetHashCode() 427 if (kindCase_ == KindOneofCase.StringValue) { in WriteTo() 429 output.WriteString(StringValue); in WriteTo() [all …]
|
/external/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 …]
|
/external/skqp/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 …]
|
/external/golang-protobuf/ptypes/wrappers/ |
D | wrappers.pb.go | 341 type StringValue struct { struct 349 func (m *StringValue) Reset() { *m = StringValue{} } argument 350 func (m *StringValue) String() string { return proto.CompactTextString(m) } argument 351 func (*StringValue) ProtoMessage() {} argument 352 func (*StringValue) Descriptor() ([]byte, []int) { argument 356 func (*StringValue) XXX_WellKnownType() string { return "StringValue" } argument 358 func (m *StringValue) XXX_Unmarshal(b []byte) error { argument 361 func (m *StringValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { argument 364 func (m *StringValue) XXX_Merge(src proto.Message) { argument 367 func (m *StringValue) XXX_Size() int { argument [all …]
|
/external/skqp/dm/ |
D | DMJsonWriter.cpp | 143 br.name = key["name"].as<StringValue>().begin(); in ReadJson() 144 br.config = key["config"].as<StringValue>().begin(); in ReadJson() 145 br.sourceType = key["source_type"].as<StringValue>().begin(); in ReadJson() 146 br.ext = options["ext"].as<StringValue>().begin(); in ReadJson() 147 br.gammaCorrect = 0 == strcmp("yes", options["gamma_correct"].as<StringValue>().begin()); in ReadJson() 148 br.md5 = (*r)["md5"].as<StringValue>().begin(); in ReadJson() 150 if (const StringValue* so = key["source_options"]) { in ReadJson()
|
/external/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;
|
/external/protobuf/src/google/protobuf/ |
D | wrappers.pb.h | 76 class StringValue; variable 93 … PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::StringValue* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_… 1179 class PROTOBUF_EXPORT StringValue : 1182 StringValue(); 1183 virtual ~StringValue(); 1185 StringValue(const StringValue& from); 1186 StringValue(StringValue&& from) noexcept in StringValue() function 1187 : StringValue() { in StringValue() 1191 inline StringValue& operator=(const StringValue& from) { 1195 inline StringValue& operator=(StringValue&& from) noexcept { [all …]
|
D | wrappers.pb.cc | 49 ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<StringValue> _instance; 145 new (ptr) PROTOBUF_NAMESPACE_ID::StringValue(); in InitDefaultsscc_info_StringValue_google_2fprotobuf_2fwrappers_2eproto() 148 PROTOBUF_NAMESPACE_ID::StringValue::InitAsDefaultInstance(); in InitDefaultsscc_info_StringValue_google_2fprotobuf_2fwrappers_2eproto() 230 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::StringValue, _internal_metadata_), 234 PROTOBUF_FIELD_OFFSET(PROTOBUF_NAMESPACE_ID::StringValue, value_), 250 { 42, -1, sizeof(PROTOBUF_NAMESPACE_ID::StringValue)}, 2150 void StringValue::InitAsDefaultInstance() { in InitAsDefaultInstance() 2152 class StringValue::_Internal { 2156 StringValue::StringValue() in StringValue() function in StringValue 2161 StringValue::StringValue(::PROTOBUF_NAMESPACE_ID::Arena* arena) in StringValue() function in StringValue [all …]
|
/external/skqp/modules/skottie/src/ |
D | SkottieTextLayer.cpp | 111 const skjson::StringValue* jname = (*jfont)["fName"]; in parseFonts() 112 const skjson::StringValue* jfamily = (*jfont)["fFamily"]; in parseFonts() 113 const skjson::StringValue* jstyle = (*jfont)["fStyle"]; in parseFonts() 114 const skjson::StringValue* jpath = (*jfont)["fPath"]; in parseFonts() 183 const skjson::StringValue* jch = (*jchar)["ch"]; in parseFonts() 188 const skjson::StringValue* jfamily = (*jchar)["fFamily"]; in parseFonts() 189 const skjson::StringValue* jstyle = (*jchar)["style"]; // "style", not "fStyle"... in parseFonts()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/filter/ |
D | NullConversionsSkipTest.java | 31 static class StringValue { class in NullConversionsSkipTest 103 StringValue result = MAPPER.readValue(json, StringValue.class); in testSkipNullWithDefaults() 109 result = mapper.readValue(json, StringValue.class); in testSkipNullWithDefaults()
|
/external/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 …]
|
/external/jsilver/src/com/google/clearsilver/jsilver/values/ |
D | Value.java | 46 new StringValue("", EscapeMode.ESCAPE_NONE, true)); in EMPTY_PART_ESCAPED.put() argument 47 EMPTY_PART_ESCAPED.put(EscapeMode.ESCAPE_IS_CONSTANT, new StringValue("", in EMPTY_PART_ESCAPED.put() argument 51 EMPTY_UNESCAPED.put(EscapeMode.ESCAPE_NONE, new StringValue("", EscapeMode.ESCAPE_NONE, false)); in EMPTY_UNESCAPED.put() argument 52 EMPTY_UNESCAPED.put(EscapeMode.ESCAPE_IS_CONSTANT, new StringValue("", in EMPTY_UNESCAPED.put() argument 130 return new StringValue(value, mode, partiallyEscaped); in literalValue()
|