/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang-tools-extra/clang-tidy/ |
H A D | ClangTidyCheck.h | 269 return *ValueOr; in get() 289 if (!ValueOr) { in getLocalOrGlobal() 293 if (!ValueOr) in getLocalOrGlobal() 301 *ValueOr); in getLocalOrGlobal() 315 return *ValueOr; in getLocalOrGlobal() 336 return static_cast<T>(*ValueOr); 354 return *ValueOr; 376 return static_cast<T>(*ValueOr); 396 return *ValueOr; 408 return *ValueOr; in getOptional() [all …]
|
H A D | ClangTidyCheck.cpp | 119 if (ValueOr) in get() 121 return ValueOr.takeError(); in get() 128 if (ValueOr) in get() 129 return *ValueOr; in get() 147 if (ValueOr) in getLocalOrGlobal() 148 return *ValueOr; in getLocalOrGlobal() 218 if (auto ValueOr = get(LocalName)) in getOptional() local 219 return *ValueOr; in getOptional() 221 consumeError(ValueOr.takeError()); in getOptional() 230 return *ValueOr; in getOptionalLocalOrGlobal() [all …]
|
/dports/devel/llvm12/llvm-project-12.0.1.src/clang-tools-extra/clang-tidy/ |
H A D | ClangTidyCheck.h | 279 return *ValueOr; in get() 299 if (!ValueOr) { in getLocalOrGlobal() 303 if (!ValueOr) in getLocalOrGlobal() 311 *ValueOr); in getLocalOrGlobal() 325 return *ValueOr; in getLocalOrGlobal() 346 return static_cast<T>(*ValueOr); 364 return *ValueOr; 386 return static_cast<T>(*ValueOr); 406 return *ValueOr; 418 return *ValueOr; in getOptional() [all …]
|
H A D | ClangTidyCheck.cpp | 126 if (ValueOr) in get() 128 return ValueOr.takeError(); in get() 135 if (ValueOr) in get() 136 return *ValueOr; in get() 154 if (ValueOr) in getLocalOrGlobal() 155 return *ValueOr; in getLocalOrGlobal() 225 if (auto ValueOr = get(LocalName)) in getOptional() local 226 return *ValueOr; in getOptional() 228 consumeError(ValueOr.takeError()); in getOptional() 237 return *ValueOr; in getOptionalLocalOrGlobal() [all …]
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/clang-tools-extra/clang-tidy/ |
H A D | ClangTidyCheck.h | 279 return *ValueOr; in get() 299 if (!ValueOr) { in getLocalOrGlobal() 303 if (!ValueOr) in getLocalOrGlobal() 311 *ValueOr); in getLocalOrGlobal() 325 return *ValueOr; in getLocalOrGlobal() 346 return static_cast<T>(*ValueOr); 364 return *ValueOr; 386 return static_cast<T>(*ValueOr); 406 return *ValueOr; 418 return *ValueOr; in getOptional() [all …]
|
H A D | ClangTidyCheck.cpp | 126 if (ValueOr) in get() 128 return ValueOr.takeError(); in get() 135 if (ValueOr) in get() 136 return *ValueOr; in get() 154 if (ValueOr) in getLocalOrGlobal() 155 return *ValueOr; in getLocalOrGlobal() 225 if (auto ValueOr = get(LocalName)) in getOptional() local 226 return *ValueOr; in getOptional() 228 consumeError(ValueOr.takeError()); in getOptional() 237 return *ValueOr; in getOptionalLocalOrGlobal() [all …]
|
/dports/devel/llvm11/llvm-11.0.1.src/tools/clang/tools/extra/clang-tidy/ |
H A D | ClangTidyCheck.h | 269 return *ValueOr; in get() 289 if (!ValueOr) { in getLocalOrGlobal() 293 if (!ValueOr) in getLocalOrGlobal() 301 *ValueOr); in getLocalOrGlobal() 315 return *ValueOr; in getLocalOrGlobal() 334 if (llvm::Expected<int64_t> ValueOr = variable 336 return static_cast<T>(*ValueOr); 354 return *ValueOr; 375 if (llvm::Expected<int64_t> ValueOr = variable 377 return static_cast<T>(*ValueOr); [all …]
|
H A D | ClangTidyCheck.cpp | 117 llvm::Expected<std::string> ValueOr = get(LocalName); in get() local 118 if (ValueOr) in get() 119 return getAsBool(*ValueOr, NamePrefix + LocalName); in get() 120 return ValueOr.takeError(); in get() 126 llvm::Expected<bool> ValueOr = get<bool>(LocalName); in get() local 127 if (ValueOr) in get() 128 return *ValueOr; in get() 129 logErrToStdErr(ValueOr.takeError()); in get() 146 if (ValueOr) in getLocalOrGlobal() 147 return *ValueOr; in getLocalOrGlobal() [all …]
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang-tools-extra/clang-tidy/ |
H A D | ClangTidyCheck.h | 269 return *ValueOr; in get() 289 if (!ValueOr) { in getLocalOrGlobal() 293 if (!ValueOr) in getLocalOrGlobal() 301 *ValueOr); in getLocalOrGlobal() 315 return *ValueOr; in getLocalOrGlobal() 334 if (llvm::Expected<int64_t> ValueOr = variable 336 return static_cast<T>(*ValueOr); 354 return *ValueOr; 375 if (llvm::Expected<int64_t> ValueOr = variable 377 return static_cast<T>(*ValueOr); [all …]
|
H A D | ClangTidyCheck.cpp | 117 llvm::Expected<std::string> ValueOr = get(LocalName); in get() local 118 if (ValueOr) in get() 119 return getAsBool(*ValueOr, NamePrefix + LocalName); in get() 120 return ValueOr.takeError(); in get() 126 llvm::Expected<bool> ValueOr = get<bool>(LocalName); in get() local 127 if (ValueOr) in get() 128 return *ValueOr; in get() 129 logErrToStdErr(ValueOr.takeError()); in get() 146 if (ValueOr) in getLocalOrGlobal() 147 return *ValueOr; in getLocalOrGlobal() [all …]
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang-tools-extra/clang-tidy/ |
H A D | ClangTidyCheck.h | 233 llvm::Optional<std::string> ValueOr = get(LocalName); in getLocalOrGlobal() local 235 if (!ValueOr) { in getLocalOrGlobal() 237 ValueOr = getLocalOrGlobal(LocalName); in getLocalOrGlobal() 238 if (!ValueOr) in getLocalOrGlobal() 242 if (!StringRef(*ValueOr).getAsInteger(10, Result)) in getLocalOrGlobal() 245 IsGlobal ? Twine(LocalName) : NamePrefix + LocalName, *ValueOr); in getLocalOrGlobal() 280 if (llvm::Optional<int64_t> ValueOr = variable 282 return static_cast<T>(*ValueOr); 320 if (llvm::Optional<int64_t> ValueOr = variable 322 return static_cast<T>(*ValueOr);
|
H A D | ClangTidyCheck.cpp | 100 if (llvm::Optional<std::string> ValueOr = get(LocalName)) { in get() local 101 if (auto Result = getAsBool(*ValueOr, NamePrefix + LocalName)) in get() 103 diagnoseBadBooleanOption(NamePrefix + LocalName, *ValueOr); in get()
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang-tools-extra/clang-tidy/ |
H A D | ClangTidyCheck.h | 233 llvm::Optional<std::string> ValueOr = get(LocalName); in getLocalOrGlobal() local 235 if (!ValueOr) { in getLocalOrGlobal() 237 ValueOr = getLocalOrGlobal(LocalName); in getLocalOrGlobal() 238 if (!ValueOr) in getLocalOrGlobal() 242 if (!StringRef(*ValueOr).getAsInteger(10, Result)) in getLocalOrGlobal() 245 IsGlobal ? Twine(LocalName) : NamePrefix + LocalName, *ValueOr); in getLocalOrGlobal() 280 if (llvm::Optional<int64_t> ValueOr = variable 282 return static_cast<T>(*ValueOr); 320 if (llvm::Optional<int64_t> ValueOr = variable 322 return static_cast<T>(*ValueOr);
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/clang-tools-extra/clang-tidy/ |
H A D | ClangTidyCheck.h | 233 llvm::Optional<std::string> ValueOr = get(LocalName); in getLocalOrGlobal() local 235 if (!ValueOr) { in getLocalOrGlobal() 237 ValueOr = getLocalOrGlobal(LocalName); in getLocalOrGlobal() 238 if (!ValueOr) in getLocalOrGlobal() 242 if (!StringRef(*ValueOr).getAsInteger(10, Result)) in getLocalOrGlobal() 245 IsGlobal ? Twine(LocalName) : NamePrefix + LocalName, *ValueOr); in getLocalOrGlobal() 280 if (llvm::Optional<int64_t> ValueOr = variable 282 return static_cast<T>(*ValueOr); 320 if (llvm::Optional<int64_t> ValueOr = variable 322 return static_cast<T>(*ValueOr);
|
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/clang-tools-extra/clang-tidy/ |
H A D | ClangTidyCheck.h | 233 llvm::Optional<std::string> ValueOr = get(LocalName); in getLocalOrGlobal() local 235 if (!ValueOr) { in getLocalOrGlobal() 237 ValueOr = getLocalOrGlobal(LocalName); in getLocalOrGlobal() 238 if (!ValueOr) in getLocalOrGlobal() 242 if (!StringRef(*ValueOr).getAsInteger(10, Result)) in getLocalOrGlobal() 245 IsGlobal ? Twine(LocalName) : NamePrefix + LocalName, *ValueOr); in getLocalOrGlobal() 280 if (llvm::Optional<int64_t> ValueOr = variable 282 return static_cast<T>(*ValueOr); 320 if (llvm::Optional<int64_t> ValueOr = variable 322 return static_cast<T>(*ValueOr);
|
H A D | ClangTidyCheck.cpp | 100 if (llvm::Optional<std::string> ValueOr = get(LocalName)) { in get() local 101 if (auto Result = getAsBool(*ValueOr, NamePrefix + LocalName)) in get() 103 diagnoseBadBooleanOption(NamePrefix + LocalName, *ValueOr); in get()
|
/dports/devel/llvm13/llvm-project-13.0.1.src/clang-tools-extra/clang-tidy/ |
H A D | ClangTidyCheck.h | 233 llvm::Optional<std::string> ValueOr = get(LocalName); in getLocalOrGlobal() local 235 if (!ValueOr) { in getLocalOrGlobal() 237 ValueOr = getLocalOrGlobal(LocalName); in getLocalOrGlobal() 238 if (!ValueOr) in getLocalOrGlobal() 242 if (!StringRef(*ValueOr).getAsInteger(10, Result)) in getLocalOrGlobal() 245 IsGlobal ? Twine(LocalName) : NamePrefix + LocalName, *ValueOr); in getLocalOrGlobal() 280 if (llvm::Optional<int64_t> ValueOr = variable 282 return static_cast<T>(*ValueOr); 320 if (llvm::Optional<int64_t> ValueOr = variable 322 return static_cast<T>(*ValueOr);
|
/dports/multimedia/librespot/librespot-0.1.3/playback/src/audio_backend/ |
H A D | alsa.rs | 4 use alsa::{Direction, Error, ValueOr}; 51 hwp.set_rate(44100, ValueOr::Nearest)?; in open_device() 53 period_size = hwp.set_period_size_near(period_size, ValueOr::Greater)?; in open_device()
|
/dports/audio/ncspot/ncspot-0.9.3/cargo-crates/librespot-playback-0.3.1/src/audio_backend/ |
H A D | alsa.rs | 8 use alsa::{Direction, ValueOr}; 147 hwp.set_rate(SAMPLE_RATE, ValueOr::Nearest).map_err(|e| { in open_device() 162 hwp.set_buffer_time_near(BUFFER_TIME.as_micros() as u32, ValueOr::Nearest) in open_device() 165 hwp.set_period_time_near(PERIOD_TIME.as_micros() as u32, ValueOr::Nearest) in open_device()
|
/dports/multimedia/librespot/librespot-0.1.3/cargo-crates/librespot-playback-0.1.2/src/audio_backend/ |
H A D | alsa.rs | 4 use alsa::{Direction, Error, ValueOr}; 42 hwp.set_rate(44100, ValueOr::Nearest)?; in open_device()
|
/dports/audio/spotifyd/spotifyd-0.3.0/cargo-crates/librespot-playback-0.1.1/src/audio_backend/ |
H A D | alsa.rs | 4 use alsa::{Direction, Error, ValueOr}; 42 hwp.set_rate(44100, ValueOr::Nearest)?; in open_device()
|
/dports/multimedia/librespot/librespot-0.1.3/cargo-crates/alsa-0.2.2/src/ |
H A D | pcm.rs | 53 use super::{Direction, Output, poll, ValueOr, chmap}; 532 pub fn set_rate_near(&self, v: u32, dir: ValueOr) -> Result<u32> { in set_rate_near() 538 pub fn set_rate(&self, v: u32, dir: ValueOr) -> Result<()> { in set_rate() 567 pub fn set_period_size_near(&self, v: Frames, dir: ValueOr) -> Result<Frames> { in set_period_size_near() 573 pub fn set_period_size(&self, v: Frames, dir: ValueOr) -> Result<()> { in set_period_size() 577 pub fn set_period_time_near(&self, v: u32, dir: ValueOr) -> Result<u32> { in set_period_time_near() 588 pub fn set_periods(&self, v: u32, dir: ValueOr) -> Result<()> { in set_periods() 606 pub fn set_buffer_time_near(&self, v: u32, dir: ValueOr) -> Result<u32> { in set_buffer_time_near() 789 hwp.set_rate(44100, ValueOr::Nearest).unwrap(); in record_from_default() 804 hwp.set_rate(44100, ValueOr::Nearest).unwrap(); in playback_to_default()
|
/dports/audio/spotifyd/spotifyd-0.3.0/cargo-crates/alsa-0.3.0/src/ |
H A D | pcm.rs | 53 use super::{Direction, Output, poll, ValueOr, chmap}; 532 pub fn set_rate_near(&self, v: u32, dir: ValueOr) -> Result<u32> { in set_rate_near() 538 pub fn set_rate(&self, v: u32, dir: ValueOr) -> Result<()> { in set_rate() 567 pub fn set_period_size_near(&self, v: Frames, dir: ValueOr) -> Result<Frames> { in set_period_size_near() 573 pub fn set_period_size(&self, v: Frames, dir: ValueOr) -> Result<()> { in set_period_size() 577 pub fn set_period_time_near(&self, v: u32, dir: ValueOr) -> Result<u32> { in set_period_time_near() 588 pub fn set_periods(&self, v: u32, dir: ValueOr) -> Result<()> { in set_periods() 606 pub fn set_buffer_time_near(&self, v: u32, dir: ValueOr) -> Result<u32> { in set_buffer_time_near() 789 hwp.set_rate(44100, ValueOr::Nearest).unwrap(); in record_from_default() 804 hwp.set_rate(44100, ValueOr::Nearest).unwrap(); in playback_to_default()
|
/dports/audio/spotifyd/spotifyd-0.3.0/cargo-crates/alsa-0.2.2/src/ |
H A D | pcm.rs | 53 use super::{Direction, Output, poll, ValueOr, chmap}; 532 pub fn set_rate_near(&self, v: u32, dir: ValueOr) -> Result<u32> { 538 pub fn set_rate(&self, v: u32, dir: ValueOr) -> Result<()> { 567 pub fn set_period_size_near(&self, v: Frames, dir: ValueOr) -> Result<Frames> { 573 pub fn set_period_size(&self, v: Frames, dir: ValueOr) -> Result<()> { 577 pub fn set_period_time_near(&self, v: u32, dir: ValueOr) -> Result<u32> { 588 pub fn set_periods(&self, v: u32, dir: ValueOr) -> Result<()> { 606 pub fn set_buffer_time_near(&self, v: u32, dir: ValueOr) -> Result<u32> { 789 hwp.set_rate(44100, ValueOr::Nearest).unwrap(); 804 hwp.set_rate(44100, ValueOr::Nearest).unwrap();
|
/dports/www/firefox/firefox-99.0/third_party/rust/alsa/src/ |
H A D | pcm.rs | 53 use super::{Direction, Output, poll, ValueOr, chmap}; 610 pub fn set_rate_near(&self, v: u32, dir: ValueOr) -> Result<u32> { in set_rate_near() 616 pub fn set_rate(&self, v: u32, dir: ValueOr) -> Result<()> { in set_rate() 669 pub fn set_period_size_near(&self, v: Frames, dir: ValueOr) -> Result<Frames> { in set_period_size_near() 675 pub fn set_period_size(&self, v: Frames, dir: ValueOr) -> Result<()> { in set_period_size() 679 pub fn set_period_time_near(&self, v: u32, dir: ValueOr) -> Result<u32> { in set_period_time_near() 700 pub fn set_periods(&self, v: u32, dir: ValueOr) -> Result<()> { in set_periods() 728 pub fn set_buffer_time_near(&self, v: u32, dir: ValueOr) -> Result<u32> { in set_buffer_time_near() 954 hwp.set_rate(44100, ValueOr::Nearest).unwrap(); in record_from_default() 969 hwp.set_rate(44100, ValueOr::Nearest).unwrap(); in playback_to_default()
|