/openjdk10/jdk/src/java.naming/share/classes/javax/naming/directory/ |
H A D | SearchResult.java | 50 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 D | bug4984669.java | 42 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 D | RdnMisc.java | 43 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 D | Person.java | 37 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 D | NamedNodeMapImpl.java | 39 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 D | ElementImpl.java | 39 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 D | UnixFileStoreAttributes.java | 38 UnixFileStoreAttributes attrs = new UnixFileStoreAttributes(); 39 UnixNativeDispatcher.statvfs(path, attrs); 40 return attrs;
|
H A D | UnixFileAttributes.java | 68 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 D | Basic.java | 46 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 D | Attributes.java | 42 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 D | DialogType.java | 62 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 D | DuplicateGetterTest.java | 60 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 D | LdapEntry.java | 43 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 D | Obj.java | 128 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 D | SearchResultWithControls.java | 35 public SearchResultWithControls(String name, Object obj, Attributes attrs, argument 38 super(name, obj, attrs, isRelative);
|
/openjdk10/jdk/test/java/lang/instrument/executableJAR/ |
H A D | ExecJarWithAgent.java | 52 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 D | MuxingAttributeSet.java | 42 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 D | AddExportsAndOpensInManifest.java | 57 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 D | SunMSCAPI.java | 67 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 D | TempFileHelper.java | 83 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 D | SimpleFileVisitor.java | 57 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 D | FileVisitor.java | 43 * 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 D | DirStateFactory.java | 162 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 D | PKCS10Attributes.java | 63 * @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 D | JdkLDAP.java | 46 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
|