Home
last modified time | relevance | path

Searched refs:amountRead (Results 1 – 25 of 69) sorted by relevance

123

/dports/math/vtk9/VTK-9.1.0/ThirdParty/xdmf3/vtkxdmf3/core/
H A DXdmfTIFFController.cpp248 unsigned int amountRead = sizeLeft; in read() local
254 amountRead++; in read()
262 amountRead, in read()
265 amountWritten += amountRead; in read()
270 if (amountRead < sizeLeft) { in read()
271 sizeLeft = sizeLeft - amountRead; in read()
345 unsigned int amountRead = sizeLeft; in read() local
351 amountRead++; in read()
359 amountRead, in read()
361 amountWritten += amountRead; in read()
[all …]
/dports/math/vtk8/VTK-8.2.0/ThirdParty/xdmf3/vtkxdmf3/core/
H A DXdmfTIFFController.cpp248 unsigned int amountRead = sizeLeft; in read() local
254 amountRead++; in read()
262 amountRead, in read()
265 amountWritten += amountRead; in read()
270 if (amountRead < sizeLeft) { in read()
271 sizeLeft = sizeLeft - amountRead; in read()
345 unsigned int amountRead = sizeLeft; in read() local
351 amountRead++; in read()
359 amountRead, in read()
361 amountWritten += amountRead; in read()
[all …]
/dports/emulators/quasi88/quasi88-0.6.4/src/snddrv/quasi88/SDL/
H A Dsdl.c64 int amountRead; member
264 sample.amountRead = len; in sdl_fill_sound()
268 if(sample.sound_n_pos<sample.amountRead) sample.amountRead = sample.sound_n_pos; in sdl_fill_sound()
269 result = (int)sample.amountRead; in sdl_fill_sound()
270 sample.sound_n_pos -= sample.amountRead; in sdl_fill_sound()
275 if(sample.tmp<sample.amountRead){ in sdl_fill_sound()
277 sample.amountRead -= sample.tmp; in sdl_fill_sound()
279 memcpy( dst, sample.data, sample.amountRead); in sdl_fill_sound()
280 sample.sound_r_pos = sample.amountRead; in sdl_fill_sound()
283 memcpy( dst, sample.data + sample.sound_r_pos, sample.amountRead); in sdl_fill_sound()
[all …]
/dports/emulators/quasi88/quasi88-0.6.4/src/snddrv-old/quasi88/SDL/
H A Dsdl.c70 int amountRead; member
283 sample.amountRead = len; in sdl_fill_sound()
289 if(sample.sound_n_pos<sample.amountRead) sample.amountRead = sample.sound_n_pos; in sdl_fill_sound()
290 result = (int)sample.amountRead; in sdl_fill_sound()
291 sample.sound_n_pos -= sample.amountRead; in sdl_fill_sound()
296 if(sample.tmp<sample.amountRead){ in sdl_fill_sound()
298 sample.amountRead -= sample.tmp; in sdl_fill_sound()
300 memcpy( dst, sample.data, sample.amountRead); in sdl_fill_sound()
301 sample.sound_r_pos = sample.amountRead; in sdl_fill_sound()
304 memcpy( dst, sample.data + sample.sound_r_pos, sample.amountRead); in sdl_fill_sound()
[all …]
/dports/emulators/quasi88/quasi88-0.6.4/src/snddrv/src/unix/sysdep/dsp-drivers/
H A Dsdl.c65 int amountRead; member
259 sample.amountRead = len; in sdl_fill_sound()
263 if(sample.sound_n_pos<sample.amountRead) sample.amountRead = sample.sound_n_pos; in sdl_fill_sound()
264 result = (int)sample.amountRead; in sdl_fill_sound()
265 sample.sound_n_pos -= sample.amountRead; in sdl_fill_sound()
270 if(sample.tmp<sample.amountRead){ in sdl_fill_sound()
272 sample.amountRead -= sample.tmp; in sdl_fill_sound()
274 memcpy( dst, sample.data, sample.amountRead); in sdl_fill_sound()
275 sample.sound_r_pos = sample.amountRead; in sdl_fill_sound()
278 memcpy( dst, sample.data + sample.sound_r_pos, sample.amountRead); in sdl_fill_sound()
[all …]
/dports/emulators/quasi88/quasi88-0.6.4/src/snddrv-old/src/unix/sysdep/dsp-drivers/
H A Dsdl.c70 int amountRead; member
277 sample.amountRead = len; in sdl_fill_sound()
283 if(sample.sound_n_pos<sample.amountRead) sample.amountRead = sample.sound_n_pos; in sdl_fill_sound()
284 result = (int)sample.amountRead; in sdl_fill_sound()
285 sample.sound_n_pos -= sample.amountRead; in sdl_fill_sound()
290 if(sample.tmp<sample.amountRead){ in sdl_fill_sound()
292 sample.amountRead -= sample.tmp; in sdl_fill_sound()
294 memcpy( dst, sample.data, sample.amountRead); in sdl_fill_sound()
295 sample.sound_r_pos = sample.amountRead; in sdl_fill_sound()
298 memcpy( dst, sample.data + sample.sound_r_pos, sample.amountRead); in sdl_fill_sound()
[all …]
/dports/games/jin/jin-2.14.1/src/free/util/
H A DIOUtilities.java196 int amountRead = 0; in pump() local
199 amountRead += count; in pump()
202 return amountRead; in pump()
219 int amountRead = 0; in pump() local
228 amountRead += count; in pump()
231 return amountRead; in pump()
247 int amountRead = 0; in readToEnd() local
249 while ((count = in.read(buf, amountRead, buf.length-amountRead)) > 0){ in readToEnd()
250 amountRead += count; in readToEnd()
252 if (amountRead == buf.length){ in readToEnd()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/mscorlib/system/security/cryptography/
H A Dcryptostream.cs214 int amountRead = 0; in Read()
226 amountRead = _InputBufferIndex; in Read()
229 if (amountRead <= _InputBlockSize) { in Read()
231 _InputBufferIndex = amountRead; in Read()
258 if (amountRead == 0) goto ProcessFinalBlock; in Read()
259 _InputBufferIndex += amountRead; in Read()
387 int amountRead = 0; in ReadAsyncInternal()
400 amountRead = _InputBufferIndex; in ReadAsyncInternal()
403 if (amountRead <= _InputBlockSize) in ReadAsyncInternal()
406 _InputBufferIndex = amountRead; in ReadAsyncInternal()
[all …]
/dports/emulators/quasi88/quasi88-0.6.4/src/WIN32/
H A Daudio.c428 int amountRead; member
670 sample.amountRead = len; in wave_event_done()
678 if(sample.sound_n_pos<sample.amountRead) sample.amountRead = sample.sound_n_pos; in wave_event_done()
679 result = (int)sample.amountRead; in wave_event_done()
680 sample.sound_n_pos -= sample.amountRead; in wave_event_done()
683 if(sample.tmp<sample.amountRead){ in wave_event_done()
685 sample.amountRead -= sample.tmp; in wave_event_done()
687 memcpy( dst, sample.data, sample.amountRead); in wave_event_done()
688 sample.sound_r_pos = sample.amountRead; in wave_event_done()
691 memcpy( dst, sample.data + sample.sound_r_pos, sample.amountRead); in wave_event_done()
[all …]
/dports/java/phpeclipse/plugins/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/util/
H A DUtil.java230 int amountRead = -1; in getInputStreamAsByteArray() local
243 amountRead = stream.read(contents, contentsLength, in getInputStreamAsByteArray()
246 if (amountRead > 0) { in getInputStreamAsByteArray()
248 contentsLength += amountRead; in getInputStreamAsByteArray()
250 } while (amountRead != -1); in getInputStreamAsByteArray()
291 int amountRead = -1; in getInputStreamAsCharArray() local
304 amountRead = reader.read(contents, contentsLength, in getInputStreamAsCharArray()
307 if (amountRead > 0) { in getInputStreamAsCharArray()
309 contentsLength += amountRead; in getInputStreamAsCharArray()
311 } while (amountRead != -1); in getInputStreamAsCharArray()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.ui/org.eclipse.jdt.ui.examples.javafamily/src/org/eclipse/jsp/
H A DUtil.java54 int amountRead = -1; in getInputStreamAsCharArray() local
69 amountRead = reader.read(contents, contentsLength, amountRequested); in getInputStreamAsCharArray()
71 if (amountRead > 0) { in getInputStreamAsCharArray()
73 contentsLength += amountRead; in getInputStreamAsCharArray()
75 } while (amountRead != -1); in getInputStreamAsCharArray()
/dports/astro/phd2/phd2-2.6.10/thirdparty/VidCapture/Source/VidCapture/
H A DCVFile.cpp171 unsigned long& amountRead) in Read() argument
189 amountRead = fread(buffer,1,length,fFilePtr); in Read()
192 if (amountRead != length) in Read()
210 unsigned long& amountRead ) in ReadLine() argument
213 amountRead = 0; in ReadLine()
245 amountRead++; in ReadLine()
H A DCVFile.h123 unsigned long& amountRead);
139 unsigned long& amountRead);
H A DCVImage.cpp920 unsigned long amountRead = 0; in Load() local
924 if (CVFAILED(result = file.ReadLine(loadBuffer, 1024, amountRead))) in Load()
1036 amountRead))) in Load()
1045 if (amountRead != (unsigned long)newImage->Size()) in Load()
1118 unsigned long amountRead = 0; in ReadNonCommentLine() local
1130 lastAmountRead = amountRead; in ReadNonCommentLine()
1131 if (CVFAILED(result = file->ReadLine(buffer,1024,amountRead))) in ReadNonCommentLine()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.core/org.eclipse.jdt.core.tests.model/workspace/Compiler/src/org/eclipse/jdt/internal/compiler/util/
H A DUtil.java220 int amountRead = -1; in getInputStreamAsByteArray() local
235 amountRead = stream.read(contents, contentsLength, amountRequested); in getInputStreamAsByteArray()
237 if (amountRead > 0) { in getInputStreamAsByteArray()
239 contentsLength += amountRead; in getInputStreamAsByteArray()
241 } while (amountRead != -1); in getInputStreamAsByteArray()
306 int amountRead = -1; in getInputStreamAsCharArray() local
321 amountRead = reader.read(contents, contentsLength, amountRequested); in getInputStreamAsCharArray()
323 if (amountRead > 0) { in getInputStreamAsCharArray()
325 contentsLength += amountRead; in getInputStreamAsCharArray()
327 } while (amountRead != -1); in getInputStreamAsCharArray()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.Primitives/src/System/Security/Cryptography/
H A DCryptoStream.cs293 int amountRead = 0; in ReadAsyncCore()
306 amountRead = _inputBufferIndex; in ReadAsyncCore()
307 amountRead += useAsync ? in ReadAsyncCore()
312 if (amountRead <= _inputBlockSize) in ReadAsyncCore()
315 _inputBufferIndex = amountRead; in ReadAsyncCore()
319 … int numWholeReadBlocksInBytes = (amountRead / _inputBlockSize) * _inputBlockSize; in ReadAsyncCore()
320 int numIgnoredBytes = amountRead - numWholeReadBlocksInBytes; in ReadAsyncCore()
343 amountRead = useAsync ? in ReadAsyncCore()
348 if (amountRead == 0) goto ProcessFinalBlock; in ReadAsyncCore()
349 _inputBufferIndex += amountRead; in ReadAsyncCore()
/dports/devel/spark/spark-2.1.1/core/src/main/scala/org/apache/spark/util/
H A DSerializableBuffer.scala35 var amountRead = 0 variable
37 while (amountRead < length) {
42 amountRead += ret
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.pde.ui/apitools/org.eclipse.pde.api.tools.generator/src/org/eclipse/pde/api/tools/generator/util/
H A DUtil.java105 int amountRead = -1; in getInputStreamAsByteArray() local
118 amountRead = stream.read(contents, contentsLength, amountRequested); in getInputStreamAsByteArray()
120 if (amountRead > 0) { in getInputStreamAsByteArray()
122 contentsLength += amountRead; in getInputStreamAsByteArray()
124 } while (amountRead != -1); in getInputStreamAsByteArray()
198 int amountRead = reader.read(contents, totalRead, amountRequested); in getInputStreamAsCharArray() local
199 if (amountRead < 0) { in getInputStreamAsCharArray()
202 totalRead += amountRead; in getInputStreamAsCharArray()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.core/org.eclipse.jdt.core.tests.model/workspace/Formatter/test498/
H A DA_out.java156 int amountRead = -1; in getBytes() local
171 amountRead = stream.read(contents, contentsLength, in getBytes()
174 if (amountRead > 0) { in getBytes()
176 contentsLength += amountRead; in getBytes()
178 } while (amountRead != -1); in getBytes()
H A DA_in.java155 int amountRead = -1; in getBytes() local
171 amountRead = stream.read(contents, contentsLength, amountRequested); in getBytes()
173 if (amountRead > 0) { in getBytes()
175 contentsLength += amountRead; in getBytes()
177 } while (amountRead != -1); in getBytes()
/dports/irc/undernet-ircu/ircu2.10.12.19/tools/Bounce/
H A DBounce.cpp486 int amountRead = 0; in read() local
489 amountRead = ::read(fd, &buffer, 4096); in read()
491 if ((amountRead == -1)) buffer[0] = '\0'; in read()
492 buffer[amountRead] = '\0'; in read()
495 printf("Read %i Bytes.\n", amountRead); in read()
501 lastReadSize = amountRead; in read()
/dports/devel/cgdb/cgdb-0.8.0/lib/util/
H A Dio.cpp118 ssize_t amountRead; in io_read() local
122 if ((amountRead = read(fd, buf, count)) == -1) { /* error */ in io_read()
132 } else if (amountRead == 0) { /* EOF */ in io_read()
136 return amountRead; in io_read()
/dports/audio/welle.io/welle.io-66675c9a4160c644a5ade5bf7a0cd0647647f33c/src/input/
H A Dlimesdr.cpp201 int amountRead = 0; in limesdr_thread_run() local
214 amountRead += res; in limesdr_thread_run()
219 if (amountRead > 4 * 2048000) { in limesdr_thread_run()
220 amountRead = 0; in limesdr_thread_run()
/dports/audio/sonic-visualiser/sonic-visualiser-4.0.1/svcore/data/fileio/
H A DMP3FileReader.cpp114 auto amountRead = qfile.read(reinterpret_cast<char *>(m_fileBuffer), in MP3FileReader() local
117 if (amountRead < m_fileSize) { in MP3FileReader()
119 .arg(amountRead).arg(m_fileSize) << endl; in MP3FileReader()
120 memset(m_fileBuffer + amountRead, 0, m_fileSize - amountRead); in MP3FileReader()
121 m_fileSize = amountRead; in MP3FileReader()
/dports/www/chromium-legacy/chromium-88.0.4324.182/base/android/java/src/org/chromium/base/
H A DFileUtils.java112 int amountRead; in copyStream() local
113 while ((amountRead = inputStream.read(buffer)) != -1) { in copyStream()
114 outputStream.write(buffer, 0, amountRead); in copyStream()

123