Searched refs:ctor (Results 1 - 25 of 37) sorted by relevance

12

/external/clang/test/CXX/expr/expr.unary/expr.new/
H A Dp17.cpp3 class ctor { class
4 ctor(); // expected-note{{implicitly declared private here}}
12 new ctor[0]; // expected-error{{calling a private constructor of class 'ctor'}}
/external/v8/test/mjsunit/
H A Ddebug-constructed-by.js36 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
[all...]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/reflect/
H A DConstructorTest.java74 Constructor ctor = pclass.getConstructor(new Class[0]);
75 val = ctor.getDeclaringClass().equals(pclass);
86 Constructor ctor = new ConstructorTestHelper().getClass()
88 exceptions = ctor.getExceptionTypes();
102 Constructor ctor = new ConstructorTestHelper().getClass()
104 mod = ctor.getModifiers();
105 assertTrue("Returned incorrect modifers for public ctor",
113 Constructor ctor = new ConstructorTestHelper().getClass()
115 mod = ctor.getModifiers();
116 assertTrue("Returned incorrect modifers for private ctor",
[all...]
/external/opencv/cv/src/
H A D_cvkdtree.hpp85 __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) {
84 dimension_of_highest_variance(__instype * first, __instype * last, __valuector ctor) argument
117 median_partition(__instype * first, __instype * last, int dim, __valuector ctor) argument
140 median_partition(__instype * first, __instype * last, __instype * k, int dim, __valuector ctor) argument
158 insert(__instype * first, __instype * last, __valuector ctor) argument
248 CvKDTree(__instype * first, __instype * last, int _point_dim, __valuector ctor, __deref _deref = __deref()) argument
262 set_data(__instype * first, __instype * last, int _point_dim, __valuector ctor) argument
[all...]
/external/clang/test/CXX/class/class.union/
H A Dp1.cpp41 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::__anon4185
128 Either<int,Ctor> ctor(0); // expected-note {{in instantiation of template}}
/external/chromium/chrome/browser/resources/shared/js/
H A Dcr.js311 * @param {!Function} ctor The constructor for the class to add the static
314 function addSingletonGetter(ctor) {
315 ctor.getInstance = function() {
316 return ctor.instance_ || (ctor.instance_ = new ctor());
/external/clang/lib/CodeGen/
H A DCGCXX.cpp47 // in many calling conventions, so only bail out if the ctor's
180 // We don't need to emit the complete ctor if the class is abstract.
190 void CodeGenModule::EmitCXXConstructor(const CXXConstructorDecl *ctor, argument
196 !ctor->getParent()->getNumVBases() &&
197 !TryEmitDefinitionAsAlias(GlobalDecl(ctor, Ctor_Complete),
198 GlobalDecl(ctor, Ctor_Base)))
202 getTypes().arrangeCXXConstructorDeclaration(ctor, ctorType);
205 cast<llvm::Function>(GetAddrOfCXXConstructor(ctor, ctorType, &fnInfo));
206 setFunctionLinkage(ctor, fn);
208 CodeGenFunction(*this).GenerateCode(GlobalDecl(ctor, ctorTyp
215 GetAddrOfCXXConstructor(const CXXConstructorDecl *ctor, CXXCtorType ctorType, const CGFunctionInfo *fnInfo) argument
[all...]
H A DCGClass.cpp304 // If the record matches the base, this is the complete ctor/dtor
307 "doing no-op VTT offset in base dtor/ctor?");
731 // a complete ctor and then delegate to the base ctor.
1500 /// \param ctor the constructor to call for each element
1506 CodeGenFunction::EmitCXXAggrConstructorCall(const CXXConstructorDecl *ctor, argument
1516 EmitCXXAggrConstructorCall(ctor, numElements, arrayBegin,
1523 /// \param ctor the constructor to call for each element
1526 /// \param arrayBegin a T*, where T is the type constructed by ctor
1530 CodeGenFunction::EmitCXXAggrConstructorCall(const CXXConstructorDecl *ctor, argument
[all...]
/external/guava/guava-testlib/src/com/google/common/testing/
H A DNullPointerTester.java177 * Verifies that {@code ctor} produces a {@link NullPointerException} or
181 public void testConstructor(Constructor<?> ctor) throws Exception { argument
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, argument
226 ctor.setAccessible(true);
229 return ctor.getParameterTypes();
232 return ctor.getParameterAnnotations();
237 ctor
[all...]
/external/jdiff/src/jdiff/
H A DHTMLIndexes.java563 ConstructorAPI ctor = (ConstructorAPI)(iterCtor.next());
564 ctorNames.add(new Index(className, 0, pkgName, ctor.type_));
568 ConstructorAPI ctor = (ConstructorAPI)(iterCtor.next());
569 Index idx = new Index(className, 1, pkgName, ctor.type_);
570 idx.doc_ = ctor.doc_; // Used for checking @since
575 MemberDiff ctor = (MemberDiff)(iterCtor.next());
576 ctorNames.add(new Index(className, 2, pkgName, ctor.newType_));
588 public char emitCtorIndexEntry(Index ctor, char oldsw, int multipleMarker) { argument
590 String className = ctor.pkgName_ + "." + ctor
[all...]
/external/webkit/Source/JavaScriptCore/qt/tests/qscriptvalue/
H A Dtst_qscriptvalue.h54 void ctor();
/external/openssl/crypto/perlasm/
H A Dx86gas.pl238 { my $ctor="${nmdecor}_GLOBAL_\$I\$$f";
240 $initseg.=".type $ctor,\@function\n" if ($::pic);
242 .globl $ctor
244 $ctor:
/external/robolectric/src/test/java/com/xtremelabs/robolectric/bytecode/
H A DAndroidTranslatorTest.java73 Constructor<ClassWithNoDefaultConstructor> ctor = ClassWithNoDefaultConstructor.class.getDeclaredConstructor();
74 ctor.setAccessible(true);
75 ClassWithNoDefaultConstructor instance = ctor.newInstance();
/external/doclava/src/com/google/doclava/
H A DClassInfo.java1010 for (MethodInfo ctor : ctors) {
1011 if (ctor.isPublic()) {
1012 ctor.makeHDF(data, "class.ctors.public." + i);
1020 for (MethodInfo ctor : ctors) {
1021 if (ctor.isProtected()) {
1022 ctor.makeHDF(data, "class.ctors.protected." + i);
1031 for (MethodInfo ctor : ctors) {
1032 if (ctor.isPackagePrivate()) {
1033 ctor.makeHDF(data, "class.ctors.package." + i);
1042 for (MethodInfo ctor
1513 addConstructor(MethodInfo ctor) argument
[all...]
H A DStubs.java674 MethodInfo ctor = null;
695 ctor = m;
698 if (ctor != null) {
701 ArrayList<ParameterInfo> params = ctor.parameters();
1120 apiWriter.print(" ctor ");
/external/icu4c/test/perf/ustrperf/
H A Dstringperf.cpp161 return new StringPerfFunction(ctor, filelines_, numLines, uselen);
163 return new StringPerfFunction(ctor, StrBuffer, StrBufferLen, uselen);
H A Dstringperf.h386 inline void ctor(const UChar* src,int32_t srcLen, UnicodeString s0) function
/external/v8/src/
H A Dmirror-debugger.js133 * @param {function} ctor Constructor function which needs to inherit the
137 function inherits(ctor, superCtor) {
140 ctor.super_ = superCtor.prototype; class
141 ctor.prototype = new tempCtor();
142 ctor.prototype.constructor = ctor;
764 var ctor = this.constructorFunction();
765 if (!ctor.isFunction()) {
768 name = ctor.name();
H A Dd8.js1634 var ctor = value.constructorFunctionValue();
1635 result += formatHandleReference_(ctor);
2525 var ctor = this.value_.constructorFunction;
2526 return this.packet_.lookup(ctor.ref);
/external/webkit/Source/WebCore/inspector/front-end/UglifyJS/
H A Dprocess.js111 "new": function(ctor, args) {
112 return [ this[0], walk(ctor), MAP(args, walk) ];
911 "new": function(ctor, args) {
912 if (ctor[0] == "name" && ctor[1] == "Array" && !scope.has("Array")) {
1097 "new": function(ctor, args) {
1099 return add_spaces([ "new", parenthesize(ctor, "seq", "binary", "conditional", "assign", function(expr){
/external/webkit/Source/WebCore/bindings/v8/
H A DNPV8Object.cpp535 v8::Handle<v8::Function> ctor(v8::Function::Cast(*ctorObj));
536 if (!ctor->IsNull()) {
541 resultObject = proxy->newInstance(ctor, argumentCount, argv.get());
/external/guava/guava/lib/
H A Djdiff.jarMETA-INF/ META-INF/MANIFEST.MF jdiff/ jdiff/API.class API.java package jdiff ...
/external/clang/lib/Sema/
H A DJumpDiagnostics.cpp200 const CXXConstructorDecl *ctor = cce->getConstructor(); local
201 if (ctor->isTrivial() && ctor->isDefaultConstructor()) {
/external/chromium/testing/gmock/scripts/generator/cpp/
H A Dast.py744 # The token name is the same as the class, must be a ctor if
998 # Force ctor for templatized ctors.
1038 # Handle ctor initializers.
1183 def _GetNestedType(self, ctor):
1191 return ctor(token.start, token.end, name, None,
1196 return ctor(token.start, token.end, name, None,
1204 new_type = ctor(token.start, token.end, name, fields,
1587 # This must be a ctor.
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/configuration/org.eclipse.osgi/bundles/27/1/.cp/lib/
H A Dantsupportlib.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/eclipse/ org/eclipse/ant/ org/eclipse/ant/internal/ ...

Completed in 587 milliseconds

12