Home
last modified time | relevance | path

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

123

/external/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/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/llvm/test/Transforms/GCOVProfiling/
Dglobal-ctor.ll1 ; RUN: echo '!16 = !{!"%/T/global-ctor.ll", !0}' > %t1
4 ; RUN: not grep '_GLOBAL__sub_I_global-ctor' %T/global-ctor.gcno
5 ; RUN: rm %T/global-ctor.gcno
8 …*, i8* }] [{ i32, void ()*, i8* } { i32 65535, void ()* @_GLOBAL__sub_I_global-ctor.ll, i8* null }]
24 define internal void @_GLOBAL__sub_I_global-ctor.ll() #0 section ".text.startup" {
46 !5 = !MDFile(filename: "global-ctor.ll", directory: "/home/nlewycky")
47 !6 = !MDFile(filename: "global-ctor.ll", directory: "/home/nlewycky")
49ctor.ll", isLocal: true, isDefinition: true, virtualIndex: 6, flags: DIFlagArtificial, isOptimized…
/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/jdiff/src/jdiff/
DHTMLIndexes.java563 ConstructorAPI ctor = (ConstructorAPI)(iterCtor.next()); in emitConstructorsIndex() local
564 ctorNames.add(new Index(className, 0, pkgName, ctor.getSignature())); in emitConstructorsIndex()
568 ConstructorAPI ctor = (ConstructorAPI)(iterCtor.next()); in emitConstructorsIndex() local
569 Index idx = new Index(className, 1, pkgName, ctor.getSignature()); 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/guava/guava-testlib/src/com/google/common/testing/
DNullPointerTester.java187 public void testConstructor(Constructor<?> ctor) { in testConstructor() argument
188 Class<?> declaringClass = ctor.getDeclaringClass(); in testConstructor()
192 Class<?>[] types = ctor.getParameterTypes(); in testConstructor()
194 testConstructorParameter(ctor, nullIndex); in testConstructor()
219 public void testConstructorParameter(Constructor<?> ctor, int paramIndex) { in testConstructorParameter() argument
220 ctor.setAccessible(true); in testConstructorParameter()
221 testParameter(null, Invokable.from(ctor), paramIndex, ctor.getDeclaringClass()); in testConstructorParameter()
/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/boringssl/src/crypto/perlasm/
Dx86gas.pl246 { my $ctor="${nmdecor}_GLOBAL_\$I\$$f";
248 $initseg.=".type $ctor,\@function\n" if ($::pic);
250 .globl $ctor
252 $ctor:
/external/doclava/src/com/google/doclava/
DClassInfo.java767 for (MethodInfo ctor : allCtors) { in setRemovedConstructors()
768 if ((this.isRemoved() || ctor.isRemoved()) && (ctor.isPublic() || ctor.isProtected()) && in setRemovedConstructors()
770 ctors.add(ctor); in setRemovedConstructors()
1362 for (MethodInfo ctor : ctors) { in makeHDF()
1363 if (ctor.isPublic()) { in makeHDF()
1364 ctor.makeHDF(data, "class.ctors.public." + i); in makeHDF()
1372 for (MethodInfo ctor : ctors) { in makeHDF()
1373 if (ctor.isProtected()) { in makeHDF()
1374 ctor.makeHDF(data, "class.ctors.protected." + i); in makeHDF()
1383 for (MethodInfo ctor : ctors) { in makeHDF()
[all …]
/external/chromium-trace/trace-viewer/tracing/third_party/components/webcomponentsjs/
DCustomElements.js412 definition.ctor = generateConstructor(definition);
413 definition.ctor.prototype = definition.prototype; class in definition
414 definition.prototype.constructor = definition.ctor;
418 return definition.ctor;
516 return new definition.ctor();
519 return new definition.ctor();
544 isInstance = function(obj, ctor) { argument
547 if (p === ctor.prototype) {
DCustomElements.min.js11ctor=l(d),d.ctor.prototype=d.prototype,d.prototype.constructor=d.ctor,e.ready&&h(document),d.ctor}… class in d
Dwebcomponents-lite.js1473 definition.ctor = generateConstructor(definition);
1474 definition.ctor.prototype = definition.prototype; class in definition
1475 definition.prototype.constructor = definition.ctor;
1479 return definition.ctor;
1577 return new definition.ctor();
1580 return new definition.ctor();
1605 isInstance = function(obj, ctor) { argument
1608 if (p === ctor.prototype) {
Dwebcomponents-lite.min.js11ctor=l(d),d.ctor.prototype=d.prototype,d.prototype.constructor=d.ctor,e.ready&&v(document),d.ctor}… class in d
/external/llvm/test/Transforms/TailCallElim/
Dbasic.ll157 declare void @ctor(%struct.X*)
165 call void @ctor(%struct.X* %agg.result)
166 ; CHECK: tail call void @ctor
170 call void @ctor(%struct.X* %x)
171 ; CHECK: call void @ctor
/external/robolectric/src/test/java/com/xtremelabs/robolectric/bytecode/
DAndroidTranslatorTest.java73 …Constructor<ClassWithNoDefaultConstructor> ctor = ClassWithNoDefaultConstructor.class.getDeclaredC… in testGeneratedDefaultConstructorIsWired() local
74 ctor.setAccessible(true); in testGeneratedDefaultConstructorIsWired()
75 ClassWithNoDefaultConstructor instance = ctor.newInstance(); in testGeneratedDefaultConstructorIsWired()
/external/chromium-trace/trace-viewer/tracing/third_party/vinn/third_party/parse5/test/
Dtest_utils.js24 exports.generateTestsForEachTreeAdapter = function (moduleExports, ctor) { argument
29 ctor(tests, adapter);
/external/elfutils/src/src/
Delf32-i386.script122 /* We don't want to include the .ctor section from
124 The .ctor section from the crtend file contains the
/external/icu/icu4c/source/test/perf/ustrperf/
Dstringperf.cpp161 return new StringPerfFunction(ctor, filelines_, numLines, uselen); in TestCtor()
163 return new StringPerfFunction(ctor, StrBuffer, StrBufferLen, uselen); in TestCtor()
/external/v8/src/
Dmirror-debugger.js137 function inherits(ctor, superCtor) { argument
140 ctor.super_ = superCtor.prototype;
141 ctor.prototype = new tempCtor(); class
142 ctor.prototype.constructor = ctor;
869 var ctor = this.constructorFunction();
870 if (!ctor.isFunction()) {
873 name = ctor.name();
/external/chromium-trace/trace-viewer/tracing/third_party/vinn/third_party/parse5/
DREADME.md72 #### &bull; Parser.ctor([treeAdapter, options])
120 #### &bull; SimpleApiParser.ctor(handlers, [options])
179 #### &bull; Serializer.ctor([treeAdapter, options])
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
DParserRuleReturnScope.as12 * could add a ctor to this so that we can pass in and store the input
/external/llvm/test/DebugInfo/COFF/
Dasan-module-ctor.ll10 ; The module ctor has no debug info. All we have to do is don't crash.
/external/llvm/test/Instrumentation/AddressSanitizer/
Dinstrument_global.ll7 ; module ctor/dtor

123