HomeSort by relevance Sort by last modified time
    Searched refs:cpp_value (Results 1 - 10 of 10) sorted by null

  /external/chromium_org/third_party/WebKit/Source/bindings/scripts/
v8_types.py 576 cpp_value = v8_value_to_cpp_value(idl_type, extended_attributes, v8_value, index, isolate)
581 args = [variable_name, cpp_value]
617 assignment = '%s = %s' % (variable_name, cpp_value)
641 def preprocess_idl_type_and_value(idl_type, cpp_value, extended_attributes):
653 cpp_value = 'static_cast<double>(%s)' % cpp_value
660 cpp_value = cpp_value.replace('getUnsignedIntegralAttribute',
662 cpp_value = 'std::max(0, static_cast<int>(%s))' % cpp_value
    [all...]
v8_attributes.py 169 cpp_value = getter_expression(interface, attribute, context)
183 context['cpp_value_original'] = cpp_value
184 cpp_value = 'result'
194 context['cpp_value_original'] = cpp_value
195 cpp_value = 'cppValue'
203 return idl_type.v8_set_return_value(cpp_value, extended_attributes=extended_attributes, script_wrappable='impl', release=release, for_main_world=for_main_world)
206 'cpp_value': cpp_value,
208 cpp_value=cpp_value, creation_context='info.Holder()'
    [all...]
v8_methods.py 73 this_cpp_value = cpp_value(interface, method, len(arguments))
126 'cpp_value': this_cpp_value,
192 this_cpp_value = cpp_value(interface, method, index)
205 'cpp_value': this_cpp_value,
256 def cpp_value(interface, method, number_of_arguments): function
293 cpp_arguments.extend([member_argument['cpp_value']
317 def v8_set_return_value(interface_name, method, cpp_value, for_main_world=False):
334 cpp_value = 'result.get()'
336 cpp_value = 'result'
340 return idl_type.v8_set_return_value(cpp_value, extended_attributes, script_wrappable=script_wrappable, release=release, for_main_world=for_main_ (…)
    [all...]
v8_dictionary.py 68 cpp_value=cpp_default_value, isolate='isolate',
78 cpp_value='impl->%s()' % member.name, isolate='isolate',
v8_interface.py     [all...]
  /external/chromium_org/third_party/WebKit/Source/bindings/templates/
attributes.cpp 57 {{attribute.cpp_type}} {{attribute.cpp_value}}({{attribute.cpp_value_original}});
65 if (!BindingSecurity::shouldAllowAccessToNode(info.GetIsolate(), {{attribute.cpp_value}}, exceptionState)) {
74 attribute.cpp_value)
88 if ({{attribute.cpp_value}} && DOMDataStore::setReturnValueFromWrapper{{world_suffix}}<V8{{attribute.idl_type}}>(info.GetReturnValue(), {{attribute.cpp_value}}.get()))
90 v8::Handle<v8::Value> wrapper = toV8({{attribute.cpp_value}}.get(), holder, info.GetIsolate());
106 reflect_invalid, reflect_empty, cpp_value) %}
111 if ({{cpp_value}}.isNull()) {
113 {{cpp_value}} = "{{reflect_missing}}";
117 } else if ({{cpp_value}}.isEmpty())
    [all...]
methods.cpp 51 {{cpp_method_call(method, method.v8_set_return_value_for_main_world, method.cpp_value) | indent}}
53 {{cpp_method_call(method, method.v8_set_return_value, method.cpp_value) | indent}}
102 {{cpp_method_call(method, argument.v8_set_return_value_for_main_world, argument.cpp_value) | indent}}
104 {{cpp_method_call(method, argument.v8_set_return_value, argument.cpp_value) | indent}}
210 {% macro cpp_method_call(method, v8_set_return_value, cpp_value) %}
231 {{cpp_value}};
234 if (!{{method.cpp_value}})
237 {{method.cpp_type}} impl = {{cpp_value}};
239 {{method.cpp_type}} result = {{cpp_value}};
280 {{argument.cpp_type}} {{argument.cpp_value}}{{argument.cpp_type_initializer}}
    [all...]
interface.cpp 237 {{getter.cpp_type}} result = {{getter.cpp_value}};
    [all...]
  /external/chromium_org/chrome/browser/download/
download_query_unittest.cc 102 DownloadQuery::FilterType name, bool cpp_value) {
103 scoped_ptr<base::Value> value(new base::FundamentalValue(cpp_value));
108 DownloadQuery::FilterType name, int cpp_value) {
109 scoped_ptr<base::Value> value(new base::FundamentalValue(cpp_value));
114 DownloadQuery::FilterType name, const char* cpp_value) {
115 CHECK(query_.AddFilter(name, base::StringValue(cpp_value)));
119 DownloadQuery::FilterType name, std::string cpp_value) {
120 CHECK(query_.AddFilter(name, base::StringValue(cpp_value)));
124 DownloadQuery::FilterType name, const base::char16* cpp_value) {
125 CHECK(query_.AddFilter(name, base::StringValue(cpp_value)));
    [all...]
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,

Completed in 170 milliseconds