/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
TextReport.java | 60 for (ApiConstructor constructor : constructors) { 61 printConstructor(constructor, out); 87 private static void printConstructor(ApiConstructor constructor, PrintStream out) { 89 .append(constructor.isCovered() ? "X" : " ") 90 .append("] ").append(constructor.getName()).append("("); 92 List<String> parameterTypes = constructor.getParameterTypes();
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
GenericExceptionsTest.java | 20 import java.lang.reflect.Constructor; 43 Constructor constructor = Thrower.class.getConstructor(); local 45 Arrays.asList(constructor.getGenericExceptionTypes())); 49 Constructor constructor = Thrower.class.getConstructor(List.class); local 51 Arrays.asList(constructor.getGenericExceptionTypes())); 55 Constructor constructor = ThrowerT.class.getConstructor(); local 56 TypeVariable typeVariable = getOnlyValue(constructor.getGenericExceptionTypes() [all...] |
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-193.js | 28 // Test that context extension objects do not have a constructor 34 return eval("var x; constructor"); 37 // It should be ok to call the constructor function returned by f. 40 // The call to f should get the constructor of the receiver which is 41 // the constructor of the global object. 42 assertEquals(constructor, f());
|
/external/chromium_org/v8/test/webkit/fast/js/ |
object-prototype-constructor.js | 30 shouldBe("f.constructor", "Foo.Bar"); 31 shouldBe("typeof f.constructor", '"function"'); 36 shouldBe("f2.constructor", "Foo2.Bar"); 37 shouldBe("typeof f2.constructor", '"function"'); 41 shouldBe("f3.constructor", "Foo3.Bar"); 42 shouldBe("typeof f3.constructor", '"function"');
|
/external/v8/test/mjsunit/regress/ |
regress-193.js | 28 // Test that context extension objects do not have a constructor 34 return eval("var x; constructor"); 37 // It should be ok to call the constructor function returned by f. 40 // The call to f should get the constructor of the receiver which is 41 // the constructor of the global object. 42 assertEquals(constructor, f());
|
/bionic/libc/unistd/ |
time.c | 56 // initialized by the constructor below 60 __attribute__((constructor)) static void clock_crt0(void)
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
UnwantedTokenException.js | 4 org.antlr.runtime.UnwantedTokenException.superclass.constructor.call(
|
MismatchedNotSetException.js | 2 org.antlr.runtime.MismatchedNotSetException.superclass.constructor.call(this, expecting, input);
|
MismatchedRangeExceptions.js | 6 org.antlr.runtime.MismatchedRangeException.superclass.constructor.call(
|
MismatchedSetException.js | 2 org.antlr.runtime.MismatchedSetException.superclass.constructor.call(
|
MismatchedTokenException.js | 5 org.antlr.runtime.MismatchedTokenException.superclass.constructor.call(
|
MismatchedTreeNodeException.js | 3 org.antlr.runtime.MismatchedTreeNodeException.superclass.constructor.call(
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/ |
RewriteEarlyExitException.js | 7 sup.constructor.call(this, elementDescription);
|
RewriteRuleNodeStream.js | 5 org.antlr.runtime.tree.RewriteRuleNodeStream.superclass.constructor.apply(this, arguments);
|
/external/antlr/antlr-3.4/runtime/Perl5/t/classes/Test/ANTLR/Runtime/ |
Exception.pm | 9 sub constructor : Test(1) { subroutine
|
/external/chromium_org/remoting/webapp/ |
clipboard_event_proto.js | 12 /** @constructor 26 /** @constructor
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_init.h | 37 /* 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/ |
p14-0x.cpp | 36 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/ |
attr-decl-after-definition.c | 7 void foo() __attribute__((constructor)); // expected-warning {{must precede definition}}
|
/external/clang/test/SemaCXX/ |
value-dependent-exprs.cpp | 30 __attribute__((constructor(1 + I)))
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_init.h | 37 /* 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();}
|
/frameworks/base/test-runner/src/android/test/suitebuilder/ |
TestMethod.java | 22 import java.lang.reflect.Constructor; 79 Constructor[] constructors = testCaseClass.getConstructors(); 84 for (Constructor constructor : constructors) { 85 Class[] params = constructor.getParameterTypes(); 87 TestCase test = ((Constructor<? extends TestCase>) constructor).newInstance(); 93 return ((Constructor<? extends TestCase>) constructor) 98 throw new RuntimeException("Unable to locate a constructor for [all...] |
/external/chromium_org/v8/test/mjsunit/harmony/ |
typedarrays.js | 272 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, item, 100, 0, 100, 0, 1000) [all...] |
/external/v8/test/mjsunit/compiler/ |
inline-construct.js | 30 // 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 called with too few arguments [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/reflect/ |
ConstructorTest.java | 20 import java.lang.reflect.Constructor; 49 * @tests java.lang.reflect.Constructor#equals(java.lang.Object) 53 Constructor ctor1 = null, ctor2 = null; 67 * @tests java.lang.reflect.Constructor#getDeclaringClass() 71 // java.lang.reflect.Constructor.getDeclaringClass() 74 Constructor ctor = pclass.getConstructor(new Class[0]); 81 * @tests java.lang.reflect.Constructor#getExceptionTypes() 86 Constructor ctor = new ConstructorTestHelper().getClass() 97 * @tests java.lang.reflect.Constructor#getModifiers() 102 Constructor ctor = new ConstructorTestHelper().getClass( 185 Constructor constructor = Vector.class local 197 Constructor constructor = MockObject.class.getConstructor(Class.class); local [all...] |