/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/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()
|
D | custom_errors.rs | 16 fn from(error: (&'a str, ErrorKind)) -> Self { in from() 22 fn from_error_kind(_: &'a str, kind: ErrorKind) -> Self { in from_error_kind() 26 fn append(_: &'a str, kind: ErrorKind, other: CustomError) -> Self { in append() 31 fn test1(input: &str) -> IResult<&str, &str, CustomError> { in test1() 36 fn test2(input: &str) -> IResult<&str, &str, CustomError> { in test2() 41 fn test3(input: &str) -> IResult<&str, &str, CustomError> { in test3() 46 fn test4(input: &str) -> IResult<&str, Vec<&str>, CustomError> { in test4()
|
/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/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/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: 123 def is_internal_name(self, name: str) -> bool: 150 def _format_arguments(name: str, arguments: Iterable[str]) -> str: 160 def _argument_split(cls, arguments: str) -> List[str]: 163 def distribute_arguments(self, name: str) -> Iterator[str]: 194 self, seen: Set[str], name: str 202 def generate_expressions(self, names: Iterable[str]) -> Iterator[str]: 240 def algorithm_tester(name: str) -> str: 260 def record_algorithm_subtype(self, name: str, expansion: str) -> None: [all …]
|
/third_party/protobuf/src/google/protobuf/util/internal/ |
D | json_stream_parser_test.cc | 162 StringPiece str = "true"; in TEST_F() local 170 StringPiece str = "false"; in TEST_F() local 178 StringPiece str = "null"; in TEST_F() local 187 StringPiece str = "{}"; in TEST_F() local 195 StringPiece str = "[]"; in TEST_F() local 204 StringPiece str = "42.5"; in TEST_F() local 212 StringPiece str = "1.2345e-10"; in TEST_F() local 220 StringPiece str = "-1045.235"; in TEST_F() local 228 StringPiece str = "123456"; in TEST_F() local 236 StringPiece str = "-79497823553162765"; in TEST_F() local [all …]
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | test-number.cc | 34 const char str[] = "123"; in main() local 47 const char str[] = "123"; in main() local 60 const char str[] = "12F"; in main() local 73 const char str[] = "12Fq"; in main() local 87 const char str[] = "-123"; in main() local 100 const char str[] = "123"; in main() local 113 const char str[] = "123\0"; in main() local 126 const char str[] = "123V"; in main() local 139 const char str[] = ".123"; in main() local 151 const char str[] = "0.123"; in main() local [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/vulkan/shaders/ |
D | bin2array.py | 39 element_prefix: str, 41 element_suffix: str, 42 newline_value: str, 44 element_separator: str) -> str: 63 def decorate_c_array_data (hexdata: str, 64 var_name: str, 65 var_type: str, 66 newline_value: str):
|