Home
last modified time | relevance | path

Searched refs:tempBuffer (Results 1 – 5 of 5) sorted by relevance

/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/text/nodes/
DTextRendererNodeTest.cpp177 std::unique_ptr<char> tempBuffer(new char[text.length()]); in TEST_F() local
178 memcpy(tempBuffer.get(), text.c_str(), text.length()); in TEST_F()
181 reinterpret_cast<uint8_t*>(tempBuffer.get()), text.length(), index, false, index); in TEST_F()
201 std::unique_ptr<char> tempBuffer(new char[testString1.length()]); in TEST_F() local
202 memcpy(tempBuffer.get(), testString1.c_str(), testString1.length()); in TEST_F()
204 mNode->OnDataFromFrontNode(MEDIASUBTYPE_UNDEFINED, reinterpret_cast<uint8_t*>(tempBuffer.get()), in TEST_F()
301 std::unique_ptr<char> tempBuffer(new char[testString2.length()]); in TEST_F() local
302 memcpy(tempBuffer.get(), testString2.c_str(), testString2.length()); in TEST_F()
304 mNode->OnDataFromFrontNode(MEDIASUBTYPE_UNDEFINED, reinterpret_cast<uint8_t*>(tempBuffer.get()), in TEST_F()
/packages/modules/NeuralNetworks/common/cpu_operations/
DTransposeConv2D.cpp185 int32_t* tempBuffer = nullptr; in transposeConvNhwc() local
189 tempBuffer = reinterpret_cast<int32_t*>(static_scratch_buffer); in transposeConvNhwc()
191 tempBuffer = new (std::nothrow) int32_t[tempBufferByteSize / sizeof(int32_t)]; in transposeConvNhwc()
192 if (tempBuffer == nullptr) { in transposeConvNhwc()
196 bufferGuard.reset(tempBuffer); in transposeConvNhwc()
218 memset(tempBuffer, 0, tempBufferByteSize); in transposeConvNhwc()
221 int32_t* outputBase = tempBuffer; in transposeConvNhwc()
258 int32_t* bufferPtr = tempBuffer; in transposeConvNhwc()
321 int32_t* tempBuffer = nullptr; in transposeConvQuant8PerChannelNhwc() local
325 tempBuffer = reinterpret_cast<int32_t*>(static_scratch_buffer); in transposeConvQuant8PerChannelNhwc()
[all …]
/packages/services/BuiltInPrintService/jni/plugins/genPCLm/src/
DgenPCLm.cpp769 char *tempBuffer; in writePDFGrammarPage() local
777 tempBuffer = (char *) malloc(TEMP_BUFF_SIZE); in writePDFGrammarPage()
778 assert(tempBuffer); in writePDFGrammarPage()
779 memset(tempBuffer, 0x0, TEMP_BUFF_SIZE); in writePDFGrammarPage()
859 writeStr2Buff(tempBuffer, str); in writePDFGrammarPage()
871 writeStr2Buff(tempBuffer, str); in writePDFGrammarPage()
875 writeStr2Buff(tempBuffer, str); in writePDFGrammarPage()
879 writeStr2Buff(tempBuffer, str); in writePDFGrammarPage()
882 writeStr2Buff(tempBuffer, str); in writePDFGrammarPage()
894 writeStr2Buff(tempBuffer, str); in writePDFGrammarPage()
[all …]
/packages/modules/StatsD/framework/java/android/util/
DStatsEvent.java870 final ByteBuffer tempBuffer = ByteBuffer.allocateDirect(MAX_PUSH_PAYLOAD_SIZE); in Buffer() local
871 mBytes = tempBuffer.hasArray() ? tempBuffer.array() : new byte [MAX_PUSH_PAYLOAD_SIZE]; in Buffer()
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...