Searched refs:cd (Results 51 - 75 of 162) sorted by relevance

1234567

/openjdk9/langtools/test/tools/javadoc/lib/
H A DOldToolTester.java138 public void printClass(ClassDoc cd) throws IOException { argument
139 if (cd.isAnnotationType())
140 printAnnotationType((AnnotationTypeDoc)cd);
142 prClass(0, cd);
179 private void prClass(int off, ClassDoc cd) throws IOException { argument
181 (cd.isInterface() ? "interface" : cd.isEnum() ? "enum" : "class")
182 + " " + cd);
183 prln(off + 2, "name: " + cd.simpleTypeName() + " / " +
184 cd
[all...]
/openjdk9/hotspot/test/runtime/SelectionResolution/classes/selectionresolution/
H A DClassBuilder.java157 * @param cd ClassData for the Class
160 private int getClassModifiers(ClassData cd) { argument
162 return getAccessibility(cd.access) | getAbstraction(cd.abstraction);
167 * @param cd ClassData for the Class or Interface where the Method resides
170 private int getMethodModifiers(ClassData cd) { argument
174 mod += getAccessibility(cd.methoddata.access);
175 mod += getAbstraction(cd.methoddata.context);
176 mod += getContext(cd.methoddata.context);
233 * @param cd
236 containsMethod(ClassData cd) argument
[all...]
/openjdk9/jdk/test/java/lang/management/CompositeData/
H A DMemoryNotifInfoCompositeData.java82 CompositeData cd =
87 MemoryNotificationInfo info = MemoryNotificationInfo.from(cd);
128 CompositeData cd =
134 MemoryNotificationInfo info = MemoryNotificationInfo.from(cd);
160 CompositeData cd =
166 MemoryNotificationInfo info = MemoryNotificationInfo.from(cd);
H A DMemoryUsageCompositeData.java64 CompositeData cd =
68 MemoryUsage u = MemoryUsage.from(cd);
105 CompositeData cd =
110 MemoryUsage u = MemoryUsage.from(cd);
137 CompositeData cd =
142 MemoryUsage u = MemoryUsage.from(cd);
/openjdk9/langtools/src/jdk.javadoc/share/classes/com/sun/tools/doclets/internal/toolkit/taglets/
H A DValueTaglet.java136 ClassDoc cd = null;
141 cd = ((MemberDoc) holder).containingClass();
143 cd = (ClassDoc) holder;
148 cd = config.root.classNamed(st.nextToken());
151 if (cd == null) {
154 for (FieldDoc field : cd.fields()) {
/openjdk9/jdk/src/jdk.management/share/classes/com/sun/management/internal/
H A DGcInfoCompositeData.java201 public static long getId(CompositeData cd) { argument
202 return getLong(cd, ID);
204 public static long getStartTime(CompositeData cd) { argument
205 return getLong(cd, START_TIME);
207 public static long getEndTime(CompositeData cd) { argument
208 return getLong(cd, END_TIME);
212 getMemoryUsageBeforeGc(CompositeData cd) { argument
214 TabularData td = (TabularData) cd.get(MEMORY_USAGE_BEFORE_GC);
227 getMemoryUsageAfterGc(CompositeData cd) { argument
229 TabularData td = (TabularData) cd
243 validateCompositeData(CompositeData cd) argument
[all...]
/openjdk9/hotspot/test/serviceability/jvmti/
H A DUnresolvedClassAgent.java60 ClassDefinition cd = new ClassDefinition(MyRedefinedClass.class, buf);
61 inst.redefineClasses(new ClassDefinition[] {cd});
/openjdk9/langtools/test/tools/javadoc/
H A DInlineTagsWithBraces.java70 ClassDoc cd = root.classes()[0];
71 Tag[] tags = cd.inlineTags();
H A DCompletionError.java141 private static MethodDoc findMethod(ClassDoc cd, String name) { argument
142 for (MethodDoc m : cd.methods()) {
150 private static FieldDoc findField(ClassDoc cd, String name) { argument
151 for (FieldDoc m : cd.fields()) {
/openjdk9/jdk/test/sun/net/www/ftptest/
H A DFtpFileSystemHandler.java37 public boolean cd(String path); method in interface:FtpFileSystemHandler
/openjdk9/langtools/test/tools/javac/multicatch/
H A DPos11.java100 } catch ( final C|D cd) {
101 results=results.concat("-CD:" + cd.getClass().getSimpleName());
102 throw cd;
/openjdk9/langtools/src/jdk.javadoc/share/classes/com/sun/tools/doclets/formats/html/
H A DSubWriterHolderWriter.java73 * @param cd the classdoc to be documented
76 public void addSummaryHeader(AbstractMemberWriter mw, ClassDoc cd, argument
78 mw.addSummaryAnchor(cd, memberTree);
86 * @param cd the classdoc to be documented
91 public Content getSummaryTableTree(AbstractMemberWriter mw, ClassDoc cd, argument
104 table.addContent(getSummaryTableHeader(mw.getSummaryTableHeader(cd), "col"));
154 * @param cd the classdoc to be documented
157 public void addInheritedSummaryHeader(AbstractMemberWriter mw, ClassDoc cd, argument
159 mw.addInheritedSummaryAnchor(cd, inheritedTree);
160 mw.addInheritedSummaryLabel(cd, inheritedTre
251 addInheritedMemberSummary(AbstractMemberWriter mw, ClassDoc cd, ProgramElementDoc member, boolean isFirst, Content linksTree) argument
[all...]
H A DSourceToHTMLConverter.java108 for (ClassDoc cd : rootDoc.specifiedClasses()) {
113 (utils.isDeprecated(cd) || utils.isDeprecated(cd.containingPackage()))))
114 convertClass(cd, outputdir);
128 for (ClassDoc cd : pd.allClasses()) {
133 if (!(configuration.nodeprecated && utils.isDeprecated(cd)))
134 convertClass(cd, outputdir);
141 * @param cd the class to convert.
144 public void convertClass(ClassDoc cd, DocPath outputdir) { argument
145 if (cd
[all...]
H A DAllClassesFrameWriter.java158 ClassDoc cd = (ClassDoc) doc;
159 if (!utils.isCoreClass(cd)) {
162 Content label = italicsClassName(cd, false);
166 LinkInfoImpl.Kind.ALL_CLASSES_FRAME, cd).label(label).target("classFrame"));
168 linkContent = getLink(new LinkInfoImpl(configuration, LinkInfoImpl.Kind.DEFAULT, cd).label(label));
H A DFieldWriterImpl.java239 public void addSummaryAnchor(ClassDoc cd, Content memberTree) { argument
247 public void addInheritedSummaryAnchor(ClassDoc cd, Content inheritedTree) { argument
249 SectionName.FIELDS_INHERITANCE, configuration.getClassName(cd)));
255 public void addInheritedSummaryLabel(ClassDoc cd, Content inheritedTree) { argument
257 LinkInfoImpl.Kind.MEMBER, cd, false);
258 Content label = new StringContent(cd.isClass() ?
271 protected void addSummaryLink(LinkInfoImpl.Kind context, ClassDoc cd, ProgramElementDoc member, argument
274 writer.getDocLink(context, cd , (MemberDoc) member, member.name(), false));
282 protected void addInheritedSummaryLink(ClassDoc cd, argument
285 writer.getDocLink(LinkInfoImpl.Kind.MEMBER, cd, (MemberDo
308 getNavSummaryLink(ClassDoc cd, boolean link) argument
[all...]
H A DPropertyWriterImpl.java235 public void addSummaryAnchor(ClassDoc cd, Content memberTree) { argument
243 public void addInheritedSummaryAnchor(ClassDoc cd, Content inheritedTree) { argument
246 configuration.getClassName(cd)));
252 public void addInheritedSummaryLabel(ClassDoc cd, Content inheritedTree) { argument
254 LinkInfoImpl.Kind.MEMBER, cd, false);
255 Content label = new StringContent(cd.isClass() ?
268 protected void addSummaryLink(LinkInfoImpl.Kind context, ClassDoc cd, ProgramElementDoc member, argument
271 writer.getDocLink(context, cd,
284 protected void addInheritedSummaryLink(ClassDoc cd, argument
287 writer.getDocLink(LinkInfoImpl.Kind.MEMBER, cd, (MemberDo
313 getNavSummaryLink(ClassDoc cd, boolean link) argument
[all...]
H A DAbstractTreeWriter.java136 * @param cd the classdoc under consideration
139 protected void addExtendsImplements(ClassDoc parent, ClassDoc cd, argument
141 ClassDoc[] interfaces = cd.interfaces();
142 if (interfaces.length > (cd.isInterface()? 1 : 0)) {
152 if (cd.isInterface()) {
176 * @param cd the class being documented
179 protected void addPartialInfo(ClassDoc cd, Content contentTree) { argument
180 addPreQualifiedStrongClassLink(LinkInfoImpl.Kind.TREE, cd, contentTree);
/openjdk9/jdk/test/java/lang/management/ManagementFactory/
H A DValidateOpenTypes.java166 CompositeData cd = td.get(new Object[] { propName});
167 if (cd != null) {
168 String key = (String) cd.get("key");
174 return (String) cd.get("value");
212 for (CompositeData cd : (CompositeData[]) result) {
213 printThreadInfo(cd);
220 for (CompositeData cd : (CompositeData[]) result) {
221 printThreadInfo(cd);
238 private static void printThreadInfo(CompositeData cd) { argument
239 ThreadInfo info = ThreadInfo.from(cd);
276 printGcInfo(CompositeData cd) argument
[all...]
/openjdk9/langtools/test/tools/javadoc/8147801/
H A DT8147801.java87 for (ClassDoc cd: root.specifiedClasses()) {
88 dump += dump(cd);
126 String dump(ClassDoc cd) { argument
129 dump(pw, "", cd);
135 void dump(PrintWriter out, String prefix, ClassDoc cd) { argument
136 out.println(prefix + "class: " + cd);
137 for (FieldDoc fd: cd.fields()) {
/openjdk9/langtools/src/jdk.javadoc/share/classes/com/sun/tools/doclets/internal/toolkit/util/
H A DVisibleMemberMap.java204 * @param cd the class to retrieve the list of visible members for.
208 public List<ProgramElementDoc> getMembersFor(ClassDoc cd) { argument
209 ClassMembers clmembers = classMap.get(cd);
223 for (ClassDoc cd : list) {
224 if (cd.isClass()) {
225 classes.add(cd);
228 interfaces.add(cd);
426 private List<ProgramElementDoc> getClassMembers(ClassDoc cd, boolean filter) { argument
427 if (cd.isEnum() && kind == CONSTRUCTORS) {
435 members = cd
529 properties(final ClassDoc cd, final boolean filter) argument
[all...]
/openjdk9/jdk/src/java.base/share/classes/java/util/zip/
H A DZipCoder.java47 CharsetDecoder cd = decoder().reset();
48 int len = (int)(length * cd.maxCharsPerByte());
55 if (isUTF8 && cd instanceof ArrayDecoder) {
56 int clen = ((ArrayDecoder)cd).decode(ba, off, length, ca);
63 CoderResult cr = cd.decode(bb, cb, true);
66 cr = cd.flush(cb);
/openjdk9/jdk/test/sun/nio/cs/
H A DNIOJISAutoDetectTest.java69 CharsetDecoder cd = Charset.forName("JISAutodetect").newDecoder();
70 check(cd.isAutoDetecting(), "isAutodecting()");
71 check(! cd.isCharsetDetected(), "isCharsetDetected");
72 cd.decode(ByteBuffer.wrap(new byte[] {(byte)'A'}));
73 check(! cd.isCharsetDetected(), "isCharsetDetected");
75 cd.detectedCharset();
78 cd.decode(ByteBuffer.wrap(bytes));
79 check(cd.isCharsetDetected(), "isCharsetDetected");
80 Charset cs = cd.detectedCharset();
/openjdk9/jdk/test/java/lang/instrument/
H A DNullRedefineClassesTests.java87 ClassDefinition cd = new ClassDefinition(DummyClass.class, new byte[] {1, 2, 3});
89 fInst.redefineClasses(new ClassDefinition[]{ cd, null });
/openjdk9/langtools/test/jdk/javadoc/tool/
H A DInlineTagsWithBraces.java83 TypeElement cd = ElementFilter.typesIn(root.getIncludedElements()).iterator().next();
84 DocCommentTree docCommentTree = trees.getDocCommentTree(cd);
/openjdk9/jdk/test/javax/management/openmbean/
H A DCompositeDataStringTest.java58 CompositeData cd = new CompositeDataSupport(
66 String s = cd.toString();

Completed in 284 milliseconds

1234567