Searched refs:constructor (Results 51 - 75 of 360) sorted by relevance

1234567891011>>

/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_stoptheworld_testlib.cc47 __attribute__((constructor)) void StopTheWorldTestLibConstructor(void) {
/external/qemu/
H A Dmodule.h19 static void __attribute__((constructor)) do_qemu_init_ ## function(void) { \
/external/doclava/src/com/google/doclava/
H A DSinceTagger.java157 for (MethodInfo constructor : doc.constructors()) {
158 if (constructor.getSince() == null
159 && spec.hasConstructor(constructor)) {
160 constructor.setSince(versionName);
164 if (constructor.isDeprecated() && constructor.getDeprecatedSince() == null) {
166 if (spec.allConstructorsMap().containsKey(constructor.getHashableName())) {
167 MethodInfo specConstructor = spec.allConstructorsMap().get(constructor.getHashableName());
169 constructor.setDeprecatedSince(versionName);
250 for (MethodInfo constructor
[all...]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowNfcAdapter.java27 Constructor<NfcAdapter> constructor = NfcAdapter.class.getDeclaredConstructor();
28 constructor.setAccessible(true);
29 return constructor.newInstance();
H A DShadowMotionEvent.java32 Constructor<MotionEvent> constructor = MotionEvent.class.getDeclaredConstructor();
33 constructor.setAccessible(true);
34 MotionEvent motionEvent = constructor.newInstance();
/external/chromium_org/v8/test/mjsunit/harmony/
H A Dtypedarrays.js272 function SubarrayTestCase(constructor, item, expectedResultLen, expectedStartIndex,
274 var a = new constructor(initialLen);
276 assertSame(constructor, s.constructor);
284 function TestSubArray(constructor, item) {
285 SubarrayTestCase(constructor, item, 512, 512, 1024, 512, 1024);
286 SubarrayTestCase(constructor, item, 512, 512, 1024, 512);
288 SubarrayTestCase(constructor, item, 0, undefined, 0, 1, 20);
289 SubarrayTestCase(constructor, item, 100, 0, 100, 0, 100);
290 SubarrayTestCase(constructor, ite
[all...]
/external/chromium_org/v8/src/
H A Dtypedarray.js38 function CreateTypedArrayConstructor(name, elementSize, arrayId, constructor) {
119 function CreateSubArray(elementSize, constructor) {
141 return new constructor(%TypedArrayGetBuffer(this),
248 function SetupTypedArray(arrayId, name, constructor, elementSize) {
251 arrayId, constructor);
252 %SetCode(constructor, fun);
253 %FunctionSetPrototype(constructor, new $Object());
255 %SetProperty(constructor, "BYTES_PER_ELEMENT", elementSize,
257 %SetProperty(constructor.prototype,
258 "constructor", constructo
[all...]
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
H A DMissingTokenException.js3 org.antlr.runtime.MissingTokenException.superclass.constructor.call(
H A DNoViableAltException.js6 org.antlr.runtime.NoViableAltException.superclass.constructor.call(this, input);
H A DUnwantedTokenException.js4 org.antlr.runtime.UnwantedTokenException.superclass.constructor.call(
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/
H A DRewriteRuleSubtreeStream.js3 sup.constructor.apply(this, arguments);
H A DRewriteRuleTokenStream.js3 sup.constructor.apply(this, arguments);
/external/antlr/antlr-3.4/runtime/Perl5/t/classes/Test/ANTLR/Runtime/
H A DException.pm9 sub constructor : Test(1) { subroutine
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_init.h37 /* use a C++ global constructor */
40 /* add a pointer to the section where MSVC stores global constructor pointers */
42 http://stackoverflow.com/questions/1113409/attribute-constructor-equivalent-in-vc */
46 #define UTIL_INIT(f) static void f##__init(void) __attribute__((constructor)); static void f##__init(void) {f();}
/external/clang/test/CXX/dcl.decl/dcl.init/
H A Dp14-0x.cpp36 Private p = 42; // expected-error {{private constructor}}
39 S() {} // expected-error {{call to deleted constructor of 'NoDefault'}} \
40 expected-error {{must explicitly initialize the member 'e1' which does not have a default constructor}}
/external/clang/test/Sema/
H A Dattr-decl-after-definition.c7 void foo() __attribute__((constructor)); // expected-warning {{must precede definition}}
/external/clang/test/SemaCXX/
H A Dvalue-dependent-exprs.cpp30 __attribute__((constructor(1 + I)))
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_init.h37 /* use a C++ global constructor */
40 /* add a pointer to the section where MSVC stores global constructor pointers */
42 http://stackoverflow.com/questions/1113409/attribute-constructor-equivalent-in-vc */
46 #define UTIL_INIT(f) static void f##__init(void) __attribute__((constructor)); static void f##__init(void) {f();}
/external/v8/test/mjsunit/compiler/
H A Dinline-construct.js30 // Test inlining of constructor calls.
50 function TestInAllContexts(constructor) {
52 var obj = new constructor(a, b, counter);
56 if (!new constructor(a, b, counter)) {
62 new constructor(a, b, counter);
75 // Test constructor returning nothing in all contexts.
83 // Test constructor returning an object in all contexts.
93 // Test constructor returning a primitive value in all contexts.
102 // Test constructor called with too many arguments.
117 // Test constructor calle
[all...]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/reflect/
H A DConstructorTest.java185 Constructor constructor = Vector.class
189 constructor.newInstance(new Object[] { null });
197 Constructor constructor = MockObject.class.getConstructor(Class.class);
200 constructor.newInstance(InvocationTargetException.class);
207 constructor.newInstance(IllegalAccessException.class);
214 constructor.newInstance(IllegalArgumentException.class);
221 constructor.newInstance(InvocationTargetException.class);
228 constructor.newInstance(Throwable.class);
/external/llvm/test/MC/MachO/
H A Dx86_32-sections.s12 .constructor
/external/objenesis/main/src/org/objenesis/instantiator/sun/
H A DSunReflectionFactoryHelper.java34 public static Constructor newConstructorForSerialization(Class type, Constructor constructor) { argument
43 reflectionFactory, new Object[] {type, constructor});
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
H A DConsoleTest.java51 Constructor<Console> constructor =
53 constructor.setAccessible(true);
54 console = constructor.newInstance(in, out);
/external/chromium_org/third_party/WebKit/Source/web/tests/
H A DListenerLeakTest.cpp59 int GetNumObjects(const char* constructor) argument
73 if (!strcmp(constructor, *nodeName)) {
74 const v8::HeapGraphNode* constructorProp = GetProperty(node, v8::HeapGraphEdge::kProperty, "constructor");
75 // Skip an Object instance named after the constructor.
78 if (!strcmp(constructor, *constructorName))
/external/junit/src/org/junit/experimental/theories/
H A DParameterSignature.java19 public static List<ParameterSignature> signatures(Constructor<?> constructor) { argument
20 return signatures(constructor.getParameterTypes(), constructor

Completed in 1073 milliseconds

1234567891011>>