Home
last modified time | relevance | path

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

12345678910>>...14

/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/cronet/stable/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 …]
/external/cronet/tot/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 …]
/external/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 …]
/external/skia/modules/skottie/utils/
DTextPreshape.cpp53 using skjson::StringValue;
137 { StringValue("v", alloc), ptsToLottie(contours[i].verts, alloc) }, in pathToLottie()
138 { StringValue("i", alloc), ptsToLottie(contours[i].in_tan, alloc) }, in pathToLottie()
139 { StringValue("o", alloc), ptsToLottie(contours[i].out_tan, alloc) }, in pathToLottie()
140 { StringValue("c", alloc), BoolValue (contours[i].closed) }, in pathToLottie()
144 { StringValue("a", alloc), NumberValue(0) }, in pathToLottie()
145 { StringValue("k", alloc), ObjectValue(fields_k, std::size(fields_k), alloc) }, in pathToLottie()
149 { StringValue("ty" , alloc), StringValue("sh", alloc) }, in pathToLottie()
150 { StringValue("hd" , alloc), BoolValue(false) }, in pathToLottie()
151 { StringValue("ind", alloc), NumberValue(SkToInt(i)) }, in pathToLottie()
[all …]
/external/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() 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 …]
/external/swiftshader/third_party/llvm-16.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
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 …]
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/contextual/
DTestContextualDeserialization.java35 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 …]
DTestContextualWithAnnDeserializer.java24 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/
DDMJsonWriter.cpp128 br.name = key["name"].as<StringValue>().begin(); in ReadJson()
129 br.config = key["config"].as<StringValue>().begin(); in ReadJson()
130 br.sourceType = key["source_type"].as<StringValue>().begin(); in ReadJson()
131 br.ext = options["ext"].as<StringValue>().begin(); in ReadJson()
132 br.gamut = options["gamut"].as<StringValue>().begin(); in ReadJson()
133 br.transferFn = options["transfer_fn"].as<StringValue>().begin(); in ReadJson()
134 br.colorType = options["color_type"].as<StringValue>().begin(); in ReadJson()
135 br.alphaType = options["alpha_type"].as<StringValue>().begin(); in ReadJson()
136 br.colorDepth = options["color_depth"].as<StringValue>().begin(); in ReadJson()
137 br.md5 = (*r)["md5"].as<StringValue>().begin(); in ReadJson()
[all …]
/external/lzma/CPP/Windows/
DMenu.cpp105 item.StringValue.Empty(); in GetItem()
142 item.StringValue = GetUnicodeString(a); in GetItem()
166 item.StringValue = s; in GetItem()
175 si.dwTypeData = item.StringValue.GetBuf(bufSize); in GetItem()
177 item.StringValue.ReleaseBuf_CalcLen(bufSize); in GetItem()
199 s = GetSystemString(item.StringValue); in SetItem()
210 si.dwTypeData = item.StringValue.Ptr_non_const(); in SetItem()
226 s = GetSystemString(item.StringValue); in InsertItem()
237 si.dwTypeData = item.StringValue.Ptr_non_const(); in InsertItem()
246 … if (!Insert(itemIndex, flags | (byPosition ? MF_BYPOSITION : MF_BYCOMMAND), id, item.StringValue)) in InsertItem()
/external/cronet/tot/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 …]
/external/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 …]
/external/cronet/stable/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 …]
/external/skia/tests/
DJSONTest.cpp185 check_vector<StringValue>(reporter, v, s ? strlen(s) : 0, !!s); in check_string()
187 REPORTER_ASSERT(reporter, v.as<StringValue>().str() == s); in check_string()
188 REPORTER_ASSERT(reporter, !strcmp(v.as<StringValue>().begin(), s)); in check_string()
307 check_vector<StringValue>(reporter, v.as<ArrayValue>()[2], 3, true); in DEF_TEST()
373 const auto v6 = StringValue(nullptr, 0, alloc); in DEF_TEST()
374 check_value<StringValue>(reporter, v6, "\"\""); in DEF_TEST()
376 const auto v7 = StringValue(" foo ", 5, alloc); in DEF_TEST()
377 check_value<StringValue>(reporter, v7, "\" foo \""); in DEF_TEST()
379 const auto v8 = StringValue(" foo bar baz ", 13, alloc); in DEF_TEST()
380 check_value<StringValue>(reporter, v8, "\" foo bar baz \""); in DEF_TEST()
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/RISCV/MCTargetDesc/
DRISCVELFStreamer.h42 std::string StringValue; member
80 Item->StringValue = std::string(Value); in setAttributeItem()
89 StringRef StringValue, bool OverwriteExisting) { in setAttributeItems() argument
96 Item->StringValue = std::string(StringValue); in setAttributeItems()
102 std::string(StringValue)}); in setAttributeItems()
108 StringRef StringValue) override;
/external/tink/testing/go/
Djwt_service_test.go197 TypeHeader: &wpb.StringValue{Value: "JWT"},
198 Issuer: &wpb.StringValue{Value: "issuer"},
214 TypeHeader: &wpb.StringValue{Value: "JWT"},
215 Issuer: &wpb.StringValue{Value: "issuer"},
216 Subject: &wpb.StringValue{Value: "subject"},
217 JwtId: &wpb.StringValue{Value: "tink"},
226 "cc-string": &pb.JwtClaimValue{Kind: &pb.JwtClaimValue_StringValue{StringValue: "foo bar"}},
232 ExpectedTypeHeader: &wpb.StringValue{Value: "JWT"},
233 ExpectedIssuer: &wpb.StringValue{Value: "issuer"},
234 ExpectedAudience: &wpb.StringValue{Value: "audience"},
[all …]
/external/tink/testing/java_src/javatests/com/google/crypto/tink/testing/
DJwtServiceImplTest.java51 import com.google.protobuf.StringValue;
112 .setTypeHeader(StringValue.newBuilder().setValue("typeHeader")) in generateToken()
113 .setIssuer(StringValue.newBuilder().setValue("issuer")) in generateToken()
116 .setJwtId(StringValue.newBuilder().setValue("123abc")) in generateToken()
187 .setExpectedTypeHeader(StringValue.newBuilder().setValue("typeHeader")) in jwtComputeVerifyMac_success()
188 .setExpectedIssuer(StringValue.newBuilder().setValue("issuer")) in jwtComputeVerifyMac_success()
189 .setExpectedAudience(StringValue.newBuilder().setValue("audience")) in jwtComputeVerifyMac_success()
333 .setExpectedTypeHeader(StringValue.newBuilder().setValue("typeHeader")) in publicKeySignVerify_success()
334 .setExpectedIssuer(StringValue.newBuilder().setValue("issuer")) in publicKeySignVerify_success()
335 .setExpectedAudience(StringValue.newBuilder().setValue("audience")) in publicKeySignVerify_success()
[all …]
/external/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;
/external/cronet/stable/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;
/external/cronet/tot/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;
/external/google-cloud-java/java-analyticshub/proto-google-cloud-analyticshub-v1/src/main/java/com/google/cloud/bigquery/analyticshub/v1/
DDestinationDataset.java140 private com.google.protobuf.StringValue friendlyName_;
170 public com.google.protobuf.StringValue getFriendlyName() { in getFriendlyName()
172 ? com.google.protobuf.StringValue.getDefaultInstance() in getFriendlyName()
188 ? com.google.protobuf.StringValue.getDefaultInstance() in getFriendlyNameOrBuilder()
193 private com.google.protobuf.StringValue description_;
223 public com.google.protobuf.StringValue getDescription() { in getDescription()
225 ? com.google.protobuf.StringValue.getDefaultInstance() in getDescription()
241 ? com.google.protobuf.StringValue.getDefaultInstance() in getDescriptionOrBuilder()
1129 private com.google.protobuf.StringValue friendlyName_;
1131 com.google.protobuf.StringValue,
[all …]
/external/google-cloud-java/java-bigquery-data-exchange/proto-google-cloud-bigquery-data-exchange-v1beta1/src/main/java/com/google/cloud/bigquery/dataexchange/v1beta1/
DDestinationDataset.java143 private com.google.protobuf.StringValue friendlyName_;
173 public com.google.protobuf.StringValue getFriendlyName() { in getFriendlyName()
175 ? com.google.protobuf.StringValue.getDefaultInstance() in getFriendlyName()
191 ? com.google.protobuf.StringValue.getDefaultInstance() in getFriendlyNameOrBuilder()
196 private com.google.protobuf.StringValue description_;
226 public com.google.protobuf.StringValue getDescription() { in getDescription()
228 ? com.google.protobuf.StringValue.getDefaultInstance() in getDescription()
244 ? com.google.protobuf.StringValue.getDefaultInstance() in getDescriptionOrBuilder()
1137 private com.google.protobuf.StringValue friendlyName_;
1139 com.google.protobuf.StringValue,
[all …]
/external/protobuf/src/google/protobuf/
Dwrappers.pb.h66 class StringValue; variable
83 …OTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::StringValue* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE…
1127 class PROTOBUF_EXPORT StringValue final :
1130 inline StringValue() : StringValue(nullptr) {} in StringValue() function
1131 ~StringValue() override;
1132 explicit PROTOBUF_CONSTEXPR StringValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1134 StringValue(const StringValue& from);
1135 StringValue(StringValue&& from) noexcept in StringValue() function
1136 : StringValue() { in StringValue()
1140 inline StringValue& operator=(const StringValue& from) {
[all …]
/external/cronet/tot/third_party/protobuf/src/google/protobuf/
Dwrappers.pb.h66 class StringValue; variable
83 …OTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::StringValue* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE…
1127 class PROTOBUF_EXPORT StringValue final :
1130 inline StringValue() : StringValue(nullptr) {} in StringValue() function
1131 ~StringValue() override;
1132 explicit PROTOBUF_CONSTEXPR StringValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1134 StringValue(const StringValue& from);
1135 StringValue(StringValue&& from) noexcept in StringValue() function
1136 : StringValue() { in StringValue()
1140 inline StringValue& operator=(const StringValue& from) {
[all …]

12345678910>>...14