Searched refs:fptr (Results 1 – 2 of 2) sorted by relevance
/system/chre/platform/shared/nanoapp/ |
D | nanoapp_support_lib_dso.cc | 172 static decltype(functionName) *fptr = nullptr; \ 174 fptr = reinterpret_cast<decltype(fptr)>( \ 178 fptr; \ 185 auto *fptr = CHRE_NSL_LAZY_LOOKUP(chreAudioGetSource); in chreAudioGetSource() local 186 return (fptr != nullptr) ? fptr(handle, audioSource) : false; in chreAudioGetSource() 193 auto *fptr = CHRE_NSL_LAZY_LOOKUP(chreAudioConfigureSource); in chreAudioConfigureSource() local 194 return (fptr != nullptr) in chreAudioConfigureSource() 195 ? fptr(handle, enable, bufferDuration, deliveryInterval) in chreAudioConfigureSource() 201 auto *fptr = CHRE_NSL_LAZY_LOOKUP(chreAudioGetStatus); in chreAudioGetStatus() local 202 return (fptr != nullptr) ? fptr(handle, status) : false; in chreAudioGetStatus() [all …]
|
/system/core/fs_mgr/libfiemap/ |
D | fiemap_writer_test.cpp | 90 FiemapUniquePtr fptr = FiemapWriter::Open(testfile, 1099511627997184); in TEST_F() local 91 EXPECT_EQ(fptr, nullptr); in TEST_F() 99 FiemapUniquePtr fptr = FiemapWriter::Open(testfile, gBlockSize + 1); in TEST_F() local 100 ASSERT_NE(fptr, nullptr); in TEST_F() 101 ASSERT_EQ(fptr->size(), gBlockSize * 2); in TEST_F() 105 FiemapUniquePtr fptr = FiemapWriter::Open(testfile, gBlockSize); in TEST_F() local 106 ASSERT_NE(fptr, nullptr); in TEST_F() 107 EXPECT_EQ(fptr->size(), gBlockSize); in TEST_F() 108 EXPECT_EQ(fptr->file_path(), testfile); in TEST_F() 114 FiemapUniquePtr fptr = FiemapWriter::Open(testfile, 1024 * 1024 * 16); in TEST_F() local [all …]
|