Searched refs:eq_ignore_ascii_case (Results 1 – 12 of 12) sorted by relevance
/third_party/rust/crates/codespan/codespan-reporting/src/ |
D | term.rs | 66 _ if src.eq_ignore_ascii_case("auto") => Ok(ColorArg(ColorChoice::Auto)), in from_str() 67 _ if src.eq_ignore_ascii_case("always") => Ok(ColorArg(ColorChoice::Always)), in from_str() 68 _ if src.eq_ignore_ascii_case("ansi") => Ok(ColorArg(ColorChoice::AlwaysAnsi)), in from_str() 69 _ if src.eq_ignore_ascii_case("never") => Ok(ColorArg(ColorChoice::Never)), in from_str()
|
/third_party/rust/crates/tracing/tracing-core/src/ |
D | metadata.rs | 567 s if s.eq_ignore_ascii_case("error") => Ok(Level::ERROR), in from_str() 568 s if s.eq_ignore_ascii_case("warn") => Ok(Level::WARN), in from_str() 569 s if s.eq_ignore_ascii_case("info") => Ok(Level::INFO), in from_str() 570 s if s.eq_ignore_ascii_case("debug") => Ok(Level::DEBUG), in from_str() 571 s if s.eq_ignore_ascii_case("trace") => Ok(Level::TRACE), in from_str() 791 s if s.eq_ignore_ascii_case("error") => Some(LevelFilter::ERROR), in from_str() 792 s if s.eq_ignore_ascii_case("warn") => Some(LevelFilter::WARN), in from_str() 793 s if s.eq_ignore_ascii_case("info") => Some(LevelFilter::INFO), in from_str() 794 s if s.eq_ignore_ascii_case("debug") => Some(LevelFilter::DEBUG), in from_str() 795 s if s.eq_ignore_ascii_case("trace") => Some(LevelFilter::TRACE), in from_str() [all …]
|
/third_party/rust/crates/tracing/tracing-attributes/src/ |
D | attr.rs | 35 Some(Level::Str(ref lit)) if lit.value().eq_ignore_ascii_case("trace") => { in level() 38 Some(Level::Str(ref lit)) if lit.value().eq_ignore_ascii_case("debug") => { in level() 41 Some(Level::Str(ref lit)) if lit.value().eq_ignore_ascii_case("info") => { in level() 44 Some(Level::Str(ref lit)) if lit.value().eq_ignore_ascii_case("warn") => { in level() 47 Some(Level::Str(ref lit)) if lit.value().eq_ignore_ascii_case("error") => { in level()
|
/third_party/rust/crates/tracing/examples/examples/ |
D | futures-proxy-server.rs | 148 s if s.eq_ignore_ascii_case("plain") => Ok(Self::Plain), in from_str() 149 s if s.eq_ignore_ascii_case("json") => Ok(Self::Json), in from_str()
|
/third_party/rust/crates/tracing/tracing-opentelemetry/src/ |
D | layer.rs | 98 s if s.eq_ignore_ascii_case("server") => Some(otel::SpanKind::Server), in str_to_span_kind() 99 s if s.eq_ignore_ascii_case("client") => Some(otel::SpanKind::Client), in str_to_span_kind() 100 s if s.eq_ignore_ascii_case("producer") => Some(otel::SpanKind::Producer), in str_to_span_kind() 101 s if s.eq_ignore_ascii_case("consumer") => Some(otel::SpanKind::Consumer), in str_to_span_kind() 102 s if s.eq_ignore_ascii_case("internal") => Some(otel::SpanKind::Internal), in str_to_span_kind() 109 s if s.eq_ignore_ascii_case("ok") => otel::Status::Ok, in str_to_status() 110 s if s.eq_ignore_ascii_case("error") => otel::Status::error(""), in str_to_status()
|
/third_party/rust/crates/which-rs/src/ |
D | helper.rs | 9 .any(|e| ext.eq_ignore_ascii_case(&e.as_ref()[1..])), in has_executable_extension()
|
D | finder.rs | 218 if e.file_name().eq_ignore_ascii_case(file_name) { in correct_casing()
|
/third_party/rust/crates/clap/src/util/ |
D | mod.rs | 40 left.eq_ignore_ascii_case(right) in eq_ignore_case()
|
/third_party/rust/crates/rust-openssl/openssl/src/ssl/ |
D | connector.rs | 523 … matches_wildcard(pattern, hostname).unwrap_or_else(|| pattern.eq_ignore_ascii_case(hostname)) 564 Some(pattern_after_wildcard.eq_ignore_ascii_case(hostname_after_wildcard))
|
/third_party/rust/crates/log/src/ |
D | lib.rs | 542 fn eq_ignore_ascii_case(a: &str, b: &str) -> bool { in eq_ignore_ascii_case() function 566 .position(|&name| eq_ignore_ascii_case(name, level)) in from_str() 747 .position(|&name| eq_ignore_ascii_case(name, level)) in from_str()
|
/third_party/rust/crates/clap/tests/builder/ |
D | possible_values.rs | 415 .eq_ignore_ascii_case("test123")); in ignore_case()
|
/third_party/rust/crates/memchr/bench/data/code/ |
D | rust-library.rs | 6918 vec.dedup_by(|a, b| a.eq_ignore_ascii_case(b));
|