Home
last modified time | relevance | path

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

12345678910>>...16

/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/rs/java/tests/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/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/base/core/jni/
Dandroid_app_admin_SecurityLog.cpp65 memcpy(&buf[1], &len, sizeof(len)); in android_app_admin_SecurityLog_writeEvent_String()
66 memcpy(&buf[1 + sizeof(len)], str, len); in android_app_admin_SecurityLog_writeEvent_String()
92 memcpy(&buf[pos], &len, sizeof(len)); in android_app_admin_SecurityLog_writeEvent_Array()
93 memcpy(&buf[pos + sizeof(len)], str, len); in android_app_admin_SecurityLog_writeEvent_Array()
100 memcpy(&buf[pos], &intVal, sizeof(intVal)); in android_app_admin_SecurityLog_writeEvent_Array()
106 memcpy(&buf[pos], &longVal, sizeof(longVal)); in android_app_admin_SecurityLog_writeEvent_Array()
112 memcpy(&buf[pos], &floatVal, sizeof(floatVal)); in android_app_admin_SecurityLog_writeEvent_Array()
178 memcpy(bytes, log_msg.buf, len); in readEvents()
Dandroid_util_EventLog.cpp98 memcpy(&buf[1], &len, sizeof(len)); in android_util_EventLog_writeEvent_String()
99 memcpy(&buf[1 + sizeof(len)], str, len); in android_util_EventLog_writeEvent_String()
129 memcpy(&buf[pos], &len, sizeof(len)); in android_util_EventLog_writeEvent_Array()
130 memcpy(&buf[pos + sizeof(len)], str, len); in android_util_EventLog_writeEvent_Array()
137 memcpy(&buf[pos], &intVal, sizeof(intVal)); in android_util_EventLog_writeEvent_Array()
143 memcpy(&buf[pos], &longVal, sizeof(longVal)); in android_util_EventLog_writeEvent_Array()
149 memcpy(&buf[pos], &floatVal, sizeof(floatVal)); in android_util_EventLog_writeEvent_Array()
230 memcpy(bytes, log_msg.buf, len); in android_util_EventLog_readEvents()
/frameworks/rs/
DrsProgramVertex.cpp80 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()
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/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/av/media/libstagefright/codecs/amrnb/common/src/
Dlsp.cpp273 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/av/media/libstagefright/
DSkipCutBuffer.cpp139 memcpy(newbuffer, mCutBuffer, mCapacity); in write()
149 memcpy(mCutBuffer + mWriteHead, src, copyfirst); in write()
156 memcpy(mCutBuffer, src, num); in write()
177 memcpy(dst, mCutBuffer + mReadHead, copyfirst); in read()
184 memcpy(dst, mCutBuffer, num); in read()
DMPEG2TSWriter.cpp175 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()
732 memcpy(buffer->data(), kData, sizeof(kData)); in writeProgramAssociationTable()
740 memcpy(&buffer->data()[17], &crc, sizeof(crc)); in writeProgramAssociationTable()
[all …]
DCallbackDataSource.cpp80 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()
173 memcpy(data, mCache, numToReturn); in readAt()
/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/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/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/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/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/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/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/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/av/cmds/stagefright/
Dsf2.cpp360 memcpy(buffer->data() + buffer->size(), "\x00\x00\x00\x01", 4); in makeFormat()
361 memcpy(buffer->data() + buffer->size() + 4, ptr, length); in makeFormat()
388 memcpy(buffer->data() + buffer->size(), "\x00\x00\x00\x01", 4); in makeFormat()
389 memcpy(buffer->data() + buffer->size() + 4, ptr, length); in makeFormat()
411 memcpy(buffer->data(), codec_specific_data, in makeFormat()
418 memcpy(buffer->data(), data, size); in makeFormat()
426 memcpy(buffer->data(), data, size); in makeFormat()
511 memcpy(outBuffer->data() + outBuffer->size(), in onFillThisBuffer()
523 memcpy(outBuffer->data() in onFillThisBuffer()
/frameworks/av/media/libstagefright/wifi-display/source/
DTSPacketizer.cpp188 memcpy(dup->data() + offset, csd->data(), csd->size()); in prependCSD()
192 memcpy(dup->data() + offset, accessUnit->data(), accessUnit->size()); in prependCSD()
236 memcpy(ptr, accessUnit->data(), accessUnit->size()); in prependADTSHeader()
270 memcpy(&data[2], sps->data() + 4, 3); in finalize()
701 memcpy(ptr, &crc, 4); in packetize()
780 memcpy(ptr, desc->data(), desc->size()); in packetize()
805 memcpy(ptr, descriptor->data(), descriptor->size()); in packetize()
816 memcpy(ptr, &crc, 4); in packetize()
941 memcpy(ptr, PES_private_data, PES_private_data_len); in packetize()
949 memcpy(ptr, accessUnit->data(), copy); in packetize()
[all …]

12345678910>>...16