HomeSort by relevance Sort by last modified time
    Searched full:cpp_type (Results 1 - 25 of 27) sorted by null

1 2

  /external/protobuf/src/google/protobuf/
reflection_ops.cc 68 switch (field->cpp_type()) {
93 switch (field->cpp_type()) {
153 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) {
183 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) {
238 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) {
extension_set_heavy.cc 101 inline FieldDescriptor::CppType cpp_type(FieldType type) { function in namespace:google::protobuf::internal
110 GOOGLE_DCHECK_EQ(cpp_type((EXTENSION).type), FieldDescriptor::CPPTYPE_##CPPTYPE)
130 GOOGLE_DCHECK_EQ(cpp_type(extension->type), FieldDescriptor::CPPTYPE_MESSAGE);
149 GOOGLE_DCHECK_EQ(cpp_type(extension->type), FieldDescriptor::CPPTYPE_MESSAGE);
190 if (extension->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) {
196 } else if (extension->cpp_type() == FieldDescriptor::CPPTYPE_ENUM) {
255 switch (cpp_type(type)) {
283 switch (cpp_type(type)) {
extension_set.cc 57 inline WireFormatLite::CppType cpp_type(FieldType type) { function in namespace:google::protobuf::internal::__anon9275
209 GOOGLE_DCHECK_EQ(cpp_type((EXTENSION).type), WireFormatLite::CPPTYPE_##CPPTYPE)
233 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_##UPPERCASE); \
263 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_##UPPERCASE); \
303 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_ENUM);
332 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_ENUM);
363 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_STRING);
392 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_STRING);
428 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_MESSAGE);
464 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_MESSAGE)
    [all...]
generated_message_reflection.cc 119 " Field type: " << cpptype_names_[field->cpp_type()];
144 if (field->cpp_type() != FieldDescriptor::CPPTYPE_##CPPTYPE) \
224 switch (field->cpp_type()) {
260 switch (field->cpp_type()) {
344 switch (field->cpp_type()) {
368 GOOGLE_LOG(FATAL) << "Unimplemented type: " << field->cpp_type();
371 switch (field->cpp_type()) {
400 GOOGLE_LOG(FATAL) << "Unimplemented type: " << field->cpp_type();
434 switch (field->cpp_type()) {
470 switch (field->cpp_type()) {
    [all...]
dynamic_message.cc 97 switch (field->cpp_type()) {
117 switch (field->cpp_type()) {
245 switch (field->cpp_type()) {
327 switch (field->cpp_type()) {
360 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_STRING) {
371 } else if ((field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) &&
393 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE &&
text_format.cc 157 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) {
298 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) {
349 switch(field->cpp_type()) {
930 field->cpp_type() != FieldDescriptor::CPPTYPE_STRING &&
931 field->cpp_type() != FieldDescriptor::CPPTYPE_MESSAGE) {
947 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) {
966 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) {
    [all...]
descriptor.h 392 CppType cpp_type() const; // C++ type of this field.
408 // Get the field default value if cpp_type() == CPPTYPE_INT32. If no
411 // Get the field default value if cpp_type() == CPPTYPE_INT64. If no
414 // Get the field default value if cpp_type() == CPPTYPE_UINT32. If no
417 // Get the field default value if cpp_type() == CPPTYPE_UINT64. If no
420 // Get the field default value if cpp_type() == CPPTYPE_FLOAT. If no
423 // Get the field default value if cpp_type() == CPPTYPE_DOUBLE. If no
426 // Get the field default value if cpp_type() == CPPTYPE_BOOL. If no
429 // Get the field default value if cpp_type() == CPPTYPE_ENUM. If no
434 // Get the field default value if cpp_type() == CPPTYPE_STRING. If n
1345 inline FieldDescriptor::CppType FieldDescriptor::cpp_type() const { function in class:google::protobuf::FieldDescriptor
    [all...]
descriptor.cc     [all...]
wire_format.cc 745 field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE &&
    [all...]
  /external/protobuf/src/google/protobuf/compiler/cpp/
cpp_extension.cc 68 switch (descriptor_->cpp_type()) {
86 type_traits_.append(PrimitiveTypeName(descriptor_->cpp_type()));
141 if (descriptor_->cpp_type() == FieldDescriptor::CPPTYPE_STRING) {
179 switch (descriptor_->cpp_type()) {
cpp_field.cc 95 switch (field->cpp_type()) {
110 switch (field->cpp_type()) {
cpp_message.cc 131 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) {
831 field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) {
872 field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) {
988 field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE ||
989 field->cpp_type() == FieldDescriptor::CPPTYPE_STRING;
    [all...]
cpp_helpers.cc 244 switch (field->cpp_type()) {
cpp_primitive_field.cc 85 (*variables)["type"] = PrimitiveTypeName(descriptor->cpp_type());
  /external/protobuf/python/google/protobuf/
reflection.py 34 # descriptor's cpp_type is CPPTYPE_MESSAGE.
330 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
339 type_checker = type_checkers.GetTypeChecker(field.cpp_type, field.type)
345 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
376 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE: # Composite
382 elif field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
439 elif field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
502 type_checker = type_checkers.GetTypeChecker(field.cpp_type, field.type)
618 elif item[0].cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE:
650 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE
    [all...]
text_format.py 94 if field.cpp_type != descriptor.FieldDescriptor.CPPTYPE_MESSAGE:
107 if field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_MESSAGE:
111 elif field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_ENUM:
113 elif field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_STRING:
117 elif field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_BOOL:
192 if field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_MESSAGE:
descriptor.py 291 cpp_type: (One of the CPPTYPE_* constants below) C++ type used to
373 def __init__(self, name, full_name, index, number, type, cpp_type, label,
390 self.cpp_type = cpp_type
  /external/protobuf/python/google/protobuf/internal/
type_checkers.py 56 def GetTypeChecker(cpp_type, field_type):
60 cpp_type: C++ type of the field (see descriptor.py).
67 if (cpp_type == _FieldDescriptor.CPPTYPE_STRING and
70 return _VALUE_CHECKERS[cpp_type]
descriptor_test.py 78 type=5, cpp_type=1, label=1,
  /hardware/ril/mock-ril/src/cpp/
protobuf_v8.cpp 200 switch (field->cpp_type()) {
260 (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) ?
312 switch (field->cpp_type()) {
412 (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) ?
  /external/protobuf/src/google/protobuf/compiler/python/
python_generator.cc 159 switch (field.cpp_type()) {
848 m["cpp_type"] = SimpleItoa(field.cpp_type());
860 " number=$number$, type=$type$, cpp_type=$cpp_type$, label=$label$,\n"
    [all...]
  /external/protobuf/src/google/protobuf/compiler/javamicro/
javamicro_helpers.cc 334 // Switch on cpp_type since we need to know which default_value_* method
336 switch (field->cpp_type()) {
javamicro_message.cc 122 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) {
419 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE &&
javamicro_file.cc 65 if (fields[i]->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) {
  /external/protobuf/src/google/protobuf/compiler/java/
java_helpers.cc 264 switch (field->cpp_type()) {

Completed in 225 milliseconds

1 2