Home
last modified time | relevance | path

Searched refs:desired (Results 1 - 3 of 3) sorted by relevance

/foundation/multimedia/av_codec/services/services/codec/ipc/
H A Di_standard_codec_listener.h47 uint64_t desired = generation_--; in RestoreGeneration() local
48 return generation_.compare_exchange_strong(expected, desired) ? desired : expected; in RestoreGeneration()
/foundation/arkui/ace_engine/frameworks/base/resource/
H A Dace_res_config.cpp593 bool IsOrientationMatch(const AceResConfig& desired, const AceResConfig& supported) in IsOrientationMatch() argument
596 supported.orientation_ == desired.orientation_; in IsOrientationMatch()
599 bool IsDeviceTypeMatch(const AceResConfig& desired, const AceResConfig& supported) in IsDeviceTypeMatch() argument
601 return supported.deviceType_ == DeviceType::UNKNOWN || supported.deviceType_ == desired.deviceType_; in IsDeviceTypeMatch()
604 bool IsColorModeMatch(const AceResConfig& desired, const AceResConfig& supported) in IsColorModeMatch() argument
606 return supported.colorMode_ == ColorMode::COLOR_MODE_UNDEFINED || supported.colorMode_ == desired.colorMode_; in IsColorModeMatch()
609 bool IsMccMncMatch(const AceResConfig& desired, const AceResConfig& supported) in IsMccMncMatch() argument
611 if (supported.mcc_ != 0 && supported.mcc_ != desired.mcc_) { in IsMccMncMatch()
614 return !(supported.mnc_ != 0 && supported.mnc_ != desired.mnc_); in IsMccMncMatch()
617 bool IsResolutionMatch(const AceResConfig& desired, cons argument
622 MatchResConfig(const AceResConfig& desired, const AceResConfig& supported) MatchResConfig() argument
629 DeclarativeMatchResConfig(const AceResConfig& desired, const AceResConfig& supported) DeclarativeMatchResConfig() argument
[all...]
/foundation/arkui/napi/native_engine/
H A Dnative_engine.h269 bool CheckAndSetWorkerVersion(WorkerVersion expected, WorkerVersion desired) in CheckAndSetWorkerVersion() argument
271 return workerVersion_.compare_exchange_strong(expected, desired); in CheckAndSetWorkerVersion()

Completed in 3 milliseconds