Searched refs:view (Results 1 - 11 of 11) sorted by last modified time
/libcore/ojluni/src/main/java/java/nio/file/ |
H A D | CopyMoveHelper.java | 132 BasicFileAttributeView view = 135 view.setTimes(attrs.lastModifiedTime(),
|
H A D | Files.java | 1630 * Returns a file attribute view of a given type. 1632 * <p> A file attribute view provides a read-only or updatable view of a 1634 * attribute view defines type-safe methods to read or update the file 1635 * attributes. The {@code type} parameter is the type of the attribute view 1639 * view of that type will always return an instance of that class. 1642 * are handled by the resulting file attribute view for the case that the 1652 * AclFileAttributeView view = Files.getFileAttributeView(path, AclFileAttributeView.class); 1653 * if (view != null) { 1654 * List<AclEntry> acl = view [all...] |
/libcore/ojluni/src/main/java/sun/nio/fs/ |
H A D | AbstractFileSystemProvider.java | 41 * Splits the given attribute name into the name of an attribute view and 42 * the attribute. If the attribute view is not identified then it assumed 60 * view is not available. 76 DynamicFileAttributeView view = getFileAttributeView(file, s[0], options); 77 if (view == null) 79 view.setAttribute(s[1], value); 89 DynamicFileAttributeView view = getFileAttributeView(file, s[0], options); 90 if (view == null) 92 return view.readAttributes(s[1].split(","));
|
H A D | FileOwnerAttributeViewImpl.java | 42 private final FileAttributeView view; field in class:FileOwnerAttributeViewImpl 45 FileOwnerAttributeViewImpl(PosixFileAttributeView view) { argument 46 this.view = view; 50 FileOwnerAttributeViewImpl(AclFileAttributeView view) { argument 51 this.view = view; 89 return ((PosixFileAttributeView)view).readAttributes().owner(); 91 return ((AclFileAttributeView)view).getOwner(); 100 ((PosixFileAttributeView)view) [all...] |
H A D | UnixFileStore.java | 135 public <V extends FileStoreAttributeView> V getFileStoreAttributeView(Class<V> view) argument 137 if (view == null)
|
H A D | UnixFileSystemProvider.java | 135 Class<? extends BasicFileAttributeView> view; 137 view = BasicFileAttributeView.class; 139 view = PosixFileAttributeView.class; 144 return (A) getFileAttributeView(file, view, options).readAttributes();
|
/libcore/ojluni/src/test/java/nio/file/attribute/ |
H A D | BasicFileAttributeViewCreationTimeTest.java | 59 BasicFileAttributeView view = 61 view.setTimes(null, null, time);
|
H A D | BasicFileAttributeViewTest.java | 82 BasicFileAttributeView view = 85 view.setTimes(dirAttrs.lastModifiedTime(), null, null); 87 attrs = view.readAttributes();
|
H A D | PosixFileAttributeViewTest.java | 44 * view is not available. 51 * Use view to update permission to the given mode and check that the 142 PosixFileAttributeView view = 144 Set<PosixFilePermission> save = view.readAttributes() 171 view.setPermissions(save); 251 PosixFileAttributeView view = 253 PosixFileAttributes attrs = view.readAttributes(); 256 view.setOwner(attrs.owner()); 257 view.setGroup(attrs.group()); 334 PosixFileAttributeView view [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
H A D | PropertyAccessBenchmark.java | 24 private View view = new View(); field in class:PropertyAccessBenchmark 39 view.setX(0.1f); 45 view.x = 0.1f; 52 view.setX(value); 59 view.x = value; 65 setX.invoke(view, 0.1f); 72 setX.invoke(view, argsBox); 78 x.setFloat(view, 0.1f); 84 generatedSetter.setFloat(view, 0.1f); 90 generatedField.setFloat(view, 0. [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | AbstractMapTest.java | 385 private void testNullsOnView(Collection<?> view) { argument 387 assertFalse(view.contains(null)); 392 assertFalse(view.remove(null)); 397 assertFalse(view.equals(setOfNull)); 400 assertFalse(view.removeAll(setOfNull)); 405 assertTrue(view.retainAll(setOfNull)); // destructive
|
Completed in 236 milliseconds