Home
last modified time | relevance | path

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

12345

/external/llvm/include/llvm/CodeGen/
DMIRYamlMapping.h28 struct StringValue { struct
32 StringValue() {} in StringValue() function
33 StringValue(std::string Value) : Value(std::move(Value)) {} in StringValue() argument
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/swiftshader/third_party/llvm-7.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() function
41 bool operator==(const StringValue &Other) const {
46 template <> struct ScalarTraits<StringValue> {
47 static void output(const StringValue &S, void *, raw_ostream &OS) {
51 static StringRef input(StringRef Scalar, void *Ctx, StringValue &S) {
62 struct FlowStringValue : StringValue {
64 FlowStringValue(std::string Value) : StringValue(std::move(Value)) {}
69 return ScalarTraits<StringValue>::output(S, nullptr, OS);
[all …]
/external/turbine/java/com/google/turbine/model/
DConst.java82 public StringValue asString() { in asString()
127 public StringValue asString() { in asString()
128 return new StringValue(String.valueOf(value)); in asString()
201 public StringValue asString() { in asString()
202 return new StringValue(String.valueOf(value)); in asString()
274 public StringValue asString() { in asString()
275 return new StringValue(String.valueOf(value)); in asString()
347 public StringValue asString() { in asString()
348 return new StringValue(String.valueOf(value)); in asString()
420 public StringValue asString() { in asString()
[all …]
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/
DMetrics.cs84 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/skia/dm/
DDMJsonWriter.cpp147 br.name = key["name"].as<StringValue>().begin(); in ReadJson()
148 br.config = key["config"].as<StringValue>().begin(); in ReadJson()
149 br.sourceType = key["source_type"].as<StringValue>().begin(); in ReadJson()
150 br.ext = options["ext"].as<StringValue>().begin(); in ReadJson()
151 br.gamut = options["gamut"].as<StringValue>().begin(); in ReadJson()
152 br.transferFn = options["transfer_fn"].as<StringValue>().begin(); in ReadJson()
153 br.colorType = options["color_type"].as<StringValue>().begin(); in ReadJson()
154 br.alphaType = options["alpha_type"].as<StringValue>().begin(); in ReadJson()
155 br.colorDepth = options["color_depth"].as<StringValue>().begin(); in ReadJson()
156 br.md5 = (*r)["md5"].as<StringValue>().begin(); in ReadJson()
[all …]
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DStruct.cs212 case KindOneofCase.StringValue: in Value()
213 StringValue = other.StringValue; in Value()
263 public string StringValue { property in Google.Protobuf.WellKnownTypes.Value
264 get { return kindCase_ == KindOneofCase.StringValue ? (string) kind_ : ""; }
267 kindCase_ = KindOneofCase.StringValue;
316 StringValue = 3, enumerator
344 if (StringValue != other.StringValue) return false; in Equals()
356 if (kindCase_ == KindOneofCase.StringValue) hash ^= StringValue.GetHashCode(); in GetHashCode()
377 if (kindCase_ == KindOneofCase.StringValue) { in WriteTo()
379 output.WriteString(StringValue); in WriteTo()
[all …]
DWrappers.cs46 …peof(global::Google.Protobuf.WellKnownTypes.StringValue), global::Google.Protobuf.WellKnownTypes.S… in WrappersReflection()
837 public sealed partial class StringValue : pb::IMessage<StringValue> { class
838 …te static readonly pb::MessageParser<StringValue> _parser = new pb::MessageParser<StringValue>(() …
839 public static pb::MessageParser<StringValue> Parser { get { return _parser; } }
849 public StringValue() { in StringValue() method in Google.Protobuf.WellKnownTypes.StringValue
855 public StringValue(StringValue other) : this() { in StringValue() method in Google.Protobuf.WellKnownTypes.StringValue
859 public StringValue Clone() { in Clone()
860 return new StringValue(this); in Clone()
877 return Equals(other as StringValue); in Equals()
880 public bool Equals(StringValue other) { in Equals()
[all …]
/external/protobuf/csharp/src/Google.Protobuf/
DJsonParser.cs89 { StringValue.Descriptor.FullName, MergeWrapperField }
186 string name = token.StringValue; in Merge()
295 object key = ParseMapKey(keyField, token.StringValue); in MergeMapField()
356 case JsonToken.TokenType.StringValue: in ParseSingleValue()
357 return ParseSingleStringValue(field, token.StringValue); in ParseSingleValue()
435 case JsonToken.TokenType.StringValue: in MergeStructValue()
436 … fields[Value.StringValueFieldNumber].Accessor.SetValue(message, firstToken.StringValue); in MergeStructValue()
497 token.StringValue != JsonFormatter.AnyTypeUrlField || in MergeAny()
511 if (token.Type != JsonToken.TokenType.StringValue) in MergeAny()
515 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()
/external/protobuf/src/google/protobuf/
Dwrappers.pb.cc169 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StringValue, value_), in protobuf_AssignDesc_google_2fprotobuf_2fwrappers_2eproto()
174 StringValue::default_instance_, in protobuf_AssignDesc_google_2fprotobuf_2fwrappers_2eproto()
179 sizeof(StringValue), in protobuf_AssignDesc_google_2fprotobuf_2fwrappers_2eproto()
180 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StringValue, _internal_metadata_), in protobuf_AssignDesc_google_2fprotobuf_2fwrappers_2eproto()
181 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(StringValue, _is_default_instance_)); in protobuf_AssignDesc_google_2fprotobuf_2fwrappers_2eproto()
224 StringValue_descriptor_, &StringValue::default_instance()); in protobuf_RegisterTypes()
246 delete StringValue::default_instance_; in protobuf_ShutdownFile_google_2fprotobuf_2fwrappers_2eproto()
280 StringValue::default_instance_ = new StringValue(); in protobuf_AddDesc_google_2fprotobuf_2fwrappers_2eproto()
289 StringValue::default_instance_->InitAsDefaultInstance(); in protobuf_AddDesc_google_2fprotobuf_2fwrappers_2eproto()
2128 const int StringValue::kValueFieldNumber;
[all …]
Dwrappers.pb.h46 class StringValue; variable
689 class LIBPROTOBUF_EXPORT StringValue : public ::google::protobuf::Message {
691 StringValue();
692 virtual ~StringValue();
694 StringValue(const StringValue& from);
696 inline StringValue& operator=(const StringValue& from) {
706 static const StringValue& default_instance();
708 void UnsafeArenaSwap(StringValue* other);
709 void Swap(StringValue* other);
713 inline StringValue* New() const { return New(NULL); } in New()
[all …]
/external/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 …]
/external/skqp/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 …]
/external/golang-protobuf/ptypes/wrappers/
Dwrappers.pb.go341 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/
DDMJsonWriter.cpp143 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/skqp/modules/skottie/src/
DSkottieTextLayer.cpp111 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/skia/modules/skottie/src/
DSkottieTextLayer.cpp111 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/jsilver/src/com/google/clearsilver/jsilver/values/
DValue.java46 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()
DStringValue.java26 class StringValue extends VariantValue { class
30 public StringValue(String value, EscapeMode escapeMode, boolean partiallyEscaped) { in StringValue() method in StringValue
/external/skia/tools/bookmaker/
DfiddleParser.cpp47 if (!iter->fValue.is<skjson::StringValue>()) { in parseFiddles()
50 if (iter->fValue.as<skjson::StringValue>().size()) { in parseFiddles()
56 const skjson::StringValue* sv = iter->fValue; in parseFiddles()
71 const skjson::StringValue* sv = iter->fValue; in parseFiddles()
/external/turbine/javatests/com/google/turbine/model/
DConstTest.java48 .addEqualityGroup(new Const.StringValue("a"), new Const.StringValue("a")) in equalsTest()
49 .addEqualityGroup(new Const.StringValue("b"), new Const.StringValue("b")) in equalsTest()
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMELFStreamer.cpp82 StringRef StringValue) override;
184 StringRef StringValue) { in emitIntTextAttribute() argument
189 if (!StringValue.empty()) in emitIntTextAttribute()
190 OS << ", \"" << StringValue << "\""; in emitIntTextAttribute()
257 std::string StringValue; member
319 Item->StringValue = Value; in setAttributeItem()
334 StringRef StringValue, bool OverwriteExisting) { in setAttributeItems() argument
341 Item->StringValue = StringValue; in setAttributeItems()
350 StringValue in setAttributeItems()
378 StringRef StringValue) override;
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMELFStreamer.cpp95 StringRef StringValue) override;
208 StringRef StringValue) { in emitIntTextAttribute() argument
213 if (!StringValue.empty()) in emitIntTextAttribute()
214 OS << ", \"" << StringValue << "\""; in emitIntTextAttribute()
286 std::string StringValue; member
348 Item->StringValue = Value; in setAttributeItem()
363 StringRef StringValue, bool OverwriteExisting) { in setAttributeItems() argument
370 Item->StringValue = StringValue; in setAttributeItems()
379 StringValue in setAttributeItems()
407 StringRef StringValue) override;
[all …]
/external/emma/ant/ant14/com/vladium/emma/ant/
DStringValue.java18 abstract class StringValue class
47 protected StringValue (final Task task) in StringValue() method in StringValue
/external/syzkaller/vendor/google.golang.org/appengine/datastore/
Dsave.go51 pv.StringValue = proto.String(v.String())
80 pv.StringValue = proto.String(string(b))
256 x.Value.StringValue = proto.String(v)
273 x.Value.StringValue = proto.String(string(v))
283 x.Value.StringValue = proto.String(string(v))
289 x.Value.StringValue = proto.String(string(v))

12345