Home
last modified time | relevance | path

Searched refs:as_char (Results 1 – 21 of 21) sorted by relevance

/third_party/node/deps/cares/src/tools/
Dadig.c527 char * as_char; in display_rr() member
531 status = ares_expand_name(aptr, abuf, alen, &name.as_char, &len); in display_rr()
541 ares_free_string(name.as_char); in display_rr()
554 ares_free_string(name.as_char); in display_rr()
559 printf("\t%-15s.\t%d", name.as_char, ttl); in display_rr()
563 ares_free_string(name.as_char); in display_rr()
577 status = ares_expand_name(aptr, abuf, alen, &name.as_char, &len); in display_rr()
580 printf("\t%s.", name.as_char); in display_rr()
581 ares_free_string(name.as_char); in display_rr()
593 printf("\t%s", name.as_char); in display_rr()
[all …]
/third_party/rust/crates/nom/src/character/
Dstreaming.rs37 let b = t.as_char() == c; in char()
42 Some((c, true)) => Ok((i.slice(c.len()..), c.as_char())), in char()
68 let c = t.as_char(); in satisfy()
99 Some((c, true)) => Ok((i.slice(c.len()..), c.as_char())), in one_of()
124 Some((c, true)) => Ok((i.slice(c.len()..), c.as_char())), in none_of()
180 let c = item.as_char(); in not_line_ending()
186 let nth = it.next().unwrap().as_char(); in not_line_ending()
298 None => Ok((input.slice(input.input_len()..), c.as_char())), in anychar()
299 Some((idx, _)) => Ok((input.slice(idx..), c.as_char())), in anychar()
533 let c = item.as_char(); in space0()
[all …]
Dcomplete.rs38 let b = t.as_char() == c; in char()
41 Some((c, true)) => Ok((i.slice(c.len()..), c.as_char())), in char()
68 let c = t.as_char(); in satisfy()
96 Some((c, true)) => Ok((i.slice(c.len()..), c.as_char())), in one_of()
120 Some((c, true)) => Ok((i.slice(c.len()..), c.as_char())), in none_of()
186 let c = item.as_char(); in not_line_ending()
192 let nth = it.next().unwrap().as_char(); in not_line_ending()
318 None => Ok((input.slice(input.input_len()..), c.as_char())), in anychar()
319 Some((idx, _)) => Ok((input.slice(idx..), c.as_char())), in anychar()
614 let c = item.as_char(); in space0()
[all …]
/third_party/rust/crates/proc-macro2/tests/
Dcomments.rs19 assert_eq!(punct.as_char(), '#'); in lit_of_doc_comment()
27 assert_eq!(punct.as_char(), '!'); in lit_of_doc_comment()
47 assert_eq!(punct.as_char(), '='); in lit_of_doc_comment()
Dtest.rs232 assert_eq!(punct.as_char(), '-'); in literal_iter_negative()
417 assert_eq!(tt.as_char(), '~'); in punct_before_comment()
/third_party/rust/crates/syn/src/
Dtt.rs35 o1.as_char() == o2.as_char() in eq()
69 op.as_char().hash(h); in hash()
Dbuffer.rs237 Entry::Punct(punct) if punct.as_char() != '\'' => { in punct()
259 Entry::Punct(punct) if punct.as_char() == '\'' && punct.spacing() == Spacing::Joint => { in lifetime()
325 Entry::Punct(punct) if punct.as_char() == '\'' && punct.spacing() == Spacing::Joint => { in skip()
Dtoken.rs579 if punct.as_char() == '_' { in parse()
595 return punct.as_char() == '_'; in peek()
930 if punct.as_char() != ch {
951 if punct.as_char() != ch { in peek_punct()
Dgenerics.rs1246 if q.as_char() == '~' { in to_tokens()
Dlit.rs764 if punct.as_char() == '-' { in parse()
/third_party/node/deps/v8/src/utils/
Dostreams.cc42 auto as_char = static_cast<char>(c); in overflow() local
43 OutputDebugStringA(&as_char); in overflow()
/third_party/rust/crates/proc-macro-error/proc-macro-error-attr/src/
Dsettings.rs52 Some(TokenTree::Punct(ref punct)) if punct.as_char() == ',' => {} in parse_settings()
Dparse.rs31 Some(TokenTree::Punct(ref punct)) if punct.as_char() == '#' => input.next().unwrap(), in parse_next_attr()
/third_party/rust/crates/nom/src/
Dtraits.rs153 fn as_char(self) -> char; in as_char() method
176 fn as_char(self) -> char { in as_char() method
208 fn as_char(self) -> char { in as_char() method
241 fn as_char(self) -> char { in as_char() method
272 fn as_char(self) -> char { in as_char() method
/third_party/rust/crates/nom/src/bytes/
Dstreaming.rs564 if i.iter_elements().next().unwrap().as_char() == control_char { in escaped()
672 if remainder.iter_elements().next().unwrap().as_char() == control_char { in escaped_transform()
Dcomplete.rs550 if i.iter_elements().next().unwrap().as_char() == control_char { in escaped()
668 if remainder.iter_elements().next().unwrap().as_char() == control_char { in escaped_transform()
/third_party/rust/crates/proc-macro2/src/
Dwrapper.rs163 let mut punct = proc_macro::Punct::new(tt.as_char(), spacing); in into_compiler_token()
338 let mut o = Punct::new(tt.as_char(), spacing); in next()
Dlib.rs818 pub fn as_char(&self) -> char { in as_char() method
/third_party/rust/crates/rust-cexpr/src/
Dexpr.rs77 result_opt!(fn as_char: Char -> CChar);
/third_party/rust/crates/cxx/syntax/
Dparse.rs1055 if punct.as_char() == '!' { in parse_impl()
1129 TokenTree::Punct(token) => path.push(token.as_char()), in parse_include()
/third_party/rust/crates/serde/serde_derive/src/internals/
Dattr.rs1926 TokenTree::Punct(op) if op.as_char() == '\'' && op.spacing() == Spacing::Joint => { in collect_lifetimes_from_tokens()