/frameworks/native/libs/ui/ |
D | FrameStats.cpp | 43 memcpy(timestamps, &refreshPeriodNano, timestampSize); in flatten() 46 memcpy(timestamps, desiredPresentTimesNano.array(), frameCount * timestampSize); in flatten() 49 memcpy(timestamps, actualPresentTimesNano.array(), frameCount * timestampSize); in flatten() 52 memcpy(timestamps, frameReadyTimesNano.array(), frameCount * timestampSize); in flatten() 67 memcpy(&refreshPeriodNano, timestamps, timestampSize); in unflatten() 71 memcpy(desiredPresentTimesNano.editArray(), timestamps, frameCount * timestampSize); in unflatten() 75 memcpy(actualPresentTimesNano.editArray(), timestamps, frameCount * timestampSize); in unflatten() 79 memcpy(frameReadyTimesNano.editArray(), timestamps, frameCount * timestampSize); in unflatten()
|
/frameworks/ex/variablespeed/jni/ |
D | ring_buffer.cc | 87 memcpy(samples_ + head_ * num_channels_, samples, in Write() 92 memcpy(samples_ + head_ * num_channels_, samples, in Write() 95 memcpy(samples_, samples + overhead * num_channels_, in Write() 104 memcpy(destination, samples_ + pos * num_channels_, in Copy() 108 memcpy(destination, samples_ + pos * num_channels_, in Copy() 111 memcpy(destination + wrapped * num_channels_, samples_, in Copy() 139 memcpy(samples_ + (pos * num_channels_), source, in MergeBack() 143 memcpy(samples_ + (pos * num_channels_), source, in MergeBack() 146 memcpy(samples_, source + (wrapped * num_channels_), in MergeBack()
|
/frameworks/base/libs/androidfw/tests/ |
D | TypeWrappers_test.cpp | 63 memcpy(p, &t, sizeof(t)); in createTypeData() 65 memcpy(p, offsets, sizeof(offsets)); in createTypeData() 67 memcpy(p, &e1, sizeof(e1)); in createTypeData() 69 memcpy(p, &v1, sizeof(v1)); in createTypeData() 71 memcpy(p, &e2, sizeof(e2)); in createTypeData() 73 memcpy(p, &v2, sizeof(v2)); in createTypeData()
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
D | cod_amr.cpp | 742 memcpy(&st->new_speech[-L_NEXT], new_speech, L_NEXT*sizeof(Word16)); in cod_amr_first() 1270 memcpy(st->new_speech, new_speech, L_FRAME*sizeof(Word16)); in cod_amr() 1334 memcpy(st->lspSt->lsp_old, lsp_new, M*sizeof(Word16)); in cod_amr() 1335 memcpy(st->lspSt->lsp_old_q, lsp_new, M*sizeof(Word16)); in cod_amr() 1444 memcpy(mem_syn_save, st->mem_syn, M*sizeof(Word16)); in cod_amr() 1445 memcpy(mem_w0_save, st->mem_w0, M*sizeof(Word16)); in cod_amr() 1446 memcpy(mem_err_save, st->mem_err, M*sizeof(Word16)); in cod_amr() 1475 memcpy(h1_sf0, st->h1, L_SUBFR*sizeof(Word16)); in cod_amr() 1481 memcpy(res2, res, L_SUBFR*sizeof(Word16)); in cod_amr() 1536 memcpy(xn_sf0, xn, L_SUBFR*sizeof(Word16)); in cod_amr() [all …]
|
/frameworks/av/media/libstagefright/ |
D | SkipCutBuffer.cpp | 111 memcpy(newbuffer, mCutBuffer, mCapacity); in write() 121 memcpy(mCutBuffer + mWriteHead, src, copyfirst); in write() 128 memcpy(mCutBuffer, src, num); in write() 149 memcpy(dst, mCutBuffer + mReadHead, copyfirst); in read() 156 memcpy(dst, mCutBuffer, num); in read()
|
D | MPEG2TSWriter.cpp | 175 memcpy(mAACCodecSpecificData->data(), codec_specific_data, in extractCodecSpecificData() 213 memcpy(out->data() + out->size(), "\x00\x00\x00\x01", 4); in extractCodecSpecificData() 214 memcpy(out->data() + out->size() + 4, ptr, length); in extractCodecSpecificData() 236 memcpy(out->data() + out->size(), "\x00\x00\x00\x01", 4); in extractCodecSpecificData() 237 memcpy(out->data() + out->size() + 4, ptr, length); in extractCodecSpecificData() 259 memcpy(copy->data(), in postAVCFrame() 337 memcpy(ptr, in appendAACFrames() 410 memcpy(mAACCodecSpecificData->data(), in onMessageReceived() 745 memcpy(buffer->data(), kData, sizeof(kData)); in writeProgramAssociationTable() 753 memcpy(&buffer->data()[17], &crc, sizeof(crc)); in writeProgramAssociationTable() [all …]
|
D | Utils.cpp | 214 memcpy(buffer->data() + buffer->size(), "\x00\x00\x00\x01", 4); in convertMetaDataToMessage() 215 memcpy(buffer->data() + buffer->size() + 4, ptr, length); in convertMetaDataToMessage() 244 memcpy(buffer->data() + buffer->size(), "\x00\x00\x00\x01", 4); in convertMetaDataToMessage() 245 memcpy(buffer->data() + buffer->size() + 4, ptr, length); in convertMetaDataToMessage() 293 memcpy(buffer->data() + buffer->size(), "\x00\x00\x00\x01", 4); in convertMetaDataToMessage() 294 memcpy(buffer->data() + buffer->size() + 4, ptr, length); in convertMetaDataToMessage() 316 memcpy(buffer->data(), codec_specific_data, in convertMetaDataToMessage() 324 memcpy(buffer->data(), data, size); in convertMetaDataToMessage() 335 memcpy(buffer->data(), data, size); in convertMetaDataToMessage() 342 memcpy(buffer->data(), data, size); in convertMetaDataToMessage() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
D | lsp.cpp | 273 memcpy(st->lsp_old, lsp_init_data, M*sizeof(Word16)); in lsp_reset() 276 memcpy(st->lsp_old_q, st->lsp_old, M*sizeof(Word16)); in lsp_reset() 523 memcpy(st->lsp_old, lsp_new, M*sizeof(Word16)); in lsp() 527 memcpy(st->lsp_old_q, lsp_new_q, M*sizeof(Word16)); in lsp()
|
/frameworks/rs/ |
D | rsStream.cpp | 31 memcpy(dest, mData + mPos, numBytes); in loadByteArray() 70 memcpy(mData + mPos, src, numBytes); in addByteArray() 99 memcpy(stringData, s, len); in addString() 109 memcpy(newData, mData, mLength*sizeof(uint8_t)); in growSize()
|
D | rsProgramVertex.cpp | 80 memcpy(&f[RS_PROGRAM_VERTEX_PROJECTION_OFFSET], m, sizeof(rsc_Matrix)); in setProjectionMatrix() 98 memcpy(&f[RS_PROGRAM_VERTEX_MODELVIEW_OFFSET], m, sizeof(rsc_Matrix)); in setModelviewMatrix() 116 memcpy(&f[RS_PROGRAM_VERTEX_TEXTURE_OFFSET], m, sizeof(rsc_Matrix)); in setTextureMatrix() 134 memcpy(m, &f[RS_PROGRAM_VERTEX_PROJECTION_OFFSET], sizeof(rsc_Matrix)); in getProjectionMatrix() 225 memcpy(&f[RS_PROGRAM_VERTEX_PROJECTION_OFFSET], m.m, sizeof(m)); in updateSize() 226 memcpy(&f[RS_PROGRAM_VERTEX_MVP_OFFSET], m.m, sizeof(m)); in updateSize() 229 memcpy(&f[RS_PROGRAM_VERTEX_MODELVIEW_OFFSET], m.m, sizeof(m)); in updateSize() 230 memcpy(&f[RS_PROGRAM_VERTEX_TEXTURE_OFFSET], m.m, sizeof(m)); in updateSize()
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/ |
D | FwdLockGlue.c | 159 memcpy(pEncryptedKey, pPlaintextKey, plaintextKeyLength); in FwdLockGlue_EncryptKey() 161 memcpy((unsigned char *)pEncryptedKey + dataLength, initVector, AES_BLOCK_SIZE); in FwdLockGlue_EncryptKey() 181 memcpy(pData, pEncryptedKey, dataLength); in FwdLockGlue_DecryptKey() 182 memcpy(initVector, (const unsigned char *)pEncryptedKey + dataLength, AES_BLOCK_SIZE); in FwdLockGlue_DecryptKey() 185 memcpy(pDecryptedKey, pData, decryptedKeyLength); in FwdLockGlue_DecryptKey()
|
/frameworks/base/core/jni/android/graphics/ |
D | NinePatchPeeker.cpp | 32 memcpy(patchNew, patch, patchSize); in peek() 52 memcpy(&mOpticalInsets, data, sizeof(int32_t) * 4); in peek() 55 memcpy(&mOutlineInsets, data, sizeof(int32_t) * 4); in peek()
|
/frameworks/native/services/surfaceflinger/EventLog/ |
D | EventLog.cpp | 100 memcpy(&mStorage[mPos + 1], &value, sizeof(value)); in writeInt32() 112 memcpy(&mStorage[mPos + 1], &value, sizeof(value)); in writeInt64() 125 memcpy(&mStorage[mPos + 1], &stringLen, sizeof(int32_t)); in writeString8() 126 memcpy(&mStorage[mPos + 5], value.string(), stringLen); in writeString8()
|
/frameworks/ex/framesequence/jni/ |
D | Stream.cpp | 48 memcpy(mPeekBuffer, old_peek + mPeekOffset, peek_remaining); in peek() 56 memcpy(buffer, mPeekBuffer + mPeekOffset, size); in peek() 65 memcpy(buffer, mPeekBuffer + mPeekOffset, bytes_read); in read() 84 memcpy(buffer, mBuffer, size); in doRead()
|
/frameworks/compile/mclinker/lib/LD/ |
D | RelocationFactory.cpp | 53 pFragRef.memcpy(&tmp_data, 4); in produce() 59 pFragRef.memcpy(&target_data, 8); in produce() 71 pFragRef.memcpy(&target_data, (m_pConfig->targets().bitclass()/8)); in produce()
|
/frameworks/av/media/libmedia/ |
D | StringArray.cpp | 58 memcpy(tmp, mArray, mCurrent * sizeof(char*)); in push_back() 65 memcpy(mArray[mCurrent], str, len+1); in push_back() 109 memcpy(mArray[idx], str, len+1); in setEntry()
|
/frameworks/native/opengl/tests/gralloc/ |
D | gralloc.cpp | 73 memcpy(temp, temp2, size); in main() 79 memcpy(temp, vaddr, size); in main() 85 memcpy(vaddr, temp, size); in main()
|
/frameworks/base/core/jni/ |
D | android_util_EventLog.cpp | 84 memcpy(&buf[1], &len, sizeof(len)); in android_util_EventLog_writeEvent_String() 85 memcpy(&buf[1 + sizeof(len)], str, len); in android_util_EventLog_writeEvent_String() 115 memcpy(&buf[pos], &len, sizeof(len)); in android_util_EventLog_writeEvent_Array() 116 memcpy(&buf[pos + sizeof(len)], str, len); in android_util_EventLog_writeEvent_Array() 123 memcpy(&buf[pos], &intVal, sizeof(intVal)); in android_util_EventLog_writeEvent_Array() 129 memcpy(&buf[pos], &longVal, sizeof(longVal)); in android_util_EventLog_writeEvent_Array() 206 memcpy(bytes, log_msg.buf, len); in android_util_EventLog_readEvents()
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
D | MipsPLT.cpp | 96 memcpy(buffer, llvm::cast<MipsPLT0>((*it)).getValue(), MipsPLT0::EntrySize); in emit() 103 memcpy(buffer + result, plta->getValue(), MipsPLTA::EntrySize); in emit() 141 memcpy(data, PLT0, plt->size()); in applyAllPLT() 156 memcpy(data, PLTA, plt->size()); in applyAllPLT()
|
/frameworks/av/media/libeffects/testlibs/ |
D | AudioBiquadFilter.cpp | 44 memcpy(mCoefs, IDENTITY_COEFS, sizeof(mCoefs)); in reset() 54 memcpy(mTargetCoefs, coefs, sizeof(mTargetCoefs)); in setCoefs() 57 memcpy(mCoefs, coefs, sizeof(mCoefs)); in setCoefs() 72 memcpy(mCoefs, mTargetCoefs, sizeof(mCoefs)); in enable() 81 memcpy(mCoefs, IDENTITY_COEFS, sizeof(mCoefs)); in disable() 144 memcpy(out, in, frameCount * mNumChannels * sizeof(audio_sample_t)); in process_bypass()
|
/frameworks/compile/mclinker/lib/Target/AArch64/ |
D | AArch64PLT.cpp | 78 memcpy(data, aarch64_plt0, AArch64PLT0::EntrySize); in applyPLT0() 128 memcpy(Out, aarch64_plt1, AArch64PLT1::EntrySize); in applyPLT1() 156 memcpy(buffer, llvm::cast<AArch64PLT0>((*it)).getValue(), in emit() 165 memcpy(buffer + result, plt1->getValue(), AArch64PLT1::EntrySize); in emit()
|
/frameworks/base/media/mca/filterpacks/native/base/ |
D | vec_types.h | 29 memcpy(data, x.data, sizeof(T)*dim); 53 memcpy(this->data, x.data, sizeof(T)*dim); 132 memcpy(data, x.data, sizeof(float)*2); 148 memcpy(data, x.data, sizeof(float)*3); 165 memcpy(data, x.data, sizeof(float)*4);
|
/frameworks/av/media/ndk/ |
D | NdkMediaCodec.cpp | 422 memcpy(ret->key, key, 16); in AMediaCodecCryptoInfo_new() 423 memcpy(ret->iv, iv, 16); in AMediaCodecCryptoInfo_new() 430 memcpy(ret->clearbytes, clearbytes, numsubsamples * sizeof(size_t)); in AMediaCodecCryptoInfo_new() 431 memcpy(ret->encryptedbytes, encryptedbytes, numsubsamples * sizeof(size_t)); in AMediaCodecCryptoInfo_new() 456 memcpy(dst, ci->key, 16); in AMediaCodecCryptoInfo_getKey() 468 memcpy(dst, ci->iv, 16); in AMediaCodecCryptoInfo_getIV() 488 memcpy(dst, ci->clearbytes, sizeof(size_t) * ci->numsubsamples); in AMediaCodecCryptoInfo_getClearBytes() 500 memcpy(dst, ci->encryptedbytes, sizeof(size_t) * ci->numsubsamples); in AMediaCodecCryptoInfo_getEncryptedBytes()
|
/frameworks/compile/mclinker/include/mcld/Target/ |
D | ELFDynamic.tcc | 30 memcpy(reinterpret_cast<void*>(pAddress), in emit() 56 memcpy(reinterpret_cast<void*>(pAddress), in emit()
|
/frameworks/av/cmds/stagefright/ |
D | sf2.cpp | 361 memcpy(buffer->data() + buffer->size(), "\x00\x00\x00\x01", 4); in makeFormat() 362 memcpy(buffer->data() + buffer->size() + 4, ptr, length); in makeFormat() 389 memcpy(buffer->data() + buffer->size(), "\x00\x00\x00\x01", 4); in makeFormat() 390 memcpy(buffer->data() + buffer->size() + 4, ptr, length); in makeFormat() 412 memcpy(buffer->data(), codec_specific_data, in makeFormat() 419 memcpy(buffer->data(), data, size); in makeFormat() 427 memcpy(buffer->data(), data, size); in makeFormat() 512 memcpy(outBuffer->data() + outBuffer->size(), in onFillThisBuffer() 524 memcpy(outBuffer->data() in onFillThisBuffer()
|