Searched defs:constructor (Results 1 - 25 of 85) sorted by relevance

1234

/external/v8/test/mjsunit/regress/
H A Dregress-117794.js33 function constructor() {}; function
/external/antlr/antlr-3.4/runtime/Perl5/t/classes/Test/ANTLR/Runtime/
H A DLexer.pm12 sub constructor : Test(1) { subroutine
H A DException.pm9 sub constructor : Test(1) { subroutine
H A DCommonToken.pm11 sub constructor : Test(1) { subroutine
H A DBitSet.pm9 sub constructor : Tests(3) { subroutine
/external/webkit/Source/JavaScriptCore/runtime/
H A DNativeErrorPrototype.cpp34 NativeErrorPrototype::NativeErrorPrototype(ExecState* exec, JSGlobalObject* globalObject, Structure* structure, const UString& nameAndMessage, NativeErrorConstructor* constructor) argument
39 putDirect(exec->globalData(), exec->propertyNames().constructor, constructor, DontEnum);
/external/v8/test/mjsunit/
H A Darray-functions-prototype.js36 function constructor() {}; class
37 constructor.prototype = proto;
59 var nonArray = new constructor();
90 var nonArray = new constructor();
121 var nonArray = new constructor();
151 var nonArray = new constructor();
H A Ddebug-evaluate-bool-constructor.js70 // Add set constructor field to a non-function value.
71 var a = {constructor:true};
/external/webkit/Source/JavaScriptCore/qt/benchmarks/qscriptengine/
H A Dtst_qscriptengine.cpp30 void constructor();
56 void tst_QScriptEngine::constructor() function in class:tst_QScriptEngine
/external/webkit/Source/JavaScriptCore/API/
H A DJSCallbackConstructor.cpp59 JSObject* constructor = exec->callee(); local
61 JSObjectRef constructorRef = toRef(constructor);
63 JSObjectCallAsConstructorCallback callback = static_cast<JSCallbackConstructor*>(constructor)->callback();
81 return JSValue::encode(toJS(JSObjectMake(ctx, static_cast<JSCallbackConstructor*>(constructor)->classRef(), 0)));
H A DJSCallbackObjectFunctions.h61 // Global object constructor.
310 JSObject* constructor = exec->callee(); local
312 JSObjectRef constructorRef = toRef(constructor);
314 for (JSClassRef jsClass = static_cast<JSCallbackObject<Base>*>(constructor)->classRef(); jsClass; jsClass = jsClass->parentClass) {
H A DJSValueRef.cpp168 bool JSValueIsInstanceOfConstructor(JSContextRef ctx, JSValueRef value, JSObjectRef constructor, JSValueRef* exception) argument
175 JSObject* jsConstructor = toJS(constructor);
/external/webkit/Source/WebCore/bindings/js/
H A DScriptFunctionCall.cpp168 JSObject* constructor = asObject(thisObject->get(m_exec, Identifier(m_exec, stringToUString(m_name)))); local
178 ConstructType constructType = constructor->getConstructData(constructData);
182 JSValue result = JSC::construct(m_exec, constructor, constructType, constructData, m_arguments);
/external/webkit/Source/WebKit/android/jni/
H A DGeolocationPermissionsBridge.cpp47 jmethodID constructor = env->GetMethodID(setClass, "<init>", "()V"); local
49 jobject set = env->NewObject(setClass, constructor);
H A DCacheManager.cpp97 jmethodID constructor = env->GetMethodID(cacheResultClass, "<init>", "()V"); local
111 jobject javaResult = env->NewObject(cacheResultClass, constructor);
/external/webkit/Source/WebKit/chromium/src/
H A DBoundObject.cpp72 v8::Local<v8::Function> constructor = m_hostTemplate->GetFunction(); local
73 v8::Local<v8::Object> boundObject = WebCore::SafeAllocation::newInstance(constructor);
/external/junit/src/org/junit/experimental/theories/
H A DParameterSignature.java19 public static List<ParameterSignature> signatures(Constructor<?> constructor) { argument
20 return signatures(constructor.getParameterTypes(), constructor
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/
H A Dantlr.js258 * Testing typeof/instanceof/constructor of arrays across frame
359 * Utility to set up the prototype, constructor and superclass properties to
380 subc.prototype.constructor=subc;
382 if (superc.prototype.constructor == Object.prototype.constructor) {
383 superc.prototype.constructor=superc;
/external/chromium/chrome/browser/resources/net_internals/
H A Dutil.js6 * Inherit the prototype methods from one constructor into another.
13 childCtor.prototype.constructor = childCtor;
/external/webkit/Source/WebCore/bridge/jni/jsc/
H A DJNIUtilityPrivate.cpp230 jmethodID constructor = env->GetMethodID(clazz, "<init>", "(D)V"); local
231 jobject javaDouble = env->functions->NewObject(env, clazz, constructor, doubleValue);
237 jmethodID constructor = env->GetMethodID(clazz, "<init>", "(Z)V"); local
238 jobject javaBoolean = env->functions->NewObject(env, clazz, constructor, boolValue);
/external/v8/src/
H A Dv8natives.js67 function SetUpLockedPrototype(constructor, fields, methods) {
69 var prototype = constructor.prototype;
215 %SetProperty($Boolean.prototype, "constructor", $Boolean, DONT_ENUM);
220 $Object.prototype.constructor = $Object;
1136 $Object.defineProperty(prototype, "constructor",
1365 // Set the Number function and constructor.
1492 // Set up the constructor property on the Number prototype object.
1493 %SetProperty($Number.prototype, "constructor", $Number, DONT_ENUM);
1543 $Function.prototype.constructor = $Function;
/external/bluetooth/glib/gobject/
H A Dgobject.h253 * @constructor: the @constructor function is called by g_object_new () to
255 * set. The first thing a @constructor implementation must do is chain up to the
256 * @constructor of the parent class. Overriding @constructor should be rarely
287 * <title>Implementing singletons using a constructor</title>
300 * object = G_OBJECT_CLASS (parent_class)->constructor (type,
321 GObject* (*constructor) (GType type, member in struct:_GObjectClass
356 * structure used to hand #GParamSpec/#GValue pairs to the @constructor of
/external/guava/guava/src/com/google/common/util/concurrent/
H A DFutures.java1016 * public constructor that accepts zero or more arguments, all of type {@code
1018 * {@code String}) and calling the constructor via reflection. If the
1020 * Throwable#initCause(Throwable)} on it. If no such constructor exists, an
1032 * RuntimeException} or does not have a suitable constructor
1082 * public constructor that accepts zero or more arguments, all of type {@code
1084 * {@code String}) and calling the constructor via reflection. If the
1086 * Throwable#initCause(Throwable)} on it. If no such constructor exists, an
1098 * RuntimeException} or does not have a suitable constructor
1217 for (Constructor<X> constructor : preferringStrings(constructors)) {
1218 @Nullable X instance = newFromConstructor(constructor, caus
1243 newFromConstructor( Constructor<X> constructor, Throwable cause) argument
[all...]
/external/v8/test/mjsunit/tools/
H A Dprofile.js141 childCtor.prototype.constructor = childCtor;
/external/webkit/Source/JavaScriptCore/qt/api/
H A Dqscriptoriginalglobalobject_p.h52 inline bool isType(JSValueRef value, JSObjectRef constructor, JSValueRef prototype) const;
53 inline void initializeMember(JSObjectRef globalObject, JSStringRef prototypeName, const char* type, JSObjectRef& constructor, JSValueRef& prototype);
105 inline void QScriptOriginalGlobalObject::initializeMember(JSObjectRef globalObject, JSStringRef prototypeName, const char* type, JSObjectRef& constructor, JSValueRef& prototype) argument
110 // Save references to the Type constructor and prototype.
113 constructor = JSValueToObject(m_context, typeConstructor, &exception);
114 JSValueProtect(m_context, constructor);
119 prototype = JSObjectGetProperty(m_context, constructor, prototypeName, &exception);
199 inline bool QScriptOriginalGlobalObject::isType(JSValueRef value, JSObjectRef constructor, JSValueRef prototype) const argument
202 // is an object of the Type if it was created with the Type constructor or if it is the Type.prototype.
204 bool result = JSValueIsInstanceOfConstructor(m_context, value, constructor,
[all...]

Completed in 815 milliseconds

1234