Searched refs:idl_type (Results 1 – 13 of 13) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/bindings/scripts/ |
D | v8_types.py | 117 def cpp_type(idl_type, extended_attributes=None, raw_type=False, used_as_rvalue_type=False, used_as… argument 139 if idl_type.is_nullable or extended_attributes.get('TreatNullAs') == 'NullString': 146 idl_type = idl_type.preprocessed_type 150 native_array_element_type = idl_type 152 native_array_element_type = idl_type.native_array_element_type 161 base_idl_type = idl_type.base_type 174 if idl_type.is_string_type: 179 if idl_type.is_typed_array_element_type and raw_type: 181 if idl_type.is_interface_type: 182 implemented_as_class = idl_type.implemented_as [all …]
|
D | v8_methods.py | 57 idl_type = method.idl_type 61 idl_type.is_union_type or 62 idl_type.is_explicit_nullable) 68 idl_type = method.idl_type 72 idl_type.add_includes_for_type() 124 'cpp_type': (v8_types.cpp_template_type('Nullable', idl_type.cpp_type) 125 if idl_type.is_explicit_nullable else idl_type.cpp_type), 127 'cpp_type_initializer': idl_type.cpp_type_initializer, 142 if (argument.idl_type.name == 'SerializedScriptValue' or 144 'idl_type': idl_type.base_type, [all …]
|
D | v8_dictionary.py | 35 def unwrap_nullable_if_needed(idl_type): argument 36 if idl_type.is_nullable: 37 return idl_type.inner_type 38 return idl_type 57 idl_type = member.idl_type 58 idl_type.add_includes_for_type() 59 idl_type = unwrap_nullable_if_needed(idl_type) 67 v8_default_value = idl_type.cpp_value_to_v8_value( 76 'cpp_type': idl_type.cpp_type, 77 'cpp_value_to_v8_value': idl_type.cpp_value_to_v8_value( [all …]
|
D | v8_attributes.py | 47 idl_type = attribute.idl_type 48 base_idl_type = idl_type.base_type 51 idl_type.add_includes_for_type() 64 …assert idl_type.is_wrapper_type or 'LogActivity' in extended_attributes, '[PerWorldBindings] shoul… 69 idl_type.name in ('Float', 'Double')) 90 'argument_cpp_type': idl_type.cpp_type_args(used_as_rvalue_type=True), 93 'constructor_type': idl_type.constructor_type_name 96 'cpp_type': idl_type.cpp_type, 97 'cpp_type_initializer': idl_type.cpp_type_initializer, 99 'enum_validation_expression': idl_type.enum_validation_expression, [all …]
|
D | v8_interface.py | 111 iterator_operation.idl_type = IdlType('Iterator') 135 'cpp_type': argument.idl_type.implemented_as + '*', 136 'idl_type': argument.idl_type, 137 'v8_type': v8_types.v8_type(argument.idl_type.name), 224 if attribute.idl_type.name == 'Any'] 305 method.idl_type = IdlType('DOMString') 389 'idl_type': constant.idl_type.name, 626 type_lists = [tuple(idl_type.name for idl_type in entry[1]) 757 method = next(method for idl_type, method in idl_types_methods 758 if idl_type.is_nullable) [all …]
|
D | v8_callback_interface.py | 56 def cpp_type(idl_type): argument 59 idl_type_name = idl_type.name 65 raw_cpp_type = idl_type.cpp_type_args(raw_type=True) 87 operation.idl_type.add_includes_for_type() 89 argument.idl_type.add_includes_for_type() 94 idl_type = operation.idl_type 95 idl_type_str = str(idl_type) 105 'cpp_type': idl_type.callback_cpp_type, 119 'cpp_value_to_v8_value': argument.idl_type.cpp_value_to_v8_value( 126 '%s %s' % (argument.idl_type.callback_cpp_type, argument.name)
|
D | idl_definitions.py | 85 idl_type = None variable in TypedObject 91 if not self.idl_type: 95 self.idl_type = self.idl_type.resolve_typedefs(typedefs) 196 self.idl_type = type_node_to_type(type_node) 234 self.idl_type = None 240 self.idl_type = type_node_to_type(child) 381 self.idl_type = None 388 self.idl_type = type_node_to_type(child) 415 self.idl_type = type_node_inner_to_type(type_node) 436 def __init__(self, idl_type, value): argument [all …]
|
D | v8_utilities.py | 121 def enum_validation_expression(idl_type): argument 123 if not idl_type.is_enum: 126 for enum_value in idl_type.enum_values])
|
/external/chromium_org/third_party/WebKit/Source/bindings/templates/ |
D | constants.cpp | 13 {% if constant.idl_type in ('Double', 'Float') %} 15 {% elif constant.idl_type == 'String' %} 51 {% if constant.idl_type not in ('Double', 'Float', 'String') %} 62 {% if constant.idl_type in ('Double', 'Float') %} 64 {% elif constant.idl_type == 'String' %} 70 {"{{constant.name}}", {{value}}, V8DOMConfiguration::ConstantType{{constant.idl_type}}}
|
D | methods.cpp | 84 {% if argument.idl_type == 'EventListener' %} 85 RefPtr<{{argument.idl_type}}> {{argument.name}} 88 {%- endif %}{# argument.idl_type == 'EventListener' #} 117 …isUndefinedOrNull(info[{{argument.index}}]) && {% endif %}!V8{{argument.idl_type}}::hasInstance(in… 119 (argument.index + 1, argument.idl_type)) | indent}} 125 {% if argument.idl_type == 'EventListener' %} 131 {% else %}{# argument.idl_type == 'EventListener' #} 142 …{{argument.name}} = V8{{argument.idl_type}}::create(v8::Handle<v8::Function>::Cast(info[{{argument… 153 …}info[{{argument.index}}]->IsNull() ? nullptr : {% endif %}V8{{argument.idl_type}}::create(v8::Han… 155 {% endif %}{# argument.idl_type == 'EventListener' #} [all …]
|
D | attributes.cpp | 12 and attribute.idl_type == 'DOMString' and is_node 34 {% if interface_name == 'Window' and attribute.idl_type == 'EventHandler' %} 88 …& DOMDataStore::setReturnValueFromWrapper{{world_suffix}}<V8{{attribute.idl_type}}>(info.GetReturn… 205 {% if attribute.is_reflect and attribute.idl_type == 'DOMString' 220 ….is_nullable %}!isUndefinedOrNull(v8Value) && {% endif %}!V8{{attribute.idl_type}}::hasInstance(v8… 235 {% if attribute.idl_type == 'EventHandler' and interface_name == 'Window' %} 240 {% if attribute.idl_type != 'EventHandler' %} 266 not(attribute.idl_type == 'DOMString' and is_node)) %} 418 if interface_name == 'Window' and attribute.idl_type == 'EventHandler'
|
D | callback_interface.cpp | 32 if method.idl_type == 'boolean' else 'return' %}{# void #}
|
D | interface.cpp | 127 …if (!isUndefinedOrNull(v8Value) && !V8{{setter.idl_type}}::hasInstance(v8Value, info.GetIsolate())… 744 not attribute.idl_type == 'any')%}
|