Searched refs:fptr (Results 1 – 2 of 2) sorted by relevance
/system/chre/platform/shared/nanoapp/ |
D | nanoapp_support_lib_dso.cc | 124 static decltype(functionName) *fptr = nullptr; \ 126 fptr = reinterpret_cast<decltype(fptr)>( \ 130 fptr; }) 134 auto *fptr = CHRE_NSL_LAZY_LOOKUP(chreAudioGetSource); in chreAudioGetSource() local 135 return (fptr != nullptr) ? fptr(handle, audioSource) : false; in chreAudioGetSource() 142 auto *fptr = CHRE_NSL_LAZY_LOOKUP(chreAudioConfigureSource); in chreAudioConfigureSource() local 143 return (fptr != nullptr) ? in chreAudioConfigureSource() 144 fptr(handle, enable, bufferDuration, deliveryInterval) : false; in chreAudioConfigureSource() 149 auto *fptr = CHRE_NSL_LAZY_LOOKUP(chreAudioGetStatus); in chreAudioGetStatus() local 150 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 …]
|