Searched refs:obj (Results 476 - 500 of 1610) sorted by relevance

<<11121314151617181920>>

/openjdk7/jdk/src/share/classes/javax/naming/
H A DCompositeName.java263 * If obj is null or not a composite name, false is returned.
270 * @param obj The possibly null object to compare against.
271 * @return true if obj is equal to this composite name, false otherwise.
274 public boolean equals(Object obj) { argument
275 return (obj != null &&
276 obj instanceof CompositeName &&
277 impl.equals(((CompositeName)obj).impl));
299 * If obj is null or not an instance of CompositeName, ClassCastException
310 * If this composite name is "lexicographically" lesser than obj,
312 * If this composite name is "lexicographically" greater than obj,
320 compareTo(Object obj) argument
[all...]
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/
H A DpsPromotionLAB.cpp105 bool PSPromotionLAB::unallocate_object(HeapWord* obj, size_t obj_size) { argument
106 assert(Universe::heap()->is_in(obj), "Object outside heap");
108 if (contains(obj)) {
109 HeapWord* object_end = obj + obj_size;
112 set_top(obj);
128 HeapWord* obj = top();
134 _start_array->allocate_block(obj);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/
H A DXmlDataContentHandler.java98 public void writeTo(Object obj, String mimeType, OutputStream os) argument
101 if (!(obj instanceof DataSource || obj instanceof Source || obj instanceof String)) {
102 throw new IOException("Invalid Object type = "+obj.getClass()+
113 if (obj instanceof String) {
114 String s = (String) obj;
124 Source source = (obj instanceof DataSource)
125 ? (Source)getContent((DataSource)obj) : (Source)obj;
[all...]
/openjdk7/jdk/src/share/classes/sun/security/jca/
H A DProviderConfig.java139 public boolean equals(Object obj) { argument
140 if (this == obj) {
143 if (obj instanceof ProviderConfig == false) {
146 ProviderConfig other = (ProviderConfig)obj;
219 Object obj;
221 obj = provClass.newInstance();
224 obj = cons.newInstance(argument);
226 if (obj instanceof Provider) {
228 debug.println("Loaded provider " + obj);
230 return (Provider)obj;
[all...]
/openjdk7/jdk/test/javax/management/remote/mandatory/connectorServer/
H A DRMIExporterTest.java59 public Remote exportObject(Remote obj, argument
65 "Remote = " + obj);
66 if (obj.toString().startsWith(
69 if (obj.toString().startsWith(
72 return UnicastRemoteObject.exportObject(obj, port, csf, ssf);
75 public boolean unexportObject(Remote obj, boolean force) argument
78 "Remote = " + obj);
79 if (obj.toString().startsWith(
82 if (obj.toString().startsWith(
85 return UnicastRemoteObject.unexportObject(obj, forc
[all...]
/openjdk7/corba/src/share/classes/org/omg/PortableServer/
H A DCurrentHelper.java102 org.omg.CORBA.Object obj)
104 if (obj == null)
106 else if (obj instanceof org.omg.PortableServer.Current)
107 return (org.omg.PortableServer.Current)obj;
108 else if (!obj._is_a (id ()))
101 narrow( org.omg.CORBA.Object obj) argument
H A DPOAHelper.java91 public static org.omg.PortableServer.POA narrow (org.omg.CORBA.Object obj) argument
93 if (obj == null)
95 else if (obj instanceof org.omg.PortableServer.POA)
96 return (org.omg.PortableServer.POA)obj;
97 else if (!obj._is_a (id ()))
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/jdi/
H A DDoubleValueImpl.java39 public boolean equals(Object obj) { argument
40 if ((obj != null) && (obj instanceof DoubleValue)) {
41 return (value == ((DoubleValue)obj).value()) &&
42 super.equals(obj);
/openjdk7/jdk/src/share/classes/java/security/spec/
H A DECFieldF2m.java213 * @param obj the object to be compared.
214 * @return true if <code>obj</code> is an instance
218 public boolean equals(Object obj) { argument
219 if (this == obj) return true;
220 if (obj instanceof ECFieldF2m) {
223 return ((m == ((ECFieldF2m)obj).m) &&
224 (Arrays.equals(ks, ((ECFieldF2m) obj).ks)));
/openjdk7/jdk/src/share/classes/java/text/
H A DFormat.java71 * <li> <code>format(Object obj, StringBuffer toAppendTo, FieldPosition pos)</code>
72 * <li> <code>formatToCharacterIterator(Object obj)</code>
147 * {@link #format(Object, StringBuffer, FieldPosition) format}<code>(obj,
151 * @param obj The object to format
156 public final String format (Object obj) { argument
157 return format(obj, new StringBuffer(), new FieldPosition(0)).toString();
167 * @param obj The object to format
178 public abstract StringBuffer format(Object obj, argument
198 * @exception NullPointerException if obj is null.
201 * @param obj Th
205 formatToCharacterIterator(Object obj) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/crypto/spec/
H A DSecretKeySpec.java208 * @param obj the object to test for equality with this object.
211 * <code>obj</code> is null or otherwise.
213 public boolean equals(Object obj) { argument
214 if (this == obj)
217 if (!(obj instanceof SecretKey))
220 String thatAlg = ((SecretKey)obj).getAlgorithm();
229 byte[] thatKey = ((SecretKey)obj).getEncoded();
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/
H A DSimpleClientId.java69 public boolean equals(Object obj) { argument
70 if (obj == null || !(obj instanceof SimpleClientId)) {
74 SimpleClientId other = (SimpleClientId)obj;
76 return super.equals(obj)
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/
H A DDESKey.java104 public boolean equals(Object obj) { argument
105 if (this == obj)
108 if (!(obj instanceof SecretKey))
111 String thatAlg = ((SecretKey)obj).getAlgorithm();
115 byte[] thatKey = ((SecretKey)obj).getEncoded();
H A DDESedeKey.java104 public boolean equals(Object obj) { argument
105 if (this == obj)
108 if (!(obj instanceof SecretKey))
111 String thatAlg = ((SecretKey)obj).getAlgorithm();
116 byte[] thatKey = ((SecretKey)obj).getEncoded();
/openjdk7/jdk/test/java/rmi/activation/Activatable/checkRegisterInLog/
H A DCheckRegisterInLog.java48 public CheckRegisterInLog(ActivationID id, MarshalledObject obj) argument
85 ActivateMe obj;
128 obj = (ActivateMe)Activatable.register(desc);
150 obj.ping();
156 obj.shutdown();
/openjdk7/jdk/test/java/rmi/server/UnicastRemoteObject/useDynamicProxies/
H A DUseDynamicProxies.java45 public Object passObject(Object obj) { argument
46 return obj;
93 Object obj = proxy.passObject(proxy);
94 if (!proxy.equals(obj)) {
120 Object passObject(Object obj) throws IOException; argument
/openjdk7/hotspot/src/share/vm/oops/
H A DinstanceKlassKlass.cpp64 int instanceKlassKlass::oop_size(oop obj) const {
65 assert(obj->is_klass(), "must be klass");
66 return instanceKlass::cast(klassOop(obj))->object_size();
69 bool instanceKlassKlass::oop_is_parsable(oop obj) const {
70 assert(obj->is_klass(), "must be klass");
71 instanceKlass* ik = instanceKlass::cast(klassOop(obj));
86 void instanceKlassKlass::oop_follow_contents(oop obj) { argument
87 assert(obj->is_klass(),"must be a klass");
88 assert(klassOop(obj)->klass_part()->oop_is_instance_slow(), "must be instance klass");
90 instanceKlass* ik = instanceKlass::cast(klassOop(obj));
126 oop_follow_contents(ParCompactionManager* cm, oop obj) argument
165 oop_oop_iterate(oop obj, OopClosure* blk) argument
205 oop_oop_iterate_m(oop obj, OopClosure* blk, MemRegion mr) argument
261 oop_adjust_pointers(oop obj) argument
298 oop_push_contents(PSPromotionManager* pm, oop obj) argument
324 oop_update_pointers(ParCompactionManager* cm, oop obj) argument
478 oop_print_on(oop obj, outputStream* st) argument
588 oop_print_value_on(oop obj, outputStream* st) argument
604 oop obj = oopDesc::load_decode_heap_oop(p); local
612 oop_verify_on(oop obj, outputStream* st) argument
784 oop_set_partially_loaded(oop obj) argument
[all...]
/openjdk7/hotspot/agent/src/os/win32/windbg/
H A Dsawindbg.cpp261 static bool getWindbgInterfaces(JNIEnv* env, jobject obj) { argument
268 env->SetLongField(obj, ptrIDebugClient_ID, (jlong) ptrIDebugClient);
275 env->SetLongField(obj, ptrIDebugControl_ID, (jlong) ptrIDebugControl);
282 env->SetLongField(obj, ptrIDebugDataSpaces_ID, (jlong) ptrIDebugDataSpaces);
286 env->SetLongField(obj, ptrIDebugOutputCallbacks_ID, (jlong) ptrIDebugOutputCallbacks);
294 env->SetLongField(obj, ptrIDebugAdvanced_ID, (jlong) ptrIDebugAdvanced);
301 env->SetLongField(obj, ptrIDebugSymbols_ID, (jlong) ptrIDebugSymbols);
308 env->SetLongField(obj, ptrIDebugSystemObjects_ID, (jlong) ptrIDebugSystemObjects);
313 static bool setImageAndSymbolPath(JNIEnv* env, jobject obj) { argument
315 jclass clazz = env->GetObjectClass(obj);
338 openDumpFile(JNIEnv* env, jobject obj, jstring coreFileName) argument
366 attachToProcess(JNIEnv* env, jobject obj, jint pid) argument
407 addLoadObjects(JNIEnv* env, jobject obj) argument
444 addThreads(JNIEnv* env, jobject obj) argument
673 Java_sun_jvm_hotspot_debugger_windbg_WindbgDebuggerLocal_attach0__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jstring execName, jstring coreFileName) argument
698 Java_sun_jvm_hotspot_debugger_windbg_WindbgDebuggerLocal_attach0__I(JNIEnv *env, jobject obj, jint pid) argument
719 releaseWindbgInterfaces(JNIEnv* env, jobject obj) argument
778 Java_sun_jvm_hotspot_debugger_windbg_WindbgDebuggerLocal_detach0(JNIEnv *env, jobject obj) argument
793 Java_sun_jvm_hotspot_debugger_windbg_WindbgDebuggerLocal_readBytesFromProcess0(JNIEnv *env, jobject obj, jlong address, jlong numBytes) argument
827 Java_sun_jvm_hotspot_debugger_windbg_WindbgDebuggerLocal_getThreadIdFromSysId0(JNIEnv *env, jobject obj, jlong sysId) argument
868 Java_sun_jvm_hotspot_debugger_windbg_WindbgDebuggerLocal_consoleExecuteCommand0(JNIEnv *env, jobject obj, jstring cmd) argument
918 Java_sun_jvm_hotspot_debugger_windbg_WindbgDebuggerLocal_lookupByName0(JNIEnv *env, jobject obj, jstring objName, jstring sym) argument
947 Java_sun_jvm_hotspot_debugger_windbg_WindbgDebuggerLocal_lookupByAddress0(JNIEnv *env, jobject obj, jlong address) argument
[all...]
/openjdk7/hotspot/src/share/vm/gc_implementation/shared/
H A DmutableSpace.cpp179 HeapWord* obj = top(); local
180 if (pointer_delta(end(), obj) >= size) {
181 HeapWord* new_top = obj + size;
183 assert(is_object_aligned((intptr_t)obj) && is_object_aligned((intptr_t)new_top),
185 return obj;
194 HeapWord* obj = top(); local
195 if (pointer_delta(end(), obj) >= size) {
196 HeapWord* new_top = obj + size;
197 HeapWord* result = (HeapWord*)Atomic::cmpxchg_ptr(new_top, top_addr(), obj);
201 if (result != obj) {
214 cas_deallocate(HeapWord *obj, size_t size) argument
[all...]
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DUnixFileSystemProvider.java101 UnixPath checkPath(Path obj) { argument
102 if (obj == null)
104 if (!(obj instanceof UnixPath))
106 return (UnixPath)obj;
111 public <V extends FileAttributeView> V getFileAttributeView(Path obj, argument
115 UnixPath file = UnixPath.toUnixPath(obj);
148 protected DynamicFileAttributeView getFileAttributeView(Path obj, argument
152 UnixPath file = UnixPath.toUnixPath(obj);
166 public FileChannel newFileChannel(Path obj, argument
171 UnixPath file = checkPath(obj);
183 newAsynchronousFileChannel(Path obj, Set<? extends OpenOption> options, ExecutorService executor, FileAttribute<?>... attrs) argument
203 newByteChannel(Path obj, Set<? extends OpenOption> options, FileAttribute<?>... attrs) argument
220 implDelete(Path obj, boolean failIfNotExists) argument
268 checkAccess(Path obj, AccessMode... modes) argument
345 isHidden(Path obj) argument
361 getFileStore(Path obj) argument
372 createDirectory(Path obj, FileAttribute<?>... attrs) argument
389 newDirectoryStream(Path obj, DirectoryStream.Filter<? super Path> filter) argument
[all...]
/openjdk7/hotspot/src/share/vm/memory/
H A Drestore.cpp50 oop obj = nextOop(); local
51 assert(SharedSkipVerify || (intptr_t)obj >= 0 || (intptr_t)obj < -100,
53 assert(SharedSkipVerify || obj->is_oop_or_null(), "invalid oop");
54 *p = obj;
61 void* obj = nextOop(); local
62 assert((intptr_t)obj >= 0 || (intptr_t)obj < -100,
64 *p = obj;
/openjdk7/jdk/src/macosx/native/jobjc/src/core/native/
H A DSubclassing.m51 static jobject getJObjectFromIVar(id obj);
53 jobject getJObjectFromIVar(id obj)
56 object_getInstanceVariable(obj, JOBJ_IVAR_NAME, (void**) &wrapper);
63 id obj = (id) jlong_to_ptr(jPtr);
64 if(obj == NULL){
66 "java/lang/NullPointerException"), "obj");
72 if(!object_getInstanceVariable(obj, JOBJ_IVAR_NAME, (void**) &wrapper)){
73 NSLog(@"IVar '%s' not found. obj: %@", JOBJ_IVAR_NAME, obj);
85 id obj
[all...]
/openjdk7/jdk/test/com/sun/management/ThreadMXBean/
H A DThreadAllocatedMemory.java39 private static Object obj = new Object(); field in class:ThreadAllocatedMemory
116 synchronized (obj) {
118 obj.notifyAll();
140 synchronized (obj) {
142 obj.notifyAll();
206 synchronized (obj) {
209 obj.wait();
233 synchronized (obj) {
236 obj.wait();
H A DThreadAllocatedMemoryArray.java39 private static Object obj = new Object(); field in class:ThreadAllocatedMemoryArray
110 synchronized (obj) {
112 obj.notifyAll();
152 synchronized (obj) {
154 obj.notifyAll();
219 synchronized (obj) {
222 obj.wait();
234 synchronized (obj) {
237 obj.wait();
/openjdk7/jdk/test/java/io/Serializable/subclass/
H A DXObjectOutputStream.java48 protected Object replaceObject(Object obj) throws IOException { argument
49 return obj;
56 final protected void writeObjectOverride(Object obj) throws IOException { argument
58 currentObject = obj;
59 System.out.println("writeObjectOverride(" + obj.toString() + ")");
62 // if (obj already serialized) {
63 // look up streamId for obj and write it into 'this' stream.
67 // if (obj instanceof Class) {
69 // //Might need to call this.annotateClass(obj.getClass())
75 // Object replacement = obj;
333 invokeMethod(final Object obj, final Method m, final Object[] argList) argument
[all...]

Completed in 79 milliseconds

<<11121314151617181920>>