Home
last modified time | relevance | path

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

12345678910>>...23

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dfastmem.h128 case 1: memcpy(dst, src, 1); break; in memcpy_inlined()
129 case 2: memcpy(dst, src, 2); break; in memcpy_inlined()
130 case 3: memcpy(dst, src, 3); break; in memcpy_inlined()
131 case 4: memcpy(dst, src, 4); break; in memcpy_inlined()
132 case 5: memcpy(dst, src, 5); break; in memcpy_inlined()
133 case 6: memcpy(dst, src, 6); break; in memcpy_inlined()
134 case 7: memcpy(dst, src, 7); break; in memcpy_inlined()
135 case 8: memcpy(dst, src, 8); break; in memcpy_inlined()
136 case 9: memcpy(dst, src, 9); break; in memcpy_inlined()
137 case 10: memcpy(dst, src, 10); break; in memcpy_inlined()
[all …]
Datomicops_internals_x86_gcc.cc87 memcpy(vendor, &ebx, 4); in AtomicOps_Internalx86CPUFeaturesInit()
88 memcpy(vendor + 4, &edx, 4); in AtomicOps_Internalx86CPUFeaturesInit()
89 memcpy(vendor + 8, &ecx, 4); in AtomicOps_Internalx86CPUFeaturesInit()
Dbytestream.cc61 memcpy(dest_, data, n); in Append()
80 memcpy(outbuf_ + size_, bytes, n); in Append()
107 memcpy(buf_ + size_, bytes, n); in Append()
124 memcpy(bigger, buf_, size_); in Expand()
135 memcpy(just_enough, buf_, size_); in ShrinkToFit()
/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.cpp151 memcpy(output + kOpusHeaderLabelOffset, "OpusHead", 8); in WriteOpusHeader()
157 memcpy(output + kOpusHeaderSkipSamplesOffset, &header.skip_samples, sizeof(uint16_t)); in WriteOpusHeader()
159 memcpy(output + kOpusHeaderSampleRateOffset, &input_sample_rate, sizeof(uint32_t)); in WriteOpusHeader()
161 memcpy(output + kOpusHeaderGainOffset, &header.gain_db, sizeof(uint16_t)); in WriteOpusHeader()
204 memcpy(output + headerLen, AOPUS_CSD_OPUS_HEADER_MARKER, AOPUS_MARKER_SIZE); in WriteOpusHeaders()
220 memcpy(output + AOPUS_MARKER_SIZE, &length, AOPUS_LENGTH_SIZE); in WriteOpusHeaders()
239 memcpy(output + headerLen, AOPUS_CSD_CODEC_DELAY_MARKER, AOPUS_MARKER_SIZE); in WriteOpusHeaders()
241 memcpy(output + headerLen, &length, AOPUS_LENGTH_SIZE); in WriteOpusHeaders()
243 memcpy(output + headerLen, &codecDelay, length); in WriteOpusHeaders()
252 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/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/io/
Dcoded_stream_inl.h61 memcpy(z.first, buffer_, size); in InternalReadStringInline()
74 memcpy(buffer, buffer_, current_buffer_size); in InternalReadRawInline()
81 memcpy(buffer, buffer_, size); in InternalReadRawInline()
Dcoded_stream_unittest.cc193 memcpy(buffer_, kVarintCases_case.bytes, kVarintCases_case.size); in TEST_2D()
208 memcpy(buffer_, kVarintCases_case.bytes, kVarintCases_case.size); in TEST_2D()
255 memcpy(buffer_ + 1, kVarintCases_case.bytes, kVarintCases_case.size); in TEST_1D()
286 memcpy(buffer_, kVarintCases_case.bytes, kVarintCases_case.size); in TEST_1D()
304 memcpy(buffer_, kVarintCases_case.bytes, kVarintCases_case.size); in TEST_2D()
439 memcpy(buffer_, kVarintErrorCases_case.bytes, kVarintErrorCases_case.size); in TEST_2D()
449 memcpy(buffer_, kVarintErrorCases_case.bytes, kVarintErrorCases_case.size); in TEST_2D()
529 memcpy(buffer_, kFixed32Cases_case.bytes, sizeof(kFixed32Cases_case.bytes)); in TEST_2D()
544 memcpy(buffer_, kFixed64Cases_case.bytes, sizeof(kFixed64Cases_case.bytes)); in TEST_2D()
593 memcpy(buffer_, kFixed32Cases_case.bytes, sizeof(kFixed32Cases_case.bytes)); in TEST_1D()
[all …]
/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/rs/
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()
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()
/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/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/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/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 …]
/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()

12345678910>>...23