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

123

/external/v8/test/mjsunit/regress/
H A Dregress-2596.js35 var prototype = [2.5, 2.5]; variable
37 array.__proto__ = prototype;
/external/v8/src/ic/
H A Dcall-optimization.cc31 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
[all...]
H A Dhandler-compiler.cc32 if (receiver_map->prototype()->IsNull()) {
33 // TODO(jkummerow/verwaest): If there is no prototype and the property
42 // If no dictionary mode objects are present in the prototype chain, the load
52 Handle<JSObject> last(JSObject::cast(receiver_map->prototype()));
55 if (current_map->prototype()->IsNull()) break;
56 last = handle(JSObject::cast(current_map->prototype()));
111 Object* prototype = JSFunction::cast(function)->instance_prototype(); local
112 set_type_for_object(handle(prototype, isolate()));
116 // Check that the maps starting from the prototype haven't changed.
150 // If |type| has null as its prototype, |holde
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/
H A DRungeKuttaIntegrator.java67 private final RungeKuttaStepInterpolator prototype; field in class:RungeKuttaIntegrator
79 * @param prototype prototype of the step interpolator to use
84 final RungeKuttaStepInterpolator prototype,
90 this.prototype = prototype;
120 final RungeKuttaStepInterpolator rki = (RungeKuttaStepInterpolator) prototype.copy();
82 RungeKuttaIntegrator(final String name, final double[] c, final double[][] a, final double[] b, final RungeKuttaStepInterpolator prototype, final double step) argument
H A DEmbeddedRungeKuttaIntegrator.java81 private final RungeKuttaStepInterpolator prototype; field in class:EmbeddedRungeKuttaIntegrator
101 * @param prototype prototype of the step interpolator to use
111 final RungeKuttaStepInterpolator prototype,
122 this.prototype = prototype;
139 * @param prototype prototype of the step interpolator to use
149 final RungeKuttaStepInterpolator prototype,
160 this.prototype
109 EmbeddedRungeKuttaIntegrator(final String name, final boolean fsal, final double[] c, final double[][] a, final double[] b, final RungeKuttaStepInterpolator prototype, final double minStep, final double maxStep, final double scalAbsoluteTolerance, final double scalRelativeTolerance) argument
147 EmbeddedRungeKuttaIntegrator(final String name, final boolean fsal, final double[] c, final double[][] a, final double[] b, final RungeKuttaStepInterpolator prototype, final double minStep, final double maxStep, final double[] vecAbsoluteTolerance, final double[] vecRelativeTolerance) argument
[all...]
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
H A DProtoIdItem.java28 * 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) { argument
49 if (prototype == null) {
50 throw new NullPointerException("prototype
67 makeShortForm(Prototype prototype) argument
[all...]
H A DProtoIdsSection.java28 * Proto (method prototype) identifiers list section of a
87 * @param prototype {@code non-null;} the prototype to intern
90 public ProtoIdItem intern(Prototype prototype) { argument
91 if (prototype == null) {
92 throw new NullPointerException("prototype == null");
97 ProtoIdItem result = protoIds.get(prototype);
100 result = new ProtoIdItem(prototype);
101 protoIds.put(prototype, result);
108 * Gets the index of the given prototype, whic
114 indexOf(Prototype prototype) argument
[all...]
/external/dexmaker/src/dx/java/com/android/dx/rop/cst/
H A DCstBaseMethodRef.java31 /** {@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
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
61 return prototype;
65 * Gets the prototype of this method as either a
68 * prototype. In the case of an instance method, this has an
73 * @return {@code non-null;} the method prototype
[all...]
/external/ltrace/
H A Dprototype.h30 /* 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 *prot
[all...]
/external/dexmaker/src/main/java/com/google/dexmaker/
H A DMethodId.java96 Prototype prototype(boolean includeThis) { method in class:MethodId
/external/v8/test/webkit/fast/js/
H A DObject-getOwnPropertyNames.js38 "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"
[all...]
/external/guava/guava/src/com/google/common/base/
H A DJoiner.java87 private Joiner(Joiner prototype) { argument
88 this.separator = prototype.separator;
/external/guava/guava/src/com/google/common/hash/
H A DMessageDigestHashFunction.java34 private final MessageDigest prototype; field in class:MessageDigestHashFunction
40 this.prototype = getMessageDigest(algorithmName);
41 this.bytes = prototype.getDigestLength();
48 this.prototype = getMessageDigest(algorithmName);
49 int maxLength = prototype.getDigestLength();
58 prototype.clone();
84 return new MessageDigestHasher((MessageDigest) prototype.clone(), bytes);
89 return new MessageDigestHasher(getMessageDigest(prototype.getAlgorithm()), bytes);
111 return new SerializedForm(prototype.getAlgorithm(), bytes, toString);
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/
H A DULocaleCollationTest.java44 public Object register(ULocale loc, Object prototype) {
45 return Collator.registerInstance((Collator) prototype, loc);
72 * and unregister a service object prototype.
75 Object register(ULocale loc, Object prototype); argument
/external/protobuf/java/src/main/java/com/google/protobuf/
H A DDynamicMessage.java150 * {@code prototype}, and initialize it with {@code prototype}'s contents.
152 public static Builder newBuilder(Message prototype) { argument
153 return new Builder(prototype.getDescriptorForType()).mergeFrom(prototype);
/external/protobuf/src/google/protobuf/
H A Dextension_set_unittest.cc660 unittest::ForeignMessage prototype; local
661 prototype.set_c(2);
664 CopyFrom(prototype);
667 (16 - kMinRepeatedFieldAllocationSize) * prototype.SpaceUsed();
1086 const Message* prototype = local
1088 EXPECT_EQ(prototype, &sub_message);
H A Ddynamic_message.cc54 // refers to the "default" copy of the class as the "prototype".
212 // important (the prototype must be deleted *before* the offsets).
215 // Don't use a scoped_ptr to hold the prototype: the destructor for
216 // DynamicMessage needs to know whether it is the prototype, and does so by
219 const DynamicMessage* prototype; member in struct:google::protobuf::DynamicMessage::TypeInfo
222 TypeInfo() : prototype(NULL), default_oneof_instance(NULL) {}
225 delete prototype;
233 // Called on the prototype after construction to initialize message fields.
250 return type_info_->prototype == this ||
251 // If type_info_->prototype i
641 DynamicMessage* prototype = new(base) DynamicMessage(type_info); local
[all...]
H A Dextension_set_heavy.cc169 const MessageLite* prototype = local
172 extension->message_value = prototype->New();
226 const MessageLite* prototype; local
228 prototype = factory->GetPrototype(descriptor->message_type());
229 GOOGLE_CHECK(prototype != NULL);
231 prototype = &extension->repeated_message_value->Get(0);
233 result = prototype->New();
H A Dmessage.cc241 void RegisterType(const Descriptor* descriptor, const Message* prototype);
285 const Message* prototype) {
294 if (!InsertIfNotPresent(&type_map_, descriptor, prototype)) {
352 const Descriptor* descriptor, const Message* prototype) {
353 GeneratedMessageFactory::singleton()->RegisterType(descriptor, prototype);
284 RegisterType(const Descriptor* descriptor, const Message* prototype) argument
351 InternalRegisterGeneratedMessage( const Descriptor* descriptor, const Message* prototype) argument
/external/icu/icu4c/source/tools/makeconv/
H A Dmakeconv.c436 const UConverterStaticData *prototype; local
512 prototype=ucnv_converterStaticData[staticData->conversionType];
513 if(prototype!=NULL) {
515 uprv_strcpy((char *)staticData->name, prototype->name);
519 staticData->codepage=prototype->codepage;
523 staticData->platform=prototype->platform;
527 staticData->minBytesPerChar=prototype->minBytesPerChar;
531 staticData->maxBytesPerChar=prototype->maxBytesPerChar;
535 staticData->subCharLen=prototype->subCharLen;
536 if(prototype
[all...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
H A DULocaleTest.java61 // public CFactory(Locale locale, Calendar prototype) {
63 // proto = prototype;
80 // public Object register(ULocale loc, Object prototype) {
81 // CFactory f = new CFactory(loc, (Calendar) prototype);
100 public Object register(ULocale loc, Object prototype) {
101 return Currency.registerInstance((Currency) prototype, loc);
146 public Object register(ULocale loc, Object prototype) {
147 NFactory f = new NFactory(loc, (NumberFormat) prototype);
367 * and unregister a service object prototype.
370 Object register(ULocale loc, Object prototype); argument
[all...]
/external/protobuf/python/google/protobuf/pyext/
H A Drepeated_composite_container.cc601 const Message* prototype = global_message_factory->GetPrototype(type); local
602 GOOGLE_CHECK_NOTNULL(prototype);
603 return prototype->New();
/external/v8/src/ic/ia32/
H A Dhandler-compiler-ia32.cc91 MacroAssembler* masm, int index, Register prototype, Label* miss) {
96 Register scratch = prototype;
104 __ Move(prototype, Immediate(Handle<Map>(function->initial_map())));
105 // Load the prototype from the initial map.
106 __ mov(prototype, FieldOperand(prototype, Map::kPrototypeOffset));
517 Handle<JSObject> prototype = Handle<JSObject>::null(); local
520 // Traverse the prototype chain and check the maps in the prototype chain for
530 prototype
90 GenerateDirectLoadGlobalFunctionPrototype( MacroAssembler* masm, int index, Register prototype, Label* miss) argument
[all...]
/external/v8/src/ic/x64/
H A Dhandler-compiler-x64.cc59 MacroAssembler* masm, int index, Register prototype, Label* miss) {
66 Register scratch = prototype;
74 __ Move(prototype, Handle<Map>(function->initial_map()));
75 // Load the prototype from the initial map.
76 __ movp(prototype, FieldOperand(prototype, Map::kPrototypeOffset));
514 Handle<JSObject> prototype = Handle<JSObject>::null(); local
517 // Traverse the prototype chain and check the maps in the prototype chain for
527 prototype
58 GenerateDirectLoadGlobalFunctionPrototype( MacroAssembler* masm, int index, Register prototype, Label* miss) argument
[all...]
/external/v8/src/ic/x87/
H A Dhandler-compiler-x87.cc91 MacroAssembler* masm, int index, Register prototype, Label* miss) {
96 Register scratch = prototype;
104 __ Move(prototype, Immediate(Handle<Map>(function->initial_map())));
105 // Load the prototype from the initial map.
106 __ mov(prototype, FieldOperand(prototype, Map::kPrototypeOffset));
519 Handle<JSObject> prototype = Handle<JSObject>::null(); local
522 // Traverse the prototype chain and check the maps in the prototype chain for
532 prototype
90 GenerateDirectLoadGlobalFunctionPrototype( MacroAssembler* masm, int index, Register prototype, Label* miss) argument
[all...]

Completed in 816 milliseconds

123