| /third_party/rust/crates/nom/benchmarks/benches/ |
| D | ini_str.rs | 21 fn space_or_line_ending(i: &str) -> IResult<&str, &str> { in space_or_line_ending() 25 fn category(i: &str) -> IResult<&str, &str> { in category() 32 fn key_value(i: &str) -> IResult<&str, (&str, &str)> { in key_value() 42 fn keys_and_values_aggregator(i: &str) -> IResult<&str, Vec<(&str, &str)>> { in keys_and_values_aggregator() 46 fn keys_and_values(input: &str) -> IResult<&str, HashMap<&str, &str>> { in keys_and_values() 53 fn category_and_keys(i: &str) -> IResult<&str, (&str, HashMap<&str, &str>)> { in category_and_keys() 57 fn categories_aggregator(i: &str) -> IResult<&str, Vec<(&str, HashMap<&str, &str>)>> { in categories_aggregator() 61 fn categories(input: &str) -> IResult<&str, HashMap<&str, HashMap<&str, &str>>> { in categories()
|
| D | ini.rs | 19 fn category(i: &[u8]) -> IResult<&[u8], &str> { in category() 26 fn key_value(i: &[u8]) -> IResult<&[u8], (&str, &str)> { in key_value() 34 fn categories(i: &[u8]) -> IResult<&[u8], HashMap<&str, HashMap<&str, &str>>> { in categories() 49 let str = "[owner] in bench_ini() localVariable 67 let str = "server=192.0.2.62 in bench_ini_keys_and_values() localVariable 72 fn acc(i: &[u8]) -> IResult<&[u8], Vec<(&str, &str)>> { in bench_ini_keys_and_values() 84 let str = "server=192.0.2.62\n"; in bench_ini_key_value() localVariable
|
| /third_party/libxml2/python/tests/ |
| D | serialize.py | 12 str = doc.serialize() variable 18 str = doc.serialize("iso-8859-1") variable 24 str = doc.serialize(format=1) variable 32 str = doc.serialize("iso-8859-1", 1) variable 45 str = root.serialize() variable 49 str = root.serialize("iso-8859-1") variable 53 str = root.serialize(format=1) variable 59 str = root.serialize("iso-8859-1", 1) variable 71 str = doc.serialize() variable 77 str = doc.serialize("ISO-8859-1") variable [all …]
|
| /third_party/jinja2/ |
| D | ext.py | 26 def gettext(self, message: str) -> str: 29 def ngettext(self, singular: str, plural: str, n: int) -> str: 33 def pgettext(self, context: str, message: str) -> str: 36 def npgettext(self, context: str, singular: str, plural: str, n: int) -> str: 99 self, source: str, name: t.Optional[str], filename: t.Optional[str] = None 126 self, name: str, lineno: t.Optional[int] = None 139 name: str, 170 def _make_new_gettext(func: t.Callable[[str], str]) -> t.Callable[..., str]: 172 def gettext(__context: Context, __string: str, **variables: t.Any) -> str: 184 def _make_new_ngettext(func: t.Callable[[str, str, int], str]) -> t.Callable[..., str]: argument [all …]
|
| D | environment.py | 108 extensions: t.Sequence[t.Union[str, t.Type["Extension"]]], 294 block_start_string: str = BLOCK_START_STRING, 295 block_end_string: str = BLOCK_END_STRING, 296 variable_start_string: str = VARIABLE_START_STRING, 297 variable_end_string: str = VARIABLE_END_STRING, 298 comment_start_string: str = COMMENT_START_STRING, 299 comment_end_string: str = COMMENT_END_STRING, 300 line_statement_prefix: t.Optional[str] = LINE_STATEMENT_PREFIX, 301 line_comment_prefix: t.Optional[str] = LINE_COMMENT_PREFIX, 306 extensions: t.Sequence[t.Union[str, t.Type["Extension"]]] = (), [all …]
|
| D | loaders.py | 25 def split_template_path(template: str) -> t.List[str]: 76 self, environment: "Environment", template: str 111 name: str, 112 globals: t.Optional[t.MutableMapping[str, t.Any]] = None, 181 searchpath: t.Union[str, os.PathLike, t.Sequence[t.Union[str, os.PathLike]]], 182 encoding: str = "utf-8", 193 self, environment: "Environment", template: str 273 package_name: str, 274 package_path: "str" = "templates", 275 encoding: str = "utf-8", [all …]
|
| /third_party/rust/crates/nom/tests/ |
| D | ini_str.rs | 16 fn not_line_ending(i: &str) -> IResult<&str, &str> { in not_line_ending() 20 fn space_or_line_ending(i: &str) -> IResult<&str, &str> { in space_or_line_ending() 24 fn category(i: &str) -> IResult<&str, &str> { in category() 31 fn key_value(i: &str) -> IResult<&str, (&str, &str)> { in key_value() 42 fn keys_and_values_aggregator(i: &str) -> IResult<&str, Vec<(&str, &str)>> { in keys_and_values_aggregator() 46 fn keys_and_values(input: &str) -> IResult<&str, HashMap<&str, &str>> { in keys_and_values() 53 fn category_and_keys(i: &str) -> IResult<&str, (&str, HashMap<&str, &str>)> { in category_and_keys() 57 fn categories_aggregator(i: &str) -> IResult<&str, Vec<(&str, HashMap<&str, &str>)>> { in categories_aggregator() 61 fn categories(input: &str) -> IResult<&str, HashMap<&str, HashMap<&str, &str>>> { in categories()
|
| /third_party/python/Tools/peg_generator/pegen/ |
| D | sccutils.py | 7 vertices: AbstractSet[str], edges: Dict[str, AbstractSet[str]] 28 def dfs(v: str) -> Iterator[Set[str]]: 53 data: Dict[AbstractSet[str], Set[AbstractSet[str]]] 101 graph: Dict[str, AbstractSet[str]], scc: AbstractSet[str], start: str 120 def dfs(node: str, path: List[str]) -> Iterator[List[str]]:
|
| D | build.py | 23 def get_extra_flags(compiler_flags: str, compiler_py_flags_nodist: str) -> List[str]: 32 generated_source_path: str, 33 build_dir: Optional[str] = None, 106 grammar_file: str, verbose_tokenizer: bool = False, verbose_parser: bool = False 119 def generate_token_definitions(tokens: IO[str]) -> TokenDefinitions: 150 grammar_file: str, 151 tokens_file: str, 152 output_file: str, 178 grammar: Grammar, grammar_file: str, output_file: str, skip_actions: bool = False, 187 grammar_file: str, [all …]
|
| /third_party/rust/crates/memchr/bench/src/memmem/ |
| D | imp.rs | 22 pub(crate) fn available(_: &str) -> &'static [&'static str] { in available() 29 pub(crate) fn oneshot(haystack: &str, needle: &str) -> bool { in oneshot() 34 needle: &str, in prebuilt() 41 haystack: &'a str, in oneshotiter() 42 needle: &'a str, in oneshotiter() 57 haystack: &'a str, in iter() 67 pub(crate) fn oneshot(haystack: &str, needle: &str) -> bool { in oneshot() 72 needle: &str, in prebuilt() 79 haystack: &'a str, in oneshotiter() 80 needle: &'a str, in oneshotiter() [all …]
|
| /third_party/rust/crates/memchr/bench/src/ |
| D | data.rs | 10 pub const SUBTITLE_EN_HUGE: &'static str = variable 12 pub const SUBTITLE_EN_MEDIUM: &'static str = variable 14 pub const SUBTITLE_EN_SMALL: &'static str = variable 16 pub const SUBTITLE_EN_TINY: &'static str = variable 18 pub const SUBTITLE_EN_TEENY: &'static str = variable 21 pub const SUBTITLE_RU_HUGE: &'static str = variable 23 pub const SUBTITLE_RU_MEDIUM: &'static str = variable 25 pub const SUBTITLE_RU_SMALL: &'static str = variable 27 pub const SUBTITLE_RU_TINY: &'static str = variable 29 pub const SUBTITLE_RU_TEENY: &'static str = variable [all …]
|
| /third_party/rust/crates/nom/examples/ |
| D | s_expression.rs | 68 fn parse_builtin_op<'a>(i: &'a str) -> IResult<&'a str, BuiltIn, VerboseError<&'a str>> { in parse_builtin_op() 87 fn parse_builtin<'a>(i: &'a str) -> IResult<&'a str, BuiltIn, VerboseError<&'a str>> { in parse_builtin() 99 fn parse_bool<'a>(i: &'a str) -> IResult<&'a str, Atom, VerboseError<&'a str>> { in parse_bool() 112 fn parse_keyword<'a>(i: &'a str) -> IResult<&'a str, Atom, VerboseError<&'a str>> { in parse_keyword() 121 fn parse_num<'a>(i: &'a str) -> IResult<&'a str, Atom, VerboseError<&'a str>> { in parse_num() 134 fn parse_atom<'a>(i: &'a str) -> IResult<&'a str, Atom, VerboseError<&'a str>> { in parse_atom() 144 fn parse_constant<'a>(i: &'a str) -> IResult<&'a str, Expr, VerboseError<&'a str>> { in parse_constant() 155 fn s_exp<'a, O1, F>(inner: F) -> impl FnMut(&'a str) -> IResult<&'a str, O1, VerboseError<&'a str>> in s_exp() 175 fn parse_application<'a>(i: &'a str) -> IResult<&'a str, Expr, VerboseError<&'a str>> { in parse_application() 189 fn parse_if<'a>(i: &'a str) -> IResult<&'a str, Expr, VerboseError<&'a str>> { in parse_if() [all …]
|
| D | json.rs | 30 fn sp<'a, E: ParseError<&'a str>>(i: &'a str) -> IResult<&'a str, &'a str, E> { in sp() argument 53 fn parse_str<'a, E: ParseError<&'a str>>(i: &'a str) -> IResult<&'a str, &'a str, E> { in parse_str() argument 94 fn string<'a, E: ParseError<&'a str> + ContextError<&'a str>>( in string() 96 ) -> IResult<&'a str, &'a str, E> { in string() 107 fn array<'a, E: ParseError<&'a str> + ContextError<&'a str>>( in array() 109 ) -> IResult<&'a str, Vec<JsonValue>, E> { in array() 122 fn key_value<'a, E: ParseError<&'a str> + ContextError<&'a str>>( in key_value() 124 ) -> IResult<&'a str, (&'a str, JsonValue), E> { in key_value() 132 fn hash<'a, E: ParseError<&'a str> + ContextError<&'a str>>( in hash() 134 ) -> IResult<&'a str, HashMap<String, JsonValue>, E> { in hash() [all …]
|
| /third_party/skia/third_party/externals/spirv-tools/test/val/ |
| D | val_data_test.cpp | 108 std::string str = header + R"( in TEST_F() local 118 std::string str = header + R"( in TEST_F() local 128 std::string str = header + R"( in TEST_F() local 137 std::string str = header + R"( in TEST_F() local 146 std::string str = header + R"( in TEST_F() local 155 std::string str = header + R"( in TEST_F() local 165 std::string str = header + R"( in TEST_F() local 175 std::string str = header_with_vec16_cap + R"( in TEST_F() local 184 std::string str = header + R"( in TEST_F() local 194 std::string str = header_with_vec16_cap + R"( in TEST_F() local [all …]
|
| D | val_ssa_test.cpp | 35 char str[] = R"( in TEST_F() local 53 char str[] = R"( in TEST_F() local 71 char str[] = R"( in TEST_F() local 88 char str[] = R"( in TEST_F() local 102 char str[] = R"( in TEST_F() local 126 char str[] = R"( in TEST_F() local 149 char str[] = R"( in TEST_F() local 166 char str[] = R"( in TEST_F() local 178 char str[] = R"( in TEST_F() local 193 char str[] = R"( in TEST_F() local [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/val/ |
| D | val_data_test.cpp | 108 std::string str = header + R"( in TEST_F() local 118 std::string str = header + R"( in TEST_F() local 128 std::string str = header + R"( in TEST_F() local 137 std::string str = header + R"( in TEST_F() local 146 std::string str = header + R"( in TEST_F() local 155 std::string str = header + R"( in TEST_F() local 165 std::string str = header + R"( in TEST_F() local 175 std::string str = header_with_vec16_cap + R"( in TEST_F() local 184 std::string str = header + R"( in TEST_F() local 194 std::string str = header_with_vec16_cap + R"( in TEST_F() local [all …]
|
| D | val_ssa_test.cpp | 35 char str[] = R"( in TEST_F() local 53 char str[] = R"( in TEST_F() local 71 char str[] = R"( in TEST_F() local 88 char str[] = R"( in TEST_F() local 102 char str[] = R"( in TEST_F() local 126 char str[] = R"( in TEST_F() local 149 char str[] = R"( in TEST_F() local 166 char str[] = R"( in TEST_F() local 178 char str[] = R"( in TEST_F() local 193 char str[] = R"( in TEST_F() local [all …]
|
| /third_party/spirv-tools/test/val/ |
| D | val_data_test.cpp | 108 std::string str = header + R"( in TEST_F() local 118 std::string str = header + R"( in TEST_F() local 128 std::string str = header + R"( in TEST_F() local 137 std::string str = header + R"( in TEST_F() local 146 std::string str = header + R"( in TEST_F() local 155 std::string str = header + R"( in TEST_F() local 165 std::string str = header + R"( in TEST_F() local 175 std::string str = header_with_vec16_cap + R"( in TEST_F() local 184 std::string str = header + R"( in TEST_F() local 194 std::string str = header_with_vec16_cap + R"( in TEST_F() local [all …]
|
| D | val_ssa_test.cpp | 35 char str[] = R"( in TEST_F() local 53 char str[] = R"( in TEST_F() local 71 char str[] = R"( in TEST_F() local 88 char str[] = R"( in TEST_F() local 102 char str[] = R"( in TEST_F() local 126 char str[] = R"( in TEST_F() local 149 char str[] = R"( in TEST_F() local 166 char str[] = R"( in TEST_F() local 178 char str[] = R"( in TEST_F() local 193 char str[] = R"( in TEST_F() local [all …]
|
| /third_party/flutter/skia/third_party/externals/angle2/src/tests/preprocessor_tests/ |
| D | if_test.cpp | 18 const char *str = in TEST_F() local 36 const char *str = in TEST_F() local 54 const char *str = in TEST_F() local 76 const char *str = in TEST_F() local 98 const char *str = in TEST_F() local 132 const char *str = in TEST_F() local 162 const char *str = in TEST_F() local 192 const char *str = in TEST_F() local 224 const char *str = in TEST_F() local 256 const char *str = in TEST_F() local [all …]
|
| /third_party/skia/third_party/externals/angle2/src/tests/preprocessor_tests/ |
| D | if_test.cpp | 18 const char *str = in TEST_F() local 36 const char *str = in TEST_F() local 54 const char *str = in TEST_F() local 76 const char *str = in TEST_F() local 98 const char *str = in TEST_F() local 132 const char *str = in TEST_F() local 162 const char *str = in TEST_F() local 192 const char *str = in TEST_F() local 224 const char *str = in TEST_F() local 256 const char *str = in TEST_F() local [all …]
|
| /third_party/flutter/skia/third_party/externals/spirv-tools/test/val/ |
| D | val_data_test.cpp | 110 string str = header + R"( in TEST_F() local 120 string str = header + R"( in TEST_F() local 130 string str = header + R"( in TEST_F() local 139 string str = header + R"( in TEST_F() local 148 string str = header + R"( in TEST_F() local 157 string str = header + R"( in TEST_F() local 167 string str = header + R"( in TEST_F() local 177 string str = header_with_vec16_cap + R"( in TEST_F() local 186 string str = header + R"( in TEST_F() local 196 string str = header_with_vec16_cap + R"( in TEST_F() local [all …]
|
| D | val_ssa_test.cpp | 36 char str[] = R"( in TEST_F() local 54 char str[] = R"( in TEST_F() local 72 char str[] = R"( in TEST_F() local 89 char str[] = R"( in TEST_F() local 103 char str[] = R"( in TEST_F() local 126 char str[] = R"( in TEST_F() local 148 char str[] = R"( in TEST_F() local 165 char str[] = R"( in TEST_F() local 177 char str[] = R"( in TEST_F() local 192 char str[] = R"( in TEST_F() local [all …]
|
| /third_party/mesa3d/bin/ |
| D | commit_in_branch.py | 8 def print_(args: argparse.Namespace, success: bool, message: str) -> None: 41 def is_commit_valid(commit: str) -> bool: 48 def branch_has_commit(upstream: str, branch: str, commit: str) -> bool: 59 def branch_has_backport_of_commit(upstream: str, branch: str, commit: str) -> str: 71 def canonicalize_commit(commit: str) -> str: 85 def validate_branch(branch: str) -> str:
|
| /third_party/mbedtls/scripts/mbedtls_dev/ |
| D | macro_collector.py | 25 def __init__(self, filename: str, line_number: Union[int, str]) -> None: argument 51 def __init__(self, filename: str, binary: bool = False) -> None: 120 def is_internal_name(self, name: str) -> bool: 147 def _format_arguments(name: str, arguments: Iterable[str]) -> str: 157 def _argument_split(cls, arguments: str) -> List[str]: 160 def distribute_arguments(self, name: str) -> Iterator[str]: 191 self, seen: Set[str], name: str 199 def generate_expressions(self, names: Iterable[str]) -> Iterator[str]: 237 def algorithm_tester(name: str) -> str: 257 def record_algorithm_subtype(self, name: str, expansion: str) -> None: [all …]
|