Searched defs:constructor (Results 1 - 25 of 92) 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/objenesis/main/src/org/objenesis/instantiator/basic/
H A DConstructorInstantiator.java24 * Instantiates a class by grabbing the no args constructor and calling Constructor.newInstance().
32 protected Constructor constructor; field in class:ConstructorInstantiator
36 constructor = type.getDeclaredConstructor((Class[]) null);
45 return constructor.newInstance((Object[]) null);
/external/objenesis/main/src/org/objenesis/instantiator/sun/
H A DSunReflectionFactoryHelper.java34 public static Constructor newConstructorForSerialization(Class type, Constructor constructor) { argument
43 reflectionFactory, new Object[] {type, 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);
/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);
/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/mockito/src/org/mockito/internal/util/reflection/
H A DFieldInitializer.java19 * Initialize a field with type instance if a default constructor can be found.
38 * This constructor fail fast if the field type cannot be handled.
52 * This constructor fail fast if the field type cannot be handled.
128 * to be given to a constructor given the argument types.
142 * @return The argument instances to be given to the constructor, should not be null.
152 * Constructor instantiating strategy for no-arg constructor.
155 * If a no-arg constructor can be found then the instance is created using
156 * this constructor.
175 Constructor<?> constructor = null;
177 constructor
258 checkParameterized(Constructor<?> constructor, Field field) argument
[all...]
/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/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;

Completed in 706 milliseconds

1234