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

1 2 3

  /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...]
cc_generator.py 227 cpp_type = self._type_helper.GetCppType(type_.additional_properties,
231 .Append('%s tmp;' % cpp_type)
361 cpp_type = self._type_helper.GetCppType(type_.additional_properties,
364 cpp_util.PadForGenerics(cpp_type))
599 (c.Append('%(cpp_type)s temp;')
609 .Append('%(dst_var)s.reset(new %(cpp_type)s(temp));')
633 .Append('scoped_ptr<%(cpp_type)s> temp(new %(cpp_type)s());')
634 .Append('if (!%%(cpp_type)s::Populate(%s)) {' % self._GenerateArgs(
648 .Append('if (!%%(cpp_type)s::Populate(%s)) {' % self._GenerateArgs
    [all...]
  /external/chromium_org/third_party/protobuf/
descriptor_pb2.py 186 number=1, type=11, cpp_type=10, label=3,
214 number=1, type=9, cpp_type=9, label=1,
221 number=2, type=9, cpp_type=9, label=1,
228 number=3, type=9, cpp_type=9, label=3,
235 number=4, type=11, cpp_type=10, label=3,
242 number=5, type=11, cpp_type=10, label=3,
249 number=6, type=11, cpp_type=10, label=3,
256 number=7, type=11, cpp_type=10, label=3,
263 number=8, type=11, cpp_type=10, label=1,
291 number=1, type=5, cpp_type=1, label=1
    [all...]
  /external/chromium_org/third_party/WebKit/Source/bindings/scripts/unstable/
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)
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...]
  /external/chromium_org/third_party/protobuf/python/google/protobuf/pyext/
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());
python_descriptor.h 64 PyObject* cpp_type; member in struct:google::protobuf::python::__anon13866
  /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) {
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...]
extension_set_heavy.cc 104 inline FieldDescriptor::CppType cpp_type(FieldType type) { function in namespace:google::protobuf::internal
118 GOOGLE_DCHECK_EQ(cpp_type((EXTENSION).type), FieldDescriptor::CPPTYPE_##CPPTYPE)
143 GOOGLE_DCHECK_EQ(cpp_type(extension->type), FieldDescriptor::CPPTYPE_MESSAGE);
190 GOOGLE_DCHECK_EQ(cpp_type(extension->type), FieldDescriptor::CPPTYPE_MESSAGE);
231 if (extension->cpp_type() == FieldDescriptor::CPPTYPE_MESSAGE) {
237 } else if (extension->cpp_type() == FieldDescriptor::CPPTYPE_ENUM) {
296 switch (cpp_type(type)) {
324 switch (cpp_type(type)) {
  /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::__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/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}};
  /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/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...]
  /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]

Completed in 2607 milliseconds

1 2 3