Lines Matching refs:nativeType
272 my $nativeType = GetNativeTypeForConversions($dataNode, $interfaceName);
284 static ${nativeType}* toNative(v8::Handle<v8::Object> object)
286 return reinterpret_cast<${nativeType}*>(object->GetPointerFromInternalField(v8DOMWrapperObjectIndex));
288 inline static v8::Handle<v8::Object> wrap(${nativeType}*${forceNewObjectParameter});
364 static v8::Handle<v8::Object> wrapSlow(${nativeType}*);
371 v8::Handle<v8::Object> ${className}::wrap(${nativeType}* impl${forceNewObjectInput})
390 inline v8::Handle<v8::Value> toV8(${nativeType}* impl${forceNewObjectParameter})
400 v8::Handle<v8::Value> toV8(${nativeType}*${forceNewObjectParameter});
423 inline v8::Handle<v8::Value> toV8(PassRefPtr< ${nativeType} > impl${forceNewObjectParameter})
687 my $nativeType = GetNativeTypeFromSignature($attribute->signature, -1);
791 if ($nativeType =~ /^V8Parameter/) {
792 push(@implContentDecls, " " . ConvertToV8Parameter($attribute->signature, $nativeType, "v", $getterString) . ";\n");
794 push(@implContentDecls, " $nativeType v = $getterString;\n");
965 my $nativeType = GetNativeTypeFromSignature($attribute->signature, 0);
973 if ($nativeType =~ /^V8Parameter/) {
974 push(@implContentDecls, " " . ConvertToV8Parameter($attribute->signature, $nativeType, "v", $value, "VOID") . "\n");
976 push(@implContentDecls, " $nativeType v = $value;\n");
1308 my $nativeType = GetNativeTypeFromSignature($parameter, $paramIndex);
1327 push(@implContentDecls, " $nativeType $parameterName = SerializedScriptValue::create(args[$paramIndex], ${parameterName}DidThrow);\n");
1331 push(@implContentDecls, " $nativeType $parameterName = " .
1337 } elsif ($nativeType =~ /^V8Parameter/) {
1339 push(@implContentDecls, " " . ConvertToV8Parameter($parameter, $nativeType, $parameterName, $value) . "\n");
1358 push(@implContentDecls, " EXCEPTION_BLOCK($nativeType, $parameterName, " .
2152 my $nativeType = GetNativeTypeForConversions($dataNode, $interfaceName);
2205 GenerateToV8Converters($dataNode, $interfaceName, $className, $nativeType, $serializedAttribute);
2215 static_cast<${nativeType}*>(object)->deref();
2436 my $nativeType = shift;
2445 v8::Handle<v8::Object> ${className}::wrapSlow(${nativeType}* impl)
3125 my $nativeType = GetNativeType($type);
3126 return "v8::Integer::New($value)" if $nativeType eq "int";
3127 return "v8::Integer::NewFromUnsigned($value)" if $nativeType eq "unsigned";
3133 return "$value.v8Value()" if $nativeType eq "ScriptValue";
3245 my $nativeType = shift;
3250 die "Wrong native type passed: $nativeType" unless $nativeType =~ /^V8Parameter/;
3255 return "$macro($nativeType, $variableName, $value);"
3258 return "$nativeType $variableName($value, true);";