Searched defs:refs (Results 1 - 24 of 24) sorted by relevance

/openjdk7/jdk/src/share/back/
H A DinStream.h39 struct bag *refs; member in struct:PacketInputStream
/openjdk7/jdk/test/sun/reflect/CallerSensitive/
H A DMethodFinder.java44 * @param refs Set of constant pool indices that reference the methods
47 public abstract void referenceFound(ClassFile cf, Method m, Set<Integer> refs) argument
62 Set<Integer> refs = new HashSet<Integer>();
68 refs.add(idx);
72 if (refs.size() > 0) {
73 referenceFound(cf, m, refs);
H A DCallerSensitiveFinder.java123 // parse constant pool to find matching method refs
153 public void referenceFound(ClassFile cf, Method m, Set<Integer> refs) argument
/openjdk7/jdk/test/javax/imageio/stream/StreamCloserLeak/testapp/
H A DMain.java50 public void launch(HashMap<String, ImageInputStream> refs) { argument
60 if (refs != null) {
63 refs.put(uniqClassName, iis);
/openjdk7/jdk/test/javax/imageio/stream/StreamCloserLeak/test/
H A DMain.java49 private static WeakHashMap<MyClassLoader, String> refs = field in class:Main
108 System.out.println("Enumerate strong refs:");
150 if (!refs.isEmpty()) {
153 for (MyClassLoader l : refs.keySet()) {
154 String val = refs.get(l);
246 refs.put(appClassLoader, uniqClassName);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/
H A DRawTypeSet.java52 public final Set<Ref> refs; field in class:RawTypeSet
70 public RawTypeSet( Set<Ref> refs, Multiplicity m ) { argument
71 this.refs = refs;
121 * Returns true if {@link #refs} can form refs of types.
124 * we cannot make them into type refs. Or if any of the {@link Ref}
125 * says they cannot be in type refs, we cannot do that either.
127 * TODO: just checking if the refs are the same is not suffice.
128 * If two refs deriv
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/relaxng/
H A DRawTypeSetBuilder.java67 private final Set<RawTypeSet.Ref> refs = new HashSet<RawTypeSet.Ref>(); field in class:RawTypeSetBuilder
77 return new RawTypeSet(refs,mul);
89 refs.add(new CClassInfoRef((CClassInfo)ti));
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/xmlschema/
H A DRawTypeSetBuilder.java80 return new RawTypeSet(rtsb.refs,mul);
90 private final Set<RawTypeSet.Ref> refs = new LinkedHashSet<RawTypeSet.Ref>(); field in class:RawTypeSetBuilder
101 return refs;
105 * Build up {@link #refs} and compute the total multiplicity of this {@link RawTypeSet.Ref} set.
112 refs.add(new WildcardRef(WildcardMode.SKIP));
119 refs.add(new WildcardRef(wc));
137 refs.add(new XmlTypeRef(decl));
141 refs.add(new CClassRef(decl,(CClass)elementBean));
143 refs.add(new CElementInfoRef(decl,(CElementInfo)elementBean));
273 if((parent.refs
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/property/
H A DArrayElementProperty.java73 private Map<TypeRef<Type,Class>,JaxBeanInfo> refs = new HashMap<TypeRef<Type, Class>, JaxBeanInfo>(); field in class:ArrayElementProperty
102 refs.put(typeRef,beanInfo);
113 refs = null;
224 return refs.get(typeRef).getLoader(chain.context,true);
/openjdk7/jdk/src/share/classes/java/beans/
H A DXMLEncoder.java223 public int refs = 0; field in class:XMLEncoder.ValueData
224 public boolean marked = false; // Marked -> refs > 0 unless ref was a target.
358 d.refs++;
370 d.refs++;
734 d.refs = 2;
736 getValueData(target).refs++;
748 if (expression && (d.refs > 1)) {
/openjdk7/jdk/src/windows/native/sun/windows/
H A DDevices.cpp371 int refs = --refCount; local
373 J2dTraceLn1(J2D_TRACE_VERBOSE, " refCount=%d", refs);
375 if (refs == 0) {
393 return refs;
394 } else if (refs < 0) {
397 refs);
400 return refs;
H A Dawt_DnDDS.cpp618 int refs; local
620 if ((refs = --m_refs) == 0) delete this;
622 return (ULONG)refs;
1293 int refs; local
1295 if ((refs = --m_refs) == 0) delete this;
1297 return (ULONG)refs;
1483 int refs; local
1485 if ((refs = --m_refs) == 0) delete this;
1487 return (ULONG)refs;
H A Dawt_DnDDT.cpp123 int refs; local
125 if ((refs = --m_refs) == 0) delete this;
127 return (ULONG)refs;
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/util/
H A DClassUseMapper.java369 private void addAll(Map<String,List<ClassDoc>> map, ClassDoc cd, Collection<ClassDoc> refs) { argument
370 if (refs == null) {
374 refList(map, cd).addAll(refs);
379 for (Iterator<ClassDoc> it = refs.iterator(); it.hasNext();) {
/openjdk7/jdk/src/share/classes/com/sun/java/util/jar/pack/
H A DCode.java145 protected void visitRefs(int mode, Collection<ConstantPool.Entry> refs) { argument
149 refs.addAll(Arrays.asList(handler_class));
151 fixups.visitRefs(refs);
160 refs.add(cpMap[cpref]);
165 super.visitRefs(mode, refs);
H A DFixups.java102 public void visitRefs(Collection<Entry> refs) { argument
104 refs.add(entries[i]);
425 void visitRefs(Object fixups, Collection<Entry> refs) { argument
429 refs.add((Entry) fixups);
432 f.visitRefs(refs);
H A DAttribute.java298 // We need this abstract method to interpret embedded CP refs.
359 protected void visitRefs(int mode, Collection<Entry> refs) { argument
362 a.visitRefs(this, mode, refs);
453 boolean hasRefs; // this kind of attr contains CP refs?
683 void visitRefs(Holder holder, int mode, final Collection<Entry> refs) { argument
685 refs.add(getNameRef());
691 Fixups.visitRefs(fixups, refs);
700 refs.add(ref);
1038 // further parsing of refs
1194 // Used when reading a class file (local refs resolve
[all...]
H A DPackage.java514 protected void visitRefs(int mode, Collection<Entry> refs) { argument
517 // but the classfile breaks it into component refs.
519 refs.add(descriptor.nameRef);
520 refs.add(descriptor.typeRef);
522 refs.add(descriptor);
525 super.visitRefs(mode, refs);
597 protected void visitRefs(int mode, Collection<Entry> refs) { argument
598 super.visitRefs(mode, refs);
601 refs.add(getRefString("Code"));
603 code.visitRefs(mode, refs);
638 visitRefs(int mode, Collection<Entry> refs) argument
663 visitInnerClassRefs(int mode, Collection<Entry> refs) argument
871 visitRefs(int mode, Collection<Entry> refs) argument
985 visitRefs(int mode, Collection<Entry> refs) argument
1002 visitInnerClassRefs(Collection<InnerClass> innerClasses, int mode, Collection<Entry> refs) argument
1185 visitRefs(int mode, Collection<Entry> refs) argument
[all...]
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dawt_util.h224 Cardinal max_refs; /* Maximum length of refs array. */
225 Widget* refs; /* Array of referencing widgets. */ member in struct:_XmImRefRec
/openjdk7/jdk/src/share/classes/sun/rmi/transport/
H A DDGCClient.java128 static void registerRefs(Endpoint ep, List<LiveRef> refs) { argument
130 * Look up the given endpoint and register the refs with it.
139 } while (!epEntry.registerRefs(refs));
178 /** table of refs held for endpoint: maps LiveRef to RefEntry */
257 * global endpoint table (because it was empty) before these refs
263 public boolean registerRefs(List<LiveRef> refs) { argument
266 Set<RefEntry> refsToDirty = null; // entries for refs needing dirty
274 Iterator<LiveRef> iter = refs.iterator();
343 * corresponding to the given set of refs and with the given
433 * Add all of these refs t
[all...]
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaUtils.java197 protected Map<K, V> refs; field in class:AquaUtils.LazyKeyedSingleton
200 if (refs == null) refs = new HashMap<K, V>();
202 final V cachedValue = refs.get(key);
206 refs.put(key, value);
/openjdk7/jdk/src/share/native/java/util/zip/
H A Dzip_util.h204 jint refs; /* number of active references */ member in struct:jzfile
/openjdk7/hotspot/src/share/vm/classfile/
H A DclassLoader.cpp1128 jint refs; /* number of active references */ member in struct:real_jzfile13
1161 jint refs; /* number of active references */ member in struct:real_jzfile12
/openjdk7/jdk/src/share/native/com/sun/java/util/jar/pack/
H A Dunpack.cpp138 entry* *refs; member in struct:entry
155 return refs[refnum];
1211 e.refs = U_NEW(entry*, e.nrefs = 1);
1214 e.refs[0] = utf;
1241 e.refs = U_NEW(entry*, e.nrefs = 2);
1242 e.refs[0] = cp_band1.getRef();
1244 e.refs[1] = cp_band2.getRef();
1270 e.refs = U_NEW(entry*, cpMap[i].nrefs = 1 + nc);
1272 e.refs[0] = &form;
1280 e.refs[
[all...]

Completed in 203 milliseconds