Home
last modified time | relevance | path

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

1234

/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()
/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/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/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/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()
/third_party/glib/glib/gnulib/
Dprintf-args.h70 TYPE_STRING, enumerator
/third_party/gettext/gettext-runtime/intl/
Dprintf-args.h69 TYPE_STRING, enumerator
/third_party/gstreamer/gstreamer/gst/printf/
Dprintf-args.h65 TYPE_STRING, enumerator
Dprintf-args.c99 case TYPE_STRING: in printf_fetchargs()
/third_party/gettext/gettext-runtime/libasprintf/
Dprintf-args.h69 TYPE_STRING, enumerator
/third_party/jsframework/runtime/main/extend/systemplugin/napi/
Dohos_data_DataShareResultSet.js22 TYPE_STRING: 3, property
/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()

1234