Searched refs:numWritten (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/media/native/midi/ |
D | amidi.cpp | 410 ssize_t numWritten = write(((AMIDI_Port*)inputPort)->ufd, writeBuffer, numTransferBytes); in AMidiInputPort_sendWithTimestamp() local 411 if (numWritten < 0) { in AMidiInputPort_sendWithTimestamp() 414 if (numWritten < numTransferBytes) { in AMidiInputPort_sendWithTimestamp() 416 " requested:%zu, written%zu",numTransferBytes, numWritten); in AMidiInputPort_sendWithTimestamp() 420 numSent += numWritten - AMIDI_PACKET_OVERHEAD; in AMidiInputPort_sendWithTimestamp() 433 ssize_t numWritten = write(((AMIDI_Port*)inputPort)->ufd, &opCode, numTransferBytes); in AMidiInputPort_sendFlush() local 435 if (numWritten < numTransferBytes) { in AMidiInputPort_sendFlush() 437 numTransferBytes, numWritten); in AMidiInputPort_sendFlush()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageSignatures.java | 84 final int numWritten = writtenSignatures.size(); in writeCertsListXml() local 86 for (j=0; j<numWritten; j++) { in writeCertsListXml() 93 if (j >= numWritten) { in writeCertsListXml() 95 serializer.attributeInt(null, "index", numWritten); in writeCertsListXml()
|