Home
last modified time | relevance | path

Searched refs:pred (Results 1 – 13 of 13) sorted by relevance

/hardware/google/pixel/powerstats/dataproviders/
DGenericStateResidencyDataProvider.cpp91 Func pred) { in findNextIndex() argument
93 if (pred(collection[0], "")) { in findNextIndex()
99 if (pred(collection[i], *line)) { in findNextIndex()
115 auto pred = [](auto a, char const *b) { in getStateData() local
125 stateResidencyConfigs, fp, line, len, pred)) >= 0) { in getStateData()
158 auto pred = [](auto a, char const *b) { in getStateResidencies() local
166 mPowerEntityConfigs, fp.get(), &line, &len, pred)) >= 0) { in getStateResidencies()
/hardware/google/pixel/powerstats/
DGenericStateResidencyDataProvider.cpp107 Func pred) { in findNext() argument
109 if (pred(collection.front(), "")) { in findNext()
115 if (pred(*it, *line)) { in findNext()
132 auto pred = [](auto a, char const *b) { in getStateData() local
142 stateResidencyConfigs, fp, line, len, pred)) != endState) { in getStateData()
177 auto pred = [](auto a, char const *b) { in getResults() local
187 mPowerEntityConfigs, fp.get(), &line, &len, pred)) != endConfig)) { in getResults()
/hardware/google/aemu/base/include/aemu/base/synchronization/
DConditionVariable.h77 void wait(StaticLock* lock, Predicate pred) { in wait() argument
78 while (!pred()) { in wait()
84 void wait(AutoLock* lock, Predicate pred) { in wait() argument
85 this->wait(&lock->mLock, pred); in wait()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/spec_tools/
Dutil.py26 def findFirstWithPredicate(collection, pred): argument
32 if pred(elt):
/hardware/google/gfxstream/guest/android-emu/aemu/base/synchronization/
DAndroidConditionVariable.h81 void wait(StaticLock<IsRecursive>* lock, Predicate pred) { in wait() argument
82 while (!pred()) { in wait()
88 void wait(AutoLock<Lockable>* lock, Predicate pred) { in wait() argument
89 this->wait(&lock->mLock, pred); in wait()
/hardware/qcom/display/msm8998/libdrmutils/
Ddrm_logger.h63 #define DRM_LOGD_IF(pred, format, ...) \ argument
64 if (pred) \
/hardware/qcom/display/msm8909/libdrmutils/
Ddrm_logger.h63 #define DRM_LOGD_IF(pred, format, ...) \ argument
64 if (pred) \
/hardware/qcom/display/msm8909w_3100/libdrmutils/
Ddrm_logger.h63 #define DRM_LOGD_IF(pred, format, ...) \ argument
64 if (pred) \
/hardware/interfaces/audio/aidl/default/include/core-impl/
Dutils.h44 auto erase_if(C& c, P pred) { in erase_if() argument
47 if (pred(*it)) { in erase_if()
/hardware/interfaces/health/2.0/vts/functional/
DVtsHalHealthV2_0TargetTest.cpp177 #define EXPECT_VALID_OR_UNSUPPORTED_PROP(res, valueStr, pred) \ argument
178 EXPECT_TRUE(isPropertyOk(res, valueStr, pred, #pred))
180 AssertionResult isPropertyOk(Result res, const std::string& valueStr, bool pred, in isPropertyOk() argument
183 if (pred) { in isPropertyOk()
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dbcmutils.h682 #define MUX(pred, true, false) ((pred) ? (true) : (false)) argument
/hardware/interfaces/audio/aidl/vts/
DModuleConfig.h185 const std::function<bool(const aidl::android::media::audio::common::AudioPort&)>& pred)
DModuleConfig.cpp482 const std::function<bool(const AudioPort&)>& pred) const { in findMixPorts()
486 mixPortIt = std::find_if(mixPortIt, mixPorts.end(), pred); in findMixPorts()