/external/chromium_org/v8/test/mjsunit/regress/ |
regress-2596.js | 35 var prototype = [2.5, 2.5]; variable 37 array.__proto__ = prototype;
|
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/ |
CustomElementBinding.h | 42 static PassOwnPtr<CustomElementBinding> create(v8::Isolate*, v8::Handle<v8::Object> prototype); 46 v8::Handle<v8::Object> prototype() { return m_prototype.newLocal(m_isolate); } function in class:blink::CustomElementBinding 49 CustomElementBinding(v8::Isolate*, v8::Handle<v8::Object> prototype);
|
V8CustomElementLifecycleCallbacks.cpp | 53 PassRefPtr<V8CustomElementLifecycleCallbacks> V8CustomElementLifecycleCallbacks::create(ScriptState* scriptState, v8::Handle<v8::Object> prototype, v8::Handle<v8::Function> created, v8::Handle<v8::Function> attached, v8::Handle<v8::Function> detached, v8::Handle<v8::Function> attributeChanged) 56 // A given object can only be used as a Custom Element prototype 59 ASSERT(V8HiddenValue::getHiddenValue(isolate, prototype, V8HiddenValue::customElement##Name(isolate)).IsEmpty()); \ 61 V8HiddenValue::setHiddenValue(isolate, prototype, V8HiddenValue::customElement##Name(isolate), Value); 66 return adoptRef(new V8CustomElementLifecycleCallbacks(scriptState, prototype, created, attached, detached, attributeChanged)); 92 V8CustomElementLifecycleCallbacks::V8CustomElementLifecycleCallbacks(ScriptState* scriptState, v8::Handle<v8::Object> prototype, v8::Handle<v8::Function> created, v8::Handle<v8::Function> attached, v8::Handle<v8::Function> detached, v8::Handle<v8::Function> attributeChanged) 97 , m_prototype(scriptState->isolate(), prototype) 145 // Bindings retrieve the prototype when needed from per-context data. 168 // Swizzle the prototype of the existing wrapper. We don't need to 170 // prototype when wrapped 171 v8::Handle<v8::Object> prototype = m_prototype.newLocal(isolate); local [all...] |
V8DOMConfiguration.cpp | 37 void V8DOMConfiguration::installAttributes(v8::Handle<v8::ObjectTemplate> instanceTemplate, v8::Handle<v8::ObjectTemplate> prototype, const AttributeConfiguration* attributes, size_t attributeCount, v8::Isolate* isolate) 40 installAttribute(instanceTemplate, prototype, attributes[i], isolate); 43 void V8DOMConfiguration::installAccessors(v8::Handle<v8::ObjectTemplate> prototype, v8::Handle<v8::Signature> signature, const AccessorConfiguration* accessors, size_t accessorCount, v8::Isolate* isolate) 69 prototype->SetAccessorProperty(v8AtomicString(isolate, accessors[i].name), getter, setter, accessors[i].attribute, accessors[i].settings); 82 void V8DOMConfiguration::installConstants(v8::Handle<v8::FunctionTemplate> functionDescriptor, v8::Handle<v8::ObjectTemplate> prototype, const ConstantConfiguration* constants, size_t constantCount, v8::Isolate* isolate) 92 prototype->Set(constantName, v8::Integer::New(isolate, constant->ivalue), static_cast<v8::PropertyAttribute>(v8::ReadOnly | v8::DontDelete)); 96 prototype->Set(constantName, v8::Integer::NewFromUnsigned(isolate, constant->ivalue), static_cast<v8::PropertyAttribute>(v8::ReadOnly | v8::DontDelete)); 101 prototype->Set(constantName, v8::Number::New(isolate, constant->dvalue), static_cast<v8::PropertyAttribute>(v8::ReadOnly | v8::DontDelete)); 105 prototype->Set(constantName, v8::String::NewFromUtf8(isolate, constant->svalue), static_cast<v8::PropertyAttribute>(v8::ReadOnly | v8::DontDelete)); 113 void V8DOMConfiguration::installConstant(v8::Handle<v8::FunctionTemplate> functionDescriptor, v8::Handle<v8::ObjectTemplate> prototype, const char* name, v8::AccessorGetterCallback getter, v8::Isolate* isolate 147 v8::Local<v8::ObjectTemplate> prototype = functionDescriptor->PrototypeTemplate(); local [all...] |
WindowProxy.cpp | 144 // instance as the prototype for that shadow object. The JS LocalDOMWindow 159 // prototype of the outer window. The inner window is the default 291 // Install the windowWrapper as the prototype of the innerGlobalObject. 295 // -- has prototype --> innerGlobalObject (Holds global variables, changes during navigation) 296 // -- has prototype --> LocalDOMWindow instance 297 // -- has prototype --> Window.prototype 298 // -- has prototype --> Object.prototype 300 // Note: Much of this prototype structure is hidden from web content. Th 448 v8::Handle<v8::Value> prototype = info.Holder()->GetPrototype(); local [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
ProtoIdItem.java | 21 import com.android.dx.rop.type.Prototype; 28 * Representation of a method prototype reference inside a Dalvik file. 31 /** {@code non-null;} the wrapped prototype */ 32 private final Prototype prototype; field in class:ProtoIdItem 34 /** {@code non-null;} the short-form of the prototype */ 39 * prototype has no parameters 46 * @param prototype {@code non-null;} the constant for the prototype 48 public ProtoIdItem(Prototype prototype) [all...] |
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
ProtoIdItem.java | 21 import com.android.dx.rop.type.Prototype; 28 * Representation of a method prototype reference inside a Dalvik file. 31 /** {@code non-null;} the wrapped prototype */ 32 private final Prototype prototype; field in class:ProtoIdItem 34 /** {@code non-null;} the short-form of the prototype */ 39 * prototype has no parameters 46 * @param prototype {@code non-null;} the constant for the prototype 48 public ProtoIdItem(Prototype prototype) [all...] |
/external/chromium_org/v8/src/ic/ |
call-optimization.cc | 31 if (!object_map->prototype()->IsJSObject()) break; 32 Handle<JSObject> prototype(JSObject::cast(object_map->prototype())); 33 if (!prototype->map()->is_hidden_prototype()) break; 34 object_map = handle(prototype->map()); 37 return prototype; 59 // Check if holder is in prototype chain of api_holder. 63 Object* prototype = object->map()->prototype(); local 64 if (!prototype->IsJSObject()) return false [all...] |
/frameworks/compile/mclinker/lib/LD/ |
StubFactory.cpp | 32 /// addPrototype - register a stub prototype 44 // find if there is a prototype stub for the input relocation 46 Stub* prototype = findPrototype(pReloc, pReloc.place(), pTargetSymValue); local 47 if (prototype != NULL) { 59 stub = islands.second->findStub(prototype, pReloc); 67 stub = islands.first->findStub(prototype, pReloc); 72 // create a stub from the prototype 73 stub = prototype->clone(); 109 islands.first->addStub(prototype, pReloc, *stub); 119 /// findPrototype - find if there is a registered stub prototype for the give [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
ProtoIdItem.java | 21 import com.android.dexgen.rop.type.Prototype; 28 * Representation of a method prototype reference inside a Dalvik file. 34 /** {@code non-null;} the wrapped prototype */ 35 private final Prototype prototype; field in class:ProtoIdItem 37 /** {@code non-null;} the short-form of the prototype */ 42 * prototype has no parameters 49 * @param prototype {@code non-null;} the constant for the prototype 51 public ProtoIdItem(Prototype prototype) [all...] |
/dalvik/dexgen/src/com/android/dexgen/rop/cst/ |
CstBaseMethodRef.java | 19 import com.android.dexgen.rop.type.Prototype; 31 /** {@code non-null;} the raw prototype for this method */ 32 private final Prototype prototype; field in class:CstBaseMethodRef 35 * {@code null-ok;} the prototype for this method taken to be an instance 38 private Prototype instancePrototype; 50 this.prototype = Prototype.intern(descriptor); 55 * Gets the raw prototype of this method. This doesn't include a 58 * @return {@code non-null;} the method prototype [all...] |
/dalvik/dx/src/com/android/dx/rop/cst/ |
CstBaseMethodRef.java | 19 import com.android.dx.rop.type.Prototype; 31 /** {@code non-null;} the raw prototype for this method */ 32 private final Prototype prototype; field in class:CstBaseMethodRef 35 * {@code null-ok;} the prototype for this method taken to be an instance 38 private Prototype instancePrototype; 50 this.prototype = Prototype.intern(descriptor); 55 * Gets the raw prototype of this method. This doesn't include a 58 * @return {@code non-null;} the method prototype [all...] |
/external/dexmaker/src/dx/java/com/android/dx/rop/cst/ |
CstBaseMethodRef.java | 19 import com.android.dx.rop.type.Prototype; 31 /** {@code non-null;} the raw prototype for this method */ 32 private final Prototype prototype; field in class:CstBaseMethodRef 35 * {@code null-ok;} the prototype for this method taken to be an instance 38 private Prototype instancePrototype; 50 this.prototype = Prototype.intern(descriptor); 55 * Gets the raw prototype of this method. This doesn't include a 58 * @return {@code non-null;} the method prototype [all...] |
/external/ltrace/ |
prototype.h | 30 /* Function prototype. */ 31 struct prototype { struct 39 /* Initialize a prototype PROTO. The name will be NAME, and the 42 void prototype_init(struct prototype *proto); 46 void prototype_destroy(struct prototype *proto); 50 int prototype_push_param(struct prototype *proto, struct param *param); 52 /* Return number of parameters of prototype. */ 53 size_t prototype_num_params(struct prototype *proto); 57 void prototype_destroy_nth_param(struct prototype *proto, size_t n); 61 struct param *prototype_get_nth_param(struct prototype *proto, size_t n) [all...] |
/external/chromium_org/v8/test/webkit/fast/js/ |
Object-getOwnPropertyNames.js | 38 "new Function()": "['arguments', 'caller', 'length', 'name', 'prototype']", 39 "(function(){var x=new Function();x.__proto__=[1,2,3];return x;})()": "['arguments', 'caller', 'length', 'name', 'prototype']", 74 "Object": "['arguments', 'caller', 'create', 'defineProperties', 'defineProperty', 'deliverChangeRecords', 'freeze', 'getNotifier', 'getOwnPropertyDescriptor', 'getOwnPropertyNames', 'getOwnPropertySymbols', 'getPrototypeOf', 'is', 'isExtensible', 'isFrozen', 'isSealed', 'keys', 'length', 'name', 'observe', 'preventExtensions', 'prototype', 'seal', 'setPrototypeOf', 'unobserve']", 75 "Object.prototype": "['__defineGetter__', '__defineSetter__', '__lookupGetter__', '__lookupSetter__', '__proto__', 'constructor', 'hasOwnProperty', 'isPrototypeOf', 'propertyIsEnumerable', 'toLocaleString', 'toString', 'valueOf']", 76 "Function": "['arguments', 'caller', 'length', 'name', 'prototype']", 77 "Function.prototype": "['apply', 'arguments', 'bind', 'call', 'caller', 'constructor', 'length', 'name', 'toString']", 78 "Array": "['arguments', 'caller', 'isArray', 'length', 'name', 'observe', 'prototype', 'unobserve']", 79 "Array.prototype": "['concat', 'constructor', 'entries', 'every', 'filter', 'forEach', 'indexOf', 'join', 'keys', 'lastIndexOf', 'length', 'map', 'pop', 'push', 'reduce', 'reduceRight', 'reverse', 'shift', 'slice', 'some', 'sort', 'splice', 'toLocaleString', 'toString', 'unshift']", 80 "String": "['arguments', 'caller', 'fromCharCode', 'length', 'name', 'prototype']", 81 "String.prototype": "['anchor', 'big', 'blink', 'bold', 'charAt', 'charCodeAt', 'concat', 'constructor', 'fixed', 'f (…) [all...] |
/external/dexmaker/src/main/java/com/google/dexmaker/ |
MethodId.java | 22 import com.android.dx.rop.type.Prototype; 96 Prototype prototype(boolean includeThis) { method in class:MethodId 97 return Prototype.intern(descriptor(includeThis));
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/ |
mock_object.hpp | 70 MO_OP_IMPL( op, descr, prototype() ); \ 143 // prototype constructor 147 static mock_object& prototype() function in class:boost::itest::mock_object 209 MO_OP_IMPL( =, "Copy assignment", prototype() ); 215 MO_OP_IMPL( =, "Copy assignment", prototype() ); 230 MO_OP_IMPL( ++, "Postfix increment", prototype() ); 234 MO_OP_IMPL( --, "Postfix decrement", prototype() ); 247 MO_OP_IMPL( (), "0-arity function-call", prototype() ); 252 MO_OP_IMPL( (), "1-arity function-call", prototype() ); 257 MO_OP_IMPL( (), "2-arity function-call", prototype() ); [all...] |
/external/chromium_org/third_party/protobuf/src/google/protobuf/ |
extension_set_unittest.cc | 541 unittest::ForeignMessage prototype; local 542 prototype.set_c(2); 545 CopyFrom(prototype); 548 (16 - kMinRepeatedFieldAllocationSize) * prototype.SpaceUsed(); 717 const Message* prototype = local 719 EXPECT_EQ(prototype, &sub_message);
|
dynamic_message.cc | 54 // refers to the "default" copy of the class as the "prototype". 180 // important (the prototype must be deleted *before* the offsets). 183 // Don't use a scoped_ptr to hold the prototype: the destructor for 184 // DynamicMessage needs to know whether it is the prototype, and does so by 187 const DynamicMessage* prototype; member in struct:google::protobuf::DynamicMessage::TypeInfo 189 TypeInfo() : prototype(NULL) {} 192 delete prototype; 199 // Called on the prototype after construction to initialize message fields. 215 return type_info_->prototype == this || 216 // If type_info_->prototype is NULL, then we must be constructin 548 DynamicMessage* prototype = new(base) DynamicMessage(type_info); local [all...] |
extension_set_heavy.cc | 146 const MessageLite* prototype = local 149 extension->message_value = prototype->New(); 203 const MessageLite* prototype; local 205 prototype = factory->GetPrototype(descriptor->message_type()); 206 GOOGLE_CHECK(prototype != NULL); 208 prototype = &extension->repeated_message_value->Get(0); 210 result = prototype->New();
|
/external/protobuf/src/google/protobuf/ |
extension_set_heavy.cc | 133 const MessageLite* prototype = local 135 GOOGLE_CHECK(prototype != NULL); 136 extension->message_value = prototype->New(); 162 const MessageLite* prototype; local 164 prototype = factory->GetPrototype(descriptor->message_type()); 165 GOOGLE_CHECK(prototype != NULL); 167 prototype = &extension->repeated_message_value->Get(0); 169 result = prototype->New();
|
extension_set_unittest.cc | 462 unittest::ForeignMessage prototype; local 463 prototype.set_c(2); 466 CopyFrom(prototype); 468 min_expected_size += 16 * prototype.SpaceUsed(); 633 const Message* prototype = local 635 EXPECT_EQ(prototype, &sub_message);
|
/frameworks/compile/mclinker/include/mcld/LD/ |
BranchIsland.h | 90 /// findStub - return true if there is a stub built from the given prototype 115 const Stub* prototype() const { return m_pPrototype; } function in class:mcld::BranchIsland::Key 127 return (size_t((uintptr_t)KEY.prototype())) ^ 138 if ((KEY1.prototype() == KEY2.prototype()) &&
|
/dalvik/dx/src/com/android/dx/cf/code/ |
BaseMachine.java | 22 import com.android.dx.rop.type.Prototype; 36 /* {@code non-null;} the prototype for the associated method */ 37 private final Prototype prototype; field in class:BaseMachine 84 * @param prototype {@code non-null;} the prototype for the 87 public BaseMachine(Prototype prototype) { 88 if (prototype == null) { 89 throw new NullPointerException("prototype == null") [all...] |
Simulator.java | 26 import com.android.dx.rop.type.Prototype; 525 * Checks whether the prototype is compatible with returning the 534 * Check to see if the prototype's return type is 540 throw new SimException("return type mismatch: prototype " + 650 * Get the instance prototype, and use it to direct 653 Prototype prototype = local 655 machine.popArgs(frame, prototype); 660 * Get the static prototype, and use it to direct 663 Prototype prototype local 678 Prototype prototype = local [all...] |