Home
last modified time | relevance | path

Searched refs:Delimiter (Results 1 – 25 of 115) sorted by relevance

12345

/external/angle/third_party/abseil-cpp/absl/strings/
Dstr_split.h231 template <typename Delimiter>
233 using type = Delimiter;
258 template <typename Delimiter>
261 MaxSplitsImpl(Delimiter delimiter, int limit)
272 Delimiter delimiter_;
291 template <typename Delimiter>
293 typename strings_internal::SelectDelimiter<Delimiter>::type>
294 MaxSplits(Delimiter delimiter, int limit) {
296 typename strings_internal::SelectDelimiter<Delimiter>::type DelimiterType;
496 template <typename Delimiter>
[all …]
/external/openscreen/third_party/abseil/src/absl/strings/
Dstr_split.h231 template <typename Delimiter>
233 using type = Delimiter;
258 template <typename Delimiter>
261 MaxSplitsImpl(Delimiter delimiter, int limit)
272 Delimiter delimiter_;
291 template <typename Delimiter>
293 typename strings_internal::SelectDelimiter<Delimiter>::type>
294 MaxSplits(Delimiter delimiter, int limit) {
296 typename strings_internal::SelectDelimiter<Delimiter>::type DelimiterType;
496 template <typename Delimiter>
[all …]
/external/abseil-cpp/absl/strings/
Dstr_split.h230 template <typename Delimiter>
232 using type = Delimiter;
257 template <typename Delimiter>
260 MaxSplitsImpl(Delimiter delimiter, int limit)
271 Delimiter delimiter_;
290 template <typename Delimiter>
292 typename strings_internal::SelectDelimiter<Delimiter>::type>
293 MaxSplits(Delimiter delimiter, int limit) {
295 typename strings_internal::SelectDelimiter<Delimiter>::type DelimiterType;
489 template <typename Delimiter>
[all …]
/external/webrtc/third_party/abseil-cpp/absl/strings/
Dstr_split.h230 template <typename Delimiter>
232 using type = Delimiter;
257 template <typename Delimiter>
260 MaxSplitsImpl(Delimiter delimiter, int limit)
271 Delimiter delimiter_;
290 template <typename Delimiter>
292 typename strings_internal::SelectDelimiter<Delimiter>::type>
293 MaxSplits(Delimiter delimiter, int limit) {
295 typename strings_internal::SelectDelimiter<Delimiter>::type DelimiterType;
489 template <typename Delimiter>
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/
Dstr_split.h231 template <typename Delimiter>
233 using type = Delimiter;
258 template <typename Delimiter>
261 MaxSplitsImpl(Delimiter delimiter, int limit)
272 Delimiter delimiter_;
291 template <typename Delimiter>
293 typename strings_internal::SelectDelimiter<Delimiter>::type>
294 MaxSplits(Delimiter delimiter, int limit) {
296 typename strings_internal::SelectDelimiter<Delimiter>::type DelimiterType;
490 template <typename Delimiter>
[all …]
/external/libtextclassifier/abseil-cpp/absl/strings/
Dstr_split.h231 template <typename Delimiter>
233 using type = Delimiter;
258 template <typename Delimiter>
261 MaxSplitsImpl(Delimiter delimiter, int limit)
272 Delimiter delimiter_;
291 template <typename Delimiter>
293 typename strings_internal::SelectDelimiter<Delimiter>::type>
294 MaxSplits(Delimiter delimiter, int limit) {
296 typename strings_internal::SelectDelimiter<Delimiter>::type DelimiterType;
490 template <typename Delimiter>
[all …]
/external/rust/crates/syn/src/
Dtt.rs1 use proc_macro2::{Delimiter, TokenStream, TokenTree};
13 (Delimiter::Parenthesis, Delimiter::Parenthesis) in eq()
14 | (Delimiter::Brace, Delimiter::Brace) in eq()
15 | (Delimiter::Bracket, Delimiter::Bracket) in eq()
16 | (Delimiter::None, Delimiter::None) => {} in eq()
56 Delimiter::Parenthesis => 0u8.hash(h), in hash()
57 Delimiter::Brace => 1u8.hash(h), in hash()
58 Delimiter::Bracket => 2u8.hash(h), in hash()
59 Delimiter::None => 3u8.hash(h), in hash()
Dgroup.rs4 use proc_macro2::{Delimiter, Span};
38 parse_delimited(input, Delimiter::Parenthesis).map(|(span, content)| Parens { in parse_parens()
47 parse_delimited(input, Delimiter::Brace).map(|(span, content)| Braces { in parse_braces()
56 parse_delimited(input, Delimiter::Bracket).map(|(span, content)| Brackets { in parse_brackets()
64 parse_delimited(input, Delimiter::None).map(|(span, content)| Group { in parse_group()
72 delimiter: Delimiter, in parse_delimited() argument
83 Delimiter::Parenthesis => "expected parentheses", in parse_delimited()
84 Delimiter::Brace => "expected curly braces", in parse_delimited()
85 Delimiter::Bracket => "expected square brackets", in parse_delimited()
86 Delimiter::None => "expected invisible group", in parse_delimited()
Dmac.rs5 use proc_macro2::{Delimiter, Group, Span, TokenTree};
40 MacroDelimiter::Paren(_) => Delimiter::Parenthesis, in delimiter_span_close()
41 MacroDelimiter::Brace(_) => Delimiter::Brace, in delimiter_span_close()
42 MacroDelimiter::Bracket(_) => Delimiter::Bracket, in delimiter_span_close()
158 Delimiter::Parenthesis => MacroDelimiter::Paren(Paren(span)), in parse_delimiter()
159 Delimiter::Brace => MacroDelimiter::Brace(Brace(span)), in parse_delimiter()
160 Delimiter::Bracket => MacroDelimiter::Bracket(Bracket(span)), in parse_delimiter()
161 Delimiter::None => { in parse_delimiter()
/external/rust/crates/proc-macro2/tests/
Dtest_fmt.rs1 use proc_macro2::{Delimiter, Group, Ident, Span, TokenStream, TokenTree};
8 let parens_empty = Group::new(Delimiter::Parenthesis, TokenStream::new()); in test_fmt_group()
9 let parens_nonempty = Group::new(Delimiter::Parenthesis, inner.clone()); in test_fmt_group()
10 let brackets_empty = Group::new(Delimiter::Bracket, TokenStream::new()); in test_fmt_group()
11 let brackets_nonempty = Group::new(Delimiter::Bracket, inner.clone()); in test_fmt_group()
12 let braces_empty = Group::new(Delimiter::Brace, TokenStream::new()); in test_fmt_group()
13 let braces_nonempty = Group::new(Delimiter::Brace, inner.clone()); in test_fmt_group()
14 let none_empty = Group::new(Delimiter::None, TokenStream::new()); in test_fmt_group()
15 let none_nonempty = Group::new(Delimiter::None, inner.clone()); in test_fmt_group()
/external/rust/crates/syn/tests/
Dtest_expr.rs4 use proc_macro2::{Delimiter, Group, Ident, Punct, Spacing, Span, TokenStream, TokenTree};
125 TokenTree::Group(Group::new(Delimiter::None, quote! { f })), in test_macro_variable_func()
126 TokenTree::Group(Group::new(Delimiter::Parenthesis, TokenStream::new())), in test_macro_variable_func()
148 TokenTree::Group(Group::new(Delimiter::Bracket, quote! { outside })), in test_macro_variable_func()
149 TokenTree::Group(Group::new(Delimiter::None, quote! { #[inside] f })), in test_macro_variable_func()
150 TokenTree::Group(Group::new(Delimiter::Parenthesis, TokenStream::new())), in test_macro_variable_func()
203 TokenTree::Group(Group::new(Delimiter::None, quote! { m })), in test_macro_variable_macro()
205 TokenTree::Group(Group::new(Delimiter::Parenthesis, TokenStream::new())), in test_macro_variable_macro()
230 TokenTree::Group(Group::new(Delimiter::None, quote! { S })), in test_macro_variable_struct()
231 TokenTree::Group(Group::new(Delimiter::Brace, TokenStream::new())), in test_macro_variable_struct()
[all …]
Dtest_item.rs4 use proc_macro2::{Delimiter, Group, Ident, Span, TokenStream, TokenTree};
13 TokenTree::Group(Group::new(Delimiter::None, quote! { #[test] })), in test_macro_variable_attr()
16 TokenTree::Group(Group::new(Delimiter::Parenthesis, TokenStream::new())), in test_macro_variable_attr()
17 TokenTree::Group(Group::new(Delimiter::Brace, TokenStream::new())), in test_macro_variable_attr()
127 TokenTree::Group(Group::new(Delimiter::None, quote!(Trait))), in test_macro_variable_impl()
129 TokenTree::Group(Group::new(Delimiter::None, quote!(Type))), in test_macro_variable_impl()
130 TokenTree::Group(Group::new(Delimiter::Brace, TokenStream::new())), in test_macro_variable_impl()
Dtest_parse_buffer.rs1 use proc_macro2::{Delimiter, Group, Punct, Spacing, TokenStream, TokenTree};
73 Delimiter::Parenthesis, in trailing_empty_none_group()
76 TokenTree::Group(Group::new(Delimiter::None, TokenStream::new())), in trailing_empty_none_group()
79 TokenTree::Group(Group::new(Delimiter::None, TokenStream::new())), in trailing_empty_none_group()
81 Delimiter::None, in trailing_empty_none_group()
83 Delimiter::None, in trailing_empty_none_group()
Dtest_ty.rs4 use proc_macro2::{Delimiter, Group, Ident, Punct, Spacing, Span, TokenStream, TokenTree};
22 TokenTree::Group(Group::new(Delimiter::None, quote! { ty })), in test_macro_variable_type()
56 TokenTree::Group(Group::new(Delimiter::None, quote! { ty })), in test_macro_variable_type()
98 TokenTree::Group(Group::new(Delimiter::None, quote! { Vec<u8> })), in test_group_angle_brackets()
148 TokenTree::Group(Group::new(Delimiter::None, quote! { Vec<u8> })), in test_group_colons()
185 TokenTree::Group(Group::new(Delimiter::None, quote! { [T] })), in test_group_colons()
Dtest_stmt.rs4 use proc_macro2::{Delimiter, Group, Ident, Span, TokenStream, TokenTree};
52 Delimiter::None, in test_none_group()
57 TokenTree::Group(Group::new(Delimiter::Parenthesis, TokenStream::new())), in test_none_group()
58 TokenTree::Group(Group::new(Delimiter::Brace, TokenStream::new())), in test_none_group()
Dtest_visibility.rs4 use proc_macro2::{Delimiter, Group, Ident, Punct, Spacing, Span, TokenStream, TokenTree};
113 Delimiter::Brace, in test_empty_group_vis()
115 TokenTree::Group(Group::new(Delimiter::None, TokenStream::new())), in test_empty_group_vis()
117 Delimiter::None, in test_empty_group_vis()
124 TokenTree::Group(Group::new(Delimiter::Parenthesis, TokenStream::new())), in test_empty_group_vis()
/external/rust/crates/macaddr/src/parser/
Dmod.rs50 enum Delimiter { enum
61 delimiter: Option<Delimiter>,
115 self.delimiter = Some(Delimiter::Hyphen); in probe_delimiter()
118 …Some('-') if self.delimiter != Some(Delimiter::Hyphen) => Err(ParseError::InvalidCharacter('-', se… in probe_delimiter()
122 self.delimiter = Some(Delimiter::Colon); in probe_delimiter()
125 …Some(':') if self.delimiter != Some(Delimiter::Colon) => Err(ParseError::InvalidCharacter(':', sel… in probe_delimiter()
129 self.delimiter = Some(Delimiter::Dot); in probe_delimiter()
132 …Some('.') if self.delimiter != Some(Delimiter::Dot) => Err(ParseError::InvalidCharacter('.', self.… in probe_delimiter()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DRawStringLiteralCheck.cpp65 bool containsDelimiter(StringRef Bytes, const std::string &Delimiter) { in containsDelimiter() argument
66 return Bytes.find(Delimiter.empty() in containsDelimiter()
74 std::string Delimiter; in asRawStringLiteral() local
75 for (int I = 0; containsDelimiter(Bytes, Delimiter); ++I) { in asRawStringLiteral()
76 Delimiter = (I == 0) ? DelimiterStem : DelimiterStem + std::to_string(I); in asRawStringLiteral()
79 if (Delimiter.empty()) in asRawStringLiteral()
/external/rust/crates/rustversion/src/
Dlib.rs165 use proc_macro::{Delimiter, Group, Ident, Punct, Spacing, Span, TokenStream, TokenTree};
229 Delimiter::Parenthesis, in try_cfg()
265 Delimiter::Bracket, in try_attr()
269 Delimiter::Parenthesis, in try_attr()
274 Delimiter::Parenthesis, in try_attr()
/external/llvm-project/mlir/include/mlir/IR/
DOpImplementation.h547 enum class Delimiter { enum
565 Delimiter delimiter = Delimiter::None) = 0;
567 Delimiter delimiter) { in parseOperandList()
577 Delimiter delimiter = Delimiter::None) = 0;
579 Delimiter delimiter) { in parseTrailingOperandList()
643 Delimiter delimiter = Delimiter::Square) = 0;
685 Delimiter delimiter = Delimiter::None) = 0;
688 Delimiter delimiter) { in parseRegionArgumentList()
827 Delimiter delimiter);
/external/llvm-project/clang/lib/Analysis/
DIssueHash.cpp189 static StringRef Delimiter = "$"; in getIssueString() local
191 return (llvm::Twine(CheckerName) + Delimiter + in getIssueString()
192 GetEnclosingDeclContextSignature(IssueDecl) + Delimiter + in getIssueString()
193 Twine(IssueLoc.getExpansionColumnNumber()) + Delimiter + in getIssueString()
195 Delimiter + WarningMessage) in getIssueString()
/external/clang/lib/StaticAnalyzer/Core/
DIssueHash.cpp182 static StringRef Delimiter = "$"; in GetIssueString() local
184 return (llvm::Twine(CheckerName) + Delimiter + in GetIssueString()
185 GetEnclosingDeclContextSignature(D) + Delimiter + in GetIssueString()
186 Twine(IssueLoc.getExpansionColumnNumber()) + Delimiter + in GetIssueString()
187 NormalizeLine(SM, IssueLoc, LangOpts) + Delimiter + BugType) in GetIssueString()
/external/rust/crates/proc-macro2/src/
Dwrapper.rs2 use crate::{fallback, Delimiter, Punct, Spacing, TokenTree};
574 pub fn new(delimiter: Delimiter, stream: TokenStream) -> Group { in new() argument
578 Delimiter::Parenthesis => proc_macro::Delimiter::Parenthesis, in new()
579 Delimiter::Bracket => proc_macro::Delimiter::Bracket, in new()
580 Delimiter::Brace => proc_macro::Delimiter::Brace, in new()
581 Delimiter::None => proc_macro::Delimiter::None, in new()
591 pub fn delimiter(&self) -> Delimiter { in delimiter() argument
594 proc_macro::Delimiter::Parenthesis => Delimiter::Parenthesis, in delimiter()
595 proc_macro::Delimiter::Bracket => Delimiter::Bracket, in delimiter()
596 proc_macro::Delimiter::Brace => Delimiter::Brace, in delimiter()
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/utils/
DFileExtensionsUtils.cpp39 for (char Delimiter : Delimiters) { in parseFileExtensions() local
40 if (AllFileExtensions.contains(Delimiter)) { in parseFileExtensions()
41 AllFileExtensions.split(Suffixes, Delimiter); in parseFileExtensions()
/external/rust/crates/paste/src/
Dattr.rs3 use proc_macro::{Delimiter, Group, Span, TokenStream, TokenTree};
49 if group.delimiter() == Delimiter::Parenthesis && leading_path % 3 == 1 => in expand_attr()
91 let mut group = Group::new(Delimiter::Parenthesis, expanded); in expand_attr()
151 if group.delimiter() != Delimiter::None { in is_stringlike()

12345