/system/extras/tests/bionic/libc/bionic/ |
libdlclosetest2.c | 35 * and initialize it to 1 in the static Foo_create constructor. 42 static void __attribute__((constructor))
|
/external/webkit/Source/WebCore/bindings/js/ |
JSDOMGlobalObject.h | 89 if (JSC::JSObject* constructor = const_cast<JSDOMGlobalObject*>(globalObject)->constructors().get(&ConstructorClass::s_info).get()) 90 return constructor; 91 JSC::JSObject* constructor = new (exec) ConstructorClass(exec, const_cast<JSDOMGlobalObject*>(globalObject)); 94 const_cast<JSDOMGlobalObject*>(globalObject)->constructors().add(&ConstructorClass::s_info, temp).first->second.set(exec->globalData(), globalObject, constructor); 95 return constructor;
|
/packages/apps/Camera/src/com/android/camera/ |
PreferenceInflater.java | 23 import java.lang.reflect.Constructor; 41 private static final HashMap<String, Constructor<?>> sConstructorMap = 42 new HashMap<String, Constructor<?>>(); 56 Constructor<?> constructor = sConstructorMap.get(name); local 58 if (constructor == null) { 62 constructor = clazz.getConstructor(CTOR_SIGNATURE); 63 sConstructorMap.put(name, constructor); 65 return (CameraPreference) constructor.newInstance(args);
|
/cts/tests/SignatureTest/tests/src/android/tests/sigtest/tests/ |
JDiffClassDescriptionTest.java | 102 JDiffClassDescription.JDiffConstructor constructor = new JDiffClassDescription.JDiffConstructor("NormalClass", Modifier.PUBLIC); local 103 clz.addConstructor(constructor); 105 assertEquals(constructor.toSignatureString(), "public NormalClass()"); 109 JDiffClassDescription.JDiffConstructor constructor = new JDiffClassDescription.JDiffConstructor("NormalClass", Modifier.PRIVATE); local 110 constructor.addParam("java.lang.String"); 111 clz.addConstructor(constructor); 113 assertEquals(constructor.toSignatureString(), "private NormalClass(java.lang.String)"); 117 JDiffClassDescription.JDiffConstructor constructor = new JDiffClassDescription.JDiffConstructor("NormalClass", Modifier.PROTECTED); local 118 constructor.addParam("java.lang.String"); 119 constructor.addParam("java.lang.String") 128 JDiffClassDescription.JDiffConstructor constructor = new JDiffClassDescription.JDiffConstructor("NormalClass", 0); local [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();
|
XmlReport.java | 79 for (ApiConstructor constructor : apiClass.getConstructors()) { 80 out.println("<constructor name=\"" + constructor.getName() 81 + "\" covered=\"" + constructor.isCovered() + "\">"); 83 for (String parameterType : constructor.getParameterTypes()) { 87 out.println("</constructor>");
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
GenericExceptionsTest.java | 20 import java.lang.reflect.Constructor; 43 Constructor constructor = Thrower.class.getConstructor(); local 45 Arrays.asList(constructor.getGenericExceptionTypes())); 49 Constructor constructor = Thrower.class.getConstructor(List.class); local 51 Arrays.asList(constructor.getGenericExceptionTypes())); 55 Constructor constructor = ThrowerT.class.getConstructor(); local 56 TypeVariable typeVariable = getOnlyValue(constructor.getGenericExceptionTypes() [all...] |
/external/v8/test/mjsunit/regress/ |
regress-193.js | 28 // Test that context extension objects do not have a constructor 34 return eval("var x; constructor"); 37 // It should be ok to call the constructor function returned by f. 40 // The call to f should get the constructor of the receiver which is 41 // the constructor of the global object. 42 assertEquals(constructor, f());
|
regress-1172.js | 28 // Check that 'constructor' property is forcefully installed on 32 // to use JS accessors to set 'constructor' property. 33 Object.prototype.__defineGetter__('constructor', function() { throw 42; }); 36 assertSame(f, f.prototype.constructor); 39 assertSame(f, o.constructor);
|
/bionic/libc/bionic/ |
libc_init_dynamic.c | 55 /* We flag the __libc_preinit function as a constructor to ensure 60 void __attribute__((constructor)) __libc_preinit(void);
|
/bionic/libc/unistd/ |
time.c | 56 // initialized by the constructor below 60 __attribute__((constructor)) static void clock_crt0(void)
|
/external/clang/test/CXX/dcl.decl/dcl.init/ |
p14-0x.cpp | 36 Private p = 42; // expected-error {{private constructor}} 39 S() {} // expected-error {{call to deleted constructor of 'NoDefault'}} \ 40 expected-error {{must explicitly initialize the member 'e1' which does not have a default constructor}}
|
/external/clang/test/Sema/ |
warn-unused-function.c | 33 __attribute__((constructor)) static void bar2(void);
|
/external/clang/test/SemaCXX/ |
value-dependent-exprs.cpp | 29 __attribute__((constructor(1 + I)))
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.5.1.js | 24 ECMA Section: 15.9.5.1 Date.prototype.constructor 26 The initial value of Date.prototype.constructor is the built-in Date 27 constructor. 36 var TITLE = "Date.prototype.constructor"; 43 "Date.prototype.constructor == Date", 45 Date.prototype.constructor == Date );
|
/frameworks/base/test-runner/src/android/test/suitebuilder/ |
TestMethod.java | 22 import java.lang.reflect.Constructor; 79 Constructor[] constructors = testCaseClass.getConstructors(); 84 for (Constructor constructor : constructors) { 85 Class[] params = constructor.getParameterTypes(); 87 TestCase test = ((Constructor<? extends TestCase>) constructor).newInstance(); 93 return ((Constructor<? extends TestCase>) constructor) 98 throw new RuntimeException("Unable to locate a constructor for [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/reflect/ |
ConstructorTest.java | 20 import java.lang.reflect.Constructor; 49 * @tests java.lang.reflect.Constructor#equals(java.lang.Object) 53 Constructor ctor1 = null, ctor2 = null; 67 * @tests java.lang.reflect.Constructor#getDeclaringClass() 71 // java.lang.reflect.Constructor.getDeclaringClass() 74 Constructor ctor = pclass.getConstructor(new Class[0]); 81 * @tests java.lang.reflect.Constructor#getExceptionTypes() 86 Constructor ctor = new ConstructorTestHelper().getClass() 97 * @tests java.lang.reflect.Constructor#getModifiers() 102 Constructor ctor = new ConstructorTestHelper().getClass( 185 Constructor constructor = Vector.class local 197 Constructor constructor = MockObject.class.getConstructor(Class.class); local [all...] |
/external/bluetooth/glib/tests/gobject/ |
singleton.c | 52 return G_OBJECT_CLASS (my_singleton_parent_class)->constructor (type, n_construct_properties, construct_properties); 65 G_OBJECT_CLASS (klass)->constructor = my_singleton_constructor;
|
/external/llvm/test/MC/MachO/ |
x86_32-sections.s | 12 .constructor
|
/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/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/String/ |
split-001.js | 58 "( " + string + " ).split(" + str_sep +").constructor == Array", 60 string.split(separator).constructor == Array ); 87 " ).constructor == Array", 89 string.split(separator, limit).constructor == Array );
|
/packages/apps/Mms/src/com/android/mms/ui/ |
PresenterFactory.java | 23 import java.lang.reflect.Constructor; 43 Constructor constructor = c.getConstructor( local 45 return (Presenter) constructor.newInstance(context, view, model); 50 Log.e(TAG, "No such constructor.", e);
|
/external/doclava/src/com/google/doclava/ |
SinceTagger.java | 150 for (MethodInfo constructor : doc.constructors()) { 151 if (constructor.getSince() == null 152 && spec.hasConstructor(constructor)) { 153 constructor.setSince(versionName); 208 for (MethodInfo constructor : missingVersions(claz.constructors())) { 209 Errors.error(Errors.NO_SINCE_DATA, constructor.position(), "XML missing constructor " 210 + claz.qualifiedName() + "#" + constructor.getHashableName());
|
FederationTagger.java | 94 for (MethodInfo constructor : localClass.constructors()) { 95 if (federatedClass.hasConstructor(constructor)) { 96 constructor.addFederatedReference(site);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
ConsoleTest.java | 29 import java.lang.reflect.Constructor; 51 Constructor<Console> constructor = local 53 constructor.setAccessible(true); 54 console = constructor.newInstance(in, out);
|