Home
last modified time | relevance | path

Searched refs:memcpy (Results 1 – 25 of 539) sorted by relevance

12345678910>>...22

/frameworks/native/libs/ui/
DFrameStats.cpp43 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/av/media/libstagefright/foundation/
DOpusHeader.cpp159 memcpy(output + kOpusHeaderLabelOffset, "OpusHead", 8); in WriteOpusHeader()
165 memcpy(output + kOpusHeaderSkipSamplesOffset, &header.skip_samples, sizeof(uint16_t)); in WriteOpusHeader()
167 memcpy(output + kOpusHeaderSampleRateOffset, &input_sample_rate, sizeof(uint32_t)); in WriteOpusHeader()
169 memcpy(output + kOpusHeaderGainOffset, &header.gain_db, sizeof(uint16_t)); in WriteOpusHeader()
212 memcpy(output + headerLen, AOPUS_CSD_OPUS_HEADER_MARKER, AOPUS_MARKER_SIZE); in WriteOpusHeaders()
228 memcpy(output + AOPUS_MARKER_SIZE, &length, AOPUS_LENGTH_SIZE); in WriteOpusHeaders()
247 memcpy(output + headerLen, AOPUS_CSD_CODEC_DELAY_MARKER, AOPUS_MARKER_SIZE); in WriteOpusHeaders()
249 memcpy(output + headerLen, &length, AOPUS_LENGTH_SIZE); in WriteOpusHeaders()
251 memcpy(output + headerLen, &codecDelay, length); in WriteOpusHeaders()
260 memcpy(output + headerLen, AOPUS_CSD_SEEK_PREROLL_MARKER, AOPUS_MARKER_SIZE); in WriteOpusHeaders()
[all …]
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/libsgemm/
Dtest_data.cpp56563 memcpy(a_byte, a_data, a_count); in Java_com_example_android_rs_blasbenchmark_BNNMTest_getData()
56564 memcpy(b_byte, b_data, b_count); in Java_com_example_android_rs_blasbenchmark_BNNMTest_getData()
56565 memcpy(c_byte, expected_c_data, c_count); in Java_com_example_android_rs_blasbenchmark_BNNMTest_getData()
56585 memcpy(a_byte, a_data, a_count); in Java_com_example_android_rs_blasbenchmark_SGEMMTest_getData()
56586 memcpy(b_byte, b_data, b_count); in Java_com_example_android_rs_blasbenchmark_SGEMMTest_getData()
56587 memcpy(c_byte, expected_c_data, c_count); in Java_com_example_android_rs_blasbenchmark_SGEMMTest_getData()
/frameworks/base/libs/androidfw/tests/
DTypeWrappers_test.cpp63 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/
Dcod_amr.cpp742 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/rs/
DrsProgramVertex.cpp79 memcpy(&f[RS_PROGRAM_VERTEX_PROJECTION_OFFSET], m, sizeof(rsc_Matrix)); in setProjectionMatrix()
97 memcpy(&f[RS_PROGRAM_VERTEX_MODELVIEW_OFFSET], m, sizeof(rsc_Matrix)); in setModelviewMatrix()
115 memcpy(&f[RS_PROGRAM_VERTEX_TEXTURE_OFFSET], m, sizeof(rsc_Matrix)); in setTextureMatrix()
133 memcpy(m, &f[RS_PROGRAM_VERTEX_PROJECTION_OFFSET], sizeof(rsc_Matrix)); in getProjectionMatrix()
224 memcpy(&f[RS_PROGRAM_VERTEX_PROJECTION_OFFSET], m.m, sizeof(m)); in updateSize()
225 memcpy(&f[RS_PROGRAM_VERTEX_MVP_OFFSET], m.m, sizeof(m)); in updateSize()
228 memcpy(&f[RS_PROGRAM_VERTEX_MODELVIEW_OFFSET], m.m, sizeof(m)); in updateSize()
229 memcpy(&f[RS_PROGRAM_VERTEX_TEXTURE_OFFSET], m.m, sizeof(m)); in updateSize()
DrsStream.cpp31 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()
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
Dlsp.cpp275 memcpy(st->lsp_old, lsp_init_data, M*sizeof(Word16)); in lsp_reset()
278 memcpy(st->lsp_old_q, st->lsp_old, M*sizeof(Word16)); in lsp_reset()
525 memcpy(st->lsp_old, lsp_new, M*sizeof(Word16)); in lsp()
529 memcpy(st->lsp_old_q, lsp_new_q, M*sizeof(Word16)); in lsp()
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/
DFwdLockGlue.c159 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/native/services/surfaceflinger/EventLog/
DEventLog.cpp100 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/compile/mclinker/lib/LD/
DRelocationFactory.cpp52 pFragRef.memcpy(&tmp_data, 4); in produce()
58 pFragRef.memcpy(&target_data, 8); in produce()
69 pFragRef.memcpy(&target_data, (m_pConfig->targets().bitclass() / 8)); in produce()
/frameworks/av/media/libmedia/
DStringArray.cpp58 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/compile/mclinker/lib/Target/Mips/
DMipsPLT.cpp83 memcpy(buffer, llvm::cast<MipsPLT0>((*it)).getValue(), MipsPLT0::EntrySize); in emit()
90 memcpy(buffer + result, plta->getValue(), MipsPLTA::EntrySize); in emit()
114 memcpy(data, PLT0, plt->size()); in applyAllPLT()
129 memcpy(data, PLTA, plt->size()); in applyAllPLT()
/frameworks/ex/framesequence/jni/
DStream.cpp48 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()
112 memcpy(buffer, mBuffer, size); in doRead()
/frameworks/av/media/libstagefright/
DSkipCutBuffer.cpp148 memcpy(newbuffer, mCutBuffer, mCapacity); in write()
158 memcpy(mCutBuffer + mWriteHead, src, copyfirst); in write()
165 memcpy(mCutBuffer, src, num); in write()
186 memcpy(dst, mCutBuffer + mReadHead, copyfirst); in read()
193 memcpy(dst, mCutBuffer, num); in read()
DMPEG2TSWriter.cpp174 memcpy(mAACCodecSpecificData->data(), codec_specific_data, in extractCodecSpecificData()
212 memcpy(out->data() + out->size(), "\x00\x00\x00\x01", 4); in extractCodecSpecificData()
213 memcpy(out->data() + out->size() + 4, ptr, length); in extractCodecSpecificData()
235 memcpy(out->data() + out->size(), "\x00\x00\x00\x01", 4); in extractCodecSpecificData()
236 memcpy(out->data() + out->size() + 4, ptr, length); in extractCodecSpecificData()
261 memcpy(mBuffer->data(), in appendAVCFrame()
331 memcpy(ptr, in appendAACFrames()
388 memcpy(mAACCodecSpecificData->data(), in onMessageReceived()
703 memcpy(buffer->data(), kData, sizeof(kData)); in writeProgramAssociationTable()
711 memcpy(&buffer->data()[17], &crc, sizeof(crc)); in writeProgramAssociationTable()
[all …]
DCallbackDataSource.cpp84 memcpy(((uint8_t*)data) + totalNumRead, mMemory->pointer(), numRead); in readAt()
134 memcpy(data, &mCache[offset - mCachedOffset], size); in readAt()
143 memcpy(data, &mCache[offset - mCachedOffset], remaining); in readAt()
176 memcpy(data, mCache, numToReturn); in readAt()
/frameworks/av/media/codec2/sfplugin/
DSkipCutBuffer.cpp148 memcpy(newbuffer, mCutBuffer, mCapacity); in write()
158 memcpy(mCutBuffer + mWriteHead, src, copyfirst); in write()
165 memcpy(mCutBuffer, src, num); in write()
186 memcpy(dst, mCutBuffer + mReadHead, copyfirst); in read()
193 memcpy(dst, mCutBuffer, num); in read()
/frameworks/native/opengl/tests/gralloc/
Dgralloc.cpp73 memcpy(temp, temp2, size); in main()
79 memcpy(temp, vaddr, size); in main()
85 memcpy(vaddr, temp, size); in main()
/frameworks/av/media/libeffects/testlibs/
DAudioBiquadFilter.cpp44 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/hardware/interfaces/bufferhub/1.0/vts/functional/
DVtsHalBufferHubV1_0TargetTest.cpp78 memcpy(&clientStateMask, &bufferTraits.bufferInfo->data[3], sizeof(clientStateMask)); in clientStateMask()
95 memcpy(&desc, &bufferTraits.bufferDesc, sizeof(AHardwareBuffer_Desc)); in isValidTraits()
105 memcpy(&userMetadataSize, &bufferTraits.bufferInfo->data[4], sizeof(userMetadataSize)); in isValidTraits()
118 memcpy(&desc, &kDesc, sizeof(HardwareBufferDescription)); in TEST_F()
141 memcpy(&desc, &kDesc, sizeof(HardwareBufferDescription)); in TEST_F()
170 memcpy(&desc, &kDesc, sizeof(HardwareBufferDescription)); in TEST_F()
201 memcpy(&desc, &kDesc, sizeof(HardwareBufferDescription)); in TEST_F()
296 memcpy(&desc, &kDesc, sizeof(HardwareBufferDescription)); in TEST_F()
/frameworks/base/core/jni/android/graphics/
DNinePatchPeeker.cpp33 memcpy(patchNew, patch, patchSize); in readChunk()
41 memcpy(&mOpticalInsets, data, sizeof(int32_t) * 4); in readChunk()
44 memcpy(&mOutlineInsets, data, sizeof(int32_t) * 4); in readChunk()
/frameworks/compile/mclinker/lib/Target/AArch64/
DAArch64PLT.cpp75 memcpy(data, aarch64_plt0, AArch64PLT0::EntrySize); in applyPLT0()
125 memcpy(Out, aarch64_plt1, AArch64PLT1::EntrySize); in applyPLT1()
152 memcpy(buffer, in emit()
162 memcpy(buffer + result, plt1->getValue(), AArch64PLT1::EntrySize); in emit()
/frameworks/base/media/mca/filterpacks/native/base/
Dvec_types.h29 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/compile/mclinker/lib/Target/Hexagon/
DHexagonPLT.cpp105 memcpy(data, m_PLT0, plt0->size()); in applyPLT0()
148 memcpy(Out, hexagon_plt1, plt1->size()); in applyPLT1()
173 memcpy(buffer, in emit()
183 memcpy(buffer + result, plt1->getValue(), HexagonPLT1::EntrySize); in emit()

12345678910>>...22