/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/WebKit/Source/bindings/scripts/unstable/ |
v8_callback_interface.py | 65 def cpp_type(idl_type): function 67 # (always use usual v8_types.cpp_type) 73 usual_cpp_type = v8_types.cpp_type(idl_type, used_as_argument=True) 116 'return_cpp_type': cpp_type(idl_type), 131 '%s %s' % (cpp_type(argument.idl_type), argument.name)
|
v8_types.py | 176 # (cpp_type, v8_type), used by constructor templates 241 def cpp_type(idl_type, extended_attributes=None, used_as_argument=False): function 274 return cpp_template_type('Vector', cpp_type(this_array_or_sequence_type)) 410 this_cpp_type = cpp_type(this_array_or_sequence_type) 411 expression_format = 'toNativeArray<{cpp_type}>({v8_value}, {index}, info.GetIsolate())' 412 expression = expression_format.format(array_or_sequence_type=this_array_or_sequence_type, cpp_type=this_cpp_type, index=index, v8_value=v8_value) 418 this_cpp_type = cpp_type(idl_type, extended_attributes=extended_attributes, used_as_argument=True) 422 format_string = 'V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID({cpp_type}, {variable_name}, {cpp_value})' 424 format_string = 'V8TRYCATCH_WITH_TYPECHECK_VOID({cpp_type}, {variable_name}, {cpp_value}, info.GetIsolate())' 426 format_string = 'V8TRYCATCH_VOID({cpp_type}, {variable_name}, {cpp_value}) [all...] |
v8_methods.py | 87 'cpp_type': v8_types.cpp_type(idl_type), 137 'cpp_type': v8_types.cpp_type(idl_type), 223 return 'V8TRYCATCH_VOID(Vector<{cpp_type}>, {name}, toNativeArguments<{cpp_type}>(info, {index}))'.format( 224 cpp_type=v8_types.cpp_type(idl_type), name=name, index=index)
|
/external/chromium_org/third_party/protobuf/python/google/protobuf/pyext/ |
python_descriptor.h | 64 PyObject* cpp_type; member in struct:google::protobuf::python::__anon13866
|
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()) { 257 switch (field->cpp_type()) { 339 switch (field->cpp_type()) { 372 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_STRING) { 383 } else if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) { 406 if (field->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE &&
|
extension_set.cc | 57 inline WireFormatLite::CppType cpp_type(FieldType type) { function in namespace:google::protobuf::internal::__anon13909 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::__anon24560 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...] |
/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:
|
/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/chromium_org/third_party/WebKit/Source/bindings/templates/ |
attributes.cpp | 47 {{attribute.cpp_type}} {{attribute.cpp_value}} = {{attribute.cpp_value_original}}; 53 {{attribute.cpp_type}} {{attribute.cpp_value}} = {{attribute.cpp_value_original}}; 61 {{attribute.cpp_type}} {{attribute.cpp_value}} = {{attribute.cpp_value_original}}; 68 {{attribute.cpp_type}} result = {{attribute.cpp_value}};
|