Searched refs:newInstance (Results 1 - 25 of 41) sorted by relevance

12

/macosx-10.10/pyobjc-45/2.5/pyobjc/pyobjc-core/PyObjCTest/
H A Dtest_methodedits.py53 newInstance = MEClass.new()
55 self.assertEquals(newInstance.description(), u"<methods>")
63 newInstance = MEClass.new()
65 self.assertEquals(newInstance.newMethod(), u"<new-method>")
73 newInstance = MEClass.new()
75 self.assertEquals(newInstance.description(), u"<sub-methods>")
84 newInstance = MEClass.new()
86 self.assertEquals(newInstance.newMethod(), u"<sub-new-method>")
88 self.assertEquals(newInstance.newSubMethod(), u"<new-method-sub>")
143 newInstance
[all...]
/macosx-10.10/pyobjc-45/2.6/pyobjc/pyobjc-core/PyObjCTest/
H A Dtest_methodedits.py55 newInstance = MEClass.new()
57 self.assertEquals(newInstance.description(), u"<methods>")
65 newInstance = MEClass.new()
67 self.assertEquals(newInstance.newMethod(), u"<new-method>")
75 newInstance = MEClass.new()
77 self.assertEquals(newInstance.description(), u"<sub-methods>")
86 newInstance = MEClass.new()
88 self.assertEquals(newInstance.newMethod(), u"<sub-new-method>")
90 self.assertEquals(newInstance.newSubMethod(), u"<new-method-sub>")
146 newInstance
[all...]
/macosx-10.10/BerkeleyDB-21/db/java/src/com/sleepycat/persist/impl/
H A DNonPersistentFormat.java39 return Array.newInstance(getType(), len);
43 public Object newInstance(EntityInput input, boolean rawAccess) { method in class:NonPersistentFormat
H A DMapProxy.java45 Map<K,V> map = newInstance(size);
52 protected abstract Map<K,V> newInstance(int size); method in class:MapProxy
59 protected Map<K,V> newInstance(int size) { method in class:MapProxy.HashMapProxy
69 protected Map<K,V> newInstance(int size) { method in class:MapProxy.TreeMapProxy
H A DReader.java26 Object newInstance(EntityInput input, boolean rawAccess); method in interface:Reader
H A DCollectionProxy.java48 Collection<E> collection = newInstance(elements.length);
55 protected abstract Collection<E> newInstance(int size); method in class:CollectionProxy
62 protected Collection<E> newInstance(int size) { method in class:CollectionProxy.ArrayListProxy
72 protected Collection<E> newInstance(int size) { method in class:CollectionProxy.LinkedListProxy
82 protected Collection<E> newInstance(int size) { method in class:CollectionProxy.HashSetProxy
92 protected Collection<E> newInstance(int size) { method in class:CollectionProxy.TreeSetProxy
150 RawObject collection = (RawObject) format.newInstance(input, true);
H A DPrimitiveArrayFormat.java63 return Array.newInstance(getType(), len);
67 public Object newInstance(EntityInput input, boolean rawAccess) { method in class:PrimitiveArrayFormat
81 a[i] = componentFormat.newInstance(input, true);
85 /* Else, do nothing -- newInstance reads the value. */
109 Object a = newInstance(input, rawAccess);
H A DConverterReader.java36 public Object newInstance(EntityInput input, boolean rawAccess) { method in class:ConverterReader
38 return oldFormat.newInstance(input, true);
H A DProxiedFormat.java82 return Array.newInstance(getType(), len);
86 public Object newInstance(EntityInput input, boolean rawAccess) { method in class:ProxiedFormat
89 return reader.newInstance(null, true);
92 (PersistentProxy) reader.newInstance(null, false);
103 /* Else, do nothing here -- newInstance reads the value. */
113 (PersistentProxy) proxyFormat.newInstance(null, false);
H A DAccessor.java46 Object newInstance(); method in interface:Accessor
H A DObjectArrayFormat.java99 return Array.newInstance(getType(), len);
103 public Object newInstance(EntityInput input, boolean rawAccess) { method in class:ObjectArrayFormat
147 Object a = newInstance(input, rawAccess);
H A DEnhancedAccessor.java97 public Object newInstance() { method in class:EnhancedAccessor
108 return Array.newInstance(type, len);
H A DEnumFormat.java76 return Array.newInstance(getType(), len);
80 public Object newInstance(EntityInput input, boolean rawAccess) { method in class:EnumFormat
91 /* newInstance reads the value -- do nothing here. */
H A DRecordInput.java138 * object during the call to Reader.newInstance below. The newInstance
153 o = reader.newInstance(useInput, rawAccess);
180 Object o = reader.newInstance(this, rawAccess);
H A DCompositeKeyFormat.java204 public Object newInstance(EntityInput input, boolean rawAccess) { method in class:CompositeKeyFormat
206 return accessor.newInstance();
249 Object o = newInstance(in, rawAccess);
/macosx-10.10/pyobjc-45/pyobjc/pyobjc-core-2.5.1/PyObjCTest/
H A Dtest_methodedits.py105 newInstance = MEClass.new()
107 self.assertEqual(newInstance.description(), "<methods>")
115 newInstance = MEClass.new()
117 self.assertEqual(newInstance.newMethod(), "<new-method>")
125 newInstance = MEClass.new()
127 self.assertEqual(newInstance.description(), "<sub-methods>")
136 newInstance = MEClass.new()
138 self.assertEqual(newInstance.newMethod(), "<sub-new-method>")
140 self.assertEqual(newInstance.newSubMethod(), "<new-method-sub>")
196 newInstance
[all...]
/macosx-10.10/BerkeleyDB-21/db/java/src/com/sleepycat/bind/tuple/
H A DTupleMarshalledBinding.java53 (MarshalledTupleEntry) cls.newInstance();
H A DTupleTupleMarshalledBinding.java64 obj = (MarshalledTupleEntry) cls.newInstance();
/macosx-10.10/configd-699.1.5/SystemConfiguration.fproj/
H A DSCDAdd.c53 int newInstance; local
89 &newInstance,
122 int newInstance; local
162 &newInstance,
H A Dconfig.defs97 out newInstance : int;
104 out newInstance : int;
112 out newInstance : int;
126 out newInstance : int;
H A DSCDGet.c149 int newInstance; local
181 &newInstance,
H A DSCDSet.c159 int newInstance; local
199 &newInstance,
/macosx-10.10/configd-699.1.5/configd.tproj/
H A D_configadd.c97 int *newInstance,
144 *newInstance = 0;
163 int *newInstance,
212 *newInstance = 0;
92 _configadd(mach_port_t server, xmlData_t keyRef, mach_msg_type_number_t keyLen, xmlData_t dataRef, mach_msg_type_number_t dataLen, int *newInstance, int *sc_status, audit_token_t audit_token) argument
158 _configadd_s(mach_port_t server, xmlData_t keyRef, mach_msg_type_number_t keyLen, xmlData_t dataRef, mach_msg_type_number_t dataLen, int *newInstance, int *sc_status) argument
H A Dconfigd_server.h81 int *newInstance,
90 int *newInstance,
98 int *newInstance,
107 int *newInstance,
/macosx-10.10/WebCore-7600.1.25/bridge/
H A Dtestbindings.cpp291 MyObject *newInstance = (MyObject *)malloc (sizeof(MyObject)); local
299 newInstance->doubleValue = 666.666;
300 newInstance->intValue = 1234;
301 newInstance->boolValue = true;
302 newInstance->stringValue.type = NPVariantType_String;
303 newInstance->stringValue.value.stringValue.UTF8Length = strlen ("Hello world");
304 newInstance->stringValue.value.stringValue.UTF8Characters = strdup ("Hello world");
306 return (NPObject *)newInstance;

Completed in 213 milliseconds

12