Searched defs:ctor (Results 1 - 25 of 41) sorted by relevance

12

/external/chromium_org/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/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/chromium_org/tools/deep_memory_profiler/visualizer/static/third_party/jqTree/
H A Dtree.jquery.js23 __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }; class
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
H A Dgoogleinit.h41 GoogleInitializer(const char* name, VoidFunction ctor, VoidFunction dtor) argument
54 if (ctor)
55 ctor();
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
H A Dgoogleinit.h41 GoogleInitializer(const char* name, VoidFunction ctor, VoidFunction dtor) argument
44 if (ctor)
45 ctor();
/external/chromium_org/v8/test/mjsunit/es6/
H A Dcollections.js1010 function TestSetConstructor(ctor) {
1011 var s = new ctor(null);
1014 s = new ctor(undefined);
1019 new ctor({});
1022 new ctor(true);
1029 new ctor(object);
1038 new ctor(object);
1045 s = new ctor(s2.values());
1055 function TestSetConstructorAddNotCallable(ctor) {
1056 var originalPrototypeAdd = ctor
1060 ctor.prototype.add = originalPrototypeAdd; class
[all...]
/external/chromium_org/third_party/WebKit/PerformanceTests/Dromaeo/resources/dromaeo/web/lib/
H A Ddojo-1.6.1.js2637 if(meta && meta.ctor !== caller){
2646 if(meta && meta.ctor === caller){
2656 f = meta ? meta.ctor : base;
2793 f = m ? m.ctor : f;
2808 function singleConstructor(ctor, ctorSpecial){
2841 if(ctor){
2842 ctor.apply(this, a);
2868 f = m ? m.ctor : f;
2899 // forceNew(ctor)
2900 // return a new object that inherits from ctor
2966 ctor.prototype = proto; class
[all...]
/external/chromium_org/third_party/usrsctp/usrsctplib/
H A Duser_uma.h85 uma_zcreate(char *name, size_t size, uma_ctor ctor, uma_dtor dtor,
92 uma_zcreate(char *name, size_t size, uma_ctor ctor, uma_dtor dtor, argument
/external/chromium_org/ui/webui/resources/js/
H A Dcr.js288 * @param {!Function} ctor The constructor for the class to add the static
291 function addSingletonGetter(ctor) {
292 ctor.getInstance = function() {
293 return ctor.instance_ || (ctor.instance_ = new ctor());
299 * @param {Function} ctor Constructor that have private implementations in its
305 function makePublic(ctor, methods, opt_target) {
307 ctor[method] = function() {
309 ctor
[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/chromium_org/chrome/browser/resources/chromeos/chromevox/common/
H A Dspannable.js291 function(v) { return v.ctor === span.value.constructor; });
347 var obj = {name: name, ctor: constructor,
364 var obj = {name: name, ctor: constructor, toJson: undefined};
378 * @typedef {{ctor: !Function, name: string,
/external/chromium_org/third_party/webrtc/modules/video_capture/android/
H A Dvideo_capture_android.cc162 jmethodID ctor = env->GetMethodID(g_java_capturer_class, "<init>", "(IJ)V"); local
163 assert(ctor);
166 env->NewObject(g_java_capturer_class, ctor, camera_id, j_this));
/external/clang/lib/CodeGen/
H A DCGCXX.cpp37 // Producing an alias to a base class ctor/dtor can degrade debug quality
56 // in many calling conventions, so only bail out if the ctor's
199 void CodeGenModule::EmitCXXConstructor(const CXXConstructorDecl *ctor, argument
204 } else if (!ctor->getParent()->getNumVBases() &&
209 !TryEmitDefinitionAsAlias(GlobalDecl(ctor, Ctor_Complete),
210 GlobalDecl(ctor, Ctor_Base), true);
216 getTypes().arrangeCXXConstructorDeclaration(ctor, ctorType);
219 GetAddrOfCXXConstructor(ctor, ctorType, &fnInfo, true));
220 setFunctionLinkage(GlobalDecl(ctor, ctorType), fn);
222 CodeGenFunction(*this).GenerateCode(GlobalDecl(ctor, ctorTyp
229 GetAddrOfCXXConstructor(const CXXConstructorDecl *ctor, CXXCtorType ctorType, const CGFunctionInfo *fnInfo, bool DontDefer) argument
[all...]
H A DCGClass.cpp307 // If the record matches the base, this is the complete ctor/dtor
310 "doing no-op VTT offset in base dtor/ctor?");
702 "can only generate complete ctor for this ABI");
728 // a complete ctor and then delegate to the base ctor.
1513 /// \param ctor the constructor to call for each element
1519 CodeGenFunction::EmitCXXAggrConstructorCall(const CXXConstructorDecl *ctor, argument
1529 EmitCXXAggrConstructorCall(ctor, numElements, arrayBegin,
1536 /// \param ctor the constructor to call for each element
1539 /// \param arrayBegin a T*, where T is the type constructed by ctor
1543 EmitCXXAggrConstructorCall(const CXXConstructorDecl *ctor, llvm::Value *numElements, llvm::Value *arrayBegin, CallExpr::const_arg_iterator argBegin, CallExpr::const_arg_iterator argEnd, bool zeroInitialize) argument
[all...]
H A DCGObjC.cpp1357 bool ctor) {
1362 if (ctor) {
1355 GenerateObjCCtorDtorMethod(ObjCImplementationDecl *IMP, ObjCMethodDecl *MD, bool ctor) argument
/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::__anon18353
128 Either<int,Ctor> ctor(0); // expected-note {{in instantiation of template}}
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
H A DNPV8Object.cpp612 v8::Handle<v8::Function> ctor = v8::Handle<v8::Function>::Cast(ctorObj); local
613 if (!ctor->IsNull()) {
617 resultObject = V8ObjectConstructor::newInstanceInDocument(isolate, ctor, argumentCount, argv.get(), frame ? frame->document() : 0);
/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/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/chromium_org/third_party/icu/source/test/perf/ustrperf/
H A Dstringperf.h386 inline void ctor(const UChar* src,int32_t srcLen, UnicodeString s0) function
/external/icu/icu4c/source/test/perf/ustrperf/
H A Dstringperf.h386 inline void ctor(const UChar* src,int32_t srcLen, UnicodeString s0) function
/external/chromium_org/chrome/third_party/chromevox/third_party/closure-library/closure/goog/
H A Dbase.js552 * @param {!Function} ctor The constructor for the class to add the static
555 goog.addSingletonGetter = function(ctor) {
556 ctor.getInstance = function() {
557 if (ctor.instance_) {
558 return ctor.instance_;
562 goog.instantiatedSingletons_[goog.instantiatedSingletons_.length] = ctor;
564 return ctor.instance_ = new ctor;
1655 for (var ctor = me.constructor;
1656 ctor; cto
[all...]
/external/clang/test/CodeGenCXX/
H A Dconst-init-cxx11.cpp450 int ctor() { constexpr Ctor a = { f(102) }; return a.k; } function in namespace:LocalVarInit
/external/chromium_org/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;
869 var ctor = this.constructorFunction();
870 if (!ctor.isFunction()) {
873 name = ctor.name();
/external/doclava/src/com/google/doclava/
H A DClassInfo.java767 for (MethodInfo ctor : allCtors) {
768 if ((this.isRemoved() || ctor.isRemoved()) && (ctor.isPublic() || ctor.isProtected()) &&
770 ctors.add(ctor);
1351 for (MethodInfo ctor : ctors) {
1352 if (ctor.isPublic()) {
1353 ctor.makeHDF(data, "class.ctors.public." + i);
1361 for (MethodInfo ctor : ctors) {
1362 if (ctor
1965 addConstructor(MethodInfo ctor) argument
[all...]

Completed in 1125 milliseconds

12