/openjdk10/jdk/src/java.desktop/share/classes/com/sun/media/sound/ |
H A D | SF2LayerRegion.java | 35 SF2Sample sample; field in class:SF2LayerRegion 38 return sample; 41 public void setSample(SF2Sample sample) { argument 42 this.sample = sample;
|
H A D | DLSRegion.java | 53 DLSSample sample = null; field in class:DLSRegion 117 return sample; 120 public void setSample(DLSSample sample) { argument 121 this.sample = sample;
|
H A D | SF2Soundbank.java | 429 SF2Sample sample = new SF2Sample(this); 430 sample.name = chunk.readString(20); 434 sample.data = sampleData.subbuffer(start * 2, end * 2, true); 436 sample.data24 = sampleData24.subbuffer(start, end, true); 438 sample.data = new ModelByteBuffer(sampleData, (int)(start*2), 441 sample.data24 = new ModelByteBuffer(sampleData24, 444 sample.startLoop = chunk.readUnsignedInt() - start; 445 sample.endLoop = chunk.readUnsignedInt() - start; 446 if (sample.startLoop < 0) 447 sample [all...] |
H A D | UlawCodec.java | 345 short sample; 355 /* Get the sample from the tempBuffer */ 356 sample = (short)(( (tempBuffer[i + highByte]) << 8) & 0xFF00); 357 sample |= (short)( (short) (tempBuffer[i + lowByte]) & 0xFF); 360 if(sample < 0) { 361 sample = (short) (BIAS - sample); 364 sample += BIAS; 368 seg = search(sample, seg_end, (short) 8); 376 enc = (byte) ((seg << 4) | ((sample >> (se [all...] |
H A D | AlawCodec.java | 364 short sample; 376 /* Get the sample from the tempBuffer */ 377 sample = (short)(( (tempBuffer[i + highByte]) << 8) & 0xFF00); 378 sample |= (short)( (tempBuffer[i + lowByte]) & 0xFF); 380 if(sample >= 0) { 384 sample = (short)(-sample - 8); 387 seg = search(sample, seg_end, (short) 8); 396 enc |= (byte) ( (sample >> 4) & QUANT_MASK); 398 enc |= (byte) ( (sample >> (se [all...] |
H A D | EmergencySoundbank.java | 501 SF2Sample sample = newSimpleFFTSample(sf2, "EPiano", data, base); 502 SF2Layer layer = newLayer(sf2, "EPiano", sample); 557 SF2Sample sample = newSimpleFFTSample(sf2, "Guitar", data, base); 558 SF2Layer layer = newLayer(sf2, "Guitar", sample); 616 SF2Sample sample = newSimpleFFTSample_dist(sf2, "Distorted Guitar", 620 SF2Layer layer = newLayer(sf2, "Distorted Guitar", sample); 670 SF2Sample sample = newSimpleDrumSample(sf2, "Guitar Noise", datab); 691 region.setSample(sample); 741 SF2Sample sample = newSimpleFFTSample(sf2, "Grand Piano", data, base, 200); 742 SF2Layer layer = newLayer(sf2, "Grand Piano", sample); 2533 newLayer(SF2Soundbank sf2, String name, SF2Sample sample) argument [all...] |
/openjdk10/jdk/test/java/time/tck/java/time/ |
H A D | AbstractDateTimeTest.java | 102 for (TemporalAccessor sample : samples()) { 104 assertEquals(sample.isSupported(field), true, "Failed on " + sample + " " + field); 111 for (TemporalAccessor sample : samples()) { 113 assertEquals(sample.isSupported(field), false, "Failed on " + sample + " " + field); 120 for (TemporalAccessor sample : samples()) { 121 assertEquals(sample.isSupported(null), false, "Failed on " + sample); 130 for (TemporalAccessor sample [all...] |
/openjdk10/jdk/test/javax/sound/midi/Gervill/SoftReceiver/ |
H A D | SoftTestUtils.java | 47 SF2Sample sample = new SF2Sample(sf2); 48 sample.setName("Test Sample"); 49 sample.setData(bdata); 50 sample.setStartLoop(500); 51 sample.setEndLoop(data.length - 500); 52 sample.setSampleRate((long) format.getSampleRate()); 53 sample.setOriginalPitch(69); 54 sf2.addResource(sample); 60 region.setSample(sample);
|
/openjdk10/jdk/test/javax/sound/midi/Gervill/SoftChannel/ |
H A D | SoftTestUtils.java | 47 SF2Sample sample = new SF2Sample(sf2); 48 sample.setName("Test Sample"); 49 sample.setData(bdata); 50 sample.setStartLoop(500); 51 sample.setEndLoop(data.length - 500); 52 sample.setSampleRate((long) format.getSampleRate()); 53 sample.setOriginalPitch(69); 54 sf2.addResource(sample); 60 region.setSample(sample);
|
H A D | NoteOverFlowTest2.java | 62 SF2Sample sample = new SF2Sample(sf2); 63 sample.setName("test sample"); 64 sample.setData(new byte[100]); 65 sample.setSampleRate(44100); 66 sample.setOriginalPitch(20); 67 sf2.addResource(sample); 75 region.setSample(sample);
|
/openjdk10/nashorn/test/src/jdk/nashorn/internal/runtime/linker/test/ |
H A D | NameCodecTest.java | 86 for (final String[] sample : samples) { 87 final String s = sample[1]; 88 final String expResult = sample[0]; 105 for (final String[] sample : samples) { 106 final String s = sample[0]; 107 final String expResult = sample[1];
|
/openjdk10/jdk/test/sun/security/krb5/config/ |
H A D | ParseConfig.java | 41 String sample = "kdc.example.com kdc2.example.com"; 44 if (!sample.equals(expected)) {
|
/openjdk10/hotspot/src/share/vm/gc/shared/ |
H A D | gcUtil.hpp | 70 // given a sample and the last average 101 // Update data with a new sample. 102 void sample(float new_sample); 104 static inline float exp_avg(float avg, float sample, argument 107 return (100.0F - weight) * avg / 100.0F + weight * sample / 100.0F; 109 static inline size_t exp_avg(size_t avg, size_t sample, argument 112 return (size_t)exp_avg((float)avg, (float)sample, weight); 163 void sample(float new_sample); 176 // if the sample is zero. The average is allowed to change. We're 184 void sample(floa [all...] |
H A D | gcUtil.cpp | 50 void AdaptiveWeightedAverage::sample(float new_sample) { function in class:AdaptiveWeightedAverage 83 void AdaptivePaddedAverage::sample(float new_sample) { function in class:AdaptivePaddedAverage 84 // Compute new adaptive weighted average based on new sample. 85 AdaptiveWeightedAverage::sample(new_sample); 96 void AdaptivePaddedNoZeroDevAverage::sample(float new_sample) { function in class:AdaptivePaddedNoZeroDevAverage 97 // Compute our parent classes sample information 98 AdaptiveWeightedAverage::sample(new_sample); 102 // We only create a new deviation if the sample is non-zero 121 _mean_x.sample(x); 122 _mean_y.sample( [all...] |
/openjdk10/jdk/src/jdk.jstatd/share/classes/sun/jvmstat/perfdata/monitor/protocol/rmi/ |
H A D | PerfDataBuffer.java | 64 sample(buffer); 84 public void sample(ByteBuffer buffer) throws RemoteException { method in class:PerfDataBuffer
|
H A D | RemoteMonitoredVm.java | 103 sample(); 124 public void sample() throws RemoteException { method in class:RemoteMonitoredVm 126 ((PerfDataBuffer)pdb).sample(updateBuffer); 280 * Class to periodically sample the remote instrumentation byte buffer 288 sample(); 293 System.err.println("Exception taking sample for "
|
/openjdk10/jdk/test/tools/jlink/plugins/ |
H A D | ExcludeFilesPluginTest.java | 70 public void checkFiles(String s, String sample, String module, boolean exclude) throws Exception { argument 77 ResourcePoolEntry f = ResourcePoolEntry.create("/" + module + "/" + sample, 85 throw new Exception(sample + " should be excluded by " + s); 89 throw new Exception(sample + " shouldn't be excluded by " + s);
|
H A D | ExcludePluginTest.java | 75 public void check(String s, String sample, boolean exclude) throws Exception { argument 81 ResourcePoolEntry resource = ResourcePoolEntry.create(sample, new byte[0]); 88 throw new AssertionError(sample + " should be excluded by " + s); 92 throw new AssertionError(sample + " shouldn't be excluded by " + s);
|
/openjdk10/nashorn/samples/ |
H A D | datepick.js | 1 #simple sample to use #javafx8 date picker with #nashorn
|
/openjdk10/jdk/src/java.desktop/share/native/libjsound/ |
H A D | DirectAudioDevice.c | 63 /* 16 bit signed sample, native endianness, stored in 32-bits */ 81 static INLINE INT32 MAP_ClipAndConvertToShort(MAP_Sample sample) { argument 82 if (sample < -32768) { 85 else if (sample > 32767) { 88 return (INT32) sample; 92 static INLINE INT32 MAP_ClipAndConvertToShort_Swapped(MAP_Sample sample) { argument 93 if (sample < -32768) { 96 else if (sample > 32767) { 99 return (INT32) (INT16) MAP_SWAP16BIT(sample); 102 static INLINE INT8 MAP_ClipAndConvertToByte(MAP_Sample sample) { argument 113 MAP_ClipAndConvertToUByte(MAP_Sample sample) argument 326 MAP_Sample sample; local [all...] |
/openjdk10/jdk/test/javax/sound/midi/Gervill/SoftSynthesizer/ |
H A D | TestPreciseTimestampRendering.java | 68 SF2Sample sample = new SF2Sample(soundbank); 69 sample.setName("Test Sample"); 70 sample.setData(bdata); 71 sample.setSampleRate((long) format.getSampleRate()); 72 sample.setOriginalPitch(69); 73 soundbank.addResource(sample); 79 region.setSample(sample);
|
/openjdk10/jdk/test/java/text/Format/MessageFormat/ |
H A D | LargeMessageFormat.java | 60 Object[] sample = { 67 int samples = sample.length; 70 System.arraycopy(sample, 0, arguments, i * samples, samples);
|
/openjdk10/jdk/src/java.desktop/share/classes/com/sun/beans/editors/ |
H A D | ColorEditor.java | 40 // Create a sample color block bordered in black 44 sample = new Canvas(); 45 p.add(sample); 46 sample.reshape(2, 2, sampleWidth, sampleHeight); 148 sample.setBackground(color); 149 sample.repaint(); 207 private Canvas sample; field in class:ColorEditor
|
H A D | FontEditor.java | 101 if (sample != null) { 102 remove(sample); 104 sample = new Label(sampleText); 105 sample.setFont(font); 106 add(sample); 211 private Label sample; field in class:FontEditor
|
/openjdk10/jdk/src/java.desktop/share/classes/sun/java2d/cmm/lcms/ |
H A D | LCMSTransform.java | 409 float sample; 433 sample = src.getSampleFloat(xs, ys, i); 435 ((sample - srcUseMinVal[i]) * srcScaleFactor[i] + 0.5f); 447 sample = ((dstLine[idx++] & 0xffff) * dstScaleFactor[i]) + 449 dst.setSample(xd, yd, i, sample); 510 int sample; 535 sample = src.getSample(xs, ys, i); 537 ((sample * srcScaleFactor[i]) + 0.5f); 549 sample = (int) (((dstLine[idx++] & 0xff) * 551 dst.setSample(xd, yd, i, sample); [all...] |