/openjdk7/jdk/src/share/classes/sun/audio/ |
H A D | AudioData.java | 46 * array rather than an arbitrary input stream) and a format 62 AudioFormat format; // carry forth the format array amusement field in class:AudioData 71 // if we cannot extract valid format information, we resort to assuming the data will be 8k mono u-law 73 this.format = DEFAULT_FORMAT; 75 // okay, we need to extract the format and the byte buffer of data 78 this.format = ais.getFormat(); 82 // use default format 84 // use default format 93 AudioData(AudioFormat format, byt argument [all...] |
H A D | AudioStream.java | 46 AudioFormat format = null; field in class:AudioStream 70 format = ais.getFormat(); 111 return new AudioData(format, buffer); 117 Format[] format = acis.getFormat(); 121 return new AudioData((AudioFormat)format[0], bytes); 131 if( ais != null && format != null ) {
|
/openjdk7/jdk/src/share/classes/java/util/logging/ |
H A D | SimpleFormatter.java | 36 * format. The summary will typically be 1 or 2 lines. 42 * <a href="../Formatter.html#syntax">format string</a> 43 * specified in the {@code java.util.logging.SimpleFormatter.format} 44 * property to {@linkplain #format format} the log messages. 50 * the format string specified in the system property will be used. 51 * If this property is not defined or the given format string 53 * the default format is implementation-specific. 61 // format string for printing the log record 62 private static final String format field in class:SimpleFormatter 140 public synchronized String format(LogRecord record) { method in class:SimpleFormatter [all...] |
H A D | Formatter.java | 57 * convenience method to localize and format the message field. 62 public abstract String format(LogRecord record); method in class:Formatter 93 * Localize and format the message string from a log record. This 97 * The message string is first localized to a format string using 100 * format string.) The format String uses java.text style 105 * java.text.MessageFormat is used to format the string. 114 String format = record.getMessage(); 118 format = catalog.getString(record.getMessage()); 120 // Drop through. Use record message as format [all...] |
/openjdk7/langtools/test/tools/javac/generics/6413682/ |
H A D | TestPos.java | 53 String.format("%s%n%s%n", 83 log.append(String.format("begin=%s, end=%s : %s%n", 99 log.append(String.format("%s @ %s%n", diag.getCode(), diag.getPosition())); 124 static void error(String format, Object... args) { argument 125 throw new AssertionError(String.format(format, args));
|
/openjdk7/jdk/src/share/classes/java/security/ |
H A D | AlgorithmParametersSpi.java | 68 * according to the primary decoding format for parameters. 69 * The primary decoding format for parameters is ASN.1, if an ASN.1 81 * decodes them according to the specified decoding format. 82 * If <code>format</code> is null, the 83 * primary decoding format for parameters is used. The primary decoding 84 * format is ASN.1, if an ASN.1 specification for these parameters 89 * @param format the name of the decoding format. 93 protected abstract void engineInit(byte[] params, String format) argument 119 * Returns the parameters in their primary encoding format 142 engineGetEncoded(String format) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/tools/jstat/ |
H A D | OptionOutputFormatter.java | 38 private OptionFormat format; field in class:OptionOutputFormatter 42 public OptionOutputFormatter(MonitoredVm vm, OptionFormat format) argument 45 this.format = format; 52 format.apply(ec); 58 format.apply(hc); 66 format.apply(rc);
|
/openjdk7/jdk/test/javax/sound/midi/Gervill/AudioFloatInputStream/ |
H A D | Available.java | 39 static AudioFormat format = new AudioFormat(44100, 16, 1, true, false); field in class:Available 43 return AudioFloatInputStream.getInputStream(format, test_byte_array, 0, test_byte_array.length); 48 AudioInputStream strm = new AudioInputStream(new ByteArrayInputStream(test_byte_array), format, 1024); 54 test_byte_array = new byte[1024*format.getFrameSize()]; 63 AudioFloatConverter.getConverter(format).toByteArray(test_float_array, test_byte_array);
|
H A D | Close.java | 39 static AudioFormat format = new AudioFormat(44100, 16, 1, true, false); field in class:Close 43 return AudioFloatInputStream.getInputStream(format, test_byte_array, 0, test_byte_array.length); 48 AudioInputStream strm = new AudioInputStream(new ByteArrayInputStream(test_byte_array), format, 1024); 54 test_byte_array = new byte[1024*format.getFrameSize()]; 63 AudioFloatConverter.getConverter(format).toByteArray(test_float_array, test_byte_array);
|
H A D | GetFormat.java | 39 static AudioFormat format = new AudioFormat(44100, 16, 1, true, false); field in class:GetFormat 43 return AudioFloatInputStream.getInputStream(format, test_byte_array, 0, test_byte_array.length); 48 AudioInputStream strm = new AudioInputStream(new ByteArrayInputStream(test_byte_array), format, 1024); 54 test_byte_array = new byte[1024*format.getFrameSize()]; 63 AudioFloatConverter.getConverter(format).toByteArray(test_float_array, test_byte_array); 68 if(!getStream1().getFormat().matches(format)) 69 throw new RuntimeException("Incorrect audio format returned."); 70 if(!getStream2().getFormat().matches(format)) 71 throw new RuntimeException("Incorrect audio format returned.");
|
H A D | GetFrameLength.java | 39 static AudioFormat format = new AudioFormat(44100, 16, 1, true, false); field in class:GetFrameLength 43 return AudioFloatInputStream.getInputStream(format, test_byte_array, 0, test_byte_array.length); 48 AudioInputStream strm = new AudioInputStream(new ByteArrayInputStream(test_byte_array), format, 1024); 54 test_byte_array = new byte[1024*format.getFrameSize()]; 63 AudioFloatConverter.getConverter(format).toByteArray(test_float_array, test_byte_array);
|
H A D | MarkSupported.java | 39 static AudioFormat format = new AudioFormat(44100, 16, 1, true, false); field in class:MarkSupported 43 return AudioFloatInputStream.getInputStream(format, test_byte_array, 0, test_byte_array.length); 48 AudioInputStream strm = new AudioInputStream(new ByteArrayInputStream(test_byte_array), format, 1024); 54 test_byte_array = new byte[1024*format.getFrameSize()]; 63 AudioFloatConverter.getConverter(format).toByteArray(test_float_array, test_byte_array);
|
H A D | Read.java | 39 static AudioFormat format = new AudioFormat(44100, 16, 1, true, false); field in class:Read 43 return AudioFloatInputStream.getInputStream(format, test_byte_array, 0, test_byte_array.length); 48 AudioInputStream strm = new AudioInputStream(new ByteArrayInputStream(test_byte_array), format, 1024); 54 test_byte_array = new byte[1024*format.getFrameSize()]; 63 AudioFloatConverter.getConverter(format).toByteArray(test_float_array, test_byte_array);
|
H A D | ReadFloatArray.java | 39 static AudioFormat format = new AudioFormat(44100, 16, 1, true, false); field in class:ReadFloatArray 43 return AudioFloatInputStream.getInputStream(format, test_byte_array, 0, test_byte_array.length); 48 AudioInputStream strm = new AudioInputStream(new ByteArrayInputStream(test_byte_array), format, 1024); 54 test_byte_array = new byte[1024*format.getFrameSize()]; 63 AudioFloatConverter.getConverter(format).toByteArray(test_float_array, test_byte_array);
|
H A D | ReadFloatArrayIntInt.java | 39 static AudioFormat format = new AudioFormat(44100, 16, 1, true, false); field in class:ReadFloatArrayIntInt 43 return AudioFloatInputStream.getInputStream(format, test_byte_array, 0, test_byte_array.length); 48 AudioInputStream strm = new AudioInputStream(new ByteArrayInputStream(test_byte_array), format, 1024); 54 test_byte_array = new byte[1024*format.getFrameSize()]; 63 AudioFloatConverter.getConverter(format).toByteArray(test_float_array, test_byte_array);
|
H A D | Reset.java | 39 static AudioFormat format = new AudioFormat(44100, 16, 1, true, false); field in class:Reset 43 return AudioFloatInputStream.getInputStream(format, test_byte_array, 0, test_byte_array.length); 48 AudioInputStream strm = new AudioInputStream(new ByteArrayInputStream(test_byte_array), format, 1024); 54 test_byte_array = new byte[1024*format.getFrameSize()]; 63 AudioFloatConverter.getConverter(format).toByteArray(test_float_array, test_byte_array);
|
H A D | Skip.java | 39 static AudioFormat format = new AudioFormat(44100, 16, 1, true, false); field in class:Skip 43 return AudioFloatInputStream.getInputStream(format, test_byte_array, 0, test_byte_array.length); 48 AudioInputStream strm = new AudioInputStream(new ByteArrayInputStream(test_byte_array), format, 1024); 54 test_byte_array = new byte[1024*format.getFrameSize()]; 63 AudioFloatConverter.getConverter(format).toByteArray(test_float_array, test_byte_array);
|
/openjdk7/jdk/test/javax/sound/midi/Gervill/ModelByteBuffer/ |
H A D | GetInputStream.java | 42 static AudioFormat format = new AudioFormat(44100, 16, 1, true, false); field in class:GetInputStream 55 AudioFloatConverter.getConverter(format).toByteArray(testarray, test_byte_array);
|
H A D | GetRoot.java | 41 static AudioFormat format = new AudioFormat(44100, 16, 1, true, false); field in class:GetRoot 54 AudioFloatConverter.getConverter(format).toByteArray(testarray, test_byte_array);
|
H A D | Load.java | 42 static AudioFormat format = new AudioFormat(44100, 16, 1, true, false); field in class:Load 55 AudioFloatConverter.getConverter(format).toByteArray(testarray, test_byte_array);
|
H A D | LoadAll.java | 44 static AudioFormat format = new AudioFormat(44100, 16, 1, true, false); field in class:LoadAll 57 AudioFloatConverter.getConverter(format).toByteArray(testarray, test_byte_array);
|
H A D | NewModelByteBufferByteArray.java | 41 static AudioFormat format = new AudioFormat(44100, 16, 1, true, false); field in class:NewModelByteBufferByteArray 54 AudioFloatConverter.getConverter(format).toByteArray(testarray, test_byte_array);
|
H A D | NewModelByteBufferByteArrayIntInt.java | 41 static AudioFormat format = new AudioFormat(44100, 16, 1, true, false); field in class:NewModelByteBufferByteArrayIntInt 54 AudioFloatConverter.getConverter(format).toByteArray(testarray, test_byte_array);
|
H A D | NewModelByteBufferFile.java | 41 static AudioFormat format = new AudioFormat(44100, 16, 1, true, false); field in class:NewModelByteBufferFile 54 AudioFloatConverter.getConverter(format).toByteArray(testarray, test_byte_array);
|
H A D | NewModelByteBufferFileLongLong.java | 41 static AudioFormat format = new AudioFormat(44100, 16, 1, true, false); field in class:NewModelByteBufferFileLongLong 54 AudioFloatConverter.getConverter(format).toByteArray(testarray, test_byte_array);
|