Home
last modified time | relevance | path

Searched refs:numRead (Results 1 – 25 of 38) sorted by relevance

12

/third_party/skia/third_party/externals/oboe/tests/
DtestFlowgraph.cpp55 int32_t numRead = sinkI16.read(output, numOutputFrames); in TEST() local
56 ASSERT_EQ(numInputFrames, numRead); in TEST()
57 for (int i = 0; i < numRead; i++) { in TEST()
74 int32_t numRead = sinkFloat.read(output, 8); in TEST() local
75 ASSERT_EQ(3, numRead); in TEST()
98 int32_t numRead = sinkFloat.read(output, numOutput); in TEST() local
99 ASSERT_EQ(numOutput, numRead); in TEST()
127 int32_t numRead = sinkI24.read(output, sizeof(output) / kBytesPerI24Packed); in TEST() local
128 ASSERT_EQ(numInputFrames, numRead); in TEST()
155 int32_t numRead = sinkFloat.read(output, numOutputFrames); in TEST() local
[all …]
/third_party/vk-gl-cts/framework/delibs/decpp/
DdeBlockBuffer.hpp350 int numRead = 0; in tryRead() local
356 return numRead; in tryRead()
358 while (numRead < numElements) in tryRead()
360 int ret = readFromCurrentBlock(numElements-numRead, &elements[numRead], false /* non-blocking */); in tryRead()
365 numRead += ret; in tryRead()
370 return numRead; in tryRead()
383 int numRead = 0; in read() local
384 while (numRead < numElements) in read()
385 numRead += readFromCurrentBlock(numElements-numRead, &elements[numRead], true /* blocking */); in read()
DdeBlockBuffer.cpp78 int numRead = m_buffer.tryRead(numToRead, &tmpBuf[0]); in run() local
80 for (int ndx = 0; ndx < numRead; ndx++) in run()
89 if (ndx+1 < numRead) in run()
91 m_buffer.write(numRead-ndx-1, &tmpBuf[ndx+1]); in run()
/third_party/skia/third_party/externals/oboe/src/common/
DFilterAudioStream.cpp64 int32_t numRead = mFlowGraph->read(mBlockingBuffer.get(), in write() local
67 if (numRead < 0) { in write()
68 return ResultWithValue<int32_t>::createBasedOnSign(numRead); in write()
70 if (numRead == 0) { in write()
74 numRead, in write()
/third_party/vk-gl-cts/android/package/src/com/drawelements/deqp/testercore/
DTestLogParser.java98 final int numRead = m_log.read(m_buffer, 0, Math.min(numAvailable, m_buffer.length)); in parse() local
100 assert numRead > 0; in parse() local
102 m_logRead += numRead; in parse()
105 nativeParse(m_nativePointer, m_instrumentation, m_buffer, numRead); in parse()
/third_party/vk-gl-cts/framework/qphelper/
DqpXmlWriter.c280 size_t numRead = (size_t)deMin32(3, (int)(numBytes - srcNdx)); in qpXmlWriter_writeBase64() local
282 deUint8 s1 = (numRead >= 2) ? data[srcNdx+1] : 0; in qpXmlWriter_writeBase64()
283 deUint8 s2 = (numRead >= 3) ? data[srcNdx+2] : 0; in qpXmlWriter_writeBase64()
286 srcNdx += numRead; in qpXmlWriter_writeBase64()
294 if (numRead < 3) d[3] = '='; in qpXmlWriter_writeBase64()
295 if (numRead < 2) d[2] = '='; in qpXmlWriter_writeBase64()
/third_party/vk-gl-cts/execserver/
DxsPosixFileReader.cpp69 deInt64 numRead = 0; in run() local
73 deFileResult result = deFile_read(m_file, &tmpBuf[0], (deInt64)tmpBuf.size(), &numRead); in run()
80 m_buf.write((int)numRead, &tmpBuf[0]); in run()
DxsTestDriver.cpp200 int numRead = 0; in pollBuffer() local
204 numRead = msgType == MESSAGETYPE_PROCESS_LOG_DATA in pollBuffer()
208 if (numRead <= 0) in pollBuffer()
211 msgSize += numRead; in pollBuffer()
DxsPosixTestProcess.cpp124 deInt64 numRead = 0; in run() local
128 deFileResult result = deFile_read(m_file, &tmpBuf[0], (deInt64)tmpBuf.size(), &numRead); in run()
135 m_buf->write((int)numRead, &tmpBuf[0]); in run()
/third_party/vk-gl-cts/execserver/tools/
DxsTest.cpp93 size_t numRead = 0; in readBytes() local
95 while (numRead < numBytes) in readBytes()
97 size_t numLeft = numBytes - numRead; in readBytes()
99 deSocketResult result = socket.receive(&dst[numRead], numLeft, &curNumRead); in readBytes()
104 numRead += curNumRead; in readBytes()
254 deInt64 numRead = 0; in run() local
256 while (deFile_read(m_curFile, &buf[0], (deInt64)sizeof(buf), &numRead) == DE_FILERESULT_SUCCESS) in run()
257 fwrite(&buf[0], 1, (size_t)numRead, stdout); in run()
962 deInt64 numRead = 0;
964 while (deFile_read(out, buf, sizeof(buf)-1, &numRead) == DE_FILERESULT_SUCCESS)
[all …]
DxsClient.cpp87 size_t numRead = 0; in readBytes() local
89 while (numRead < numBytes) in readBytes()
91 size_t numLeft = numBytes - numRead; in readBytes()
93 deSocketResult result = socket.receive(&dst[numRead], numLeft, &curNumRead); in readBytes()
98 numRead += curNumRead; in readBytes()
/third_party/vk-gl-cts/executor/tools/
DxeBatchResultToJUnit.cpp73 int numRead = (int)in.gcount(); in parseBatchResult() local
75 if (numRead > 0) in parseBatchResult()
76 parser.parse(&buf[0], numRead); in parseBatchResult()
78 if (numRead < (int)sizeof(buf)) in parseBatchResult()
DxeExtractSampleLists.cpp139 int numRead = 0; in processLogFile() local
147 numRead = (int)in.gcount(); in processLogFile()
149 if (numRead <= 0) in processLogFile()
152 parser.parse(&buf[0], numRead); in processLogFile()
DxeMergeTestLogs.cpp129 int numRead = 0; in readLogFile() local
137 numRead = (int)in.gcount(); in readLogFile()
139 if (numRead <= 0) in readLogFile()
142 parser.parse(&buf[0], numRead); in readLogFile()
DxeExtractShaderPrograms.cpp189 int numRead = 0; in extractShaderProgramsFromLogFile() local
197 numRead = (int)in.gcount(); in extractShaderProgramsFromLogFile()
199 if (numRead <= 0) in extractShaderProgramsFromLogFile()
202 parser.parse(&buf[0], numRead); in extractShaderProgramsFromLogFile()
DxeCommandLineExecutor.cpp268 int numRead = (int)in.gcount(); in readCaseList() local
270 if (numRead > 0) in readCaseList()
271 caseListParser.parse(&buf[0], numRead); in readCaseList()
273 if (numRead < (int)sizeof(buf)) in readCaseList()
393 int numRead = 0; in readLogFile() local
398 numRead = (int)in.gcount(); in readLogFile()
400 if (numRead <= 0) in readLogFile()
403 parser.parse(&buf[0], numRead); in readLogFile()
DxeExtractValues.cpp202 int numRead = 0; in readLogFile() local
210 numRead = (int)in.gcount(); in readLogFile()
212 if (numRead <= 0) in readLogFile()
215 parser.parse(&buf[0], numRead); in readLogFile()
/third_party/vk-gl-cts/framework/delibs/destream/
DdeIOStream.h52 …Result (*deIOStreamReadFunc) (deStreamData* stream, void* buf, deInt32 bufSize, deInt32* numRead);
77 …eStreamResult deIOStream_read (deIOStream* stream, void* buf, deInt32 bufSize, deInt32* numRead);
95 …E deStreamResult deIOStream_read (deIOStream* stream, void* buf, deInt32 bufSize, deInt32* numRead) in deIOStream_read() argument
101 return stream->vfTable->readFunc(stream->streamData, buf, bufSize, numRead); in deIOStream_read()
/third_party/skia/third_party/externals/oboe/samples/parselib/src/main/cpp/stream/
DFileInputStream.cpp27 int32_t numRead = ::read(mFH, buff, numBytes); in peek() local
29 return numRead; in peek()
/third_party/vk-gl-cts/framework/common/
DtcuResource.cpp63 int numRead = (int)fread(dst, 1, numBytes, m_file); in read() local
64 TCU_CHECK(numRead == numBytes); in read()
/third_party/skia/third_party/externals/icu/source/tools/toolutil/
Ducbuf.cpp57 int32_t numRead; in ucbuf_autodetect_fs() local
64 numRead=T_FileStream_read(in, start, sizeof(start)); in ucbuf_autodetect_fs()
66 *cp = ucnv_detectUnicodeSignature(start, numRead, signatureLength, error); in ucbuf_autodetect_fs()
302 for(i=0;i<numRead;i++){ in ucbuf_fillucbuf()
592 int32_t numRead; in ucbuf_rewind() local
595 numRead=T_FileStream_read(buf->in, start, buf->signatureLength); in ucbuf_rewind()
600 … ucnv_toUnicode(buf->conv, &pTarget, target+1, &pStart, start+numRead, NULL, FALSE, error); in ucbuf_rewind()
606 …if(U_SUCCESS(*error) && (numRead!=buf->signatureLength || pTarget!=(target+1) || target[0]!=0xfeff… in ucbuf_rewind()
/third_party/flutter/skia/third_party/externals/icu/source/tools/toolutil/
Ducbuf.cpp57 int32_t numRead; in ucbuf_autodetect_fs() local
64 numRead=T_FileStream_read(in, start, sizeof(start)); in ucbuf_autodetect_fs()
66 *cp = ucnv_detectUnicodeSignature(start, numRead, signatureLength, error); in ucbuf_autodetect_fs()
302 for(i=0;i<numRead;i++){ in ucbuf_fillucbuf()
592 int32_t numRead; in ucbuf_rewind() local
595 numRead=T_FileStream_read(buf->in, start, buf->signatureLength); in ucbuf_rewind()
600 … ucnv_toUnicode(buf->conv, &pTarget, target+1, &pStart, start+numRead, NULL, FALSE, error); in ucbuf_rewind()
606 …if(U_SUCCESS(*error) && (numRead!=buf->signatureLength || pTarget!=(target+1) || target[0]!=0xfeff… in ucbuf_rewind()
/third_party/icu/icu4c/source/tools/toolutil/
Ducbuf.cpp57 int32_t numRead; in ucbuf_autodetect_fs() local
64 numRead=T_FileStream_read(in, start, sizeof(start)); in ucbuf_autodetect_fs()
66 *cp = ucnv_detectUnicodeSignature(start, numRead, signatureLength, error); in ucbuf_autodetect_fs()
302 for(i=0;i<numRead;i++){ in ucbuf_fillucbuf()
592 int32_t numRead; in ucbuf_rewind() local
595 numRead=T_FileStream_read(buf->in, start, buf->signatureLength); in ucbuf_rewind()
600 … ucnv_toUnicode(buf->conv, &pTarget, target+1, &pStart, start+numRead, NULL, FALSE, error); in ucbuf_rewind()
606 …if(U_SUCCESS(*error) && (numRead!=buf->signatureLength || pTarget!=(target+1) || target[0]!=0xfeff… in ucbuf_rewind()
/third_party/node/deps/icu-small/source/tools/toolutil/
Ducbuf.cpp57 int32_t numRead; in ucbuf_autodetect_fs() local
64 numRead=T_FileStream_read(in, start, sizeof(start)); in ucbuf_autodetect_fs()
66 *cp = ucnv_detectUnicodeSignature(start, numRead, signatureLength, error); in ucbuf_autodetect_fs()
302 for(i=0;i<numRead;i++){ in ucbuf_fillucbuf()
592 int32_t numRead; in ucbuf_rewind() local
595 numRead=T_FileStream_read(buf->in, start, buf->signatureLength); in ucbuf_rewind()
600 … ucnv_toUnicode(buf->conv, &pTarget, target+1, &pStart, start+numRead, NULL, FALSE, error); in ucbuf_rewind()
606 …if(U_SUCCESS(*error) && (numRead!=buf->signatureLength || pTarget!=(target+1) || target[0]!=0xfeff… in ucbuf_rewind()
/third_party/icu/icu4c/source/test/letest/
DPortableFontInstance.cpp102 size_t numRead = fread(&tempDir, sizeof tempDir, 1, fFile); in PortableFontInstance() local
103 (void)numRead; in PortableFontInstance()
122 numRead = fread((void *) fDirectory, sizeof(char), dirSize, fFile); in PortableFontInstance()
248 size_t numRead = fread(table, sizeof(char), *length, fFile); in readTable() local
249 (void)numRead; in readTable()

12