/external/v8/test/webkit/fast/js/ |
D | primitive-property-access-edge-cases.js | 31 delete String.prototype.constructor; method in delete 66 function checkGet(x, constructor) argument 69 …Object.defineProperty(constructor.prototype, "foo", { get: function() { checkOkay = typeof this ==… 71 delete constructor.prototype.foo; 75 function checkSet(x, constructor) argument 78 …Object.defineProperty(constructor.prototype, "foo", { set: function() { checkOkay = typeof this ==… 80 delete constructor.prototype.foo; 84 function checkGetStrict(x, constructor) argument 87 …Object.defineProperty(constructor.prototype, "foo", { get: function() { "use strict"; checkOkay = … 89 delete constructor.prototype.foo; [all …]
|
D | object-prototype-constructor-expected.txt | 29 PASS f.constructor is Foo.Bar 30 PASS typeof f.constructor is "function" 31 PASS f2.constructor is Foo2.Bar 32 PASS typeof f2.constructor is "function" 33 PASS f3.constructor is Foo3.Bar 34 PASS typeof f3.constructor is "function"
|
/external/v8/test/mjsunit/es6/ |
D | typed-array-iterator.js | 12 function TestTypedArrayPrototype(constructor) { argument 13 assertTrue(constructor.prototype.hasOwnProperty('entries')); 14 assertTrue(constructor.prototype.hasOwnProperty('values')); 15 assertTrue(constructor.prototype.hasOwnProperty('keys')); 16 assertTrue(constructor.prototype.hasOwnProperty(Symbol.iterator)); 18 assertFalse(constructor.prototype.propertyIsEnumerable('entries')); 19 assertFalse(constructor.prototype.propertyIsEnumerable('values')); 20 assertFalse(constructor.prototype.propertyIsEnumerable('keys')); 21 assertFalse(constructor.prototype.propertyIsEnumerable(Symbol.iterator)); 23 assertEquals(Array.prototype.entries, constructor.prototype.entries); [all …]
|
/external/v8/test/mjsunit/compiler/ |
D | inline-construct.js | 32 function TestInlinedConstructor(constructor, closure) { argument 38 result = closure(constructor, 11, noDeopt, counter); 42 result = closure(constructor, 23, noDeopt, counter); 47 result = closure(constructor, 42, noDeopt, counter); 51 result = closure(constructor, 127, forceDeopt, counter); 57 %ClearFunctionTypeFeedback(constructor); 60 function value_context(constructor, val, deopt, counter) { argument 61 var obj = new constructor(val, deopt, counter); 65 function test_context(constructor, val, deopt, counter) { argument 66 if (!new constructor(val, deopt, counter)) { [all …]
|
D | escape-analysis.js | 33 function constructor() { function 37 var object = new constructor(); 54 function constructor() { function 59 var object = new constructor(); 76 function constructor() { function 82 var object = new constructor(); 183 function constructor() { function 188 var o = new constructor(); 199 constructor.prototype = monkey; class 207 function constructor() { function [all …]
|
/external/guava/guava-tests/test/com/google/common/reflect/ |
D | InvokableTest.java | 45 Prepender.constructor().getReturnType().getType()); in testConstructor_returnType() 57 Constructor<WithConstructorAndTypeParameter> constructor = type.getDeclaredConstructor(); in testConstructor_returnType_hasTypeParameter() local 58 Invokable<?, ?> factory = Invokable.from(constructor); in testConstructor_returnType_hasTypeParameter() 61 assertEquals(constructor.getTypeParameters()[0], factory.getTypeParameters()[1]); in testConstructor_returnType_hasTypeParameter() 70 Prepender.constructor(String.class, int.class).getExceptionTypes()); in testConstructor_exceptionTypes() 75 Prepender.constructor().getTypeParameters(); in testConstructor_typeParameters() 81 Invokable<?, Prepender> delegate = Prepender.constructor(String.class, int.class); in testConstructor_parameters() 95 Invokable<?, Prepender> delegate = Prepender.constructor(String.class, int.class); in testConstructor_call() 102 Invokable<?, Prepender> delegate = Prepender.constructor(String.class, int.class) in testConstructor_returning() 110 Invokable<?, Prepender> delegate = Prepender.constructor(String.class, int.class); in testConstructor_invalidReturning() [all …]
|
/external/mockito/src/org/mockito/internal/util/reflection/ |
D | FieldInitializer.java | 175 Constructor<?> constructor = null; in instantiate() local 177 constructor = field.getType().getDeclaredConstructor(); in instantiate() 178 changer.enableAccess(constructor); in instantiate() 181 Object newFieldInstance = constructor.newInstance(noArg); in instantiate() 194 if(constructor != null) { in instantiate() 195 changer.safelyDisableAccess(constructor); in instantiate() 233 Constructor<?> constructor = null; in instantiate() local 235 constructor = biggestConstructor(field.getType()); in instantiate() 236 changer.enableAccess(constructor); in instantiate() 238 … final Object[] args = argResolver.resolveTypeInstances(constructor.getParameterTypes()); in instantiate() [all …]
|
/external/v8/test/mjsunit/harmony/ |
D | typedarrays.js | 273 function SubarrayTestCase(constructor, item, expectedResultLen, expectedStartIndex, argument 275 var a = new constructor(initialLen); 277 assertSame(constructor, s.constructor); 285 function TestSubArray(constructor, item) { argument 286 SubarrayTestCase(constructor, item, 512, 512, 1024, 512, 1024); 287 SubarrayTestCase(constructor, item, 512, 512, 1024, 512); 289 SubarrayTestCase(constructor, item, 0, undefined, 0, 1, 20); 290 SubarrayTestCase(constructor, item, 100, 0, 100, 0, 100); 291 SubarrayTestCase(constructor, item, 100, 0, 100, 0, 1000); 292 SubarrayTestCase(constructor, item, 0, undefined, 100, 5, 1); [all …]
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/ |
D | PropertyBoxParserImpl.java | 165 String constructor; in invoke() local 170 …constructor = mapping.getProperty((parent) + "-uuid[" + Hex.encodeHex(userType).toUpperCase() + "]… in invoke() 171 if (constructor == null) { in invoke() 172 … constructor = mapping.getProperty("uuid[" + Hex.encodeHex(userType).toUpperCase() + "]"); in invoke() 174 if (constructor == null) { in invoke() 175 constructor = mapping.getProperty("uuid"); in invoke() 178 constructor = mapping.getProperty((parent) + "-" + (type)); in invoke() 179 if (constructor == null) { in invoke() 180 constructor = mapping.getProperty((type)); in invoke() 183 if (constructor == null) { in invoke() [all …]
|
/external/guava/guava/src/com/google/common/reflect/ |
D | Invokable.java | 72 public static <T> Invokable<T, T> from(Constructor<T> constructor) { in from() argument 73 return new ConstructorInvokable<T>(constructor); in from() 232 final Constructor<?> constructor; field in Invokable.ConstructorInvokable 234 ConstructorInvokable(Constructor<?> constructor) { in ConstructorInvokable() argument 235 super(constructor); in ConstructorInvokable() 236 this.constructor = constructor; in ConstructorInvokable() 242 return constructor.newInstance(args); in invokeInternal() 244 throw new RuntimeException(constructor + " failed.", e); in invokeInternal() 260 Type[] types = constructor.getGenericParameterTypes(); in getGenericParameterTypes() 262 Class<?>[] rawParamTypes = constructor.getParameterTypes(); in getGenericParameterTypes() [all …]
|
/external/clang/test/Sema/ |
D | constructor-attribute.c | 3 int x __attribute__((constructor)); // expected-warning {{'constructor' attribute only applies to f… 4 int f() __attribute__((constructor)); 5 int f() __attribute__((constructor(1))); 6 int f() __attribute__((constructor(1,2))); // expected-error {{'constructor' attribute takes no mor… 7 int f() __attribute__((constructor(1.0))); // expected-error {{'constructor' attribute requires an … 8 int f() __attribute__((constructor(0x100000000))); // expected-error {{integer constant expression …
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/reflection/ |
D | ReflectionConstructor.java | 51 private final Constructor constructor; field in ReflectionConstructor 53 public ReflectionConstructor(Constructor constructor) { in ReflectionConstructor() argument 54 this.constructor = constructor; in ReflectionConstructor() 58 final Constructor method = this.constructor; in getParameters() 85 return constructor.getModifiers(); 97 return ReflectionUtils.javaToDexName(constructor.getDeclaringClass().getName()); 101 return constructor.getName();
|
/external/libcxxabi/src/ |
D | cxa_vector.cpp | 115 void (*constructor)(void*), void (*destructor)(void*) ) { in __cxa_vec_new() 118 constructor, destructor, &::operator new [], &::operator delete [] ); in __cxa_vec_new() 141 void (*constructor)(void*), void (*destructor)(void*), in __cxa_vec_new2() 158 __cxa_vec_ctor ( vec_base, element_count, element_size, constructor, destructor ); in __cxa_vec_new2() 170 void (*constructor)(void*), void (*destructor)(void*), in __cxa_vec_new3() 187 __cxa_vec_ctor ( vec_base, element_count, element_size, constructor, destructor ); in __cxa_vec_new3() 207 void (*constructor) (void*, void*), void (*destructor)(void*) ) { in __cxa_vec_cctor() 209 if ( NULL != constructor ) { in __cxa_vec_cctor() 217 constructor ( dest_ptr, src_ptr ); in __cxa_vec_cctor() 232 void (*constructor)(void*), void (*destructor)(void*) ) { in __cxa_vec_ctor() [all …]
|
/external/doclava/src/com/google/doclava/ |
D | SinceTagger.java | 157 for (MethodInfo constructor : doc.constructors()) { in versionConstructors() 158 if (constructor.getSince() == null in versionConstructors() 159 && spec.hasConstructor(constructor)) { in versionConstructors() 160 constructor.setSince(versionName); in versionConstructors() 164 if (constructor.isDeprecated() && constructor.getDeprecatedSince() == null) { in versionConstructors() 166 if (spec.allConstructorsMap().containsKey(constructor.getHashableName())) { in versionConstructors() 167 MethodInfo specConstructor = spec.allConstructorsMap().get(constructor.getHashableName()); in versionConstructors() 169 constructor.setDeprecatedSince(versionName); in versionConstructors() 250 for (MethodInfo constructor : missingVersions(claz.constructors())) { in warnForMissingVersions() 251 Errors.error(Errors.NO_SINCE_DATA, constructor.position(), "XML missing constructor " in warnForMissingVersions() [all …]
|
/external/android-mock/tests/com/google/android/testing/mocking/ |
D | ConstructorCreationTests.java | 73 Constructor<TestClass> constructor = in hasConstructor() local 75 assertNotNull(constructor); in hasConstructor() 80 Constructor<TestClass> constructor = in doesNotHaveConstructor() local 82 fail("A constructor was found: " + constructor); in doesNotHaveConstructor() 101 Constructor<TestClass> constructor = in checkConstructor() local 103 assertNotNull(constructor); in checkConstructor() 104 Type[] types = constructor.getGenericParameterTypes(); in checkConstructor()
|
/external/v8/test/mjsunit/ |
D | array-functions-prototype.js | 36 function constructor() {}; function 37 constructor.prototype = proto; class 59 var nonArray = new constructor(); 90 var nonArray = new constructor(); 121 var nonArray = new constructor(); 151 var nonArray = new constructor();
|
/external/objenesis/tck/src/org/objenesis/tck/candidates/ |
D | candidates.properties | 54 # Different visibilities of constructor. 55 org.objenesis.tck.candidates.NoConstructor = No constructor 56 org.objenesis.tck.candidates.SerializableNoConstructor = No constructor (s… 57 …esis.tck.candidates.DefaultPublicConstructor = Default public constructor 58 …ates.SerializableDefaultPublicConstructor = Default public constructor (serializable) 59 …s.tck.candidates.DefaultProtectedConstructor = Default protected constructor 60 …s.SerializableDefaultProtectedConstructor = Default protected constructor (serializable) 61 …sis.tck.candidates.DefaultPackageConstructor = Default package constructor 62 …tes.SerializableDefaultPackageConstructor = Default package constructor (serializable) 63 …sis.tck.candidates.DefaultPrivateConstructor = Default private constructor [all …]
|
/external/v8/test/webkit/ |
D | instance-of-immediates.js | 31 function testSet(constructor, testMethod) argument 33 testMethod["1"]("(1 instanceof " + constructor + ")"); 34 testMethod["{}"]("({} instanceof " + constructor + ")"); 35 testMethod["obj"]("(obj instanceof " + constructor + ")");
|
/external/v8/src/compiler/arm/ |
D | instruction-selector-arm-unittest.cc | 19 Constructor constructor; member 42 Constructor constructor; member 62 Constructor constructor; member 127 m.Return((m.*dpi.constructor)(m.Parameter(0), m.Parameter(1))); in TEST_P() 141 m.Return((m.*dpi.constructor)(m.Parameter(0), m.Int32Constant(imm))); in TEST_P() 152 m.Return((m.*dpi.constructor)(m.Int32Constant(imm), m.Parameter(0))); in TEST_P() 168 m.Return((m.*dpi.constructor)( in TEST_P() 170 (m.*shift.constructor)(m.Parameter(1), m.Parameter(2)))); in TEST_P() 180 m.Return((m.*dpi.constructor)( in TEST_P() 181 (m.*shift.constructor)(m.Parameter(0), m.Parameter(1)), in TEST_P() [all …]
|
/external/libcxx/include/ |
D | cxxabi.h | 88 void (*constructor)(void*), 94 void (*constructor)(void*), 102 void (*constructor)(void*), 110 void (*constructor)(void*), 144 void (*constructor)(void*, void*),
|
/external/libcxxabi/include/ |
D | cxxabi.h | 88 void (*constructor)(void*), 94 void (*constructor)(void*), 102 void (*constructor)(void*), 110 void (*constructor)(void*), 144 void (*constructor)(void*, void*),
|
/external/v8/test/mjsunit/regress/ |
D | regress-357108.js | 7 function TestArray(constructor) { argument 16 Check(new constructor(1)); 17 Check(new constructor(100));
|
/external/v8/src/compiler/ |
D | common-operator-unittest.cc | 24 const Operator* (CommonOperatorBuilder::*constructor)(); member 71 EXPECT_EQ((common1.*sop.constructor)(), (common2.*sop.constructor)()); in TEST_P() 78 const Operator* op = (common.*sop.constructor)(); in TEST_P() 100 const Operator* op = (common.*sop.constructor)(); in TEST_P() 108 const Operator* op = (common.*sop.constructor)(); in TEST_P()
|
/external/objenesis/main/src/org/objenesis/instantiator/basic/ |
D | ConstructorInstantiator.java | 32 protected Constructor constructor; field in ConstructorInstantiator 36 constructor = type.getDeclaredConstructor((Class[]) null); in ConstructorInstantiator() 45 return constructor.newInstance((Object[]) null); in newInstance()
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/reflect/ |
D | FastConstructor.java | 23 FastConstructor(FastClass fc, Constructor constructor) { in FastConstructor() argument 24 super(fc, constructor, fc.getIndex(constructor.getParameterTypes())); in FastConstructor()
|