/external/clang/test/CXX/dcl.decl/dcl.fct.def/dcl.fct.def.default/ |
p2.cpp | 6 constexpr S1() = default; // expected-error {{defaulted definition of default constructor is not constexpr}} 21 constexpr S2(const S2&) = default; // expected-error {{defaulted definition of copy constructor is not constexpr}} 22 constexpr S2(S2&&) = default; // expected-error {{defaulted definition of move constructor is not constexpr}} 39 constexpr S3 s3d; // expected-error {{default initialization of an object of const type 'const S3' requires a user-provided default constructor}} 48 constexpr S4 s4b = S4(); // expected-error {{constant expression}} expected-note {{non-constexpr constructor}} 49 constexpr S4 s4c = s4a; // expected-error {{constant expression}} expected-note {{non-constexpr constructor}} 70 E2() noexcept(false) = default; // expected-error {{exception specification of explicitly defaulted default constructor does not match the calculated one}} 71 E2(const E2&) noexcept(false) = default; // expected-error {{exception specification of explicitly defaulted copy constructor does not match the calculated one}} 72 E2(E2&&) noexcept(false) = default; // expected-error {{exception specification of explicitly defaulted move constructor does not match the calculated one}} 122 const B b; // expected-error {{default initialization of an object of const type 'const PR13492::B' requires a user-provided default constructor}} [all...] |
/external/doclava/test/api/ |
changed-class-info.xml | 12 <constructor name="Abstract" 19 </constructor> 51 <constructor name="Bunk" 58 </constructor> 92 <constructor name="DeBunk" 99 </constructor> 124 <constructor name="Extender" 131 </constructor> 207 <constructor name="Foo" 214 </constructor> [all...] |
changed-class-info2.xml | 12 <constructor name="Abstract" 19 </constructor> 51 <constructor name="Bunk" 58 </constructor> 92 <constructor name="DeBunk" 99 </constructor> 124 <constructor name="Extender" 131 </constructor> 207 <constructor name="Foo" 214 </constructor> [all...] |
/external/webkit/Source/JavaScriptCore/qt/api/ |
qscriptoriginalglobalobject_p.h | 52 inline bool isType(JSValueRef value, JSObjectRef constructor, JSValueRef prototype) const; 53 inline void initializeMember(JSObjectRef globalObject, JSStringRef prototypeName, const char* type, JSObjectRef& constructor, JSValueRef& prototype); 105 inline void QScriptOriginalGlobalObject::initializeMember(JSObjectRef globalObject, JSStringRef prototypeName, const char* type, JSObjectRef& constructor, JSValueRef& prototype) 110 // Save references to the Type constructor and prototype. 113 constructor = JSValueToObject(m_context, typeConstructor, &exception); 114 JSValueProtect(m_context, constructor); 119 prototype = JSObjectGetProperty(m_context, constructor, prototypeName, &exception); 199 inline bool QScriptOriginalGlobalObject::isType(JSValueRef value, JSObjectRef constructor, JSValueRef prototype) const 202 // is an object of the Type if it was created with the Type constructor or if it is the Type.prototype. 204 bool result = JSValueIsInstanceOfConstructor(m_context, value, constructor, &exception) || JSValueIsStrictEqual(m_context, value, prototype) [all...] |
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
FieldPositionTest.java | 28 // Test for constructor java.text.FieldPosition(int) 30 assertEquals("Test1: Constructor failed to set field identifier!", 32 assertNull("Constructor failed to set field attribute!", fpos 40 // Test for constructor java.text.FieldPosition(Format.Field) 42 assertSame("Constructor failed to set field attribute!", 44 assertEquals("Test1: Constructor failed to set field identifier!", -1, 52 // Test for constructor java.text.FieldPosition(Format.Field, int) 55 assertSame("Constructor failed to set field attribute!", 57 assertEquals("Test1: Constructor failed to set field identifier!", 63 assertSame("Constructor failed to set field attribute!" [all...] |
/external/doclava/src/com/google/doclava/ |
SinceTagger.java | 157 for (MethodInfo constructor : doc.constructors()) { 158 if (constructor.getSince() == null 159 && spec.hasConstructor(constructor)) { 160 constructor.setSince(versionName); 164 if (constructor.isDeprecated() && constructor.getDeprecatedSince() == null) { 166 if (spec.allConstructorsMap().containsKey(constructor.getHashableName())) { 167 MethodInfo specConstructor = spec.allConstructorsMap().get(constructor.getHashableName()); 169 constructor.setDeprecatedSince(versionName); 249 for (MethodInfo constructor : missingVersions(claz.constructors())) [all...] |
/frameworks/base/docs/html/sdk/api_diff/16/changes/ |
constructors_index_all.html | 10 Constructor Differences Index 65 (<code>ClipData</code>)</A></nobr> constructor<br> 68 (<code>CharSequence, String</code>)</A></nobr> constructor<br> 70 (<code>CharSequence, String, Intent, Uri</code>)</A></nobr> constructor<br> 86 ()</A></nobr> constructor<br> 88 ()</A></nobr> constructor<br> 90 ()</A></nobr> constructor<br> 92 ()</A></nobr> constructor<br> 94 ()</A></nobr> constructor<br> 110 (<code>String, Throwable</code>)</A></nobr> constructor<br [all...] |
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
TextReport.java | 60 for (ApiConstructor constructor : constructors) { 61 printConstructor(constructor, out); 87 private static void printConstructor(ApiConstructor constructor, PrintStream out) { 89 .append(constructor.isCovered() ? "X" : " ") 90 .append("] ").append(constructor.getName()).append("("); 92 List<String> parameterTypes = constructor.getParameterTypes();
|
/external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/spec/ |
PSourceTest.java | 56 assertFalse("The change of p specified in the constructor " 63 * array specified in the constructor. Checks that modification 73 + "in the constructor."); 83 * equal to the value specified in the constructor. 96 * equal to the value specified in the constructor. 102 + "in constructor", pSrcName.equals(ps.getAlgorithm()));
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/ |
X509Principal.java | 42 * Constructor from an encoded byte array. 52 * Constructor from an X509Name object. 61 * Constructor from an X509Name object. 70 * constructor from a table of attributes. 81 * constructor from a table of attributes and a vector giving the 94 * constructor from a vector of attribute values and a vector of OIDs.
|
/external/clang/test/SemaCXX/ |
rval-references.cpp | 75 MoveOnly(const MoveOnly&) = delete; // expected-note {{candidate constructor}} \ 77 MoveOnly(MoveOnly&&); // expected-note {{candidate constructor}} 78 MoveOnly(int&&); // expected-note {{candidate constructor}} 87 return gmo; // expected-error {{call to deleted constructor}} 89 return mo; // expected-error {{call to deleted constructor}} 91 return r; // expected-error {{call to deleted constructor}}
|
/external/junit/src/org/junit/runners/model/ |
TestClass.java | 6 import java.lang.reflect.Constructor; 30 * constructor executes, the class is scanned for annotations, which can be 38 "Test class can only have one constructor"); 121 * Returns the only public constructor in the class, or throws an {@code 125 public Constructor<?> getOnlyConstructor() { 126 Constructor<?>[] constructors= fClass.getConstructors();
|
/external/stlport/stlport/stl/ |
_move_construct_fwk.h | 27 * Move constructor framework 50 //Class used to signal move constructor support, implementation and type. 54 * implemented tells if a the special move constructor has to be called or the classic 55 * copy constructor is just fine. Most of the time the copy constructor is fine only 125 * Most of the time a class implement a move constructor but its use depends
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/FunctionObjects/ |
15.3.2.1-1.js | 24 ECMA Section: 15.3.2.1 The Function Constructor 42 var TITLE = "The Function Constructor"; 68 array[item++] = new TestCase( SECTION, "myfunc.prototype.constructor", myfunc, myfunc.prototype.constructor ); 78 array[item++] = new TestCase( SECTION, "MyObject.prototype.constructor", MyObject, MyObject.prototype.constructor );
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
PSourceTest.java | 56 assertFalse("The change of p specified in the constructor " 63 * array specified in the constructor. Checks that modification 73 + "in the constructor."); 84 * equal to the value specified in the constructor. 97 * equal to the value specified in the constructor. 103 + "in constructor", pSrcName.equals(ps.getAlgorithm()));
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
_move_construct_fwk.h | 27 * Move constructor framework 50 //Class used to signal move constructor support, implementation and type. 54 * implemented tells if a the special move constructor has to be called or the classic 55 * copy constructor is just fine. Most of the time the copy constructor is fine only 125 * Most of the time a class implement a move constructor but its use depends
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
CompatUtils.java | 22 import java.lang.reflect.Constructor; 66 public static Constructor<?> getConstructor(final Class<?> targetClass, 79 public static Object newInstance(final Constructor<?> constructor, final Object ... args) { 80 if (constructor == null) return null; 82 return constructor.newInstance(args);
|
/prebuilts/ndk/5/sources/cxx-stl/stlport/stlport/stl/ |
_move_construct_fwk.h | 27 * Move constructor framework 50 //Class used to signal move constructor support, implementation and type. 54 * implemented tells if a the special move constructor has to be called or the classic 55 * copy constructor is just fine. Most of the time the copy constructor is fine only 125 * Most of the time a class implement a move constructor but its use depends
|
/prebuilts/ndk/6/sources/cxx-stl/stlport/stlport/stl/ |
_move_construct_fwk.h | 27 * Move constructor framework 50 //Class used to signal move constructor support, implementation and type. 54 * implemented tells if a the special move constructor has to be called or the classic 55 * copy constructor is just fine. Most of the time the copy constructor is fine only 125 * Most of the time a class implement a move constructor but its use depends
|
/prebuilts/ndk/7/sources/cxx-stl/stlport/stlport/stl/ |
_move_construct_fwk.h | 27 * Move constructor framework 50 //Class used to signal move constructor support, implementation and type. 54 * implemented tells if a the special move constructor has to be called or the classic 55 * copy constructor is just fine. Most of the time the copy constructor is fine only 125 * Most of the time a class implement a move constructor but its use depends
|
/prebuilts/ndk/8/sources/cxx-stl/stlport/stlport/stl/ |
_move_construct_fwk.h | 27 * Move constructor framework 50 //Class used to signal move constructor support, implementation and type. 54 * implemented tells if a the special move constructor has to be called or the classic 55 * copy constructor is just fine. Most of the time the copy constructor is fine only 125 * Most of the time a class implement a move constructor but its use depends
|
/cts/tests/tests/widget/src/android/widget/cts/ |
RadioButtonTest.java | 46 fail("The constructor should throw NullPointerException when param Context is null."); 53 fail("The constructor should throw NullPointerException when param Context is null."); 61 fail("The constructor should throw NullPointerException when param Context is null.");
|
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
DHGenParameterSpecTest.java | 39 * parameters specified in the constructor with the values returned 49 + "equal to the value specified in the constructor", 52 + "equal to the value specified in the constructor",
|
RC5ParameterSpecTest.java | 40 * inappropriate constructor parameters and that input iv array is 73 assertFalse("The change of iv specified in the constructor " 81 * the case of inappropriate constructor parameters and that input iv array 123 assertFalse("The change of iv specified in the constructor " 138 * equal to the value specified in the constructor. 147 + "value specified in the constructor.", 153 * equal to the value specified in the constructor. 162 + "value specified in the constructor.", 168 * equal to the value specified in the constructor. 177 + "value specified in the constructor." [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
KSCallbackHandlerProtectionTest.java | 33 * Tests for <code>KeyStore.CallbackHandlerProtection> class constructor and methods 40 * Constructor for KSCallbackHandlerProtectionTest. 49 * constructor
|