Home
last modified time | relevance | path

Searched refs:inBuf (Results 1 - 5 of 5) sorted by relevance

/test/xts/acts/multimedia/av_codec/avcencInfo/src/
H A Dcenc_info_capi_unit_test.cpp397 std::shared_ptr<AVBuffer> inBuf = AVBuffer::CreateAVBuffer(avAllocator, static_cast<int32_t>(DRM_KEY_ID_SIZE)); in HWTEST_F() local
398 EXPECT_NE(inBuf, nullptr); in HWTEST_F()
399 EXPECT_NE(inBuf->memory_, nullptr); in HWTEST_F()
400 EXPECT_EQ(inBuf->memory_->GetCapacity(), DRM_KEY_ID_SIZE); in HWTEST_F()
402 struct OH_AVBuffer *buffer = new (std::nothrow) OH_AVBuffer(inBuf); in HWTEST_F()
441 std::shared_ptr<AVBuffer> inBuf = AVBuffer::CreateAVBuffer(avAllocator, static_cast<int32_t>(DRM_KEY_ID_SIZE)); in HWTEST_F() local
442 EXPECT_NE(inBuf, nullptr); in HWTEST_F()
443 EXPECT_NE(inBuf->memory_, nullptr); in HWTEST_F()
444 EXPECT_EQ(inBuf->memory_->GetCapacity(), DRM_KEY_ID_SIZE); in HWTEST_F()
446 struct OH_AVBuffer *buffer = new (std::nothrow) OH_AVBuffer(inBuf); in HWTEST_F()
[all...]
/test/xts/acts/kernel_lite/io_posix/src/
H A DIoTestOther.cpp244 char inBuf[50] = "hello"; in HWTEST_F() local
245 size_t inLen = strlen(inBuf); in HWTEST_F()
248 char *inSrc = inBuf; in HWTEST_F()
/test/xts/acts/multimedia/avcodec/AVCodecDrmNdk/entry/src/main/cpp/
H A Dhello.cpp251 OH_AVBuffer *inBuf = OH_AVBuffer_Create(BUFF_DATA_SIZE); in Test_AVCencInfo_SetAVBuffer() local
252 if(inBuf != nullptr){ in Test_AVCencInfo_SetAVBuffer()
258 ret5 = OH_AVCencInfo_SetAVBuffer(handle_ptr, inBuf); in Test_AVCencInfo_SetAVBuffer()
264 OH_AVErrCode ret7 = OH_AVBuffer_Destroy(inBuf); in Test_AVCencInfo_SetAVBuffer()
/test/xts/acts/bundlemanager/zlib/actszlibndktest/entry/src/main/cpp/
H A Dzlibndk.cpp235 char *inBuf = reinterpret_cast<char *>(HELLO); in DeflateBound() local
236 uint32_t inLen = strlen(inBuf) + VALUE_ONE; in DeflateBound()
245 defstream.next_in = reinterpret_cast<Bytef *>(inBuf); in DeflateBound()
1858 char *inBuf = reinterpret_cast<char *>(HELLO); in DeflateInit() local
1859 uint32_t inLen = strlen(inBuf) + VALUE_ONE; in DeflateInit()
1868 defstream.next_in = reinterpret_cast<Bytef *>(inBuf); in DeflateInit()
1974 char *inBuf = reinterpret_cast<char *>(HELLO); in DeflateCopy() local
1975 uint32_t inLen = strlen(inBuf) + VALUE_ONE; in DeflateCopy()
1984 defstream.next_in = reinterpret_cast<Bytef *>(inBuf); in DeflateCopy()
/test/xts/acts/bundlemanager/zlib/actszlibtest/
H A DActsZlibTest.cpp707 char *inBuf = reinterpret_cast<char *>(HELLO); in HWTEST_F() local
708 uint32_t inLen = strlen(inBuf) + 1; in HWTEST_F()
717 defstream.next_in = reinterpret_cast<Bytef *>(inBuf); in HWTEST_F()
732 free(inBuf); in HWTEST_F()

Completed in 8 milliseconds