Home
last modified time | relevance | path

Searched refs:ptr (Results 1 - 4 of 4) sorted by relevance

/ide/tools/previewer/test/fuzztest/
H A DChangeJsonUtil.cpp48 void* ptr = malloc(length * sizeof(char)); in ModifyObject() local
49 if (ptr != nullptr) { in ModifyObject()
50 item->valuestring = reinterpret_cast<char*>(ptr); in ModifyObject()
103 void* ptr = malloc(length * sizeof(char)); in ModifyObject4ChangeType() local
104 if (ptr != nullptr) { in ModifyObject4ChangeType()
105 item->valuestring = reinterpret_cast<char*>(ptr); in ModifyObject4ChangeType()
/ide/tools/previewer/test/unittest/mock_lite/
H A DVirtualLocationTest.cpp33 const int8_t* ptr = VirtualLocation::GetInstance().GetMockPointer(); in TEST() local
34 EXPECT_TRUE(ptr != nullptr); in TEST()
/ide/tools/previewer/jsapp/rich/external/
H A DStageContext.cpp130 for (std::vector<uint8_t>* ptr : hspBufferPtrsVec) { in ReleaseHspBuffers()
131 if (ptr) { in ReleaseHspBuffers()
132 delete ptr; in ReleaseHspBuffers()
/ide/tools/previewer/test/unittest/jsapp/
H A DJsAppImplTest.cpp387 auto ptr = OHOS::Ace::Platform::AcePreviewHelper::GetInstance()->GetCallbackOfHspBufferTracker(); in TEST_F() local
388 EXPECT_TRUE(ptr != nullptr); in TEST_F()
392 bool ret = ptr("aa", &data, &size, msg); in TEST_F()

Completed in 4 milliseconds