Searched refs:constructor (Results 251 - 275 of 382) sorted by relevance

<<111213141516

/external/chromium_org/chrome/browser/resources/print_preview/data/
H A Ddestination_store.js15 * @constructor
468 assert(destination.constructor !== Array, 'Single printer expected');
/external/chromium_org/chrome/third_party/chromevox/
H A DchromeVoxChromeBackgroundScript.js18 goog.inherits=function(a,b){function c(){}c.prototype=b.prototype;a.superClass_=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.base=function(a,c,f){var g=Array.prototype.slice.call(arguments,2);return b.prototype[c].apply(a,g)}};
19 goog.base=function(a,b,c){var d=arguments.callee.caller;if(goog.DEBUG&&!d)throw Error("arguments.caller not defined. goog.base() expects not to be running in strict mode. See http://www.ecma-international.org/ecma-262/5.1/#sec-C");if(d.superClass_)return d.superClass_.constructor.apply(a,Array.prototype.slice.call(arguments,1));for(var e=Array.prototype.slice.call(arguments,2),f=!1,g=a.constructor;g;g=g.superClass_&&g.superClass_.constructor)if(g.prototype[b]===d)f=!0;else if(f)return g.prototype[b].apply(a,
20 e);if(a[b]===d)return a.constructor.prototype[b].apply(a,e);throw Error("goog.base called from a method of one name to a method of a different name");};goog.scope=function(a){a.call(goog.global)};goog.MODIFY_FUNCTION_PROTOTYPES=!0;
619 cvox.DomUtil.getBaseLabel_=function(a,b,c){var d="";if(a.hasAttribute){if(a.hasAttribute("aria-labelledby"))for(var e=a.getAttribute("aria-labelledby").split(" "),f,g=0;f=e[g];g++)(f=document.getElementById(f))&&(d+=" "+cvox.DomUtil.getName(f,!0,c,!0));else if(a.hasAttribute("aria-label"))d=a.getAttribute("aria-label");else if(a.constructor==HTMLImageElement)d=cvox.DomUtil.getImageTitle(a);else if("FIELDSET"==a.tagName)for(e=a.getElementsByTagName("LEGEND"),d="",g=0;f=e[g];g++)d+=" "+cvox.DomUtil.getName(f,
623 cvox.DomUtil.getName_=function(a,b,c,d){"undefined"===typeof b&&(b=!0);"undefined"===typeof c&&(c=!0);if(a.constructor==Text)return a.data;var e=cvox.DomUtil.getBaseLabel_(a,b,c);0==e.length&&cvox.DomUtil.isControl(a)&&(e=cvox.DomUtil.getNearestAncestorLabel_(a));0==e.length&&a.constructor==HTMLInputElement&&(e=cvox.DomUtil.getInputName_(a));return cvox.DomUtil.isInputTypeText(a)&&a.hasAttribute("placeholder")?(b=a.getAttribute("placeholder"),0<e.length?0<cvox.DomUtil.getValue(a).length?e:e+" with hint "+
630 cvox.DomUtil.getValue=function(a){var b=cvox.AriaUtil.getActiveDescendant(a);if(b)return cvox.DomUtil.collapseWhitespace(cvox.DomUtil.getValue(b)+" "+cvox.DomUtil.getName(b));if(a.constructor==HTMLSelectElement){var b="",c=a.selectedOptions?a.selectedOptions[0]:null;a=a.selectedOptions?a.selectedOptions[a.selectedOptions.length-1]:null;c&&a&&c!=a?b=cvox.ChromeVox.msgs.getMsg("selected_options_value",[c.text,a.text]):c&&(b=c.text+"");return b}if(a.constructor
[all...]
/external/chromium_org/third_party/WebKit/Source/bindings/tests/results/
H A DV8TestTypedefs.cpp432 static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info) function in namespace:WebCore::TestTypedefsV8Internal
477 throwTypeError(ExceptionMessages::failedToConstruct("TestTypedefs", "Please use the 'new' operator, this DOM object constructor cannot be called as a function."), info.GetIsolate());
486 TestTypedefsV8Internal::constructor(info);
/external/chromium_org/v8/src/arm/
H A Dlithium-arm.cc329 constructor()->PrintTo(stream);
336 constructor()->PrintTo(stream);
1311 LOperand* constructor = UseFixed(instr->constructor(), r1); local
1312 LCallNew* result = new(zone()) LCallNew(context, constructor);
1319 LOperand* constructor = UseFixed(instr->constructor(), r1); local
1320 LCallNewArray* result = new(zone()) LCallNewArray(context, constructor);
/external/chromium_org/v8/src/
H A Dexecution.cc301 // attempt is made to call the given object as a constructor.
329 // attempt is made to call the given object as a constructor.
763 !data->constructor()->IsUndefined()) {
770 FunctionTemplateInfo::cast(data->constructor()));
H A Dobjects.cc65 MUST_USE_RESULT static MaybeObject* CreateJSValue(JSFunction* constructor, argument
69 constructor->GetHeap()->AllocateJSObject(constructor);
227 // Fetch the constructor function of the object.
228 Object* cons_obj = map->constructor();
826 Object* cons_obj = map()->constructor();
1482 Object* constructor = map_of_this->constructor(); local
1484 if (constructor->IsHeapObject() &&
1485 !heap->Contains(HeapObject::cast(constructor))) {
1936 JSFunction* constructor = JSFunction::cast(map()->constructor()); local
1946 JSFunction* constructor = JSFunction::cast(this->constructor()); local
13281 JSFunction* constructor = JSFunction::cast(map()->constructor()); local
13291 JSFunction* constructor = JSFunction::cast(map()->constructor()); local
[all...]
H A Dd8.js1275 result += ', constructor ';
1706 * @constructor
1904 * Get the constructor function
1905 * @return {ProtocolValue} constructor function
2131 } else if (property_value.constructor.name == 'Array'){
2221 if (x.constructor && x.constructor.name === "Array") {
H A Dheap.cc4542 // so that object accesses before the constructor completes (e.g. in the
4544 if (map->constructor()->IsJSFunction() &&
4545 JSFunction::cast(map->constructor())->shared()->
4629 MaybeObject* Heap::AllocateJSObject(JSFunction* constructor, argument
4631 ASSERT(constructor->has_initial_map());
4634 constructor->initial_map(), pretenure);
4644 MaybeObject* Heap::AllocateJSObjectWithAllocationSite(JSFunction* constructor, argument
4646 ASSERT(constructor->has_initial_map());
4649 Map* initial_map = constructor->initial_map();
4965 // Reinitialize the object from the constructor ma
4986 ReinitializeJSGlobalProxy(JSFunction* constructor, JSGlobalProxy* object) argument
[all...]
H A Dparser.h740 // which case no arguments are passed to the constructor.
750 Expression* NewThrowError(Handle<String> constructor,
H A Dobjects-printer.cc576 PrintF(out, "\n - constructor: ");
577 constructor()->ShortPrint(out);
1106 PrintF(out, "\n - constructor: ");
1107 constructor()->ShortPrint(out);
H A Dv8natives.js86 function SetUpLockedPrototype(constructor, fields, methods) {
88 var prototype = constructor.prototype;
1211 $Object.defineProperty(prototype, "constructor",
1394 %SetProperty($Object.prototype, "constructor", $Object, DONT_ENUM);
1477 %SetProperty($Boolean.prototype, "constructor", $Boolean, DONT_ENUM);
1642 // Set up the constructor property on the Number prototype object.
1643 %SetProperty($Number.prototype, "constructor", $Number, DONT_ENUM);
1816 // Compile the string in the constructor and not a helper so that errors
1830 %SetProperty($Function.prototype, "constructor", $Function, DONT_ENUM);
H A Dbootstrapper.cc685 // It has a constructor pointer that points at global_constructor which is a
690 // That in turn has a constructor pointer that points at
705 FunctionTemplateInfo::cast(data->constructor()));
721 // Change the constructor property of the prototype of the
732 FunctionTemplateInfo::cast(js_global_template->constructor()));
759 FunctionTemplateInfo::cast(data->constructor()));
884 // as the constructor. 'Array' property on a global object can be
1229 // Copy constructor from the non-strict arguments boilerplate.
1231 native_context()->arguments_boilerplate()->map()->constructor());
1288 // Set up the call-as-constructor delegat
[all...]
/external/chromium_org/v8/src/ia32/
H A Dlithium-ia32.cc363 constructor()->PrintTo(stream);
372 constructor()->PrintTo(stream);
1397 LOperand* constructor = UseFixed(instr->constructor(), edi); local
1398 LCallNew* result = new(zone()) LCallNew(context, constructor);
1405 LOperand* constructor = UseFixed(instr->constructor(), edi); local
1406 LCallNewArray* result = new(zone()) LCallNewArray(context, constructor);
/external/chromium_org/v8/src/mips/
H A Dlithium-mips.cc334 constructor()->PrintTo(stream);
341 constructor()->PrintTo(stream);
1317 LOperand* constructor = UseFixed(instr->constructor(), a1); local
1318 LCallNew* result = new(zone()) LCallNew(context, constructor);
1325 LOperand* constructor = UseFixed(instr->constructor(), a1); local
1326 LCallNewArray* result = new(zone()) LCallNewArray(context, constructor);
/external/chromium_org/v8/src/x64/
H A Dlithium-x64.cc332 constructor()->PrintTo(stream);
339 constructor()->PrintTo(stream);
1310 LOperand* constructor = UseFixed(instr->constructor(), rdi); local
1311 LCallNew* result = new(zone()) LCallNew(context, constructor);
1318 LOperand* constructor = UseFixed(instr->constructor(), rdi); local
1319 LCallNewArray* result = new(zone()) LCallNewArray(context, constructor);
/external/robolectric/lib/main/
H A Dobjenesis-1.0.jar ... instantiator.ObjectInstantiator { protected java.lang.reflect.Constructor constructor public void " href="/4.4.3_r1. ...
/external/v8/src/
H A Dexecution.cc286 // attempt is made to call the given object as a constructor.
314 // attempt is made to call the given object as a constructor.
723 !data->constructor()->IsUndefined()) {
730 FunctionTemplateInfo::cast(data->constructor()));
H A Dobjects-printer.cc540 PrintF(out, "\n - constructor: ");
541 constructor()->ShortPrint(out);
926 PrintF(out, "\n - constructor: ");
927 constructor()->ShortPrint(out);
H A Dheap.h172 V(constructor_symbol, "constructor") \
525 // constructor.
530 JSFunction* constructor, PretenureFlag pretenure = NOT_TENURED);
556 // Allocates and initializes a new global object based on a constructor.
560 MUST_USE_RESULT MaybeObject* AllocateGlobalObject(JSFunction* constructor);
594 // Reinitialize an JSGlobalProxy based on a constructor. The object
596 // constructor. The object is reinitialized and behaves as an
597 // object that has been freshly allocated using the constructor.
599 JSFunction* constructor, JSGlobalProxy* global);
2456 // Timestamp set in the constructor
[all...]
H A Druntime.cc463 Handle<JSFunction> constructor(
466 Handle<JSArray>::cast(isolate->factory()->NewJSObject(constructor));
1228 // Copy map so it won't interfere constructor's initial map.
1246 // Copy map so it won't interfere constructor's initial map.
1801 Object* constructor = map->constructor(); local
1802 if (constructor->IsJSFunction() &&
1803 JSFunction::cast(constructor)->initial_map() == map) {
1940 Handle<JSFunction> constructor = local
1946 RegExpImpl::CreateRegExpLiteral(constructor, patter
[all...]
H A Dmirror-debugger.js125 * Inherit the prototype methods from one constructor into another.
142 ctor.prototype.constructor = ctor;
224 * @constructor
417 return "#<" + this.constructor.name + ">";
427 * @constructor
472 * @constructor
488 * @constructor
505 * @constructor
522 * @constructor
539 * @constructor
[all...]
/external/chromium_org/third_party/WebKit/Source/bindings/scripts/
H A Dcode_generator_v8.pm2708 static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info)
2712 foreach my $constructor (@{$interface->constructors}) {
2713 my $name = "constructor" . $constructor->overloadedIndex;
2714 my ($numMandatoryParams, $parametersCheck) = GenerateFunctionParametersCheck($constructor);
2729 exceptionState.throwTypeError(\"No matching constructor signature.\");
2734 throwTypeError(ExceptionMessages::failedToConstruct(\"${interfaceName}\", \"No matching constructor signature.\"), info.GetIsolate());
2761 static void constructor${overloadedIndexString}(const v8::FunctionCallbackInfo<v8::Value>& info)
2839 foreach my $constructor (@constructors, @customConstructors) {
2840 my $constructorLength = GetFunctionLength($constructor);
[all...]
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/image_editor/
H A Dfilter.js92 if (source.constructor.name == 'HTMLCanvasElement') {
/external/chromium_org/v8/test/mjsunit/harmony/
H A Dgenerators-iteration.js32 var GeneratorFunction = (function*(){yield 1;}).__proto__.constructor;
/external/dexmaker/src/test/java/com/google/dexmaker/
H A DDexMakerTest.java84 MethodId<Constructable, Void> constructor
87 code.newInstance(localResult, constructor, localA, localB);
408 * Declare a constructor that takes an int parameter and assigns it to a
423 MethodId<?, Void> constructor = GENERATED.getConstructor(TypeId.INT);
424 Code code = dexMaker.declare(constructor, PUBLIC);

Completed in 903 milliseconds

<<111213141516