Home
last modified time | relevance | path

Searched refs:ctor (Results 1 – 25 of 110) sorted by relevance

12345

/external/chromium_org/v8/test/mjsunit/
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.constructedBy().length);
[all …]
Dmigrations.js35 objects[i] = ctor_desc.ctor.apply(ctor_desc, ctor_desc.args(i));
86 ctor: function(v) { return {a: v}; }, method
91 ctor: function(v) { var o = {}; o.a = v; return o; }, method
96 ctor: function(v) { return {a: v}; }, method
101 ctor: function(v) { var o = {}; o.a = v; return o; }, method
106 ctor: function(v) { return {a: v}; }, method
111 ctor: function(v) { var o = {}; o.a = v; return o; }, method
116 ctor: function(v1, v2, v3) { return {a: v1, b: v2, c: v3}; }, method
121 ctor: function(v) { var o = {}; o.h=o.g=o.f=o.e=o.d=o.c=o.b=o.a=v; return o; }, method
126 ctor: function(v) { var o = 1; o.a = v; return o; }, method
[all …]
/external/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/
DAndroid.mk17 …xternal/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/Android.mk
19 test_name := utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/move_convert04
23 test_name := utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/pointer01
27 test_name := utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/move_convert07
31 test_name := utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/pointer_deleter03
35 test_name := utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/pointer03
39 test_name := utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/pointer_deleter04
43 test_name := utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/move02
47 test_name := utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/pointer02
51 test_name := utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.ctor/move_convert05
[all …]
/external/chromium_org/v8/test/mjsunit/es6/
Dcollections.js1010 function TestSetConstructor(ctor) { argument
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) { argument
1056 var originalPrototypeAdd = ctor.prototype.add;
[all …]
/external/opencv/cv/src/
D_cvkdtree.hpp85 __valuector ctor) { in dimension_of_highest_variance() argument
93 mean += deref(ctor(*k), j); in dimension_of_highest_variance()
97 accum_type diff = accum_type(deref(ctor(*k), j)) - mean; in dimension_of_highest_variance()
118 int dim, __valuector ctor) { in median_partition() argument
121 median_partition(first, last, k, dim, ctor); in median_partition()
130 __valuector ctor; member
132 : pivot(_pivot), dim(_dim), deref(_deref), ctor(_ctor) { in median_pr()
135 return deref(ctor(lhs), dim) <= deref(ctor(pivot), dim); in operator ()()
141 __instype * k, int dim, __valuector ctor) { in median_partition() argument
147 (last[-1], dim, deref, ctor)); in median_partition()
[all …]
/external/libcxx/test/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.ctor/
DAndroid.mk17 …ernal/libcxx/test/utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.ctor/Android.mk
19 test_name := utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.ctor/pointer01
23 test_name := utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.ctor/pointer_deleter…
27 test_name := utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.ctor/pointer_deleter…
31 test_name := utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.ctor/move02
35 test_name := utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.ctor/pointer02
39 test_name := utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.ctor/move01
43 test_name := utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.ctor/pointer_deleter…
47 test_name := utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.ctor/default01
51 test_name := utilities/memory/unique.ptr/unique.ptr.runtime/unique.ptr.runtime.ctor/default02
[all …]
/external/libcxx/test/utilities/optional/optional.object/optional.object.ctor/
DAndroid.mk17 test_makefile := external/libcxx/test/utilities/optional/optional.object/optional.object.ctor/Andro…
19 test_name := utilities/optional/optional.object/optional.object.ctor/rvalue_T
23 test_name := utilities/optional/optional.object/optional.object.ctor/default
27 test_name := utilities/optional/optional.object/optional.object.ctor/copy
31 test_name := utilities/optional/optional.object/optional.object.ctor/const_T
35 test_name := utilities/optional/optional.object/optional.object.ctor/move
39 test_name := utilities/optional/optional.object/optional.object.ctor/initializer_list
43 test_name := utilities/optional/optional.object/optional.object.ctor/nullopt_t
47 test_name := utilities/optional/optional.object/optional.object.ctor/in_place_t
/external/llvm/test/Transforms/GCOVProfiling/
Dglobal-ctor.ll1 ; RUN: echo '!16 = metadata !{metadata !"%T/global-ctor.ll", metadata !0}' > %t1
4 ; RUN: not grep '_GLOBAL__sub_I_global-ctor' %T/global-ctor.gcno
5 ; RUN: rm %T/global-ctor.gcno
10 …*, i8* }] [{ i32, void ()*, i8* } { i32 65535, void ()* @_GLOBAL__sub_I_global-ctor.ll, i8* null }]
26 define internal void @_GLOBAL__sub_I_global-ctor.ll() #0 section ".text.startup" {
48 !5 = metadata !{metadata !"global-ctor.ll", metadata !"/home/nlewycky"}
49 …metadata !{i32 786473, metadata !5} ; [ DW_TAG_file_type ] [/home/nlewycky/global-ctor.ll]
51 …__sub_I_global-ctor.ll", i32 0, metadata !7, i1 true, i1 true, i32 0, i32 0, null, i32 64, i1 fals…
58 … !{i32 786443, metadata !5, metadata !8} ; [ DW_TAG_lexical_block ] [/home/nlewycky/global-ctor.ll]
/external/chromium-trace/trace-viewer/src/base/
Dutils.js16 function addSingletonGetter(ctor) { argument
17 ctor.getInstance = function() {
18 return ctor.instance_ || (ctor.instance_ = new ctor());
/external/clang/lib/CodeGen/
DCGCXX.cpp199 void CodeGenModule::EmitCXXConstructor(const CXXConstructorDecl *ctor, in EmitCXXConstructor() argument
204 } else if (!ctor->getParent()->getNumVBases() && in EmitCXXConstructor()
209 !TryEmitDefinitionAsAlias(GlobalDecl(ctor, Ctor_Complete), in EmitCXXConstructor()
210 GlobalDecl(ctor, Ctor_Base), true); in EmitCXXConstructor()
216 getTypes().arrangeCXXConstructorDeclaration(ctor, ctorType); in EmitCXXConstructor()
219 GetAddrOfCXXConstructor(ctor, ctorType, &fnInfo, true)); in EmitCXXConstructor()
220 setFunctionLinkage(GlobalDecl(ctor, ctorType), fn); in EmitCXXConstructor()
222 CodeGenFunction(*this).GenerateCode(GlobalDecl(ctor, ctorType), fn, fnInfo); in EmitCXXConstructor()
224 setFunctionDefinitionAttributes(ctor, fn); in EmitCXXConstructor()
225 SetLLVMFunctionAttributesForDefinition(ctor, fn); in EmitCXXConstructor()
[all …]
/external/chromium_org/ui/webui/resources/js/
Dcr.js291 function addSingletonGetter(ctor) { argument
292 ctor.getInstance = function() {
293 return ctor.instance_ || (ctor.instance_ = new ctor());
305 function makePublic(ctor, methods, opt_target) { argument
307 ctor[method] = function() { function
309 ctor.getInstance();
/external/chromium_org/chrome/browser/resources/net_internals/
Dutil.js164 function assertFirstConstructorCall(ctor) { argument
166 if (ctor.hasCreateFirstInstance_) {
167 throw Error('The class ' + ctor.name + ' is a singleton, and should ' +
168 'only be accessed using ' + ctor.name + '.getInstance().');
170 ctor.hasCreateFirstInstance_ = true;
/external/clang/test/CXX/expr/expr.unary/expr.new/
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'}} in test()
/external/guava/guava-testlib/src/com/google/common/testing/
DNullPointerTester.java181 public void testConstructor(Constructor<?> ctor) throws Exception { in testConstructor() argument
182 Class<?>[] types = ctor.getParameterTypes(); in testConstructor()
184 testConstructorParameter(ctor, nullIndex); in testConstructor()
224 public void testConstructorParameter(final Constructor<?> ctor, in testConstructorParameter() argument
226 ctor.setAccessible(true); in testConstructorParameter()
229 return ctor.getParameterTypes(); in testConstructorParameter()
232 return ctor.getParameterAnnotations(); in testConstructorParameter()
237 ctor.newInstance(params); in testConstructorParameter()
239 }, paramIndex, ctor.getDeclaringClass()); in testConstructorParameter()
/external/chromium_org/chrome/third_party/chromevox/third_party/closure-library/closure/goog/
Dbase.js555 goog.addSingletonGetter = function(ctor) { argument
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; ctor = ctor.superClass_ && ctor.superClass_.constructor) {
1657 if (ctor.prototype[opt_methodName] === caller) {
1660 return ctor.prototype[opt_methodName].apply(me, args); class
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
Dgoogleinit.h41 GoogleInitializer(const char* name, VoidFunction ctor, VoidFunction dtor) in GoogleInitializer() argument
54 if (ctor) in GoogleInitializer()
55 ctor(); in GoogleInitializer()
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
Dgoogleinit.h41 GoogleInitializer(const char* name, VoidFunction ctor, VoidFunction dtor) in GoogleInitializer() argument
44 if (ctor) in GoogleInitializer()
45 ctor(); in GoogleInitializer()
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/plugin_settings/domui/js/
Dcr.js322 function addSingletonGetter(ctor) { argument
323 ctor.getInstance = function() {
324 return ctor.instance_ || (ctor.instance_ = new ctor());
/external/chromium_org/chrome/common/extensions/docs/examples/api/fontSettings/js/
Dcr.js280 function addSingletonGetter(ctor) { argument
281 ctor.getInstance = function() {
282 return ctor.instance_ || (ctor.instance_ = new ctor());
/external/jdiff/src/jdiff/
DHTMLIndexes.java563 ConstructorAPI ctor = (ConstructorAPI)(iterCtor.next()); in emitConstructorsIndex() local
564 ctorNames.add(new Index(className, 0, pkgName, ctor.type_)); in emitConstructorsIndex()
568 ConstructorAPI ctor = (ConstructorAPI)(iterCtor.next()); in emitConstructorsIndex() local
569 Index idx = new Index(className, 1, pkgName, ctor.type_); in emitConstructorsIndex()
570 idx.doc_ = ctor.doc_; // Used for checking @since in emitConstructorsIndex()
575 MemberDiff ctor = (MemberDiff)(iterCtor.next()); in emitConstructorsIndex() local
576 ctorNames.add(new Index(className, 2, pkgName, ctor.newType_)); in emitConstructorsIndex()
588 public char emitCtorIndexEntry(Index ctor, char oldsw, int multipleMarker) { in emitCtorIndexEntry() argument
590 String className = ctor.pkgName_ + "." + ctor.name_; in emitCtorIndexEntry()
591 String memberRef = ctor.pkgName_ + "." + ctor.name_; in emitCtorIndexEntry()
[all …]
/external/clang/test/CXX/class/class.union/
Dp1.cpp41 Ctor ctor; // expected-error {{union member 'ctor' has a non-trivial constructor}} member
58 …Ctor ctor; // expected-note {{because field of type 'Ctor' has a user-provided default constructor… member
128 Either<int,Ctor> ctor(0); // expected-note {{in instantiation of template}} in fred() local
/external/libcxx/test/input.output/iostream.format/input.streams/istream/istream_sentry/
DAndroid.mk19 test_name := input.output/iostream.format/input.streams/istream/istream_sentry/ctor
20 test_src := ctor.pass.cpp
/external/openssl/crypto/perlasm/
Dx86gas.pl238 { my $ctor="${nmdecor}_GLOBAL_\$I\$$f";
240 $initseg.=".type $ctor,\@function\n" if ($::pic);
242 .globl $ctor
244 $ctor:
/external/libcxx/test/localization/locale.categories/category.ctype/locale.ctype/
DAndroid.mk23 test_name := localization/locale.categories/category.ctype/locale.ctype/ctor
24 test_src := ctor.pass.cpp
/external/libcxx/test/localization/locale.categories/category.time/locale.time.put/
DAndroid.mk23 test_name := localization/locale.categories/category.time/locale.time.put/ctor
24 test_src := ctor.pass.cpp

12345