Searched refs:memcpy (Results 1 - 25 of 348) sorted by relevance

1234567891011>>

/frameworks/native/libs/ui/
H A DFrameStats.cpp43 memcpy(timestamps, &refreshPeriodNano, timestampSize);
46 memcpy(timestamps, desiredPresentTimesNano.array(), frameCount * timestampSize);
49 memcpy(timestamps, actualPresentTimesNano.array(), frameCount * timestampSize);
52 memcpy(timestamps, frameReadyTimesNano.array(), frameCount * timestampSize);
67 memcpy(&refreshPeriodNano, timestamps, timestampSize);
71 memcpy(desiredPresentTimesNano.editArray(), timestamps, frameCount * timestampSize);
75 memcpy(actualPresentTimesNano.editArray(), timestamps, frameCount * timestampSize);
79 memcpy(frameReadyTimesNano.editArray(), timestamps, frameCount * timestampSize);
/frameworks/rs/
H A DrsCompatibilityLib.cpp32 memcpy(value, default_value, len + 1);
H A DrsCppUtils.cpp29 memcpy(n, name, len);
H A DrsMatrix2x2.cpp37 memcpy(m, v, sizeof(m));
41 memcpy(m, v->m, sizeof(m));
H A DrsStream.cpp31 memcpy(dest, mData + mPos, numBytes);
70 memcpy(mData + mPos, src, numBytes);
99 memcpy(stringData, s, len);
109 memcpy(newData, mData, mLength*sizeof(uint8_t));
H A DrsMatrix3x3.cpp41 memcpy(m, v, sizeof(m));
45 memcpy(m, v->m, sizeof(m));
/frameworks/ex/variablespeed/jni/
H A Dring_buffer.cc87 memcpy(samples_ + head_ * num_channels_, samples,
92 memcpy(samples_ + head_ * num_channels_, samples,
95 memcpy(samples_, samples + overhead * num_channels_,
104 memcpy(destination, samples_ + pos * num_channels_,
108 memcpy(destination, samples_ + pos * num_channels_,
111 memcpy(destination + wrapped * num_channels_, samples_,
139 memcpy(samples_ + (pos * num_channels_), source,
143 memcpy(samples_ + (pos * num_channels_), source,
146 memcpy(samples_, source + (wrapped * num_channels_),
/frameworks/base/libs/androidfw/tests/
H A DTypeWrappers_test.cpp63 memcpy(p, &t, sizeof(t));
65 memcpy(p, offsets, sizeof(offsets));
67 memcpy(p, &e1, sizeof(e1));
69 memcpy(p, &v1, sizeof(v1));
71 memcpy(p, &e2, sizeof(e2));
73 memcpy(p, &v2, sizeof(v2));
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dpvamrwbdecoder_mem_funcs.h61 #define pv_memcpy(to, from, n) memcpy(to, from, n)
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dmp3_mem_funcs.h67 #define pv_memcpy(to, from, n) memcpy(to, from, n)
/frameworks/av/media/libmedia/
H A DStringArray.cpp58 memcpy(tmp, mArray, mCurrent * sizeof(char*));
65 memcpy(mArray[mCurrent], str, len+1);
109 memcpy(mArray[idx], str, len+1);
/frameworks/base/core/jni/android/graphics/
H A DNinePatchPeeker.cpp32 memcpy(patchNew, patch, patchSize);
52 memcpy(&mOpticalInsets, data, sizeof(int32_t) * 4);
55 memcpy(&mOutlineInsets, data, sizeof(int32_t) * 4);
/frameworks/compile/mclinker/lib/LD/
H A DRelocationFactory.cpp53 pFragRef.memcpy(&tmp_data, 4);
59 pFragRef.memcpy(&target_data, 8);
71 pFragRef.memcpy(&target_data, (m_pConfig->targets().bitclass()/8));
/frameworks/native/opengl/tests/gralloc/
H A Dgralloc.cpp71 StopWatch watch("memcpy baseline");
73 memcpy(temp, temp2, size);
77 StopWatch watch("memcpy from gralloc");
79 memcpy(temp, vaddr, size);
83 StopWatch watch("memcpy into gralloc");
85 memcpy(vaddr, temp, size);
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dlsp.cpp43 1. Replaced copy() with more efficient memcpy().
47 1. Modified memcpy() operands order.
273 memcpy(st->lsp_old, lsp_init_data, M*sizeof(Word16));
276 memcpy(st->lsp_old_q, st->lsp_old, M*sizeof(Word16));
523 memcpy(st->lsp_old, lsp_new, M*sizeof(Word16));
527 memcpy(st->lsp_old_q, lsp_new_q, M*sizeof(Word16));
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dm4venc_oscl.h35 #define M4VENC_MEMCPY(dst,src,size) memcpy(dst,src,size)
/frameworks/ex/framesequence/jni/
H A DStream.cpp48 memcpy(mPeekBuffer, old_peek + mPeekOffset, peek_remaining);
56 memcpy(buffer, mPeekBuffer + mPeekOffset, size);
65 memcpy(buffer, mPeekBuffer + mPeekOffset, bytes_read);
84 memcpy(buffer, mBuffer, size);
/frameworks/native/services/surfaceflinger/EventLog/
H A DEventLog.cpp100 memcpy(&mStorage[mPos + 1], &value, sizeof(value));
112 memcpy(&mStorage[mPos + 1], &value, sizeof(value));
125 memcpy(&mStorage[mPos + 1], &stringLen, sizeof(int32_t));
126 memcpy(&mStorage[mPos + 5], value.string(), stringLen);
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DAesCtrDecryptor.cpp43 memcpy(opensslIv, iv, sizeof(opensslIv));
49 memcpy(destination + offset, source + offset,
/frameworks/av/media/libnbaio/
H A DPipe.cpp58 memcpy((char *) mBuffer + (rear * mFrameSize), buffer, written * mFrameSize);
64 memcpy(mBuffer, (char *) buffer + (written * mFrameSize), count * mFrameSize);
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dspreproc.cpp46 1. Replaced copy() and for-loop with more efficient memcpy().
208 memcpy(ai_zero, Ap1, (M + 1)*sizeof(Word16));
223 memcpy(exc, res2, L_SUBFR*sizeof(Word16));
H A Dcod_amr.cpp61 1. Replaced copy() function with memcpy()
742 memcpy(&st->new_speech[-L_NEXT], new_speech, L_NEXT*sizeof(Word16));
1270 memcpy(st->new_speech, new_speech, L_FRAME*sizeof(Word16));
1334 memcpy(st->lspSt->lsp_old, lsp_new, M*sizeof(Word16));
1335 memcpy(st->lspSt->lsp_old_q, lsp_new, M*sizeof(Word16));
1444 memcpy(mem_syn_save, st->mem_syn, M*sizeof(Word16));
1445 memcpy(mem_w0_save, st->mem_w0, M*sizeof(Word16));
1446 memcpy(mem_err_save, st->mem_err, M*sizeof(Word16));
1475 memcpy(h1_sf0, st->h1, L_SUBFR*sizeof(Word16));
1481 memcpy(res
[all...]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/
H A DFwdLockGlue.c159 memcpy(pEncryptedKey, pPlaintextKey, plaintextKeyLength);
161 memcpy((unsigned char *)pEncryptedKey + dataLength, initVector, AES_BLOCK_SIZE);
181 memcpy(pData, pEncryptedKey, dataLength);
182 memcpy(initVector, (const unsigned char *)pEncryptedKey + dataLength, AES_BLOCK_SIZE);
185 memcpy(pDecryptedKey, pData, decryptedKeyLength);
/frameworks/av/media/libstagefright/
H A DSkipCutBuffer.cpp111 memcpy(newbuffer, mCutBuffer, mCapacity);
121 memcpy(mCutBuffer + mWriteHead, src, copyfirst);
128 memcpy(mCutBuffer, src, num);
149 memcpy(dst, mCutBuffer + mReadHead, copyfirst);
156 memcpy(dst, mCutBuffer, num);
/frameworks/base/media/mca/filterfw/native/core/
H A Dnative_frame.cpp32 memcpy(data_ + offset, data, size);

Completed in 735 milliseconds

1234567891011>>