Searched defs:attributes (Results 1 - 25 of 30) sorted by relevance

12

/libcore/ojluni/src/main/java/sun/nio/fs/
H A DDynamicFileAttributeView.java33 * attributes by names.
43 * Reads a set of file attributes as a bulk operation.
45 Map<String,Object> readAttributes(String[] attributes) throws IOException; argument
H A DAbstractUserDefinedFileAttributeView.java76 public final Map<String,Object> readAttributes(String[] attributes) argument
79 // names of attributes to return
81 for (String name: attributes) {
H A DFileOwnerAttributeViewImpl.java73 public Map<String,Object> readAttributes(String[] attributes) throws IOException { argument
75 for (String attribute: attributes) {
H A DAbstractFileSystemProvider.java83 public final Map<String,Object> readAttributes(Path file, String attributes, LinkOption... options) argument
86 String[] s = split(attributes);
88 throw new IllegalArgumentException(attributes);
H A DLinuxDosFileAttributeView.java39 * as ext3 that have extended attributes enabled and SAMBA configured to store
40 * DOS attributes.
61 // the names of the DOS attributes (includes basic)
98 public Map<String,Object> readAttributes(String[] attributes) argument
102 AttributesBuilder.create(dosAttributeNames, attributes);
/libcore/benchmarks/src/benchmarks/
H A DXmlParseBenchmark.java99 String qName, Attributes attributes) {
98 startElement(String uri, String localName, String qName, Attributes attributes) argument
/libcore/ojluni/src/main/java/java/text/
H A DAttributedCharacterIterator.java40 * attributes on a given character can have the same key.
54 * <p>A <em>run with respect to a set of attributes</em> is a maximum text range for
57 * <p>When getting a run with no explicit attributes specified (i.e.,
59 * contiguous text segments having the same attributes (the same set
61 * attributes have been given to those text segments separately.
82 * Defines attribute keys that are used to identify text attributes. These
203 * with respect to all attributes containing the current character.
205 * <p>Any contiguous text segments having the same attributes (the
207 * if the attributes have been given to those text segments separately.
224 * with respect to the given {@code attributes} containin
229 getRunStart(Set<? extends Attribute> attributes) argument
259 getRunLimit(Set<? extends Attribute> attributes) argument
[all...]
/libcore/ojluni/src/main/java/sun/security/pkcs/
H A DPKCS9Attributes.java38 * A set of attributes of class PKCS9Attribute.
46 private final Hashtable<ObjectIdentifier, PKCS9Attribute> attributes = field in class:PKCS9Attributes
50 * The keys of this hashtable are the OIDs of permitted attributes.
61 * Contols how attributes, which are not recognized by the PKCS9Attribute
68 * DER encoding on a DerInputStream, accepting only attributes
70 * list. If the array is null, accept all attributes supported by
104 * DER encoding on a DerInputStream. Accept all attributes
106 * attributes.
121 * DER encoding on a DerInputStream. Accept all attributes
123 * attributes, i
[all...]
/libcore/ojluni/src/main/java/sun/util/locale/
H A DUnicodeLocaleExtension.java45 private final Set<String> attributes; field in class:UnicodeLocaleExtension
55 attributes = Collections.emptySet();
59 UnicodeLocaleExtension(SortedSet<String> attributes, SortedMap<String, String> keywords) { argument
61 if (attributes != null) {
62 this.attributes = attributes;
64 this.attributes = Collections.emptySet();
72 if (!this.attributes.isEmpty() || !this.keywords.isEmpty()) {
74 for (String attribute : this.attributes) {
91 if (attributes
[all...]
/libcore/luni/src/main/java/org/xml/sax/
H A DHandlerBase.java200 * @param attributes The specified or defaulted attributes.
205 public void startElement (String name, AttributeList attributes)
202 startElement(String name, AttributeList attributes) argument
/libcore/luni/src/main/java/org/xml/sax/helpers/
H A DDefaultHandler.java266 * @param attributes The attributes attached to the element. If
267 * there are no attributes, it shall be an empty
274 String qName, Attributes attributes)
270 startElement(String uri, String localName, String qName, Attributes attributes) argument
H A DXMLReaderAdapter.java324 * @param atts The SAX2 attributes.
458 void setAttributes (Attributes attributes)
460 this.attributes = attributes;
465 * Return the number of attributes.
472 return attributes.getLength();
484 return attributes.getQName(i);
496 return attributes.getType(i);
508 return attributes.getValue(i);
520 return attributes
454 setAttributes(Attributes attributes) argument
531 private Attributes attributes; field in class:XMLReaderAdapter.AttributesAdapter
[all...]
/libcore/luni/src/test/filesystems/src/mypackage/
H A DMockFileSystemProvider.java129 public Map<String, Object> readAttributes(Path path, String attributes, argument
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DProviderServiceTest.java242 Map<String, String> attributes) {
243 super(provider, type, algorithm, className, aliases, attributes);
240 MyService(Provider provider, String type, String algorithm, String className, List<String> aliases, Map<String, String> attributes) argument
/libcore/dom/src/test/java/org/w3c/domts/
H A DXercesHTML2DocumentBuilderFactory.java142 Attributes attributes) throws SAXException {
143 currentAttributes = attributes;
138 startElement( String uri, String localName, String qName, Attributes attributes) argument
H A DXercesHTMLDocumentBuilderFactory.java142 Attributes attributes) throws SAXException {
143 currentAttributes = attributes;
138 startElement( String uri, String localName, String qName, Attributes attributes) argument
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
H A DElementImpl.java47 private List<AttrImpl> attributes = new ArrayList<AttrImpl>(); field in class:ElementImpl
60 for (int i = 0; i < attributes.size(); i++) {
61 AttrImpl attr = attributes.get(i);
71 for (int i = 0; i < attributes.size(); i++) {
72 AttrImpl attr = attributes.get(i);
109 return attributes.get(i);
119 return attributes.get(i);
133 for (Attr attr : attributes) {
213 return !attributes.isEmpty();
220 attributes
[all...]
/libcore/luni/src/test/java/libcore/xml/
H A DSaxTest.java41 String qName, Attributes attributes) {
45 assertEquals(1, attributes.getLength());
46 assertEquals("", attributes.getURI(0));
47 assertOneOf("bar", "", attributes.getLocalName(0));
48 assertEquals("bar", attributes.getQName(0));
54 String qName, Attributes attributes) {
58 assertEquals(1, attributes.getLength());
59 assertEquals("", attributes.getURI(0));
60 assertOneOf("a:bar", "", attributes.getLocalName(0));
61 assertEquals("a:bar", attributes
245 startElement( String uri, String localName, String qName, Attributes attributes) argument
[all...]
H A DExpatSaxParserTest.java66 String qName, Attributes attributes)
142 Attributes attributes) throws SAXException {
147 // Validate attributes.
148 assertEquals(1, attributes.getLength());
149 assertEquals("", attributes.getURI(0));
150 assertEquals("dad", attributes.getLocalName(0));
151 assertEquals("bob", attributes.getValue(0));
152 assertEquals(0, attributes.getIndex("", "dad"));
153 assertEquals("bob", attributes.getValue("", "dad"));
550 Attributes attributes) throw
141 startElement(String uri, String localName, String qName, Attributes attributes) argument
[all...]
/libcore/ojluni/src/main/java/java/nio/file/
H A DFileTreeWalker.java156 BasicFileAttributes attributes() { method in class:FileTreeWalker.Event
197 * Returns the attributes of the given file, taking into account whether
199 * argument determines whether this method can use cached attributes.
204 // if attributes are cached then use them if possible
215 // attempt to get attributes of file. If fails and we are following
216 // links then a link target might not exist so get attributes of link
269 * The {@code canUseCached} parameter determines whether cached attributes
273 // need the file attributes
H A DFiles.java301 * file-attributes} to set atomically when a new file is created.
327 * an optional list of file attributes to set atomically when
336 * attributes that cannot be set atomically when creating the file
601 * file-attributes} to set atomically when creating the file. Each attribute
609 * an optional list of file attributes to set atomically when
645 * file-attributes} to set atomically when creating the directory. Each
653 * an optional list of file attributes to set atomically when
685 * file-attributes} to set atomically when creating the nonexistent
697 * an optional list of file attributes to set atomically when
810 * file-attributes} t
1960 readAttributes(Path path, String attributes, LinkOption... options) argument
[all...]
/libcore/ojluni/src/main/java/java/nio/file/spi/
H A DFileSystemProvider.java452 * an optional list of file attributes to set atomically when
499 * an optional list of file attributes to set atomically when
538 * an optional list of file attributes to set atomically when
547 * attributes that cannot be set atomically when creating the file
602 * an optional list of file attributes to set atomically when
633 * the array of attributes to set atomically when creating the
951 * file attributes in order to check the effective access to the file. To
953 * attributes and so in some implementations this method may not be atomic
1007 * Reads a file's attributes as a bulk operation. This method works in
1016 * the {@code Class} of the file attributes require
1064 readAttributes(Path path, String attributes, LinkOption... options) argument
[all...]
/libcore/ojluni/src/main/java/java/sql/
H A DConnection.java1297 * @param attributes the attributes that populate the returned object
1298 * @return a Struct object that maps to the given SQL type and is populated with the given attributes
1303 Struct createStruct(String typeName, Object[] attributes) argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
H A DSAXParserTestSupport.java309 Attributes attributes) {
316 for(int i = 0; i < attributes.getLength(); i ++)
318 SEPARATOR_STRING +attributes.getQName(i) +
319 SEPARATOR_STRING + attributes.getValue(i));
466 Attributes attributes) {
473 for(int i = 0; i < attributes.getLength(); i ++)
475 + attributes.getQName(i) +
476 SEPARATOR_STRING + attributes.getValue(i));
308 startElement(String uri, String localName, String qName, Attributes attributes) argument
465 startElement(String uri, String localName, String qName, Attributes attributes) argument
/libcore/luni/src/main/java/org/apache/harmony/xml/
H A DExpatParser.java62 private final ExpatAttributes attributes = new CurrentAttributes(); field in class:ExpatParser
129 * @param attributeCount number of attributes
144 uri, localName, qName, this.attributes);
598 * Clones the current attributes so they can be used outside of
618 * Used for cloned attributes.
629 * Constructs a Java wrapper for native attributes.
632 * @param pointer pointer to the attributes array, can be 0 if the
634 * @param length number of attributes

Completed in 725 milliseconds

12