| /external/webkit/JavaScriptCore/tests/mozilla/js1_4/ |
| shell.js | 26 /* wrapper for test cas constructor that doesn't require the SECTION
|
| /libcore/luni/src/test/java/libcore/java/lang/reflect/ |
| OldGenericTypesTest.java | 23 import java.lang.reflect.Constructor; 34 @TestTargetClass(Constructor.class) 79 Constructor<?> constructor = clazz.getDeclaredConstructor(Object.class); local 80 Type[] genericParameterTypes = constructor.getGenericParameterTypes(); 240 //constructor 241 Constructor<?>[] declaredConstructors = innerClazz.getDeclaredConstructors(); 243 Constructor<?> declaredConstructor = declaredConstructors[0];
|
| /external/v8/src/ |
| factory.cc | 421 // constructor may not have been defined. Bail out. 446 Handle<Object> Factory::NewError(const char* constructor, 448 Handle<String> constr = Factory::LookupAsciiSymbol(constructor); 501 // object, regexp and array constructor functions. 542 // Set function.prototype and give the prototype a constructor 648 Handle<JSObject> Factory::NewJSObject(Handle<JSFunction> constructor, 650 CALL_HEAP_FUNCTION(Heap::AllocateJSObject(*constructor, pretenure), JSObject); 655 Handle<JSFunction> constructor) { 656 CALL_HEAP_FUNCTION(Heap::AllocateGlobalObject(*constructor), [all...] |
| handles.cc | 138 Handle<JSFunction> constructor, 140 CALL_HEAP_FUNCTION(Heap::ReinitializeJSGlobalProxy(*constructor, *global), 430 Handle<JSFunction> constructor = Top::script_function(); local 432 Handle<JSValue>::cast(Factory::NewJSObject(constructor)); 572 JSFunction::cast(arguments_boilerplate->map()->constructor())); 610 ((current->map()->constructor() != *arguments_function) &&
|
| api.cc | 553 // A constructor cannot easily return an error value, therefore it is necessary 556 // NeanderObject constructor. When you add one to the site calling the 557 // constructor you should check that you ensured the VM was not dead first. 917 v8::Handle<FunctionTemplate> constructor) { 927 if (!constructor.IsEmpty()) 928 obj->set_constructor(*Utils::OpenHandle(*constructor)); 934 // Ensure that the object template has a constructor. If no 935 // constructor is available we create one. 937 if (Utils::OpenHandle(object_template)->constructor()->IsUndefined()) { 939 i::Handle<i::FunctionTemplateInfo> constructor = Utils::OpenHandle(*templ) local 956 i::FunctionTemplateInfo* constructor = local 978 i::FunctionTemplateInfo* constructor = local 995 i::FunctionTemplateInfo* constructor = local 1021 i::FunctionTemplateInfo* constructor = local 1040 i::FunctionTemplateInfo* constructor = local 1058 i::FunctionTemplateInfo* constructor = local 2841 Local<FunctionTemplate> constructor = FunctionTemplate::New(); local [all...] |
| regexp.js | 36 // RegExp : Called as constructor; see ECMA-262, section 15.10.4. 118 // Deprecated RegExp.prototype.compile method. We behave like the constructor 127 // RegExp.prototype.compile and in the constructor, where they are 253 // rightContext of the RegExp constructor. The properties are computed based 329 %SetProperty($RegExp.prototype, 'constructor', $RegExp, DONT_ENUM);
|
| log.cc | 1020 void Logger::HeapSampleJSConstructorEvent(const char* constructor, 1025 msg.Append("heap-js-cons-item,%s,%d,%d\n", constructor, number, bytes); 1032 const char* constructor, const char* event) { 1039 const int cons_len = StrLength(constructor); 1045 msg.Append(event_text, constructor); 1071 void Logger::HeapSampleJSProducerEvent(const char* constructor, 1076 msg.Append("heap-js-prod-item,%s", constructor); [all...] |
| v8natives.js | 191 %SetProperty($Boolean.prototype, "constructor", $Boolean, DONT_ENUM); 196 $Object.prototype.constructor = $Object; 783 // Set the Number function and constructor. 890 // Setup the constructor property on the Number prototype object. 891 %SetProperty($Number.prototype, "constructor", $Number, DONT_ENUM); 938 $Function.prototype.constructor = $Function;
|
| builtins.cc | 190 JSFunction* constructor = local 192 Object* obj = Heap::AllocateJSObject(constructor); 880 // API. The object can be called as either a constructor (using new) or just as 886 // called as a constructor the delegate call is not a construct call. 897 JSFunction* constructor = JSFunction::cast(obj->map()->constructor()); local 898 Object* template_info = constructor->shared()->function_data(); 915 Handle<JSFunction> callee_handle(constructor); [all...] |
| /external/v8/test/mjsunit/ |
| stack-traces.js | 126 // Test that the error constructor is not shown in the trace 139 // Test that the explicit constructor call is shown in the trace 162 n.__defineGetter__('constructor', function () { CONS_FAIL; });
|
| debug-constructor.js | 45 // Test debug event for constructor.
|
| /external/v8/tools/ |
| profile_view.js | 38 * @constructor 115 * @constructor 163 * @constructor
|
| /external/v8/benchmarks/ |
| richards.js | 97 * @constructor 258 * @constructor 366 * @constructor 394 * @constructor 422 * @constructor 457 * @constructor 513 * @constructor
|
| /external/v8/test/mjsunit/regress/ |
| regress-1200351.js | 28 // Make sure the 'constructor' property isn't enumerable. 31 assertEquals(-1, enums.split('|').indexOf("constructor")); 34 new this.constructor; 35 new this.constructor(); 36 new this.constructor(1,2,3,4,5,6); 76 eval("let (debugger.constructor.valueOf()) { this.sort().true.splice() }") 140 eval("switch (-1.length+new Object().prototype.name) { case (debugger.constructor.sort()): IsPrimitive(undef.__defineSetter__(undef,function(){native})); break; }") 164 eval("new Function(0.2.join().constructor)") 240 eval("for (Iterator(native+break) in debugger.superConstructor.constructor) { Math.max(0.add(undef)) }") 252 eval("switch (parseInt(0).length()) { case ('a'.toObject().__defineSetter__(GetFunctionFor(null),function(){(!x)})): IsSmi(void).constructor; break; }" [all...] |
| /external/webkit/SunSpider/tests/v8-v4/ |
| v8-richards.js | 92 * @constructor 253 * @constructor 361 * @constructor 389 * @constructor 417 * @constructor 452 * @constructor 508 * @constructor
|
| /external/webkit/JavaScriptCore/API/tests/ |
| testapi.c | 269 static bool MyObject_hasInstance(JSContextRef context, JSObjectRef constructor, JSValueRef possibleValue, JSValueRef* exception) 272 UNUSED_PARAM(constructor); 275 JSEvaluateScript(context, JSStringCreateWithUTF8CString("throw 'an exception'"), constructor, JSStringCreateWithUTF8CString("test script"), 1, exception); 353 static bool EvilExceptionObject_hasInstance(JSContextRef context, JSObjectRef constructor, JSValueRef possibleValue, JSValueRef* exception) 356 UNUSED_PARAM(constructor); 359 JSValueRef hasInstance = JSObjectGetProperty(context, constructor, hasInstanceName, exception); 364 JSValueRef result = JSObjectCallAsFunction(context, function, constructor, 1, &possibleValue, exception); [all...] |
| /cts/tools/signature-tools/src/signature/converter/doclet/ |
| DocletToSigConverter.java | 179 for (ConstructorDoc constructor : classDoc.constructors()) {
180 constructors.add(convertConstructor(constructor));
513 private IConstructor convertConstructor(ConstructorDoc constructor) {
514 SigConstructor c = new SigConstructor(constructor.name());
516 convertExecutableMember(constructor, c);
|
| /external/webkit/JavaScriptCore/yarr/ |
| RegexCompiler.cpp | 698 RegexPatternConstructor constructor(pattern); 700 if (const char* error = parse(constructor, patternString)) 710 constructor.reset(); 714 parse(constructor, patternString, numSubpatterns); 720 constructor.setupOffsets();
|
| /external/webkit/JavaScriptCore/API/ |
| JSCallbackObjectFunctions.h | 58 // Global object constructor. 310 JSObject* JSCallbackObject<Base>::construct(ExecState* exec, JSObject* constructor, const ArgList& args) 313 JSObjectRef constructorRef = toRef(constructor); 315 for (JSClassRef jsClass = static_cast<JSCallbackObject<Base>*>(constructor)->classRef(); jsClass; jsClass = jsClass->parentClass) {
|
| JSObjectRef.cpp | 110 JSCallbackConstructor* constructor = new (exec) JSCallbackConstructor(exec->lexicalGlobalObject()->callbackConstructorStructure(), jsClass, callAsConstructor); local 111 constructor->putDirect(exec->propertyNames().prototype, jsPrototype, DontEnum | DontDelete | ReadOnly); 112 return toRef(constructor);
|
| /external/webkit/WebCore/bridge/ |
| NP_jsobject.cpp | 433 // Lookup the constructor object. 441 // Call the constructor object. 442 JSValue constructor = obj->imp; local 444 ConstructType constructType = constructor.getConstructData(constructData); 452 JSValue resultV = JSC::construct(exec, constructor, constructType, constructData, argList);
|
| /frameworks/base/core/tests/coretests/src/android/content/ |
| ContentProviderOperationTest.java | 28 import java.lang.reflect.Constructor; 380 final Constructor constructor = CLASS_OPERATION.getDeclaredConstructor(CLASS_BUILDER); local 381 constructor.setAccessible(true); 382 return (ContentProviderOperation) constructor.newInstance(builder);
|
| /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/ |
| AndroidTargetParser.java | 48 import java.lang.reflect.Constructor; 87 * {@link IAndroidTarget} given to the constructor. 676 Constructor<?> constructor = clazz.getConstructor(); local 677 if (constructor != null) { 678 Object bridge = constructor.newInstance();
|
| /external/webkit/JavaScriptCore/tests/mozilla/js1_3/ |
| shell.js | 28 /* wrapper for test cas constructor that doesn't require the SECTION
|
| /external/webkit/WebKitTools/WebKitLauncher/ |
| WebKitNightlyEnabler.m | 33 static void enableWebKitNightlyBehaviour() __attribute__ ((constructor));
|