Searched refs:toBytes (Results 1 – 11 of 11) sorted by relevance
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | LinuxFileSystem.java | 81 long fp = setmntent(Util.toBytes(fstab), Util.toBytes("r")); in getMountEntries()
|
D | LinuxDosFileAttributeView.java | 54 private static final byte[] DOS_XATTR_NAME_AS_BYTES = Util.toBytes(DOS_XATTR_NAME); 270 byte[] value = Util.toBytes("0x" + Integer.toHexString(newValue));
|
D | Util.java | 58 static byte[] toBytes(String s) { in toBytes() method in Util
|
D | UnixNativeDispatcher.java | 103 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()
|
D | LinuxFileStore.java | 101 byte[] name = Util.toBytes("user.java"); in isExtendedAttributesEnabled()
|
D | UnixFileSystem.java | 52 this.defaultDirectory = Util.toBytes(UnixPath.normalizeAndCheck(dir)); in UnixFileSystem()
|
D | LinuxUserDefinedFileAttributeView.java | 56 byte[] bytes = Util.toBytes(name); in nameAsBytes()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | StringLatin1.java | 718 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
|
D | StringUTF16.java | 174 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) {
|
D | String.java | 4479 return new String(StringLatin1.toBytes((char)codePoint), LATIN1); 4481 return new String(StringUTF16.toBytes((char)codePoint), UTF16);
|
D | AbstractStringBuilder.java | 1621 this.value = StringUTF16.toBytes(value, off, len);
|