Home
last modified time | relevance | path

Searched refs:TYPE_STRING (Results 1 – 25 of 73) sorted by relevance

123

/third_party/protobuf/src/google/protobuf/util/internal/
Ddatapiece.cc118 if (type_ == TYPE_STRING) return StringToNumber<int32>(safe_strto32); in ToInt32()
130 if (type_ == TYPE_STRING) in ToUint32()
143 if (type_ == TYPE_STRING) return StringToNumber<int64>(safe_strto64); in ToInt64()
155 if (type_ == TYPE_STRING) in ToUint64()
171 if (type_ == TYPE_STRING) { in ToDouble()
191 if (type_ == TYPE_STRING) { in ToFloat()
206 case TYPE_STRING: in ToBool()
216 case TYPE_STRING: in ToString()
246 case TYPE_STRING: in ValueAsStringOrDefault()
262 if (type_ == TYPE_STRING) { in ToBytes()
[all …]
Ddatapiece.h72 TYPE_STRING = 9, enumerator
95 : type_(TYPE_STRING), in DataPiece()
122 GOOGLE_LOG_IF(DFATAL, type_ != TYPE_STRING) << "Not a string type."; in str()
Dprotostream_objectwriter.cc328 if (value.type() == DataPiece::TYPE_STRING) { in StartAny()
434 if (value_.type() == DataPiece::TYPE_STRING) { in DeepCopy()
974 case DataPiece::TYPE_STRING: { in RenderStructValue()
999 if (data.type() != DataPiece::TYPE_STRING) { in RenderTimestamp()
1030 if (data.type() != DataPiece::TYPE_STRING) { in RenderFieldMask()
1046 if (data.type() != DataPiece::TYPE_STRING) { in RenderDuration()
Dobject_writer.cc72 case DataPiece::TYPE_STRING: { in RenderDataPieceTo()
/third_party/protobuf/src/google/protobuf/
Dgenerated_message_util.cc231 struct PrimitiveTypeHelper<WireFormatLite::TYPE_STRING> {
246 : PrimitiveTypeHelper<WireFormatLite::TYPE_STRING> {};
251 : PrimitiveTypeHelper<WireFormatLite::TYPE_STRING> {};
377 struct SingularFieldHelper<WireFormatLite::TYPE_STRING> {
381 SerializeTo<WireFormatLite::TYPE_STRING>(&Get<ArenaStringPtr>(field).Get(), in Serialize()
388 : SingularFieldHelper<WireFormatLite::TYPE_STRING> {};
443 struct RepeatedFieldHelper<WireFormatLite::TYPE_STRING> {
450 SerializeTo<WireFormatLite::TYPE_STRING>(AccessorHelper::Get(array, i), in Serialize()
458 : RepeatedFieldHelper<WireFormatLite::TYPE_STRING> {};
494 : RepeatedFieldHelper<WireFormatLite::TYPE_STRING> {};
[all …]
Dextension_set_inl.h75 case WireFormatLite::TYPE_STRING: in ParseFieldWithExtensionInfo()
163 case WireFormatLite::TYPE_STRING: { in ParseFieldWithExtensionInfo()
166 ? AddString(number, WireFormatLite::TYPE_STRING, in ParseFieldWithExtensionInfo()
168 : MutableString(number, WireFormatLite::TYPE_STRING, in ParseFieldWithExtensionInfo()
Dgenerated_message_table_driven_lite.h157 case WireFormatLite::TYPE_STRING: in ClearOneofField()
469 case WireFormatLite::TYPE_STRING: in MergePartialFromCodedStreamInlined()
503 case WireFormatLite::TYPE_STRING | kOneofMask: in MergePartialFromCodedStreamInlined()
526 case (WireFormatLite::TYPE_STRING) | kRepeatedMask: in MergePartialFromCodedStreamInlined()
543 case (WireFormatLite::TYPE_STRING): { in MergePartialFromCodedStreamInlined()
558 case (WireFormatLite::TYPE_STRING) | kRepeatedMask: { in MergePartialFromCodedStreamInlined()
572 case (WireFormatLite::TYPE_STRING) | kOneofMask: { in MergePartialFromCodedStreamInlined()
821 case WireFormatLite::TYPE_STRING: in MergePartialFromCodedStreamInlined()
Dgenerated_message_reflection.h245 if (type == FieldDescriptor::TYPE_STRING || in OffsetValue()
254 if (type == FieldDescriptor::TYPE_STRING || in Inlined()
Dany.cc74 (*type_url_field)->type() == FieldDescriptor::TYPE_STRING && in GetAnyFieldDescriptors()
Dwire_format.cc509 case FieldDescriptor::TYPE_STRING: in ParseAndMergeField()
569 case FieldDescriptor::TYPE_STRING: { in ParseAndMergeField()
880 case FieldDescriptor::TYPE_STRING: in _InternalParseAndMergeField()
974 case FieldDescriptor::TYPE_STRING: in _InternalParseAndMergeField()
1094 case FieldDescriptor::TYPE_STRING: in SerializeMapKeyWithCachedSizes()
1126 case FieldDescriptor::TYPE_STRING: in SerializeMapValueRefWithCachedSizes()
1386 case FieldDescriptor::TYPE_STRING: { in InternalSerializeField()
1518 our_size += TagSize(field->number(), FieldDescriptor::TYPE_STRING); in FieldByteSize()
1701 case FieldDescriptor::TYPE_STRING: in FieldDataOnlyByteSize()
/third_party/protobuf/src/google/protobuf/io/
Dtokenizer_unittest.cc234 {"'hello'", Tokenizer::TYPE_STRING},
235 {"\"foo\"", Tokenizer::TYPE_STRING},
236 {"'a\"b'", Tokenizer::TYPE_STRING},
237 {"\"a'b\"", Tokenizer::TYPE_STRING},
238 {"'a\\'b'", Tokenizer::TYPE_STRING},
239 {"\"a\\\"b\"", Tokenizer::TYPE_STRING},
240 {"'\\xf'", Tokenizer::TYPE_STRING},
241 {"'\\0'", Tokenizer::TYPE_STRING},
353 {Tokenizer::TYPE_STRING, "'bar'", 0, 12, 17},
389 {Tokenizer::TYPE_STRING, "\"foo\tbar\"", 0, 0, 12},
/third_party/protobuf/python/google/protobuf/internal/
Dtype_checkers.py109 field.type == _FieldDescriptor.TYPE_STRING):
327 _FieldDescriptor.TYPE_STRING: wire_format.StringByteSize,
350 _FieldDescriptor.TYPE_STRING: encoder.StringEncoder,
373 _FieldDescriptor.TYPE_STRING: encoder.StringSizer,
396 _FieldDescriptor.TYPE_STRING: decoder.StringDecoder,
418 _FieldDescriptor.TYPE_STRING:
Dproto_builder_test.py55 ('bar', descriptor_pb2.FieldDescriptorProto.TYPE_STRING),
/third_party/node/deps/v8/src/flags/
Dflags.cc62 TYPE_STRING, enumerator
169 DCHECK(type_ == TYPE_STRING); in string_value()
174 DCHECK(type_ == TYPE_STRING); in set_string_value()
219 DCHECK(type_ == TYPE_STRING); in string_default()
334 case TYPE_STRING: { in IsDefault()
370 case TYPE_STRING: in Reset()
427 case Flag::TYPE_STRING: in Type2String()
478 case Flag::TYPE_STRING: { in operator <<()
678 case Flag::TYPE_STRING: in SetFlagsFromCommandLine()
/third_party/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_field_base.cc222 if (wrapped_field->type() == FieldDescriptor::TYPE_STRING || in type_name()
246 case FieldDescriptor::TYPE_STRING: in type_name()
288 case FieldDescriptor::TYPE_STRING: in has_default_value()
388 case FieldDescriptor::TYPE_STRING: in default_value()
436 case FieldDescriptor::TYPE_STRING: in capitalized_type_name()
Dcsharp_helpers.cc93 case FieldDescriptor::TYPE_STRING: in GetCSharpType()
450 case FieldDescriptor::TYPE_STRING : return -1; in GetFixedSize()
578 case FieldDescriptor::TYPE_STRING: in IsNullable()
/third_party/protobuf/php/src/Google/Protobuf/Internal/FieldDescriptorProto/
DType.php58 const TYPE_STRING = 9; define in Google\\Protobuf\\Internal\\FieldDescriptorProto\\Type
118 self::TYPE_STRING => 'TYPE_STRING',
/third_party/protobuf/php/src/Google/Protobuf/Field/
DKind.php75 const TYPE_STRING = 9; define in Google\\Protobuf\\Field\\Kind
141 self::TYPE_STRING => 'TYPE_STRING',
/third_party/protobuf/src/google/protobuf/compiler/java/
Djava_helpers.cc344 case FieldDescriptor::TYPE_STRING: in GetJavaType()
472 case FieldDescriptor::TYPE_STRING: in FieldTypeName()
753 case FieldDescriptor::TYPE_STRING: in GetCapitalizedType()
807 case FieldDescriptor::TYPE_STRING: in FixedSize()
950 if (result < FieldDescriptor::TYPE_STRING) { in GetExperimentalJavaFieldTypeForPacked()
969 if (field->type() == FieldDescriptor::TYPE_STRING && CheckUtf8(field)) { in GetExperimentalJavaFieldType()
/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_map_field.cc217 const bool string_key = key_field->type() == FieldDescriptor::TYPE_STRING; in GenerateSerializeWithCachedSizesToArray()
218 const bool string_value = value_field->type() == FieldDescriptor::TYPE_STRING; in GenerateSerializeWithCachedSizesToArray()
Dcpp_string_field.cc559 if (descriptor_->type() == FieldDescriptor::TYPE_STRING) { in GenerateSerializeWithCachedSizesToArray()
1087 if (descriptor_->type() == FieldDescriptor::TYPE_STRING) { in GenerateSerializeWithCachedSizesToArray()
/third_party/protobuf/src/google/protobuf/util/
Dtype_resolver_util_test.cc207 EXPECT_TRUE(HasField(type, Field::CARDINALITY_OPTIONAL, Field::TYPE_STRING, in TEST_F()
268 EXPECT_TRUE(HasField(type, Field::CARDINALITY_REPEATED, Field::TYPE_STRING, in TEST_F()
324 EXPECT_TRUE(HasField(type, Field::CARDINALITY_OPTIONAL, Field::TYPE_STRING, in TEST_F()
/third_party/jsframework/runtime/main/extend/systemplugin/napi/
Dohos_data_DataShareResultSet.js22 TYPE_STRING: 3, property
/third_party/protobuf/src/google/protobuf/compiler/
Dparser.cc75 result["string"] = FieldDescriptorProto::TYPE_STRING; in MakeTypeNameTable()
323 if (LookingAtType(io::Tokenizer::TYPE_STRING)) { in ConsumeString()
327 while (LookingAtType(io::Tokenizer::TYPE_STRING)) { in ConsumeString()
1183 if (key_field->type() == FieldDescriptorProto::TYPE_STRING) { in GenerateMapEntry()
1187 if (value_field->type() == FieldDescriptorProto::TYPE_STRING) { in GenerateMapEntry()
1333 case FieldDescriptorProto::TYPE_STRING: in ParseDefaultAssignment()
1557 case io::Tokenizer::TYPE_STRING: { in ParseOption()
1699 if (LookingAtType(io::Tokenizer::TYPE_STRING)) { in ParseReserved()
1776 if (LookingAtType(io::Tokenizer::TYPE_STRING)) { in ParseReserved()
/third_party/protobuf/conformance/
Dbinary_json_conformance_suite.cc175 case FieldDescriptor::TYPE_STRING: in GetDefaultValue()
208 case FieldDescriptor::TYPE_STRING: in GetNonDefaultValue()
340 case FieldDescriptor::TYPE_STRING: in IsProto3Default()
1089 FieldDescriptor::TYPE_STRING, FieldDescriptor::TYPE_MESSAGE, is_proto3); in TestOverwriteMessageValueMap()
1440 FieldDescriptor::TYPE_STRING, in RunSuiteImpl()
1502 TestValidDataForMapType(FieldDescriptor::TYPE_STRING, in RunSuiteImpl()
1503 FieldDescriptor::TYPE_STRING); in RunSuiteImpl()
1504 TestValidDataForMapType(FieldDescriptor::TYPE_STRING, in RunSuiteImpl()
1506 TestValidDataForMapType(FieldDescriptor::TYPE_STRING, in RunSuiteImpl()
1508 TestValidDataForMapType(FieldDescriptor::TYPE_STRING, in RunSuiteImpl()
[all …]

123