/frameworks/av/media/libnbaio/ |
H A D | AudioBufferProviderSource.cpp | 50 size_t count, 57 mBuffer.frameCount = count; 66 if (CC_UNLIKELY(count > available)) { 67 count = available; 69 // count could be zero, either because count was zero on entry or 71 memcpy(buffer, (char *) mBuffer.raw + (mConsumed << mBitShift), count << mBitShift); 72 if (CC_UNLIKELY((mConsumed += count) >= mBuffer.frameCount)) { 77 mFramesRead += count; 78 // For better responsiveness with large values of count, 49 read(void *buffer, size_t count, int64_t readPTS) argument 95 size_t count = total - accumulator; local [all...] |
H A D | AudioStreamOutSink.cpp | 54 ssize_t AudioStreamOutSink::write(const void *buffer, size_t count) argument 60 ssize_t ret = mStream->write(mStream, buffer, count << mBitShift);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
H A D | armVCM4P2_BlockMatch_Half.c | 75 OMX_INT outer, inner, count, index; local 95 for (outer = 0, count = 0,index = 0; 99 for (inner = 0; inner < BlockSize; inner++, count++, index++) 101 refSAD += armAbs (pTempSrcRefBuf[index] - pSrcCurrBuf[count]); 150 for (outer = 0, count = 0, candSAD = 0,index = 0; 154 for (inner = 0; inner < BlockSize; inner++, count++,index++) 164 candSAD += armAbs (tempPel - pSrcCurrBuf[count]);
|
H A D | armVCM4P2_BlockMatch_Integer.c | 83 OMX_INT outer, inner, count,index; local 141 for (outer = 0, count = 0, index = 0, candSAD = 0; 145 for (inner = 0; inner < BlockSize; inner++, count++, index++) 147 candSAD += armAbs (pTempSrcRefBuf[index] - pSrcCurrBuf[count]);
|
H A D | omxVCM4P2_DecodeBlockCoef_Intra.c | 109 OMX_INT predDir, predACDir, i, j, count; local 211 for (j = 0, count = 0; j < 8; j++) 213 for(i = 0; i < 8; i++, count++) 215 pDst[i] = armClip (0, 255, pTempBuf2[count]);
|
H A D | omxVCM4P2_DecodePadMV_PVOP.c | 93 OMX_INT iBlk, i, count = 1; local 125 count = 4; 129 count = 1; 139 for (iBlk = 0; iBlk < count; iBlk++)
|
H A D | omxVCM4P2_MCReconBlock.c | 188 OMX_U8 x,y,count,index; local 191 for (y = 0, count = 0, index = 0; y < 8; y++,index += (srcStep -8), count += (dstStep - 8)) 193 for (x = 0; x < 8; x++, count++,index++) 195 pDst[count] = pSrc[index];
|
H A D | omxVCM4P2_TransRecBlockCoef_intra.c | 144 OMX_INT x, y, count, predDir; local 183 for (y = 0, count = 0; y < 8; y++) 185 for(x= 0; x < 8; x++, count++) 187 pTempBuf1[count] = pSrc[(y*srcStep) + x]; 199 for (y = 0, count = 0; y < 8; y++) 201 for(x = 0; x < 8; x++, count++) 204 pTempBuf1[count] = pTempBuf2[count]; 205 pDst[(y*dstStep) + x] = pTempBuf2[count]; 250 for(count [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/ |
H A D | h264bsd_interpolate_hor_half.s | 38 count RN 2 label 138 ;// pack values to count register 144 MOV count, width 148 ADD count, count, tmp2, LSL #16 154 AND tmp1, count, #0x000F0000 ;// partHeight-1 155 AND tmp3, count, #0x00F00000 ;// partWidth-1 156 ADD count, count, tmp1, LSL #8 159 ADD count, coun [all...] |
H A D | h264bsd_interpolate_hor_quarter.s | 38 count RN 2 label 140 ;// pack values to count register 146 MOV count, width 150 ADD count, count, tmp2, LSL #16 156 AND tmp1, count, #0x000F0000 ;// partHeight-1 157 AND tmp3, count, #0x00F00000 ;// partWidth-1 158 ADD count, count, tmp1, LSL #8 161 ADD count, coun [all...] |
H A D | h264bsd_interpolate_ver_half.s | 38 count RN 2 label 138 ADD count, partW, partH, LSL #16 ;// |partH|partW| 140 SSUB16 count, count, tmp5; ;// |partH-1|partW-1| 143 AND tmp1, count, #0x000000FF ;// partWidth 147 ADD count, count, tmp1, LSL #24 ;// partWidth-1 to top byte 281 SUBS count, count, #4<<24 ;// (partWidth-1) -= 4; 335 ADDS count, coun [all...] |
H A D | h264bsd_interpolate_ver_quarter.s | 37 count RN 2 label 137 ADD count, partW, partH, LSL #8 ;// |xx|xx|partH|partW| 139 RSB count, tmp5, count, LSL #8 ;// |xx|partH-1|partW-1|xx| 141 ADD count, count, tmp2 ;// |xx|partH-1|partW-1|verOffset| 144 AND tmp1, count, #0x0000FF00 ;// partWidth 148 ADD count, count, tmp1, LSL #16 ;// partWidth-1 to top byte 189 MOVS tmp1, count, LS [all...] |
/frameworks/av/media/libstagefright/timedtext/ |
H A D | TextDescriptions.cpp | 110 uint16_t count = U16_AT(tmpData); local 114 for (int i = 0; i < count; i++) { 150 uint16_t count = U16_AT(tmpData + 4); local 151 parcel->writeInt32(count); 156 for (int i = 0; i < count; i++) { 349 uint16_t count = U16_AT(tmpData); local 350 parcel->writeInt32(count); 353 for (int i = 0; i < count; i++) {
|
/frameworks/base/core/java/android/text/ |
H A D | AndroidCharacter.java | 33 * Fill in the first <code>count</code> bytes of <code>dest</code> with the 34 * directionalities from the first <code>count</code> chars of <code>src</code>. 39 int count); 55 * Fill the first <code>count</code> bytes of <code>dest</code> with the 56 * East Asian Width from <code>count</code> chars of <code>src</code> 66 * @param count maximum number of characters to measure 70 int count, byte[] dest); 79 * @param count maximum number of characters to mirror 82 public native static boolean mirror(char[] text, int start, int count); argument 38 getDirectionalities(char[] src, byte[] dest, int count) argument 69 getEastAsianWidths(char[] src, int start, int count, byte[] dest) argument
|
H A D | PackedObjectVector.java | 83 deleteAt(int row, int count) argument 85 moveRowGapTo(row + count); 87 mRowGapStart -= count; 88 mRowGapLength += count;
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | PkgUsageStats.java | 53 public PkgUsageStats(String pkgName, int count, long time, Map<String, Long> lastResumeTimes) { argument 55 launchCount = count;
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | IndentingPrintWriter.java | 54 public void write(char[] buf, int offset, int count) { argument 55 final int bufferEnd = offset + count;
|
H A D | ProcFileReader.java | 74 private void consumeBuf(int count) throws IOException { argument 77 System.arraycopy(mBuffer, count, mBuffer, 0, mTail - count); 78 mTail -= count;
|
/frameworks/base/core/jni/ |
H A D | android_text_AndroidCharacter.cpp | 54 static void getDirectionalities(JNIEnv* env, jobject obj, jcharArray srcArray, jbyteArray destArray, int count) argument 65 if (env->GetArrayLength(srcArray) < count || env->GetArrayLength(destArray) < count) { 70 for (int i = 0; i < count; i++) { 72 i + 1 < count && 105 int start, int count, jbyteArray destArray) 116 if (start < 0 || start > start + count 117 || env->GetArrayLength(srcArray) < (start + count) 118 || env->GetArrayLength(destArray) < count) { 123 for (int i = 0; i < count; 104 getEastAsianWidths(JNIEnv* env, jobject obj, jcharArray srcArray, int start, int count, jbyteArray destArray) argument 147 mirror(JNIEnv* env, jobject obj, jcharArray charArray, int start, int count) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | MemoryFileTest.java | 123 private void readIndexOutOfBoundsException(int offset, int count, String msg) argument 131 is.read(buffer, offset, count); 164 "read() with offset + count outside buffer should throw IndexOutOfBoundsException"); 176 // read() with count larger than data should succeed, and return # of bytes read
|
/frameworks/base/libs/androidfw/ |
H A D | StreamingZipInflater.cpp | 117 ssize_t StreamingZipInflater::read(void* outBuf, size_t count) { argument 120 size_t toRead = min_of(count, size_t(mOutTotalSize - mOutCurPosition));
|
/frameworks/base/libs/hwui/ |
H A D | GradientCache.h | 36 count = 0; 41 GradientCacheEntry(uint32_t* colors, float* positions, int count) { argument 42 copy(colors, positions, count); 46 copy(entry.colors, entry.positions, entry.count); 59 copy(entry.colors, entry.positions, entry.count); 67 LTE_INT(count) { 68 int result = memcmp(colors, rhs.colors, count * sizeof(uint32_t)); 71 result = memcmp(positions, rhs.positions, count * sizeof(float)); 80 int count; member in struct:android::uirenderer::GradientCacheEntry 85 void copy(uint32_t* colors, float* positions, int count) { argument [all...] |
H A D | LayerCache.cpp | 80 size_t count = mCache.size(); local 81 for (size_t i = 0; i < count; i++) {
|
H A D | PatchCache.cpp | 46 size_t count = mCache.size(); local 47 for (size_t i = 0; i < count; i++) {
|
H A D | PathCache.cpp | 83 size_t count = mGarbage.size(); local 84 for (size_t i = 0; i < count; i++) {
|