/glassfish-3.1.2/transaction/jts/src/main/java/com/sun/jts/CosTransactions/ |
H A D | LogRecordEnding.java | 106 * @param bytes The array of bytes from which the object is to be constructed. 113 LogRecordEnding( byte[] bytes, argument 115 currentLSN = new LogLSN(bytes,index); 120 * @param bytes The array of bytes into which the object is to be copied. 123 * @return Number of bytes copied. 127 final int toBytes( byte[] bytes, argument 129 currentLSN.toBytes(bytes,index);
|
H A D | LogControlDescriptor.java | 109 * @param bytes The array of bytes from which the object is to be constructed. 116 LogControlDescriptor( byte[] bytes, argument 118 headLSN = new LogLSN(bytes,index); index += LogLSN.SIZEOF; 119 tailLSN = new LogLSN(bytes,index); index += LogLSN.SIZEOF; 120 nextLSN = new LogLSN(bytes,index); index += LogLSN.SIZEOF; 125 * @param bytes The array of bytes into which the object is to be copied. 128 * @return Number of bytes copied. 132 final int toBytes( byte[] bytes, argument [all...] |
H A D | LogRestartDescriptor.java | 100 * @param bytes The array of bytes from which the object is 108 LogRestartDescriptor(byte[] bytes, int index) { argument 109 restartValid = (bytes[index++]&255) + 110 ((bytes[index++]&255) << 8) + 111 ((bytes[index++]&255) << 16) + 112 ((bytes[index++]&255) << 24); 114 restartDataLength = (bytes[index++]&255) + 115 ((bytes[index++]&255) << 8) + 116 ((bytes[inde 135 toBytes(byte[] bytes, int index) argument [all...] |
H A D | LogRecordHeader.java | 98 * @param bytes The array of bytes from which the object is to 106 LogRecordHeader(byte[] bytes, int index) { argument 107 recordType = (bytes[index++]&255) + 108 ((bytes[index++]&255) << 8) + 109 ((bytes[index++]&255) << 16) + 110 ((bytes[index++]&255) << 24); 112 currentLSN = new LogLSN(bytes,index); index += LogLSN.SIZEOF; 113 previousLSN = new LogLSN(bytes,index); index += LogLSN.SIZEOF; 114 nextLSN = new LogLSN(bytes,inde 149 toBytes(byte[] bytes, int index) argument [all...] |
H A D | GlobalTID.java | 173 * @param The array of bytes. 179 GlobalTID( byte[] bytes ) { 180 int formatID = (bytes[0]&255) + 181 ((bytes[1]&255) << 8) + 182 ((bytes[2]&255) << 16) + 183 ((bytes[3]&255) << 24); 184 int bqualLength = (bytes[4]&255) + 185 ((bytes[5]&255) << 8) + 186 ((bytes[6]&255) << 16) + 187 ((bytes[ 504 fromTIDBytes(byte[] bytes) argument [all...] |
H A D | LogLSN.java | 147 * @param bytes The array of bytes from which the LogLSN is to be constructed. 154 LogLSN( byte[] bytes, argument 156 offset = (bytes[index++]&255) + 157 ((bytes[index++]&255) << 8) + 158 ((bytes[index++]&255) << 16) + 159 ((bytes[index++]&255) << 24); 160 extent = (bytes[index++]&255) + 161 ((bytes[index++]&255) << 8) + 162 ((bytes[inde 238 toBytes( byte[] bytes, int index ) argument [all...] |
H A D | RecoveryManager.java | 1421 * @param bytes The restart data. 1427 public static void setRestart(byte[] bytes) { argument 1432 if (!logFile.writeRestart(bytes)) {
|
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/util/ |
H A D | HexUtils.java | 121 byte[] bytes = new byte[bLength]; 144 bytes[i] = b; 146 return bytes; 155 * @param bytes Byte array representation 157 public static char[] convert(byte bytes[]) { argument 159 char[] arr = new char[bytes.length * 2]; 160 for (int i = 0; i < bytes.length; i++) { 161 arr[2*i] = convertDigit((int) (bytes[i] >> 4)); 162 arr[2*i + 1] = convertDigit((int) (bytes[i] & 0x0f)); 170 * bytes [all...] |
H A D | RequestUtil.java | 289 // use the specified encoding to extract bytes out of the 292 byte[] bytes = null; 295 bytes = data.getBytes(Charset.defaultCharset()); 297 bytes = data.getBytes(Charsets.lookupCharset(encoding)); 302 parseParameters(map, bytes, encoding); 344 * @param bytes The url-encoded byte array 348 public static String urlDecode(byte[] bytes) { argument 351 return Util.urlDecode(bytes); 358 * @param bytes The url-encoded byte array 363 public static String urlDecode(byte[] bytes, Strin argument [all...] |
/glassfish-3.1.2/web/web-naming/src/main/java/org/apache/naming/ |
H A D | Util.java | 161 // use the specified encoding to extract bytes out of the 164 byte[] bytes = null; 167 bytes = str.getBytes(Charset.defaultCharset()); 169 bytes = str.getBytes(Charsets.lookupCharset(enc)); 173 return urlDecode(bytes, enc); 180 * @param bytes The url-encoded byte array 184 public static String urlDecode(byte[] bytes) { argument 185 return urlDecode(bytes, null); 191 * @param bytes The url-encoded byte array 196 public static String urlDecode(byte[] bytes, Strin argument [all...] |
/glassfish-3.1.2/core/bootstrap/src/main/java/com/sun/enterprise/glassfish/bootstrap/ |
H A D | Rejar.java | 169 protected void copy(byte[] bytes, String name, JarOutputStream jos) throws IOException { argument 172 jos.write(bytes);
|
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/annotation/introspection/ |
H A D | ConstantPoolInfo.java | 63 byte[] bytes = new byte[Short.MAX_VALUE]; field in class:ConstantPoolInfo 86 buffer.get(bytes, 0, length); 88 * bytes to Ljava since all annotations are in the java 92 if (bytes[0]=='L' && bytes[1]=='j' && bytes[2]=='a') { 95 stringValue = new String(bytes, 0, length,"US-ASCII"); 97 stringValue = new String(bytes, 0, length);
|
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/appserv/web/cache/filter/ |
H A D | HttpCacheEntry.java | 50 * a) response bytes b) response headers c) expiryTime 72 byte[] bytes; field in class:HttpCacheEntry 109 bytes = null; 116 * @return size of this entry in bytes 121 if (bytes != null) { 122 size = bytes.length; 125 // size of response bytes plus headers (each approx 20 chars or 40 bytes)
|
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/base/ |
H A D | Sample.java | 103 public void uploadBytes(final byte[] bytes); argument
|
/glassfish-3.1.2/persistence/cmp/enhancer/src/main/java/com/sun/jdo/api/persistence/enhancer/ |
H A D | ByteCodeEnhancerHelper.java | 148 byte [] bytes = tmp.toByteArray (); 151 modifyZipEntry (out_entry, bytes, crc32); 152 in = new ByteArrayInputStream (bytes); 237 * @param bytes The uncompressed byte representation of the classfile. 242 byte [] bytes, 246 entry.setSize (bytes.length); 250 crc32.update (bytes); 252 entry.setCompressedSize (bytes.length); 241 modifyZipEntry(ZipEntry entry, byte [] bytes, CRC32 crc32) argument
|
/glassfish-3.1.2/persistence/cmp/enhancer/src/main/java/com/sun/jdo/api/persistence/enhancer/classfile/ |
H A D | InsnReadEnv.java | 61 InsnReadEnv(byte[] bytes, CodeEnv codeEnv) { argument 62 this.byteCodes = bytes;
|
/glassfish-3.1.2/common/amx-core-impl/src/main/java/org/glassfish/admin/amx/impl/mbean/ |
H A D | SampleImpl.java | 169 public void uploadBytes(final byte[] bytes) { argument 179 final byte[] bytes = new byte[numBytes]; 181 return (bytes);
|
/glassfish-3.1.2/common/amx-core/src/main/java/org/glassfish/admin/amx/util/ |
H A D | StringUtil.java | 122 public static String toHexString(byte[] bytes) argument 124 return (toHexString(bytes, null)); 127 public static String toHexString(byte[] bytes, String delim) argument 131 if (bytes.length == 0) 137 for (int i = 0; i < bytes.length; ++i) 139 buf.append(toHexString(bytes[i])); 144 for (int i = 0; i < bytes.length; ++i) 146 buf.append(toHexString(bytes[i]) + delim);
|
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/auth/realm/jdbc/ |
H A D | JDBCRealm.java | 472 byte[] bytes = null; 475 bytes = Utility.convertCharArrayToByteArray(password, charSet); 480 bytes = md.digest(bytes); 486 result = hexEncode(bytes); 488 result = base64Encode(bytes).toCharArray(); 490 result = Utility.convertByteArrayToCharArray(bytes, charSet); 495 private char[] hexEncode(byte[] bytes) { argument 496 StringBuilder sb = new StringBuilder(2 * bytes.length); 497 for (int i = 0; i < bytes 508 base64Encode(byte[] bytes) argument [all...] |
/glassfish-3.1.2/security/ejb.security/src/main/java/com/sun/enterprise/iiop/security/ |
H A D | SecServerRequestInterceptor.java | 366 * @param bytes an input array of byte 369 private boolean isCDR(byte[] bytes) { argument 370 return (bytes != null && bytes.length > 0 && 371 (bytes[0] == 0x0 || bytes[0] == 0x1));
|
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/fileupload/ |
H A D | MultipartStream.java | 135 /** Number of expected bytes, if known, or -1. 138 /** Number of bytes, which have been read so far. 153 /** Called to indicate that bytes have been read. 154 * @param pBytes Number of bytes, which have been read. 157 /* Indicates, that the given number of bytes have been read from 200 * processed (10 kilobytes = 10240 bytes.). 258 * The amount of data, in bytes, that must be kept in the buffer in order 322 * @param bufSize The size of the buffer to be used, in bytes. 530 + " bytes (maybe it is not properly terminated)"); 642 * Compares <code>count</code> first bytes i 922 skip(long bytes) argument [all...] |
/glassfish-3.1.2/installer/src/cpp/share/launcher/ |
H A D | java_md.winnt.c | 1414 DWORD bytes; local 1429 ReadFile(errpipe[0], version, PIPE_SIZE, &bytes, NULL); 1430 if (bytes <= 0) 1431 bytes = 0; 1432 version[bytes] = '\0';
|
H A D | java_md.unix.c | 1866 ssize_t bytes; local 1874 bytes = read(fdout[0], version, PIPE_SIZE); 1875 if (bytes < 0) 1876 bytes = 0; 1877 version[bytes] = '\0';
|
/glassfish-3.1.2/jdbc/jdbc-ra/jdbc40/ |
H A D | jdbc40.jar | META-INF/ META-INF/MANIFEST.MF javax/ javax/sql/ javax/sql/StatementEvent.class StatementEvent. ... |