Home
last modified time | relevance | path

Searched refs:toBytes (Results 1 – 11 of 11) sorted by relevance

/libcore/ojluni/src/main/java/sun/nio/fs/
DLinuxFileSystem.java81 long fp = setmntent(Util.toBytes(fstab), Util.toBytes("r")); in getMountEntries()
DLinuxDosFileAttributeView.java54 private static final byte[] DOS_XATTR_NAME_AS_BYTES = Util.toBytes(DOS_XATTR_NAME);
270 byte[] value = Util.toBytes("0x" + Integer.toHexString(newValue));
DUtil.java58 static byte[] toBytes(String s) { in toBytes() method in Util
DUnixNativeDispatcher.java103 NativeBuffer modeBuffer = NativeBuffers.asNativeBuffer(Util.toBytes(mode)); in fopen()
509 NativeBuffer buffer = NativeBuffers.asNativeBuffer(Util.toBytes(name)); in getpwnam()
524 NativeBuffer buffer = NativeBuffers.asNativeBuffer(Util.toBytes(name)); in getgrnam()
DLinuxFileStore.java101 byte[] name = Util.toBytes("user.java"); in isExtendedAttributesEnabled()
DUnixFileSystem.java52 this.defaultDirectory = Util.toBytes(UnixPath.normalizeAndCheck(dir)); in UnixFileSystem()
DLinuxUserDefinedFileAttributeView.java56 byte[] bytes = Util.toBytes(name); in nameAsBytes()
/libcore/ojluni/src/main/java/java/lang/
DStringLatin1.java718 public static byte[] toBytes(int[] val, int off, int len) { in toBytes() method in StringLatin1
730 public static byte[] toBytes(char c) { in toBytes() method in StringLatin1
DStringUTF16.java174 public static byte[] toBytes(char[] value, int off, int len) {
233 public static byte[] toBytes(int[] val, int index, int len) {
259 public static byte[] toBytes(char c) {
DString.java4479 return new String(StringLatin1.toBytes((char)codePoint), LATIN1);
4481 return new String(StringUTF16.toBytes((char)codePoint), UTF16);
DAbstractStringBuilder.java1621 this.value = StringUTF16.toBytes(value, off, len);