Searched refs:nbytes (Results 1 – 5 of 5) sorted by relevance
/frameworks/wilhelm/tests/sandbox/ |
D | playbq.cpp | 55 static SLuint32 squeeze(void *buffer, SLuint32 nbytes) in squeeze() argument 59 swab(buffer, buffer, nbytes); in squeeze() 63 nbytes / sizeof(int16_t)); in squeeze() 64 nbytes /= 2; in squeeze() 67 nbytes / sizeof(int32_t)); in squeeze() 68 nbytes = nbytes * 3 / 4; in squeeze() 70 return nbytes; in squeeze() 88 SLuint32 nbytes = count * sfframesize; in callback() local 89 nbytes = squeeze(buffer, nbytes); in callback() 90 SLresult result = (*bufq)->Enqueue(bufq, buffer, nbytes); in callback() [all …]
|
/frameworks/av/media/libstagefright/rtsp/ |
D | ARTPConnection.cpp | 384 ssize_t nbytes; in receive() local 386 nbytes = recvfrom( in receive() 393 } while (nbytes < 0 && errno == EINTR); in receive() 395 if (nbytes <= 0) { in receive() 399 buffer->setRange(0, nbytes); in receive()
|
/frameworks/av/cmds/stagefright/ |
D | SimplePlayer.cpp | 631 ssize_t nbytes = state->mAudioTrack->write( in renderAudio() local 634 CHECK_EQ(nbytes, (ssize_t)copy); in renderAudio() 638 uint32_t numFramesWritten = nbytes / state->mAudioTrack->frameSize(); in renderAudio() 646 info->mOffset += nbytes; in renderAudio() 647 info->mSize -= nbytes; in renderAudio()
|
/frameworks/av/media/mtp/ |
D | MtpFfsHandle.cpp | 178 int nbytes = TEMP_FAILURE_RETRY(::read(mControl, event, in handleEvent() local 180 if (nbytes == -1) { in handleEvent() 184 for (size_t n = nbytes / sizeof *event; n; --n, ++event) { in handleEvent()
|
/frameworks/base/core/java/android/util/jar/ |
D | StrictJarVerifier.java | 133 public void write(byte[] buf, int off, int nbytes) { in write() argument 134 digest.update(buf, off, nbytes); in write()
|