Searched refs:attrs (Results 1 - 25 of 448) sorted by relevance

1234567891011>>

/openjdk10/jdk/src/java.naming/share/classes/javax/naming/directory/
H A DSearchResult.java50 private Attributes attrs; field in class:SearchResult
65 * @param attrs The attributes that were requested to be returned with
70 public SearchResult(String name, Object obj, Attributes attrs) { argument
72 this.attrs = attrs;
85 * @param attrs The attributes that were requested to be returned with
94 public SearchResult(String name, Object obj, Attributes attrs, argument
97 this.attrs = attrs;
113 * @param attrs Th
118 SearchResult(String name, String className, Object obj, Attributes attrs) argument
143 SearchResult(String name, String className, Object obj, Attributes attrs, boolean isRelative) argument
165 setAttributes(Attributes attrs) argument
[all...]
/openjdk10/jdk/test/javax/swing/text/GlyphView/4984669/
H A Dbug4984669.java42 MutableAttributeSet attrs = new SimpleAttributeSet();
44 StyleConstants.setFontSize(attrs, 36);
45 StyleConstants.setBold(attrs, true);
46 StyleConstants.setUnderline(attrs, true);
47 pane.getDocument().insertString(6, "aa\n", attrs);
48 pane.getDocument().insertString(9, "bbb\n", attrs);
49 pane.getDocument().insertString(13, "cccc\n", attrs);
50 pane.getDocument().insertString(18, "ddddd\n", attrs);
/openjdk10/jdk/test/javax/naming/ldap/LdapName/
H A DRdnMisc.java43 Attributes attrs = new BasicAttributes();
44 attrs.put("a", "Mango");
45 attrs.put("l", "Yellow<right");
46 attrs.put("b", "Juicy, Fruit");
47 attrs.put("k", "Orange>ripe");
48 attrs.put("c", "Favourite+Fruit");
49 attrs.put("j", "Green#raw");
50 attrs.put("d", "Tropical\\Fruit");
51 attrs.put("i", "Alfanso;expensive");
52 attrs
[all...]
/openjdk10/jdk/test/javax/naming/module/src/person/org/example/person/
H A DPerson.java37 private BasicAttributes attrs; field in class:Person
41 attrs = new BasicAttributes(true);
47 attrs.put(objectClass);
48 attrs.put(new BasicAttribute("cn", commonName));
49 attrs.put(new BasicAttribute("sn", surname));
53 return attrs;
57 attrs.put(new BasicAttribute("audio", value));
61 attrs.put(new BasicAttribute("businessCategory", value));
65 attrs.put(new BasicAttribute("carLicense", value));
69 attrs
[all...]
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/xs/opti/
H A DNamedNodeMapImpl.java39 Attr[] attrs; field in class:NamedNodeMapImpl
41 public NamedNodeMapImpl(Attr[] attrs) { argument
42 this.attrs = attrs;
46 for (int i=0; i<attrs.length; i++) {
47 if (attrs[i].getName().equals(name)) {
48 return attrs[i];
58 return attrs[index];
62 return attrs.length;
66 for (int i=0; i<attrs
[all...]
H A DElementImpl.java39 Attr[] attrs; field in class:ElementImpl
150 return new NamedNodeMapImpl(attrs);
155 return (attrs.length == 0 ? false : true);
171 for (int i=0; i<attrs.length; i++) {
172 if (attrs[i].getName().equals(name)) {
173 return attrs[i].getValue();
181 for (int i=0; i<attrs.length; i++) {
182 if (attrs[i].getName().equals(name)) {
183 return attrs[i];
191 for (int i=0; i<attrs
[all...]
/openjdk10/jdk/src/java.base/unix/classes/sun/nio/fs/
H A DUnixFileStoreAttributes.java38 UnixFileStoreAttributes attrs = new UnixFileStoreAttributes();
39 UnixNativeDispatcher.statvfs(path, attrs);
40 return attrs;
H A DUnixFileAttributes.java68 UnixFileAttributes attrs = new UnixFileAttributes();
70 UnixNativeDispatcher.stat(path, attrs);
72 UnixNativeDispatcher.lstat(path, attrs);
74 return attrs;
79 UnixFileAttributes attrs = new UnixFileAttributes();
80 UnixNativeDispatcher.fstat(fd, attrs);
81 return attrs;
88 UnixFileAttributes attrs = new UnixFileAttributes();
90 UnixNativeDispatcher.fstatat(dfd, path.asByteArray(), flag, attrs);
91 return attrs;
95 isSameFile(UnixFileAttributes attrs) argument
252 toUnixFileAttributes(BasicFileAttributes attrs) argument
263 private final UnixFileAttributes attrs; field in class:UnixFileAttributes.UnixAsBasicFileAttributes
265 UnixAsBasicFileAttributes(UnixFileAttributes attrs) argument
269 wrap(UnixFileAttributes attrs) argument
[all...]
/openjdk10/jdk/test/java/nio/file/attribute/BasicFileAttributeView/
H A DBasic.java46 BasicFileAttributes attrs = Files.readAttributes(dir, BasicFileAttributes.class);
47 check(attrs.isDirectory(), "is a directory");
48 check(!attrs.isRegularFile(), "is not a regular file");
49 check(!attrs.isSymbolicLink(), "is not a link");
50 check(!attrs.isOther(), "is not other");
54 check(f.lastModified()/1000 == attrs.lastModifiedTime().to(TimeUnit.SECONDS),
61 BasicFileAttributes attrs = Files.readAttributes(file, BasicFileAttributes.class);
62 check(attrs.isRegularFile(), "is a regular file");
63 check(!attrs.isDirectory(), "is not a directory");
64 check(!attrs
[all...]
/openjdk10/langtools/src/jdk.jdeps/share/classes/com/sun/tools/classfile/
H A DAttributes.java42 public final Attribute[] attrs; field in class:Attributes
48 attrs = new Attribute[attrs_count];
51 attrs[i] = attr;
60 public Attributes(ConstantPool constant_pool, Attribute[] attrs) { argument
61 this.attrs = attrs;
63 for (Attribute attr : attrs) {
73 this.attrs = attributes.values().toArray(new Attribute[attributes.size()]);
78 return Arrays.asList(attrs).iterator();
82 return attrs[inde
[all...]
/openjdk10/jdk/test/java/awt/print/Dialog/
H A DDialogType.java62 Attribute[] attrs = aset.toArray();
63 for (int i=0;i<attrs.length;i++) {
64 System.out.println(attrs[i]);
68 attrs = aset.toArray();
69 for (int i=0;i<attrs.length;i++) {
70 System.out.println(attrs[i]);
/openjdk10/jdk/test/javax/management/Introspector/
H A DDuplicateGetterTest.java60 MBeanAttributeInfo[] attrs = mbean.getMBeanInfo().getAttributes();
61 System.out.println("Attributes: " + Arrays.toString(attrs));
62 if (attrs.length != 1)
63 throw new Exception("Wrong number of attributes: " + attrs.length);
64 if (!attrs[0].getName().equals("NotificationInfo"))
65 throw new Exception("Wrong attribute name: " + attrs[0].getName());
/openjdk10/jdk/src/java.naming/share/classes/com/sun/jndi/ldap/
H A DLdapEntry.java43 LdapEntry(String DN, Attributes attrs) { argument
45 this.attributes = attrs;
48 LdapEntry(String DN, Attributes attrs, Vector<Control> respCtls) { argument
50 this.attributes = attrs;
H A DObj.java128 Object obj, Attributes attrs,
144 attrs = (Attributes)attrs.clone();
146 attrs.put(objectClass);
149 attrs, obj));
155 attrs = (Attributes)attrs.clone();
157 attrs.put(objectClass);
158 return (encodeReference(separator, (Reference)obj, attrs, null));
168 attrs
127 encodeObject(char separator, Object obj, Attributes attrs, Attribute objectClass, boolean cloned) argument
227 decodeObject(Attributes attrs) argument
288 encodeReference(char separator, Reference ref, Attributes attrs, Object orig) argument
371 decodeReference(Attributes attrs, String[] codebases) argument
545 determineBindAttrs( char separator, Object obj, Attributes attrs, boolean cloned, Name name, Context ctx, Hashtable<?,?> env) argument
[all...]
H A DSearchResultWithControls.java35 public SearchResultWithControls(String name, Object obj, Attributes attrs, argument
38 super(name, obj, attrs, isRelative);
/openjdk10/jdk/test/java/lang/instrument/executableJAR/
H A DExecJarWithAgent.java52 Attributes attrs = man.getMainAttributes();
53 attrs.put(Attributes.Name.MANIFEST_VERSION, "1.0.0");
54 attrs.put(Attributes.Name.MAIN_CLASS, "Main");
55 attrs.put(new Attributes.Name("Launcher-Agent-Class"), "Agent");
58 attrs.put(new Attributes.Name("Can-Redefine-Classes"), "true");
59 attrs.put(new Attributes.Name("Can-Retransform-Classes"), "true");
60 attrs.put(new Attributes.Name("Can-Set-Native-Method-Prefix"), "true");
61 attrs.put(new Attributes.Name("Boot-Class-Path"), "helper.jar");
86 Attributes attrs = man.getMainAttributes();
87 attrs
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/text/html/
H A DMuxingAttributeSet.java42 public MuxingAttributeSet(AttributeSet[] attrs) { argument
43 this.attrs = attrs;
59 protected synchronized void setAttributes(AttributeSet[] attrs) { argument
60 this.attrs = attrs;
68 return attrs;
73 * the value of <code>index</code> is between 0 and attrs.length,
78 int numAttrs = attrs.length;
82 System.arraycopy(attrs,
240 containsAttributes(AttributeSet attrs) argument
264 private AttributeSet[] attrs; field in class:MuxingAttributeSet
[all...]
/openjdk10/jdk/test/tools/launcher/modules/addexports/manifest/
H A DAddExportsAndOpensInManifest.java57 Attributes attrs = man.getMainAttributes();
58 attrs.put(Attributes.Name.MANIFEST_VERSION, "1.0");
66 attrs.put(new Attributes.Name(name), value);
87 private void runExpectingPass(String attrs) throws Exception { argument
88 int exitValue = runTest(attrs).getExitValue();
96 private void runExpectingFail(String attrs, String errorString) throws Exception { argument
97 int exitValue = runTest(attrs).shouldContain(errorString).getExitValue();
160 String attrs = "Main-Class=Test1,Add-Exports=java.DoesNotExist/jdk.internal.misc";
161 runExpectingFail(attrs, "IllegalAccessError");
164 attrs
[all...]
/openjdk10/jdk/src/jdk.crypto.mscapi/windows/classes/sun/security/mscapi/
H A DSunMSCAPI.java67 String[] aliases, HashMap<String, String> attrs) {
69 (aliases == null? null : Arrays.asList(aliases)), attrs);
155 HashMap<String, String> attrs = new HashMap<>(1);
156 attrs.put("SupportedKeyClasses", "sun.security.mscapi.Key");
164 null, attrs));
167 null, attrs));
171 attrs));
175 attrs));
179 attrs));
182 null, attrs));
66 ProviderService(Provider p, String type, String algo, String cn, String[] aliases, HashMap<String, String> attrs) argument
[all...]
/openjdk10/jdk/src/java.base/share/classes/java/nio/file/
H A DTempFileHelper.java83 FileAttribute<?>[] attrs)
96 if (attrs.length == 0) {
98 attrs = new FileAttribute<?>[1];
99 attrs[0] = (createDirectory) ? PosixPermissions.dirPermissions :
104 for (int i=0; i<attrs.length; i++) {
105 if (attrs[i].name().equals("posix:permissions")) {
111 FileAttribute<?>[] copy = new FileAttribute<?>[attrs.length+1];
112 System.arraycopy(attrs, 0, copy, 0, attrs.length);
113 attrs
79 create(Path dir, String prefix, String suffix, boolean createDirectory, FileAttribute<?>[] attrs) argument
154 createTempFile(Path dir, String prefix, String suffix, FileAttribute<?>[] attrs) argument
167 createTempDirectory(Path dir, String prefix, FileAttribute<?>[] attrs) argument
[all...]
H A DSimpleFileVisitor.java57 public FileVisitResult preVisitDirectory(T dir, BasicFileAttributes attrs) argument
61 Objects.requireNonNull(attrs);
72 public FileVisitResult visitFile(T file, BasicFileAttributes attrs) argument
76 Objects.requireNonNull(attrs);
H A DFileVisitor.java43 * public FileVisitResult visitFile(Path file, BasicFileAttributes attrs)
73 * public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs)
86 * public FileVisitResult visitFile(Path file, BasicFileAttributes attrs)
111 * @param attrs
119 FileVisitResult preVisitDirectory(T dir, BasicFileAttributes attrs) argument
127 * @param attrs
135 FileVisitResult visitFile(T file, BasicFileAttributes attrs) argument
/openjdk10/jdk/src/java.naming/share/classes/javax/naming/spi/
H A DDirStateFactory.java162 private Attributes attrs; field in class:DirStateFactory.Result
172 this.attrs = outAttrs;
185 public Attributes getAttributes() { return attrs; };
/openjdk10/jdk/src/java.base/share/classes/sun/security/pkcs10/
H A DPKCS10Attributes.java63 * @param attrs the array of PKCS10Attribute objects.
65 public PKCS10Attributes(PKCS10Attribute[] attrs) { argument
66 for (int i = 0; i < attrs.length; i++) {
67 map.put(attrs[i].getAttributeId().toString(), attrs[i]);
79 DerValue[] attrs = in.getSet(3, true);
81 if (attrs == null)
83 for (int i = 0; i < attrs.length; i++) {
84 PKCS10Attribute attr = new PKCS10Attribute(attrs[i]);
176 PKCS10Attribute[] attrs
[all...]
/openjdk10/jdk/src/java.naming/share/classes/sun/security/provider/certpath/ldap/
H A DJdkLDAP.java46 List<String> aliases, HashMap<String, String> attrs) {
47 super(p, type, algo, cn, aliases, attrs);
78 HashMap<String, String> attrs = new HashMap<>(2);
79 attrs.put("LDAPSchema", "RFC2587");
80 attrs.put("ImplementedIn", "Software");
84 * attrs: LDAPSchema, ImplementedIn
88 null, attrs));
45 ProviderService(Provider p, String type, String algo, String cn, List<String> aliases, HashMap<String, String> attrs) argument

Completed in 112 milliseconds

1234567891011>>