Home
last modified time | relevance | path

Searched refs:bufPtr (Results 1 – 3 of 3) sorted by relevance

/frameworks/ml/nn/driver/cache/BlobCache/
DBlobCache_test.cpp92 unsigned char *bufPtr; in TEST_P() local
96 bufPtr = nullptr; in TEST_P()
97 ASSERT_EQ(size_t(2), mBC->get("ab", 2, &bufPtr, malloc)); in TEST_P()
98 ASSERT_NE(nullptr, bufPtr); in TEST_P()
99 ASSERT_EQ('c', bufPtr[0]); in TEST_P()
100 ASSERT_EQ('d', bufPtr[1]); in TEST_P()
101 free(bufPtr); in TEST_P()
103 bufPtr = nullptr; in TEST_P()
104 ASSERT_EQ(size_t(2), mBC->get("ef", 2, &bufPtr, malloc)); in TEST_P()
105 ASSERT_NE(nullptr, bufPtr); in TEST_P()
[all …]
/frameworks/ml/nn/driver/cache/nnCache/
DnnCache_test.cpp240 uint8_t *bufPtr = &buf[0]; in TEST_P() local
241 ASSERT_EQ(4, mCache->getBlob("abcd", 4, &bufPtr, malloc)); in TEST_P()
246 ASSERT_NE(nullptr, bufPtr); in TEST_P()
247 ASSERT_EQ('e', bufPtr[0]); in TEST_P()
248 ASSERT_EQ('f', bufPtr[1]); in TEST_P()
249 ASSERT_EQ('g', bufPtr[2]); in TEST_P()
250 ASSERT_EQ('h', bufPtr[3]); in TEST_P()
/frameworks/av/media/libstagefright/filters/
DMediaFilter.cpp696 void* bufPtr; in onInputFrameAvailable() local
697 buf->lock(GraphicBuffer::USAGE_SW_READ_OFTEN, &bufPtr); in onInputFrameAvailable()
708 (uint8_t*)bufPtr, buf->getWidth(), buf->getHeight(), in onInputFrameAvailable()