/external/chromium_org/third_party/WebKit/Source/bindings/scripts/unstable/ |
H A D | v8_types.py | 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})' 428 cpp_value = v8_value_to_cpp_value(idl_type, extended_attributes, v8_value, index) 429 return format_string.format(cpp_type=this_cpp_type, cpp_value=cpp_value, variable_name=variable_name) 446 def preprocess_idl_type_and_value(idl_type, cpp_value, extended_attributes): 455 cpp_value = 'static_cast<double>(%s)' % cpp_value 462 cpp_value [all...] |
H A D | v8_interface.py | 314 cpp_value = 'info[%s]' % index 318 return ' || '.join(['%s->IsNull()' % cpp_value, 319 '%s->IsUndefined()' % cpp_value, 320 '%s->IsString()' % cpp_value, 321 '%s->IsObject()' % cpp_value]) 323 return '%s->IsArray()' % cpp_value 325 type_check = 'V8{idl_type}::hasInstance({cpp_value}, info.GetIsolate(), worldType(info.GetIsolate()))'.format(idl_type=idl_type, cpp_value=cpp_value) 327 type_check = ' || '.join(['%s->IsNull()' % cpp_value, type_chec [all...] |
H A D | v8_methods.py | 51 this_cpp_value = cpp_value(interface, method, len(arguments)) 88 'cpp_value': this_cpp_value, 135 this_cpp_value = cpp_value(interface, method, index) 138 'cpp_value': this_cpp_value, 155 def cpp_value(interface, method, number_of_arguments): function 173 def v8_set_return_value(method, cpp_value): 179 cpp_value = 'result' # use local variable for value 180 return v8_types.v8_set_return_value(idl_type, cpp_value, method.extended_attributes)
|
H A D | v8_attributes.py | 140 cpp_value = getter_expression(interface, attribute, contents) 151 contents['cpp_value_original'] = cpp_value 152 cpp_value = 'jsValue' 158 v8_set_return_value_statement = v8_types.v8_set_return_value(idl_type, cpp_value, extended_attributes=extended_attributes, script_wrappable='imp') 161 'cpp_value': cpp_value,
|
/external/chromium_org/webkit/renderer/ |
H A D | cpp_bound_class.cc | 238 CppVariant cpp_value; local 239 if (!callback->second->GetValue(&cpp_value)) 241 cpp_value.CopyToNPVariant(result); 251 CppVariant cpp_value; 252 cpp_value.Set(*value); 253 return (*callback).second->SetValue(cpp_value);
|
/external/chromium/webkit/glue/ |
H A D | cpp_bound_class.cc | 238 CppVariant cpp_value; local 239 if (!callback->second->GetValue(&cpp_value)) 241 cpp_value.CopyToNPVariant(result); 251 CppVariant cpp_value; 252 cpp_value.Set(*value); 253 return (*callback).second->SetValue(cpp_value);
|
/external/chromium_org/third_party/WebKit/Source/bindings/templates/ |
H A D | attributes.cpp | 40 if (!BindingSecurity::shouldAllowAccessToNode({{attribute.cpp_value}}, exceptionState)) { 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}}; 64 info.Holder()->SetHiddenValue(propertyName, {{attribute.cpp_value}}.v8Value()); 68 {{attribute.cpp_type}} result = {{attribute.cpp_value}};
|
H A D | methods.cpp | 43 {{cpp_method_call(method, method.v8_set_return_value, method.cpp_value) | indent}} 85 {{cpp_method_call(method, argument.v8_set_return_value, argument.cpp_value) | indent}} 146 {% macro cpp_method_call(method, v8_set_return_value, cpp_value) %} 160 {{cpp_value}}; 163 {{method.cpp_type}} result = {{cpp_value}};
|
/external/chromium_org/chrome/browser/download/ |
H A D | download_query_unittest.cc | 102 DownloadQuery::FilterType name, bool cpp_value) { 103 scoped_ptr<base::Value> value(Value::CreateBooleanValue(cpp_value)); 108 DownloadQuery::FilterType name, int cpp_value) { 109 scoped_ptr<base::Value> value(Value::CreateIntegerValue(cpp_value)); 114 DownloadQuery::FilterType name, const char* cpp_value) { 115 scoped_ptr<base::Value> value(Value::CreateStringValue(cpp_value)); 120 DownloadQuery::FilterType name, std::string cpp_value) { 121 scoped_ptr<base::Value> value(Value::CreateStringValue(cpp_value)); 126 DownloadQuery::FilterType name, const char16* cpp_value) { 128 Value::CreateStringValue(base::string16(cpp_value))); 101 AddFilter( DownloadQuery::FilterType name, bool cpp_value) argument 107 AddFilter( DownloadQuery::FilterType name, int cpp_value) argument 113 AddFilter( DownloadQuery::FilterType name, const char* cpp_value) argument 119 AddFilter( DownloadQuery::FilterType name, std::string cpp_value) argument 125 AddFilter( DownloadQuery::FilterType name, const char16* cpp_value) argument 132 AddFilter( DownloadQuery::FilterType name, std::vector<base::string16> cpp_value) argument 142 AddFilter( DownloadQuery::FilterType name, std::vector<std::string> cpp_value) argument 153 AddFilter( DownloadQuery::FilterType name, std::wstring cpp_value) argument [all...] |
H A D | download_query.cc | 198 ValueType cpp_value; local 199 if (!GetAs(value, &cpp_value)) return DownloadQuery::FilterCallback(); 200 return base::Bind(&FieldMatches<ValueType>, cpp_value, cmptype,
|