/external/clang/test/CXX/expr/expr.unary/expr.new/ |
p17.cpp | 3 class ctor { class 4 ctor(); // expected-note{{implicitly declared private here}} 12 new ctor[0]; // expected-error{{calling a private constructor of class 'ctor'}}
|
/libcore/luni/src/test/java/tests/api/java/lang/reflect/ |
MalformedParameterizedTypeExceptionTests.java | 13 Constructor<MalformedParameterizedTypeException> ctor = MalformedParameterizedTypeException.class local 15 assertNotNull("Parameterless constructor does not exist.", ctor); 16 assertTrue("Constructor is not protected", Modifier.isPublic(ctor 18 assertNotNull(ctor.newInstance());
|
ConstructorTest.java | 170 Constructor<GenericConstructorTestHelper> ctor = GenericConstructorTestHelper.class local 175 ctor.toGenericString()); 194 Constructor<? extends ConstructorTestHelper> ctor = pclass.getConstructor(new Class[0]); local 195 val = ctor.getDeclaringClass().equals(pclass); 208 Constructor<? extends ConstructorTestHelper> ctor = new ConstructorTestHelper().getClass() local 210 exceptions = ctor.getExceptionTypes(); 224 Constructor<? extends ConstructorTestHelper> ctor = new ConstructorTestHelper().getClass() local 226 mod = ctor.getModifiers(); 227 assertTrue("Returned incorrect modifers for public ctor", 235 Constructor<? extends ConstructorTestHelper> ctor = new ConstructorTestHelper().getClass( local 246 Constructor<? extends ConstructorTestHelper> ctor = new ConstructorTestHelper().getClass() local 261 Constructor<? extends ConstructorTestHelper> ctor = new ConstructorTestHelper().getClass() local 279 Constructor<? extends ConstructorTestHelper> ctor = new ConstructorTestHelper().getClass() local 292 Constructor<? extends ConstructorTestHelper> ctor = new ConstructorTestHelper().getClass() local 306 Constructor<? extends ConstructorTestHelper> ctor = new ConstructorTestHelper() local 317 Constructor<? extends ConstructorTestHelper> ctor = new ConstructorTestHelper() local 348 Constructor<? extends ConstructorTestHelper> ctor = new ConstructorTestHelper() local 381 Constructor<? extends ConstructorTestHelper> ctor = new ConstructorTestHelper().getClass() local 394 Constructor<? extends ConstructorTestHelper> ctor = null; local [all...] |
/ndk/tests/device/test-stlport_shared-exception/jni/ |
eh990323-1.cpp | 6 int ctor = 0; variable 10 A() {ctor++;} 11 A(int) {ctor++;} 12 A(const A&) {ctor++;} 73 if (!ctor || ctor != dtor)
|
eh990323-5.cpp | 6 int ctor = 0; variable 23 ctor++; 31 ctor++; 62 if (ctor != 9)
|
/ndk/tests/device/test-stlport_static-exception/jni/ |
eh990323-1.cpp | 6 int ctor = 0; variable 10 A() {ctor++;} 11 A(int) {ctor++;} 12 A(const A&) {ctor++;} 73 if (!ctor || ctor != dtor)
|
eh990323-5.cpp | 6 int ctor = 0; variable 23 ctor++; 31 ctor++; 62 if (ctor != 9)
|
/external/chromium_org/third_party/tcmalloc/chromium/src/base/ |
googleinit.h | 41 GoogleInitializer(const char* name, VoidFunction ctor, VoidFunction dtor) 54 if (ctor) 55 ctor();
|
/external/chromium_org/third_party/tcmalloc/vendor/src/base/ |
googleinit.h | 41 GoogleInitializer(const char* name, VoidFunction ctor, VoidFunction dtor) 44 if (ctor) 45 ctor();
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/reflect/ |
ConstructorTest.java | 74 Constructor ctor = pclass.getConstructor(new Class[0]); local 75 val = ctor.getDeclaringClass().equals(pclass); 86 Constructor ctor = new ConstructorTestHelper().getClass() local 88 exceptions = ctor.getExceptionTypes(); 102 Constructor ctor = new ConstructorTestHelper().getClass() local 104 mod = ctor.getModifiers(); 105 assertTrue("Returned incorrect modifers for public ctor", 113 Constructor ctor = new ConstructorTestHelper().getClass() local 115 mod = ctor.getModifiers(); 116 assertTrue("Returned incorrect modifers for private ctor", 124 Constructor ctor = new ConstructorTestHelper().getClass() local 139 Constructor ctor = new ConstructorTestHelper().getClass() local 154 Constructor ctor = new ConstructorTestHelper().getClass() local 174 Constructor ctor = new ConstructorTestHelper().getClass() local 258 Constructor ctor = null; local [all...] |
/external/chromium_org/v8/test/mjsunit/ |
debug-constructed-by.js | 36 var ctor = debug.MakeMirror(Point); variable 39 assertEquals(0, ctor.constructedBy().length); 40 assertEquals(0, ctor.constructedBy(0).length); 41 assertEquals(0, ctor.constructedBy(1).length); 42 assertEquals(0, ctor.constructedBy(10).length); 46 assertEquals(1, ctor.constructedBy().length); 47 assertEquals(1, ctor.constructedBy(0).length); 48 assertEquals(1, ctor.constructedBy(1).length); 49 assertEquals(1, ctor.constructedBy(10).length); 57 assertEquals(11, ctor.constructedBy().length) [all...] |
/external/v8/test/mjsunit/ |
debug-constructed-by.js | 36 var ctor = debug.MakeMirror(Point); variable 39 assertEquals(0, ctor.constructedBy().length); 40 assertEquals(0, ctor.constructedBy(0).length); 41 assertEquals(0, ctor.constructedBy(1).length); 42 assertEquals(0, ctor.constructedBy(10).length); 46 assertEquals(1, ctor.constructedBy().length); 47 assertEquals(1, ctor.constructedBy(0).length); 48 assertEquals(1, ctor.constructedBy(1).length); 49 assertEquals(1, ctor.constructedBy(10).length); 57 assertEquals(11, ctor.constructedBy().length) [all...] |
/external/opencv/cv/src/ |
_cvkdtree.hpp | 85 __valuector ctor) { 93 mean += deref(ctor(*k), j); 97 accum_type diff = accum_type(deref(ctor(*k), j)) - mean; 118 int dim, __valuector ctor) { 121 median_partition(first, last, k, dim, ctor); 130 __valuector ctor; member in struct:CvKDTree::median_pr 132 : pivot(_pivot), dim(_dim), deref(_deref), ctor(_ctor) { 135 return deref(ctor(lhs), dim) <= deref(ctor(pivot), dim); 141 __instype * k, int dim, __valuector ctor) { [all...] |
/hardware/ti/omap4xxx/ |
tm.c | 15 static void ctor(void) __attribute__((constructor)); 16 static void ctor(void) function
|
/external/clang/lib/CodeGen/ |
CGCXX.cpp | 47 // in many calling conventions, so only bail out if the ctor's 175 void CodeGenModule::EmitCXXConstructor(const CXXConstructorDecl *ctor, 181 !ctor->getParent()->getNumVBases() && 182 !TryEmitDefinitionAsAlias(GlobalDecl(ctor, Ctor_Complete), 183 GlobalDecl(ctor, Ctor_Base))) 187 getTypes().arrangeCXXConstructorDeclaration(ctor, ctorType); 190 cast<llvm::Function>(GetAddrOfCXXConstructor(ctor, ctorType, &fnInfo)); 191 setFunctionLinkage(GlobalDecl(ctor, ctorType), fn); 193 CodeGenFunction(*this).GenerateCode(GlobalDecl(ctor, ctorType), fn, fnInfo); 195 SetFunctionDefinitionAttributes(ctor, fn) [all...] |
/art/test/071-dexfile/src/ |
Main.java | 132 Constructor ctor; local 134 ctor = dclClass.getConstructor(String.class, String.class, 137 throw new RuntimeException("DCL ctor", nsme); 143 dclObj = ctor.newInstance(CLASS_PATH, odexDir, LIB_DIR, myLoader);
|
/dalvik/tests/071-dexfile/src/ |
Main.java | 127 Constructor ctor; local 129 ctor = dclClass.getConstructor(String.class, String.class, 132 throw new RuntimeException("DCL ctor", nsme); 138 dclObj = ctor.newInstance(CLASS_PATH, odexDir, LIB_DIR, myLoader);
|
/external/clang/test/CXX/class/class.union/ |
p1.cpp | 16 class Ctor { 17 Ctor() { abort(); } // expected-note 2{{because type 'Ctor' has a user-provided default constructor}} expected-note 2{{here}} 41 Ctor ctor; // expected-error {{union member 'ctor' has a non-trivial constructor}} member in union:U1 58 Ctor ctor; // expected-note {{because field of type 'Ctor' has a user-provided default constructor}} member in struct:U2::__anon18988 82 struct s3 : Ctor { // expected-note {{because base class of type 'Ctor' has a user-provided default constructor} [all...] |
/frameworks/base/tools/aidl/ |
generate_java_rpc.cpp | 330 Method* ctor = new Method; local 331 ctor->modifiers = PUBLIC; 332 ctor->name = class_name_leaf(this->type->Name()); 333 ctor->statements = new StatementBlock; 334 ctor->parameters.push_back(broker); 335 ctor->parameters.push_back(endpoint); 336 this->elements.push_back(ctor); 338 ctor->statements->Add(new Assignment(this->broker, broker)); 339 ctor->statements->Add(new Assignment(this->endpoint, endpoint)); 400 Method* ctor = new Method local 481 Method* ctor = new Method; local 543 Method* ctor = new Method; local [all...] |
/frameworks/base/core/java/android/app/backup/ |
BackupDataInput.java | 75 mBackupReader = ctor(fd); 188 private native static int ctor(FileDescriptor fd); method in class:BackupDataInput
|
BackupDataOutput.java | 70 mBackupWriter = ctor(fd); 124 private native static int ctor(FileDescriptor fd); method in class:BackupDataOutput
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
NullPointerTester.java | 177 * Verifies that {@code ctor} produces a {@link NullPointerException} or 181 public void testConstructor(Constructor<?> ctor) throws Exception { 182 Class<?>[] types = ctor.getParameterTypes(); 184 testConstructorParameter(ctor, nullIndex); 219 * Verifies that {@code ctor} produces a {@link NullPointerException} or 224 public void testConstructorParameter(final Constructor<?> ctor, 226 ctor.setAccessible(true); 229 return ctor.getParameterTypes(); 232 return ctor.getParameterAnnotations(); 237 ctor.newInstance(params) [all...] |
/art/test/068-classloader/src/ |
FancyLoader.java | 85 Constructor ctor; local 90 ctor = mDexClass.getConstructor(new Class[] {String.class}); 97 mDexFile = ctor.newInstance(DEX_FILE);
|
/dalvik/tests/068-classloader/src/ |
FancyLoader.java | 85 Constructor ctor; local 90 ctor = mDexClass.getConstructor(new Class[] {String.class}); 97 mDexFile = ctor.newInstance(DEX_FILE);
|
/frameworks/base/core/jni/ |
android_view_InputDevice.cpp | 33 jmethodID ctor; member in struct:android::__anon32773 59 gInputDeviceClassInfo.ctor, deviceInfo.getId(), deviceInfo.getGeneration(), 93 GET_METHOD_ID(gInputDeviceClassInfo.ctor, gInputDeviceClassInfo.clazz,
|