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

123

/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);
H A DExecutable.h102 static NativeExecutable* create(JSGlobalData& globalData, MacroAssemblerCodePtr callThunk, NativeFunction function, MacroAssemblerCodePtr constructThunk, NativeFunction constructor) argument
105 return new (&globalData) NativeExecutable(globalData, JITCode(), function, JITCode(), constructor);
106 return new (&globalData) NativeExecutable(globalData, JITCode::HostFunction(callThunk), function, JITCode::HostFunction(constructThunk), constructor);
109 static NativeExecutable* create(JSGlobalData& globalData, NativeFunction function, NativeFunction constructor) argument
111 return new (&globalData) NativeExecutable(globalData, function, constructor);
123 NativeExecutable(JSGlobalData& globalData, JITCode callThunk, NativeFunction function, JITCode constructThunk, NativeFunction constructor) argument
126 , m_constructor(constructor)
134 NativeExecutable(JSGlobalData& globalData, NativeFunction function, NativeFunction constructor) argument
137 , m_constructor(constructor)
/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);
H A DJSObjectRef.cpp110 JSCallbackConstructor* constructor = new (exec) JSCallbackConstructor(exec->lexicalGlobalObject(), exec->lexicalGlobalObject()->callbackConstructorStructure(), jsClass, callAsConstructor); local
111 constructor->putDirect(exec->globalData(), exec->propertyNames().prototype, jsPrototype, DontEnum | DontDelete | ReadOnly);
112 return toRef(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.cpp99 jmethodID constructor = env->GetMethodID(cacheResultClass, "<init>", "()V"); local
113 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/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.js190 %SetProperty($Boolean.prototype, "constructor", $Boolean, DONT_ENUM);
195 $Object.prototype.constructor = $Object;
1013 // Set the Number function and constructor.
1108 // Setup the constructor property on the Number prototype object.
1109 %SetProperty($Number.prototype, "constructor", $Number, DONT_ENUM);
1154 $Function.prototype.constructor = $Function;
H A Dheap-profiler.h121 explicit JSObjectsCluster(String* constructor) argument
122 : constructor_(constructor), instance_(NULL) {}
125 JSObjectsCluster(String* constructor, Object* instance) argument
126 : constructor_(constructor), instance_(instance) {}
147 String* constructor() const { return constructor_; } function in class:v8::internal::BASE_EMBEDDED
188 // "constructor profile" of JS objects allocated on heap.
/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/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...]
/external/webkit/Source/WebCore/bridge/
H A Druntime_object.cpp272 JSObject* constructor = exec->callee(); local
273 ASSERT(constructor->inherits(&RuntimeObject::s_info));
281 return JSValue::encode(result.isObject() ? static_cast<JSObject*>(result.asCell()) : constructor);
H A DNP_jsobject.cpp499 // Lookup the constructor object.
507 // Call the constructor object.
508 JSValue constructor = obj->imp; local
510 ConstructType constructType = getConstructData(constructor, constructData);
518 JSValue resultV = JSC::construct(exec, constructor, constructType, constructData, argList);
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/
H A DJSNPObject.cpp214 JSObject* constructor = exec->callee(); local
215 ASSERT(constructor->inherits(&JSNPObject::s_info));
217 return JSValue::encode(static_cast<JSNPObject*>(constructor)->callConstructor(exec));
/external/stlport/test/unit/
H A Dstring_test.cpp50 CPPUNIT_TEST(constructor);
110 void constructor();
169 void StringTest::constructor() function in class:StringTest
312 //This is to test move constructor
884 * pass it to the helper function. It uses the copy constructor for this.
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/
H A DOutputHLSL.cpp108 for (Constructors::iterator constructor = mConstructors.begin(); constructor != mConstructors.end(); constructor++)
110 out << *constructor; local
1081 // Already added to constructor map
1931 TString constructor; local
1935 constructor += ctorName + " " + ctorName + "_ctor(";
1939 constructor += typeString(ctorType) + " " + ctorName + "(";
1946 constructor += typeString(type) + " x" + str(parameter) + arrayString(type);
1950 constructor
[all...]

Completed in 414 milliseconds

123