Searched refs:part1 (Results 1 – 7 of 7) sorted by relevance
/frameworks/av/media/libnbaio/ |
D | MonoPipeReader.cpp | 57 size_t part1 = mPipe->mMaxFrames - front; in read() local 58 if (part1 > (size_t) red) { in read() 59 part1 = red; in read() 61 if (CC_LIKELY(part1 > 0)) { in read() 62 memcpy(buffer, (char *) mPipe->mBuffer + (front * mFrameSize), part1 * mFrameSize); in read() 63 if (CC_UNLIKELY(front + part1 == mPipe->mMaxFrames)) { in read() 64 size_t part2 = red - part1; in read() 66 memcpy((char *) buffer + (part1 * mFrameSize), mPipe->mBuffer, part2 * mFrameSize); in read()
|
D | MonoPipe.cpp | 81 size_t part1 = mMaxFrames - rear; in write() local 82 if (part1 > written) { in write() 83 part1 = written; in write() 85 if (CC_LIKELY(part1 > 0)) { in write() 86 memcpy((char *) mBuffer + (rear * mFrameSize), buffer, part1 * mFrameSize); in write() 87 if (CC_UNLIKELY(rear + part1 == mMaxFrames)) { in write() 88 size_t part2 = written - part1; in write() 90 memcpy(mBuffer, (char *) buffer + (part1 * mFrameSize), part2 * mFrameSize); in write()
|
/frameworks/av/media/libmedia/ |
D | AudioTrackShared.cpp | 212 size_t part1; in obtainBuffer() local 215 part1 = mFrameCountP2 - rear; in obtainBuffer() 218 part1 = mFrameCountP2 - front; in obtainBuffer() 220 if (part1 > (size_t)avail) { in obtainBuffer() 221 part1 = avail; in obtainBuffer() 223 if (part1 > buffer->mFrameCount) { in obtainBuffer() 224 part1 = buffer->mFrameCount; in obtainBuffer() 226 buffer->mFrameCount = part1; in obtainBuffer() 227 buffer->mRaw = part1 > 0 ? in obtainBuffer() 229 buffer->mNonContig = avail - part1; in obtainBuffer() [all …]
|
/frameworks/wilhelm/tools/hashgen/ |
D | Makefile | 11 IID_to_MPH.c : part1.c part2.c part3.c part4.c part5.c part6.c part7.c part8.c 13 cat part1.c part2.c part3.c part4.c part5.c part6.c part7.c part8.c >> $@
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
D | transform.c | 44 int *part0, *part1; in Shuffle() local 49 part1 = buf + num; in Shuffle() 55 swap2(part0[4*i+2], part1[4*j+0]); in Shuffle() 56 swap2(part1[4*i+0], part0[4*j+2]); in Shuffle() 57 swap2(part1[4*i+2], part1[4*j+2]); in Shuffle() 61 swap2(part0[4*i+2], part1[4*i+0]); in Shuffle()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | PatternsTest.java | 424 String part1 = "http://and"; in testAutoLinkWebUrl_doesNotMatchUnicodeSpaces() local 446 String url = part1 + emptySpace + part2; in testAutoLinkWebUrl_doesNotMatchUnicodeSpaces()
|
/frameworks/av/services/audioflinger/ |
D | Threads.cpp | 6093 size_t part1 = mRsmpInFramesP2 - rear; in threadLoop() local 6094 if ((size_t) framesRead > part1) { in threadLoop() 6096 (framesRead - part1) * mFrameSize); in threadLoop() 6706 size_t part1 = recordThread->mRsmpInFramesP2 - front; in getNextBuffer() local 6707 if (part1 > (size_t) filled) { in getNextBuffer() 6708 part1 = filled; in getNextBuffer() 6712 if (part1 > ask) { in getNextBuffer() 6713 part1 = ask; in getNextBuffer() 6715 if (part1 == 0) { in getNextBuffer() 6724 buffer->frameCount = part1; in getNextBuffer() [all …]
|