/external/chromium_org/tools/json_schema_compiler/ |
cpp_type_generator.py | 87 cpp_type = None 93 cpp_type = ref_type.name 95 cpp_type = '%s::%s' % (ref_type.namespace.unix_name, ref_type.name) 97 cpp_type = 'bool' 99 cpp_type = 'int' 101 cpp_type = 'int64' 103 cpp_type = 'double' 105 cpp_type = 'std::string' 107 cpp_type = cpp_util.Classname(type_.name) 109 cpp_type = 'base::Value [all...] |
/external/chromium_org/third_party/protobuf/python/google/protobuf/pyext/ |
python_descriptor.h | 64 PyObject* cpp_type; member in struct:google::protobuf::python::__anon15751
|
python_descriptor.cc | 64 Py_XINCREF(self->cpp_type); 65 return self->cpp_type; 86 { C("cpp_type"), 143 Py_DECREF(self->cpp_type); 170 cfield_descriptor->cpp_type = PyLong_FromLong(field_descriptor->cpp_type());
|
/external/chromium_org/third_party/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 | 98 switch (field->cpp_type()) { 113 switch (field->cpp_type()) {
|
/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()) {
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/ |
reflection_ops.cc | 72 switch (field->cpp_type()) { 97 switch (field->cpp_type()) { 157 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { 188 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { 243 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) {
|
dynamic_message.cc | 97 switch (field->cpp_type()) { 117 switch (field->cpp_type()) { 265 switch (field->cpp_type()) { 347 switch (field->cpp_type()) { 380 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_STRING) { 391 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { 414 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE &&
|
extension_set.cc | 57 inline WireFormatLite::CppType cpp_type(FieldType type) { function in namespace:google::protobuf::internal::__anon15794 232 GOOGLE_DCHECK_EQ(cpp_type((EXTENSION).type), WireFormatLite::CPPTYPE_##CPPTYPE) 256 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_##UPPERCASE); \ 286 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_##UPPERCASE); \ 334 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_ENUM); 363 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_ENUM); 394 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_STRING); 423 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_STRING); 463 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_MESSAGE); 495 GOOGLE_DCHECK_EQ(cpp_type(extension->type), WireFormatLite::CPPTYPE_MESSAGE) [all...] |
generated_message_reflection.cc | 104 " Field type: " << cpptype_names_[field->cpp_type()]; 129 if (field->cpp_type() != FieldDescriptor::CPPTYPE_##CPPTYPE) \ 209 switch (field->cpp_type()) { 245 switch (field->cpp_type()) { 329 switch (field->cpp_type()) { 353 GOOGLE_LOG(FATAL) << "Unimplemented type: " << field->cpp_type(); 356 switch (field->cpp_type()) { 388 GOOGLE_LOG(FATAL) << "Unimplemented type: " << field->cpp_type(); 422 switch (field->cpp_type()) { 458 switch (field->cpp_type()) { [all...] |
/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) {
|
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 &&
|
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::__anon26349 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...] |
/external/chromium_org/third_party/protobuf/python/google/protobuf/internal/ |
python_message.py | 34 # descriptor's cpp_type is CPPTYPE_MESSAGE. 266 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE: 275 type_checker = type_checkers.GetTypeChecker(field.cpp_type, field.type) 281 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE: 317 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE: # Composite 323 elif field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE: 380 elif field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE: 443 type_checker = type_checkers.GetTypeChecker(field.cpp_type, field.type) 568 elif item[0].cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE: 600 if field.cpp_type == _FieldDescriptor.CPPTYPE_MESSAGE [all...] |
cpp_message.py | 307 cdescriptor.cpp_type == _CPPTYPE_MESSAGE): 320 cdescriptor.cpp_type != _CPPTYPE_MESSAGE): 359 cdescriptor.cpp_type == _CPPTYPE_MESSAGE): 364 if cdescriptor.cpp_type == _CPPTYPE_MESSAGE: 440 if field.cpp_type == _CPPTYPE_MESSAGE: 444 elif field.cpp_type == _CPPTYPE_MESSAGE: 482 if field_cdescriptor.cpp_type == _CPPTYPE_MESSAGE: 488 elif field_cdescriptor.cpp_type == _CPPTYPE_MESSAGE: 530 child_cdescriptor.cpp_type == _CPPTYPE_MESSAGE): 545 child_cdescriptor.cpp_type == _CPPTYPE_MESSAGE) [all...] |
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]
|
/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/chromium_org/third_party/WebKit/Source/bindings/scripts/ |
code_generator_v8.py | 186 def cpp_type(data_type, pointer_type): function 198 return 'const Vector<%s >&' % cpp_type(array_or_sequence_type(data_type), 'RefPtr') 296 'cpp_type': cpp_type(attribute.data_type, pointer_type='RefPtr'), 334 return '%s %s' % (cpp_type(argument.data_type, 'raw'), argument.name) 344 'return_cpp_type': cpp_type(operation.data_type, 'RefPtr'),
|
/external/chromium_org/third_party/protobuf/python/google/protobuf/ |
text_format.py | 98 if field.cpp_type != descriptor.FieldDescriptor.CPPTYPE_MESSAGE: 115 if field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_MESSAGE: 124 elif field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_ENUM: 130 elif field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_STRING: 137 elif field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_BOOL: 212 if field.cpp_type == descriptor.FieldDescriptor.CPPTYPE_MESSAGE:
|
/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]
|