/external/clang/test/CodeGen/ |
2008-03-03-CtorAttrType.c | 2 int __attribute__((constructor)) foo(void) { 5 void __attribute__((constructor)) bar(void) {}
|
attribute_constructor.c | 3 void foo() __attribute__((constructor));
|
constructor-attribute.c | 9 void A() __attribute__((constructor)); 20 static void C() __attribute__((constructor));
|
/external/clang/test/Sema/ |
constructor-attribute.c | 3 int x __attribute__((constructor)); // expected-warning {{'constructor' attribute only applies to functions}} 4 int f() __attribute__((constructor)); 5 int f() __attribute__((constructor(1))); 6 int f() __attribute__((constructor(1,2))); // expected-error {{'constructor' attribute takes no more than 1 argument}} 7 int f() __attribute__((constructor(1.0))); // expected-error {{'constructor' attribute requires an integer constant}}
|
/external/objenesis/main/src/org/objenesis/instantiator/basic/ |
AccessibleInstantiator.java | 19 * Instantiates a class by grabbing the no-args constructor, making it accessible and then calling 20 * Constructor.newInstance(). Although this still requires no-arg constructors, it can call 30 if(constructor != null) { 31 constructor.setAccessible(true);
|
ConstructorInstantiator.java | 18 import java.lang.reflect.Constructor; 24 * Instantiates a class by grabbing the no args constructor and calling Constructor.newInstance(). 32 protected Constructor constructor; field in class:ConstructorInstantiator 36 constructor = type.getDeclaredConstructor((Class[]) null); 45 return constructor.newInstance((Object[]) null);
|
/external/clang/test/CodeGenCXX/ |
constructor-attr.cpp | 9 static void foo() __attribute__((constructor)) {
|
/external/chromium_org/v8/test/mjsunit/es6/ |
typed-array-iterator.js | 12 function TestTypedArrayPrototype(constructor) { 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/chromium_org/ui/ozone/ |
platform_object_internal.h | 17 typedef typename PlatformConstructorList<T>::Constructor Constructor; 22 // Look up the constructor in the constructor list. 23 Constructor constructor = PlatformConstructorList<T>::kConstructors[platform]; local 25 // Call the constructor. 26 return make_scoped_ptr(constructor());
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/reflect/ |
FastConstructor.java | 18 import java.lang.reflect.Constructor; 23 FastConstructor(FastClass fc, Constructor constructor) { 24 super(fc, constructor, fc.getIndex(constructor.getParameterTypes())); 28 return ((Constructor)member).getParameterTypes(); 32 return ((Constructor)member).getExceptionTypes(); 43 public Constructor getJavaConstructor() { 44 return (Constructor)member;
|
/external/compiler-rt/lib/msan/tests/ |
msan_loadable.cc | 23 __attribute__((constructor))
|
/external/deqp/framework/delibs/dethread/ |
deSingleton.h | 47 * If current singleton state is DE_SINGLETON_NOT_INITIALIZED, constructor 50 * It is guaranteed that constructor is called only once, even when multiple 57 * \param constructor Constructor function. 58 * \param arg Generic arg pointer for constructor. 60 void deInitSingleton (volatile deSingletonState* singletonState, deSingletonConstructorFunc constructor, void* arg);
|
deSingleton.c | 30 void deInitSingleton (volatile deSingletonState* singletonState, deSingletonConstructorFunc constructor, void* arg) 38 constructor(arg);
|
/external/chromium_org/third_party/angle/src/compiler/translator/ |
StructureHLSL.cpp | 264 TString constructor; local 268 constructor += name + " " + name + "_ctor("; 272 constructor += TypeString(ctorType) + " " + name + "("; 279 constructor += TypeString(type) + " x" + str(parameter) + ArrayString(type); 283 constructor += ", "; 287 constructor += ")\n" 292 constructor += " " + name + " structure = {"; 296 constructor += " return " + TypeString(ctorType) + "("; 311 constructor += TString((row == col) ? "x0" : "0.0"); 315 constructor += ", " [all...] |
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-357108.js | 7 function TestArray(constructor) { 16 Check(new constructor(1)); 17 Check(new constructor(100));
|
/external/objenesis/tck/src/org/objenesis/tck/candidates/ |
serializable-candidates.properties | 54 # Different visibilities of constructor. 55 org.objenesis.tck.candidates.SerializableNoConstructor = No constructor (serializable) 56 org.objenesis.tck.candidates.SerializableDefaultPublicConstructor = Default public constructor (serializable) 57 org.objenesis.tck.candidates.SerializableDefaultProtectedConstructor = Default protected constructor (serializable) 58 org.objenesis.tck.candidates.SerializableDefaultPackageConstructor = Default package constructor (serializable) 59 org.objenesis.tck.candidates.SerializableDefaultPrivateConstructor = Default private constructor (serializable) 64 org.objenesis.tck.candidates.SerializableConstructorThrowingException = Constructor throwing exception (serializable) 65 org.objenesis.tck.candidates.SerializableConstructorWithArguments = Constructor with arguments (serializable) 66 org.objenesis.tck.candidates.SerializableConstructorWithMandatoryArguments = Constructor with mandatory arguments (serializable)
|
candidates.properties | 54 # Different visibilities of constructor. 55 org.objenesis.tck.candidates.NoConstructor = No constructor 56 org.objenesis.tck.candidates.SerializableNoConstructor = No constructor (serializable) 57 org.objenesis.tck.candidates.DefaultPublicConstructor = Default public constructor 58 org.objenesis.tck.candidates.SerializableDefaultPublicConstructor = Default public constructor (serializable) 59 org.objenesis.tck.candidates.DefaultProtectedConstructor = Default protected constructor 60 org.objenesis.tck.candidates.SerializableDefaultProtectedConstructor = Default protected constructor (serializable) 61 org.objenesis.tck.candidates.DefaultPackageConstructor = Default package constructor 62 org.objenesis.tck.candidates.SerializableDefaultPackageConstructor = Default package constructor (serializable) 63 org.objenesis.tck.candidates.DefaultPrivateConstructor = Default private constructor [all...] |
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
ApiClass.java | 61 public void addConstructor(ApiConstructor constructor) { 62 mApiConstructors.add(constructor); 66 for (ApiConstructor constructor : mApiConstructors) { 67 if (parameterTypes.equals(constructor.getParameterTypes())) { 68 return constructor; 99 for (ApiConstructor constructor : mApiConstructors) { 100 if (constructor.isCovered()) {
|
/external/mockito/src/org/mockito/internal/util/reflection/ |
FieldInitializer.java | 9 import java.lang.reflect.Constructor;
19 * Initialize a field with type instance if a default constructor can be found.
38 * This constructor fail fast if the field type cannot be handled.
52 * This constructor fail fast if the field type cannot be handled.
57 * @param argResolver Constructor parameters resolver
128 * to be given to a constructor given the argument types.
141 * @param argTypes Constructor argument types, should not be null.
142 * @return The argument instances to be given to the constructor, should not be null.
152 * Constructor instantiating strategy for no-arg constructor. 175 Constructor<?> constructor = null; local 233 Constructor<?> constructor = null; local 268 Constructor<?> constructor = constructors.get(0); local [all...] |
/external/mockito/src/org/mockito/internal/runners/util/ |
RunnerProvider.java | 7 import java.lang.reflect.Constructor;
30 Constructor<?> constructor;
local 33 constructor = runnerClass.getConstructor(Class.class.getClass());
39 return (RunnerImpl) constructor.newInstance(constructorParam);
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
IndexOutOfBoundsExceptions.js | 2 org.antlr.runtime.IndexOutOfBoundsException.superclass.constructor.call(this, m);
|
EarlyExitException.js | 9 org.antlr.runtime.EarlyExitException.superclass.constructor.call(
|
/external/chromium_org/v8/test/mjsunit/compiler/ |
inline-construct.js | 30 // Test inlining of constructor calls. 32 function TestInlinedConstructor(constructor, closure) { 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) { 61 var obj = new constructor(val, deopt, counter); 65 function test_context(constructor, val, deopt, counter) [all...] |
/external/chromium_org/v8/test/webkit/fast/js/ |
primitive-property-access-edge-cases.js | 31 delete String.prototype.constructor; method 66 function checkGet(x, constructor) 69 Object.defineProperty(constructor.prototype, "foo", { get: function() { checkOkay = typeof this === 'object'; }, configurable: true }); 71 delete constructor.prototype.foo; 75 function checkSet(x, constructor) 78 Object.defineProperty(constructor.prototype, "foo", { set: function() { checkOkay = typeof this === 'object'; }, configurable: true }); 80 delete constructor.prototype.foo; 84 function checkGetStrict(x, constructor) 87 Object.defineProperty(constructor.prototype, "foo", { get: function() { "use strict"; checkOkay = typeof this !== 'object'; }, configurable: true }); 89 delete constructor.prototype.foo [all...] |
/external/fio/compiler/ |
compiler.h | 20 #define fio_init __attribute__((constructor))
|