/external/deqp/framework/delibs/destream/ |
D | deRingbuffer.c | 130 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 237 …writeSize = 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/ |
D | PDFDeflateWStreamTest.cpp | 121 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/ |
D | BufferTest.java | 175 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/ |
D | deBlockBuffer.cpp | 143 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/ |
D | surface_glue_android.cpp | 81 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/ |
D | vktSynchronizationOperationMultiQueueTests.cpp | 187 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/ |
D | ByteStringTest.java | 431 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/ |
D | SkPathRef.cpp | 394 SkASSERT(buffer->pos() - beforePos == (size_t) this->writeSize()); in writeToBuffer() 397 uint32_t SkPathRef::writeSize() const { in writeSize() function in SkPathRef
|
D | SkPath.cpp | 2043 const int byteCount = sizeof(int32_t) * 2 + fPathRef->writeSize(); in writeToMemory()
|
/external/skia/include/private/ |
D | SkPathRef.h | 296 uint32_t writeSize() const;
|
/external/deqp/modules/gles3/performance/ |
D | es3pBufferDataUploadTests.cpp | 2218 virtual void testBufferUpload (UploadSampleResult<SampleType>& result, int writeSize) = 0;
|
/external/sqlite/dist/orig/ |
D | sqlite3.c | 36968 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/ |
D | sqlite3.c | 36968 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);
|