Home
last modified time | relevance | path

Searched refs:writeSize (Results 1 – 13 of 13) sorted by relevance

/external/deqp/framework/delibs/destream/
DdeRingbuffer.c130 deInt32 writeSize = 0; in producerStream_write() local
140 writeSize = deMin32(ringbuffer->blockSize - ringbuffer->inPos, bufSize - *written); in producerStream_write()
144 deMemcpy(dst, src, (size_t)writeSize); in producerStream_write()
146 ringbuffer->inPos += writeSize; in producerStream_write()
147 *written += writeSize; in producerStream_write()
148 ringbuffer->blockUsage[ringbuffer->inBlock] += writeSize; in producerStream_write()
206 deInt32 writeSize = 0; in consumerStream_read() local
237writeSize = deMin32(ringbuffer->blockUsage[ringbuffer->outBlock] - ringbuffer->outPos, bufSize - *… in consumerStream_read()
241 deMemcpy(dst, src, (size_t)writeSize); in consumerStream_read()
243 ringbuffer->outPos += writeSize; in consumerStream_read()
[all …]
/external/skia/tests/
DPDFDeflateWStreamTest.cpp121 uint32_t writeSize = in DEF_TEST() local
123 if (!deflateWStream.write(&buffer[j], writeSize)) { in DEF_TEST()
127 j += writeSize; in DEF_TEST()
/external/okhttp/okio/okio/src/test/java/okio/
DBufferTest.java175 int writeSize = Segment.SIZE / 2 + 1; in writeSplitSourceBufferLeft() local
182 sink.write(source, writeSize); in writeSplitSourceBufferLeft()
184 assertEquals(asList(Segment.SIZE - 10, writeSize), sink.segmentSizes()); in writeSplitSourceBufferLeft()
185 assertEquals(asList(Segment.SIZE - writeSize, Segment.SIZE), source.segmentSizes()); in writeSplitSourceBufferLeft()
190 int writeSize = Segment.SIZE / 2 - 1; in writeSplitSourceBufferRight() local
197 sink.write(source, writeSize); in writeSplitSourceBufferRight()
199 assertEquals(asList(Segment.SIZE - 10, writeSize), sink.segmentSizes()); in writeSplitSourceBufferRight()
200 assertEquals(asList(Segment.SIZE - writeSize, Segment.SIZE), source.segmentSizes()); in writeSplitSourceBufferRight()
/external/deqp/framework/delibs/decpp/
DdeBlockBuffer.cpp143 int writeSize = rnd.getInt(1, de::min(m_numMessages-msgNdx, DE_LENGTH_OF_ARRAY(tmpBuf))); in run() local
144 for (int ndx = 0; ndx < writeSize; ndx++) in run()
147 m_buffer.write(writeSize, &tmpBuf[0]); in run()
/external/skia/tools/viewer/sk_app/android/
Dsurface_glue_android.cpp81 SkDEBUGCODE(auto writeSize =) write(fPipes[1], &message, sizeof(message)); in postMessage()
82 SkASSERT(writeSize == sizeof(message)); in postMessage()
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationOperationMultiQueueTests.cpp187 const int writeSize = static_cast<int>(write->second.queue.size()); in getQueuesPairs() local
190 for (int writeNdx = 0; writeNdx < writeSize; ++writeNdx) in getQueuesPairs()
196 writeNdx = readNdx = std::max(writeSize, readSize); //exit from the loops in getQueuesPairs()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DByteStringTest.java431 for (int writeSize : writeSizes) { in testNewOutput_ArrayWrite()
434 for (int i = 0; i < length; i += writeSize) { in testNewOutput_ArrayWrite()
435 output.write(bytes, i, Math.min(writeSize, length - i)); in testNewOutput_ArrayWrite()
/external/skia/src/core/
DSkPathRef.cpp394 SkASSERT(buffer->pos() - beforePos == (size_t) this->writeSize()); in writeToBuffer()
397 uint32_t SkPathRef::writeSize() const { in writeSize() function in SkPathRef
DSkPath.cpp2043 const int byteCount = sizeof(int32_t) * 2 + fPathRef->writeSize(); in writeToMemory()
/external/skia/include/private/
DSkPathRef.h296 uint32_t writeSize() const;
/external/deqp/modules/gles3/performance/
Des3pBufferDataUploadTests.cpp2218 virtual void testBufferUpload (UploadSampleResult<SampleType>& result, int writeSize) = 0;
/external/sqlite/dist/orig/
Dsqlite3.c36968 int writeSize = 0;
36978 writeSize = PROXY_PATHINDEX + strlen(&writeBuffer[PROXY_PATHINDEX]);
36979 robust_ftruncate(conchFile->h, writeSize);
36980 rc = unixWrite((sqlite3_file *)conchFile, writeBuffer, writeSize, 0);
/external/sqlite/dist/
Dsqlite3.c36968 int writeSize = 0;
36978 writeSize = PROXY_PATHINDEX + strlen(&writeBuffer[PROXY_PATHINDEX]);
36979 robust_ftruncate(conchFile->h, writeSize);
36980 rc = unixWrite((sqlite3_file *)conchFile, writeBuffer, writeSize, 0);