/openjdk7/jdk/test/java/io/charStreams/ |
H A D | BufferedReaderMark.java | 33 static int bufferSize = -1; field in class:BufferedReaderMark 51 if (bufferSize == -1) 52 bufferSize = 7; 54 inputSize = bufferSize * 3; 57 Reader in = new BufferedReader(new ABCReader(inputSize), bufferSize); 58 char buf[] = new char[bufferSize]; 59 if (in.read(buf) != bufferSize) 73 Reader in = new BufferedReader(new ABCReader(inputSize), bufferSize); 74 char buf[] = new char[bufferSize]; 77 in.mark(bufferSize); [all...] |
/openjdk7/jdk/src/share/classes/javax/sound/sampled/ |
H A D | SourceDataLine.java | 92 * @param bufferSize the desired buffer size 108 public void open(AudioFormat format, int bufferSize) throws LineUnavailableException; argument
|
H A D | TargetDataLine.java | 86 * @param bufferSize the desired buffer size, in bytes. 102 public void open(AudioFormat format, int bufferSize) throws LineUnavailableException; argument
|
H A D | Clip.java | 85 * @param bufferSize the number of <em>bytes</em> 100 public void open(AudioFormat format, byte[] data, int offset, int bufferSize) throws LineUnavailableException; argument
|
H A D | DataLine.java | 323 * @param bufferSize desired buffer size in bytes 325 public Info(Class<?> lineClass, AudioFormat format, int bufferSize) { argument 336 this.minBufferSize = bufferSize; 337 this.maxBufferSize = bufferSize;
|
/openjdk7/jdk/test/javax/management/remote/mandatory/notif/ |
H A D | NotifBufferSizePropertyNameTest.java | 62 env.put("jmx.remote.x.notification.buffer.size", String.valueOf(bufferSize)); 67 env.put("jmx.remote.x.buffer.size", String.valueOf(bufferSize)); 71 env.put("jmx.remote.x.notification.buffer.size", String.valueOf(bufferSize)); 72 env.put("jmx.remote.x.buffer.size", String.valueOf(bufferSize*6)); 76 System.setProperty("jmx.remote.x.buffer.size", String.valueOf(bufferSize)); 82 String.valueOf(bufferSize)); 83 System.setProperty("jmx.remote.x.buffer.size", String.valueOf(bufferSize*6)); 118 if (weakNotifs.keySet().size() > bufferSize) { 127 if (weakNotifs.keySet().size() != bufferSize) { 129 "\nExpected to be <= "+bufferSize 157 private static final int bufferSize = 10; field in class:NotifBufferSizePropertyNameTest [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/xinclude/ |
H A D | XInclude11TextReader.java | 46 * @param bufferSize The size of this text reader's buffer. 48 public XInclude11TextReader(XMLInputSource source, XIncludeHandler handler, int bufferSize) argument 50 super(source, handler, bufferSize);
|
H A D | XIncludeTextReader.java | 79 * @param bufferSize The size of this text reader's buffer. 81 public XIncludeTextReader(XMLInputSource source, XIncludeHandler handler, int bufferSize) argument 85 fTempString = new XMLString(new char[bufferSize + 1], 0, 0); 508 * @param bufferSize The size of the buffer desired 510 protected void setBufferSize(int bufferSize) { argument 511 if (fTempString.ch.length != ++bufferSize) { 512 fTempString.ch = new char[bufferSize];
|
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | AbstractDataLine.java | 60 protected int bufferSize; field in class:AbstractDataLine 77 protected AbstractDataLine(DataLine.Info info, AbstractMixer mixer, Control[] controls, AudioFormat format, int bufferSize) { argument 88 if (bufferSize > 0) { 89 defaultBufferSize = bufferSize; 97 this.bufferSize = defaultBufferSize; 103 public final void open(AudioFormat format, int bufferSize) throws LineUnavailableException { argument 106 if (Printer.trace) Printer.trace("> AbstractDataLine.open(format, bufferSize) (class: "+getClass().getName()); 116 //mixer.open(this, format, bufferSize); 121 implOpen(format, bufferSize); 139 " and bufferSize " 455 implOpen(AudioFormat format, int bufferSize) argument [all...] |
H A D | SoftMixingSourceDataLine.java | 53 private int bufferSize = -1; field in class:SoftMixingSourceDataLine 282 if (bufferSize == -1) 283 bufferSize = ((int) (format.getFrameRate() / 2)) 285 open(format, bufferSize); 288 public void open(AudioFormat format, int bufferSize) argument 293 if (bufferSize < format.getFrameSize() * 32) 294 bufferSize = format.getFrameSize() * 32; 306 this.bufferSize = bufferSize - bufferSize [all...] |
H A D | DirectAudioDevice.java | 404 int bufferSize, 408 super(info, mixer, null, format, bufferSize); 422 void implOpen(AudioFormat format, int bufferSize) throws LineUnavailableException { argument 423 if (Printer.trace) Printer.trace(">> DirectDL: implOpen("+format+", "+bufferSize+" bytes)"); 440 if (bufferSize <= AudioSystem.NOT_SPECIFIED) { 441 bufferSize = (int) Toolkit.millis2bytes(format, DEFAULT_LINE_BUFFER_TIME); 498 bufferSize = ((int) bufferSize / format.getFrameSize()) * format.getFrameSize(); 509 bufferSize); 517 this.bufferSize 401 DirectDL(DataLine.Info info, DirectAudioDevice mixer, AudioFormat format, int bufferSize, int mixerIndex, int deviceID, boolean isSource) argument 925 DirectSDL(DataLine.Info info, AudioFormat format, int bufferSize, DirectAudioDevice mixer) argument 942 DirectTDL(DataLine.Info info, AudioFormat format, int bufferSize, DirectAudioDevice mixer) argument 1034 DirectClip(DataLine.Info info, AudioFormat format, int bufferSize, DirectAudioDevice mixer) argument 1044 open(AudioFormat format, byte[] data, int offset, int bufferSize) argument 1298 implOpen(AudioFormat format, int bufferSize) argument 1464 nOpen(int mixerIndex, int deviceID, boolean isSource, int encoding, float sampleRate, int sampleSizeInBits, int frameSize, int channels, boolean signed, boolean bigEndian, int bufferSize) argument [all...] |
H A D | SoftMixingClip.java | 103 int left = bufferSize - pos; 117 private int bufferSize; field in class:SoftMixingClip 277 return bufferSize / format.getFrameSize(); 345 public void open(AudioFormat format, byte[] data, int offset, int bufferSize) argument 356 if (bufferSize % format.getFrameSize() != 0) 362 this.bufferSize = bufferSize; 399 if (end * framesize > bufferSize) 403 if (start * framesize > bufferSize) 431 return bufferSize; [all...] |
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftAudioSynthesizer/ |
H A D | DummySourceDataLine.java | 49 private int bufferSize = -1; field in class:DummySourceDataLine 113 if (bufferSize == -1) 114 bufferSize = ((int) (format.getFrameRate() / 2)) 116 open(format, bufferSize); 119 public void open(AudioFormat format, int bufferSize) argument 122 this.bufferSize = bufferSize; 165 return bufferSize;
|
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftSynthesizer/ |
H A D | DummySourceDataLine.java | 49 private int bufferSize = -1; field in class:DummySourceDataLine 113 if (bufferSize == -1) 114 bufferSize = ((int) (format.getFrameRate() / 2)) 116 open(format, bufferSize); 119 public void open(AudioFormat format, int bufferSize) argument 122 this.bufferSize = bufferSize; 165 return bufferSize;
|
/openjdk7/jdk/src/windows/native/common/ |
H A D | jni_util_md.c | 53 int bufferSize = MAX_PATH; local 56 jvmPath = malloc(bufferSize); 59 result = GetModuleFileName(jvm, jvmPath, bufferSize); 62 if (result == bufferSize) { // didn't fit 63 bufferSize += MAX_PATH; // increase buffer size, try again
|
/openjdk7/hotspot/src/os/posix/vm/ |
H A D | os_posix.cpp | 36 void os::check_or_create_dump(void* exceptionRecord, void* contextRecord, char* buffer, size_t bufferSize) { argument 41 n = get_core_path(buffer, bufferSize); 44 jio_snprintf(buffer + n, bufferSize - n, "/core or core.%d (may not exist)", current_process_id()); 49 jio_snprintf(buffer + n, bufferSize - n, "/core or core.%d", current_process_id()); 53 jio_snprintf(buffer, bufferSize, "Core dumps have been disabled. To enable core dumping, try \"ulimit -c unlimited\" before starting Java again"); 57 jio_snprintf(buffer + n, bufferSize - n, "/core or core.%d (max size %lu kB). To ensure a full core dump, try \"ulimit -c unlimited\" before starting Java again", current_process_id(), (unsigned long)(rlim.rlim_cur >> 10));
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/fastinfoset/ |
H A D | FastInfosetParser.java | 107 * @param bufferSize The requested buffer size. 109 public void setBufferSize(int bufferSize); argument
|
/openjdk7/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/ |
H A D | promotionInfo.cpp | 96 assert(_spoolHead->bufferSize > _firstIndex, "Off by one error at head?"); 99 if (++_firstIndex == _spoolHead->bufferSize) { // last location in this block 156 assert(_spoolTail->bufferSize > _nextIndex, "Off by one error at tail?"); 159 if (++_nextIndex == _spoolTail->bufferSize) { // last location in this block 177 (newSpool->bufferSize != 0 && newSpool->nextSpoolBlock == NULL), 258 // bufferSize - 1 are occupied (thus, bufferSize - 1 slots). 261 slots += cur_spool->bufferSize - 1; 265 slots += _spoolHead->bufferSize - 1; 315 // bufferSize [all...] |
H A D | promotionInfo.hpp | 117 size_t bufferSize; // number of usable words in this block member in class:SpoolBlock 120 // Note about bufferSize: it denotes the number of entries available plus 1; 129 bufferSize = computeBufferSize(); 184 return _spoolTail != NULL && _spoolTail->bufferSize > _nextIndex;
|
/openjdk7/jdk/test/sun/net/www/http/ChunkedOutputStream/ |
H A D | checkError.java | 43 static int bufferSize = 8192; // 8k field in class:checkError 79 buffer = getThickBuffer(bufferSize); 87 if (sendingBytes > bufferSize) { 88 byteAtOnce = bufferSize;
|
/openjdk7/jdk/src/share/native/sun/awt/splashscreen/ |
H A D | splashscreen_gif.c | 80 int bufferSize; local 109 bufferSize = stride * gif->SHeight; 110 pBitmapBits = (byte_t *) malloc(bufferSize); 114 pOldBitmapBits = (byte_t *) malloc(bufferSize); 119 memset(pBitmapBits, 0, bufferSize); 259 (rgbquad_t *) malloc(bufferSize); // bufferSize is safe (checked above) 266 memcpy(splash->frames[imageIndex].bitmapBits, pBitmapBits, bufferSize); 273 memcpy(pOldBitmapBits, pBitmapBits, bufferSize);
|
/openjdk7/jdk/src/windows/native/com/sun/media/sound/ |
H A D | PLATFORM_API_WinOS_DirectSound.cpp | 1034 * for writing: bufferSize - (info->writePos - writeCursor); 1037 * note about bufferSize) 1043 * note about bufferSize) 1044 * bufferSize parameter are filled by "actual" buffer size: 1045 * if (fromPlayCursor == FALSE), bufferSize = info->bufferSizeInBytes 1051 int* bufferSize, BOOL fromPlayCursor) { 1074 *bufferSize = info->bufferSizeInBytes; 1076 *bufferSize += processing; 1081 available = *bufferSize; 1084 if (currWriteAhead > *bufferSize) { 1049 DS_GetAvailable(DS_Info* info, DWORD* playCursor, DWORD* writeCursor, int* bufferSize, BOOL fromPlayCursor) argument 1154 int bufferSize; local 1244 int bufferSize; local 1304 int available, bufferSize; local 1345 int ret, bufferSize; local 1353 estimatePositionFromAvail(DS_Info* info, INT64 javaBytePos, int bufferSize, int availInBytes) argument 1372 int available, bufferSize; local [all...] |
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/ |
H A D | ByteBufferWithInfo.java | 98 int bufferSize = bufferManager.getBufferSize(); 103 this.byteBuffer = byteBufferPool.getByteBuffer(bufferSize); 120 this.byteBuffer = ByteBuffer.allocate(bufferSize); 124 this.buflen = bufferSize;
|
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XNETProtocol.java | 372 int bufferSize = length * cardinalSize; 374 if (bufferSize != 0) { 375 long buffer = XlibWrapper.unsafe.allocateMemory(bufferSize); 387 iconsAtom.setAtomData(window.getWindow(), XAtom.XA_CARDINAL, buffer, bufferSize/Native.getCard32Size());
|
/openjdk7/jdk/src/windows/native/java/io/ |
H A D | io_util_md.c | 378 DWORD bufferSize = 0; local 395 bufferSize = numEvents * sizeof(INPUT_RECORD); 396 if (bufferSize == 0) 397 bufferSize = 1; 398 lpBuffer = malloc(bufferSize);
|