Searched refs:ctor (Results 1 - 25 of 39) 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...]
H A Dmigrations.js35 objects[i] = ctor_desc.ctor.apply(ctor_desc, ctor_desc.args(i));
86 ctor: function(v) { return {a: v}; },
91 ctor: function(v) { var o = {}; o.a = v; return o; },
96 ctor: function(v) { return {a: v}; },
101 ctor: function(v) { var o = {}; o.a = v; return o; },
106 ctor: function(v) { return {a: v}; },
111 ctor: function(v) { var o = {}; o.a = v; return o; },
116 ctor: function(v1, v2, v3) { return {a: v1, b: v2, c: v3}; },
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; },
126 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/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/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::__anon1498
128 Either<int,Ctor> ctor(0); // expected-note {{in instantiation of template}}
/external/guava/guava-testlib/src/com/google/common/testing/
H A DNullPointerTester.java183 * Verifies that {@code ctor} produces a {@link NullPointerException} or
187 public void testConstructor(Constructor<?> ctor) { argument
188 Class<?> declaringClass = ctor.getDeclaringClass();
192 Class<?>[] types = ctor.getParameterTypes();
194 testConstructorParameter(ctor, nullIndex);
214 * Verifies that {@code ctor} produces a {@link NullPointerException} or
219 public void testConstructorParameter(Constructor<?> ctor, int paramIndex) { argument
220 ctor.setAccessible(true);
221 testParameter(null, Invokable.from(ctor), paramIndex, ctor
[all...]
/external/jdiff/src/jdiff/
H A DHTMLIndexes.java563 ConstructorAPI ctor = (ConstructorAPI)(iterCtor.next());
564 ctorNames.add(new Index(className, 0, pkgName, ctor.getSignature()));
568 ConstructorAPI ctor = (ConstructorAPI)(iterCtor.next());
569 Index idx = new Index(className, 1, pkgName, ctor.getSignature());
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/chromium-trace/trace-viewer/tracing/third_party/components/webcomponentsjs/
H A DCustomElements.js412 definition.ctor = generateConstructor(definition);
413 definition.ctor.prototype = definition.prototype;
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) {
547 if (p === ctor.prototype) {
H A DCustomElements.min.js11 "undefined"==typeof WeakMap&&!function(){var e=Object.defineProperty,t=Date.now()%1e9,o=function(){this.name="__st"+(1e9*Math.random()>>>0)+(t++ +"__")};o.prototype={set:function(t,o){var n=t[this.name];return n&&n[0]===t?n[1]=o:e(t,this.name,{value:[t,o],writable:!0}),this},get:function(e){var t;return(t=e[this.name])&&t[0]===e?t[1]:void 0},"delete":function(e){var t=e[this.name];return t&&t[0]===e?(t[0]=t[1]=void 0,!0):!1},has:function(e){var t=e[this.name];return t?t[0]===e:!1}},window.WeakMap=o}(),window.CustomElements=window.CustomElements||{flags:{}},function(e){var t=e.flags,o=[],n=function(e){o.push(e)},r=function(){o.forEach(function(t){t(e)})};e.addModule=n,e.initializeModules=r,e.hasNative=Boolean(document.registerElement),e.useNative=!t.register&&e.hasNative&&!window.ShadowDOMPolyfill&&(!window.HTMLImports||HTMLImports.useNative)}(CustomElements),CustomElements.addModule(function(e){function t(e,t){o(e,function(e){return t(e)?!0:void n(e,t)}),n(e,t)}function o(e,t,n){var r=e.firstElementChild;if(!r)for(r=e.firstChild;r&&r.nodeType!==Node.ELEMENT_NODE;)r=r.nextSibling;for(;r;)t(r,n)!==!0&&o(r,t,n),r=r.nextElementSibling;return null}function n(e,o){for(var n=e.shadowRoot;n;)t(n,o),n=n.olderShadowRoot}function r(e,t){i=[],a(e,t),i=null}function a(e,t){if(e=wrap(e),!(i.indexOf(e)>=0)){i.push(e);for(var o,n=e.querySelectorAll("link[rel="+u+"]"),r=0,d=n.length;d>r&&(o=n[r]);r++)o["import"]&&a(o["import"],t);t(e)}}var i,u=window.HTMLImports?HTMLImports.IMPORT_LINK_TYPE:"none";e.forDocumentTree=r,e.forSubtree=t}),CustomElements.addModule(function(e){function t(e){return o(e)||n(e)}function o(t){return e.upgrade(t)?!0:void u(t)}function n(e){y(e,function(e){return o(e)?!0:void 0})}function r(e){u(e),f(e)&&y(e,function(e){u(e)})}function a(e){M.push(e),C||(C=!0,setTimeout(i))}function i(){C=!1;for(var e,t=M,o=0,n=t.length;n>o&&(e=t[o]);o++)e();M=[]}function u(e){E?a(function(){d(e)}):d(e)}function d(e){e.__upgraded__&&(e.attachedCallback||e.detachedCallback)&&!e.__attached&&f(e)&&(e.__attached=!0,e.attachedCallback&&e.attachedCallback())}function c(e){s(e),y(e,function(e){s(e)})}function s(e){E?a(function(){l(e)}):l(e)}function l(e){e.__upgraded__&&(e.attachedCallback||e.detachedCallback)&&e.__attached&&!f(e)&&(e.__attached=!1,e.detachedCallback&&e.detachedCallback())}function f(e){for(var t=e,o=wrap(document);t;){if(t==o)return!0;t=t.parentNode||t.host}}function p(e){if(e.shadowRoot&&!e.shadowRoot.__watched){_.dom&&console.log("watching shadow-root for: ",e.localName);for(var t=e.shadowRoot;t;)h(t),t=t.olderShadowRoot}}function m(e){if(_.dom){var o=e[0];if(o&&"childList"===o.type&&o.addedNodes&&o.addedNodes){for(var n=o.addedNodes[0];n&&n!==document&&!n.host;)n=n.parentNode;var r=n&&(n.URL||n._URL||n.host&&n.host.localName)||"";r=r.split("/?").shift().split("/").pop()}console.group("mutations (%d) [%s]",e.length,r||"")}e.forEach(function(e){"childList"===e.type&&(N(e.addedNodes,function(e){e.localName&&t(e)}),N(e.removedNodes,function(e){e.localName&&c(e)}))}),_.dom&&console.groupEnd()}function w(e){for(e=wrap(e),e||(e=wrap(document));e.parentNode;)e=e.parentNode;var t=e.__observer;t&&(m(t.takeRecords()),i())}function h(e){if(!e.__observer){var t=new MutationObserver(m);t.observe(e,{childList:!0,subtree:!0}),e.__observer=t}}function g(e){e=wrap(e),_.dom&&console.group("upgradeDocument: ",e.baseURI.split("/").pop()),t(e),h(e),_.dom&&console.groupEnd()}function v(e){b(e,g)}var _=e.flags,y=e.forSubtree,b=e.forDocumentTree,E=!window.MutationObserver||window.MutationObserver===window.JsMutationObserver;e.hasPolyfillMutations=E;var C=!1,M=[],N=Array.prototype.forEach.call.bind(Array.prototype.forEach),T=Element.prototype.createShadowRoot;T&&(Element.prototype.createShadowRoot=function(){var e=T.call(this);return CustomElements.watchShadow(this),e}),e.watchShadow=p,e.upgradeDocumentTree=v,e.upgradeSubtree=n,e.upgradeAll=t,e.attachedNode=r,e.takeRecords=w}),CustomElements.addModule(function(e){function t(t){if(!t.__upgraded__&&t.nodeType===Node.ELEMENT_NODE){var n=t.getAttribute("is"),r=e.getRegisteredDefinition(n||t.localName);if(r){if(n&&r.tag==t.localName)return o(t,r);if(!n&&!r["extends"])return o(t,r)}}}function o(t,o){return i.upgrade&&console.group("upgrade:",t.localName),o.is&&t.setAttribute("is",o.is),n(t,o),t.__upgraded__=!0,a(t),e.attachedNode(t),e.upgradeSubtree(t),i.upgrade&&console.groupEnd(),t}function n(e,t){Object.__proto__?e.__proto__=t.prototype:(r(e,t.prototype,t["native"]),e.__proto__=t.prototype)}function r(e,t,o){for(var n={},r=t;r!==o&&r!==HTMLElement.prototype;){for(var a,i=Object.getOwnPropertyNames(r),u=0;a=i[u];u++)n[a]||(Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a)),n[a]=1);r=Object.getPrototypeOf(r)}}function a(e){e.createdCallback&&e.createdCallback()}var i=e.flags;e.upgrade=t,e.upgradeWithDefinition=o,e.implementPrototype=n}),CustomElements.addModule(function(e){function t(t,n){var d=n||{};if(!t)throw new Error("document.registerElement: first argument `name` must not be empty");if(t.indexOf("-")<0)throw new Error("document.registerElement: first argument ('name') must contain a dash ('-'). Argument provided was '"+String(t)+"'.");if(r(t))throw new Error("Failed to execute 'registerElement' on 'Document': Registration failed for type '"+String(t)+"'. The type name is invalid.");if(c(t))throw new Error("DuplicateDefinitionError: a type with name '"+String(t)+"' is already registered");return d.prototype||(d.prototype=Object.create(HTMLElement.prototype)),d.__name=t.toLowerCase(),d.lifecycle=d.lifecycle||{},d.ancestry=a(d["extends"]),i(d),u(d),o(d.prototype),s(d.__name,d),d.ctor=l(d),d.ctor.prototype=d.prototype,d.prototype.constructor=d.ctor,e.ready&&h(document),d.ctor}function o(e){if(!e.setAttribute._polyfilled){var t=e.setAttribute;e.setAttribute=function(e,o){n.call(this,e,o,t)};var o=e.removeAttribute;e.removeAttribute=function(e){n.call(this,e,null,o)},e.setAttribute._polyfilled=!0}}function n(e,t,o){e=e.toLowerCase();var n=this.getAttribute(e);o.apply(this,arguments);var r=this.getAttribute(e);this.attributeChangedCallback&&r!==n&&this.attributeChangedCallback(e,n,r)}function r(e){for(var t=0;t<b.length;t++)if(e===b[t])return!0}function a(e){var t=c(e);return t?a(t["extends"]).concat([t]):[]}function i(e){for(var t,o=e["extends"],n=0;t=e.ancestry[n];n++)o=t.is&&t.tag;e.tag=o||e.__name,o&&(e.is=e.__name)}function u(e){if(!Object.__proto__){var t=HTMLElement.prototype;if(e.is){var o=document.createElement(e.tag),n=Object.getPrototypeOf(o);n===e.prototype&&(t=n)}for(var r,a=e.prototype;a&&a!==t;)r=Object.getPrototypeOf(a),a.__proto__=r,a=r;e["native"]=t}}function d(e){return v(M(e.tag),e)}function c(e){return e?E[e.toLowerCase()]:void 0}function s(e,t){E[e]=t}function l(e){return function(){return d(e)}}function f(e,t,o){return e===C?p(t,o):N(e,t)}function p(e,t){var o=c(t||e);if(o){if(e==o.tag&&t==o.is)return new o.ctor;if(!t&&!o.is)return new o.ctor}var n;return t?(n=p(e),n.setAttribute("is",t),n):(n=M(e),e.indexOf("-")>=0&&_(n,HTMLElement),n)}fu (…)
H A Dwebcomponents-lite.js1473 definition.ctor = generateConstructor(definition);
1474 definition.ctor.prototype = definition.prototype;
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) {
1608 if (p === ctor.prototype) {
/external/boringssl/src/crypto/perlasm/
H A Dx86gas.pl246 { my $ctor="${nmdecor}_GLOBAL_\$I\$$f";
248 $initseg.=".type $ctor,\@function\n" if ($::pic);
250 .globl $ctor
252 $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.java767 for (MethodInfo ctor : allCtors) {
768 if ((this.isRemoved() || ctor.isRemoved()) && (ctor.isPublic() || ctor.isProtected()) &&
770 ctors.add(ctor);
1362 for (MethodInfo ctor : ctors) {
1363 if (ctor.isPublic()) {
1364 ctor.makeHDF(data, "class.ctors.public." + i);
1372 for (MethodInfo ctor : ctors) {
1373 if (ctor
1976 addConstructor(MethodInfo ctor) argument
[all...]
H A DStubs.java789 MethodInfo ctor = null;
810 ctor = m;
813 if (ctor != null) {
816 ArrayList<ParameterInfo> params = ctor.parameters();
1334 apiWriter.print(" ctor ");
/external/chromium-trace/trace-viewer/tracing/third_party/vinn/third_party/parse5/test/
H A Dtest_utils.js24 exports.generateTestsForEachTreeAdapter = function (moduleExports, ctor) {
29 ctor(tests, adapter);
/external/icu/icu4c/source/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;
869 var ctor = this.constructorFunction();
870 if (!ctor.isFunction()) {
873 name = ctor.name();
H A Dd8.js1249 var ctor = value.constructorFunctionValue();
1250 result += formatHandleReference_(ctor);
1881 var ctor = this.value_.constructorFunction;
1882 return this.packet_.lookup(ctor.ref);
/external/guava/guava/lib/
H A Djdiff.jarMETA-INF/ META-INF/MANIFEST.MF jdiff/ jdiff/API.class API.java package jdiff ...
/external/clang/lib/CodeGen/
H A DCGClass.cpp319 // If the record matches the base, this is the complete ctor/dtor
322 "doing no-op VTT offset in base dtor/ctor?");
707 // Emit code in ctor (Prologue==true) or dtor (Prologue==false)
780 "can only generate complete ctor for this ABI");
806 // a complete ctor and then delegate to the base ctor.
1609 /// \param ctor the constructor to call for each element
1615 const CXXConstructorDecl *ctor, const ConstantArrayType *arrayType,
1621 EmitCXXAggrConstructorCall(ctor, numElements, arrayBegin, E, zeroInitialize);
1627 /// \param ctor th
1614 EmitCXXAggrConstructorCall( const CXXConstructorDecl *ctor, const ConstantArrayType *arrayType, llvm::Value *arrayBegin, const CXXConstructExpr *E, bool zeroInitialize) argument
1633 EmitCXXAggrConstructorCall(const CXXConstructorDecl *ctor, llvm::Value *numElements, llvm::Value *arrayBegin, const CXXConstructExpr *E, bool zeroInitialize) argument
[all...]
/external/clang/test/CodeGenCXX/
H A Dconst-init-cxx11.cpp459 int ctor() { constexpr Ctor a = { f(102) }; return a.k; } function in namespace:LocalVarInit
/external/google-breakpad/src/testing/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 3549 milliseconds

12