/dports/devel/racer/racer-2.1.48/tests/ |
H A D | system.rs | 19 assert_eq!("apple", got.matchstr); in completes_fn() 35 assert_eq!("apple", got.matchstr); in finds_fn_docs() 52 assert_eq!("Apple", got.matchstr); in finds_struct_docs() 73 assert_eq!("hello", got.matchstr); in finds_struct_field_docs() 91 assert_eq!("0", got.matchstr); in finds_tuple_struct_field_docs() 116 assert_eq!("apple", got.matchstr); in completes_fn_with_substitute_file() 130 assert_eq!("apple", got.matchstr); in completes_pub_fn_locally() 574 if m.matchstr == "src1fn" { in follows_multiple_use_globs() 1419 println!("{}", got.matchstr); in differentiates_type_and_value_namespaces() 2068 assert_eq!(wo.matchstr, wi.matchstr); in completes_multiple_use_bracket() [all …]
|
H A D | trait_bounds.rs | 15 assert_eq!(get_only_completion(src, None).matchstr, "method"); in finds_type_parameter_for_fnarg() 30 assert_eq!(get_only_completion(src, None).matchstr, "method"); in completes_methods_for_fnarg_by_trait_bounds() 48 assert_eq!(get_only_completion(src, None).matchstr, "method"); in completes_methods_for_fnarg_by_where_clause() 62 .any(|ma| ma.matchstr == "clone")); in completes_external_methods_for_fnarg_by_trait_bounds() 118 assert_eq!(get_only_completion(src, None).matchstr, "method"); in completes_impled_bounds_for_fnarg() 135 assert_eq!(get_only_completion(src, None).matchstr, "method"); in completes_impled_bounds_for_self() 156 assert_eq!(get_only_completion(src, None).matchstr, "method"); in completes_impled_bounds_for_self_field() 177 assert_eq!(get_only_completion(src, None).matchstr, "method"); in completes_impled_bounds_for_ref_self_field() 213 assert_eq!(get_only_completion(src, None).matchstr, "foo"); in completes_impl_trait_in_arg_position() 236 assert_eq!(get_only_completion(src, None).matchstr, "foo"); in completes_impl_trait_in_fn_return_position() [all …]
|
H A D | struct_field.rs | 15 assert_eq!(get_only_completion(src, None).matchstr, "name"); in follows_struct_field_in_constructor() 31 assert_eq!(get_only_completion(src, None).matchstr, "name"); in follows_struct_field_for_typedef() 49 assert_eq!(get_only_completion(src, None).matchstr, "name"); in follows_struct_field_for_use_as() 62 assert_eq!(get_only_completion(src, None).matchstr, "name"); in follows_enum_variant_field_in_constructor() 75 assert_eq!(get_only_completion(src, None).matchstr, "name"); in follows_struct_field_in_let() 90 assert_eq!(get_only_completion(src, None).matchstr, "name"); in follows_struct_field_in_if_let() 106 assert_eq!(get_definition(src, None).matchstr, "id"); in finds_struct_field_in_constructor() 117 assert_eq!(get_definition(src, None).matchstr, "println!"); in dont_find_struct_field_in_unsafe() 138 let expected = match completion.matchstr.as_ref() { in struct_field_scalar_primitive_types() 142 _ => panic!("unexpected match from Foo struct ({})", completion.matchstr), in struct_field_scalar_primitive_types()
|
H A D | primitive.rs | 11 assert_eq!(got.matchstr, "i64", "{:?}", got); in finds_def_of_i64() 23 assert_eq!("to_lowercase", got.matchstr); in get_def_of_str_method() 36 assert_eq!(got.matchstr, "to_lowercase"); in completes_liballoc_method_for_str() 49 assert_eq!(got.matchstr, "len"); in completes_libcore_method_for_str() 64 .all(|ma| ma.matchstr == "0" || ma.matchstr == "1")) in completes_tuple_field() 76 assert_eq!(got.matchstr, "is_uppercase"); in completes_methods_for_char() 88 assert_eq!(got.matchstr, "split_mut"); in completes_slice_methods_for_array() 104 assert_eq!(got.matchstr, "split_first_mut"); in completes_methods_for_slice() 117 assert_eq!(got.matchstr, "split_first_mut"); in completes_slice_methods_for_vec()
|
H A D | alias.rs | 23 assert_eq!(get_only_completion(src, None).matchstr, "new"); in completes_static_methods_for_aliased_struct() 45 assert_eq!(get_only_completion(src, None).matchstr, "new"); in completes_names_for_aliased_module() 63 assert_eq!(got.matchstr, "S"); in finds_definition_of_use_as() 82 assert_eq!(got.matchstr, "m"); in finds_definition_of_use_self_as() 104 assert_eq!(got.matchstr, "myfoofn"); in follows_use_as() 130 assert_eq!(got.matchstr, "Wpr"); in follows_use_as_in_braces() 155 assert_eq!(get_only_completion(src, None).matchstr, "method"); in completes_for_type_alias() 170 assert_eq!(got.matchstr, "new"); in follows_use_aliased_self() 182 assert_eq!(get_only_completion(src, None).matchstr, "capacity"); in completes_for_alias_with_resolved_generics() 202 assert_eq!(get_only_completion(src, None).matchstr, "method"); in completes_for_alias_with_type_param()
|
H A D | try.rs | 25 assert_eq!("0", got.matchstr); in try_operator() 53 assert_eq!("bar", got[0].matchstr); in try_operator_struct() 54 assert_eq!("baz", got[1].matchstr); in try_operator_struct() 83 assert_eq!("bar", got[0].matchstr); in let_then_try_with_struct() 84 assert_eq!("baz", got[1].matchstr); in let_then_try_with_struct() 110 assert_eq!("0", got.matchstr); in let_try() 124 assert!(got.into_iter().any(|ma| ma.matchstr == "multicast_loop_v6")); in let_try_socket() 139 assert_eq!(got.matchstr, "as_mut_vec"); in let_try_option() 153 assert_eq!(got.matchstr, "as_mut_vec"); in try_option()
|
H A D | binary.rs | 26 assert!(got.iter().any(|ma| ma.matchstr == "x")); in completes_fields_for_binary_operators() 27 assert!(got.iter().any(|ma| ma.matchstr == "y")); in completes_fields_for_binary_operators() 28 assert!(got.iter().any(|ma| ma.matchstr == "add")); in completes_fields_for_binary_operators() 58 assert!(got.iter().any(|ma| ma.matchstr == "x")); in completes_binary_operators_for_different_types() 59 assert!(got.iter().any(|ma| ma.matchstr == "y")); in completes_binary_operators_for_different_types() 60 assert!(got.iter().any(|ma| ma.matchstr == "sub")); in completes_binary_operators_for_different_types() 105 assert_eq!(got.matchstr, "foo"); in test_operator_precedence_given_to_type_on_left() 134 assert_eq!(got.matchstr, "bar"); in completes_if_operator_trait_is_not_explicit()
|
/dports/devel/racer/racer-2.1.48/cargo-crates/racer-2.1.47/tests/ |
H A D | system.rs | 19 assert_eq!("apple", got.matchstr); in completes_fn() 35 assert_eq!("apple", got.matchstr); in finds_fn_docs() 52 assert_eq!("Apple", got.matchstr); in finds_struct_docs() 73 assert_eq!("hello", got.matchstr); in finds_struct_field_docs() 91 assert_eq!("0", got.matchstr); in finds_tuple_struct_field_docs() 116 assert_eq!("apple", got.matchstr); in completes_fn_with_substitute_file() 130 assert_eq!("apple", got.matchstr); in completes_pub_fn_locally() 574 if m.matchstr == "src1fn" { in follows_multiple_use_globs() 1419 println!("{}", got.matchstr); in differentiates_type_and_value_namespaces() 2068 assert_eq!(wo.matchstr, wi.matchstr); in completes_multiple_use_bracket() [all …]
|
H A D | trait_bounds.rs | 15 assert_eq!(get_only_completion(src, None).matchstr, "method"); in finds_type_parameter_for_fnarg() 30 assert_eq!(get_only_completion(src, None).matchstr, "method"); in completes_methods_for_fnarg_by_trait_bounds() 48 assert_eq!(get_only_completion(src, None).matchstr, "method"); in completes_methods_for_fnarg_by_where_clause() 62 .any(|ma| ma.matchstr == "clone")); in completes_external_methods_for_fnarg_by_trait_bounds() 118 assert_eq!(get_only_completion(src, None).matchstr, "method"); in completes_impled_bounds_for_fnarg() 135 assert_eq!(get_only_completion(src, None).matchstr, "method"); in completes_impled_bounds_for_self() 156 assert_eq!(get_only_completion(src, None).matchstr, "method"); in completes_impled_bounds_for_self_field() 177 assert_eq!(get_only_completion(src, None).matchstr, "method"); in completes_impled_bounds_for_ref_self_field() 213 assert_eq!(get_only_completion(src, None).matchstr, "foo"); in completes_impl_trait_in_arg_position() 236 assert_eq!(get_only_completion(src, None).matchstr, "foo"); in completes_impl_trait_in_fn_return_position() [all …]
|
H A D | struct_field.rs | 15 assert_eq!(get_only_completion(src, None).matchstr, "name"); in follows_struct_field_in_constructor() 31 assert_eq!(get_only_completion(src, None).matchstr, "name"); in follows_struct_field_for_typedef() 49 assert_eq!(get_only_completion(src, None).matchstr, "name"); in follows_struct_field_for_use_as() 62 assert_eq!(get_only_completion(src, None).matchstr, "name"); in follows_enum_variant_field_in_constructor() 75 assert_eq!(get_only_completion(src, None).matchstr, "name"); in follows_struct_field_in_let() 90 assert_eq!(get_only_completion(src, None).matchstr, "name"); in follows_struct_field_in_if_let() 106 assert_eq!(get_definition(src, None).matchstr, "id"); in finds_struct_field_in_constructor() 117 assert_eq!(get_definition(src, None).matchstr, "println!"); in dont_find_struct_field_in_unsafe() 138 let expected = match completion.matchstr.as_ref() { in struct_field_scalar_primitive_types() 142 _ => panic!("unexpected match from Foo struct ({})", completion.matchstr), in struct_field_scalar_primitive_types()
|
H A D | primitive.rs | 11 assert_eq!(got.matchstr, "i64", "{:?}", got); in finds_def_of_i64() 23 assert_eq!("to_lowercase", got.matchstr); in get_def_of_str_method() 36 assert_eq!(got.matchstr, "to_lowercase"); in completes_liballoc_method_for_str() 49 assert_eq!(got.matchstr, "len"); in completes_libcore_method_for_str() 64 .all(|ma| ma.matchstr == "0" || ma.matchstr == "1")) in completes_tuple_field() 76 assert_eq!(got.matchstr, "is_uppercase"); in completes_methods_for_char() 88 assert_eq!(got.matchstr, "split_mut"); in completes_slice_methods_for_array() 104 assert_eq!(got.matchstr, "split_first_mut"); in completes_methods_for_slice() 117 assert_eq!(got.matchstr, "split_first_mut"); in completes_slice_methods_for_vec()
|
H A D | alias.rs | 23 assert_eq!(get_only_completion(src, None).matchstr, "new"); in completes_static_methods_for_aliased_struct() 45 assert_eq!(get_only_completion(src, None).matchstr, "new"); in completes_names_for_aliased_module() 63 assert_eq!(got.matchstr, "S"); in finds_definition_of_use_as() 82 assert_eq!(got.matchstr, "m"); in finds_definition_of_use_self_as() 104 assert_eq!(got.matchstr, "myfoofn"); in follows_use_as() 130 assert_eq!(got.matchstr, "Wpr"); in follows_use_as_in_braces() 155 assert_eq!(get_only_completion(src, None).matchstr, "method"); in completes_for_type_alias() 170 assert_eq!(got.matchstr, "new"); in follows_use_aliased_self() 182 assert_eq!(get_only_completion(src, None).matchstr, "capacity"); in completes_for_alias_with_resolved_generics() 202 assert_eq!(get_only_completion(src, None).matchstr, "method"); in completes_for_alias_with_type_param()
|
H A D | try.rs | 25 assert_eq!("0", got.matchstr); in try_operator() 53 assert_eq!("bar", got[0].matchstr); in try_operator_struct() 54 assert_eq!("baz", got[1].matchstr); in try_operator_struct() 83 assert_eq!("bar", got[0].matchstr); in let_then_try_with_struct() 84 assert_eq!("baz", got[1].matchstr); in let_then_try_with_struct() 110 assert_eq!("0", got.matchstr); in let_try() 124 assert!(got.into_iter().any(|ma| ma.matchstr == "multicast_loop_v6")); in let_try_socket() 139 assert_eq!(got.matchstr, "as_mut_vec"); in let_try_option() 153 assert_eq!(got.matchstr, "as_mut_vec"); in try_option()
|
H A D | binary.rs | 26 assert!(got.iter().any(|ma| ma.matchstr == "x")); in completes_fields_for_binary_operators() 27 assert!(got.iter().any(|ma| ma.matchstr == "y")); in completes_fields_for_binary_operators() 28 assert!(got.iter().any(|ma| ma.matchstr == "add")); in completes_fields_for_binary_operators() 58 assert!(got.iter().any(|ma| ma.matchstr == "x")); in completes_binary_operators_for_different_types() 59 assert!(got.iter().any(|ma| ma.matchstr == "y")); in completes_binary_operators_for_different_types() 60 assert!(got.iter().any(|ma| ma.matchstr == "sub")); in completes_binary_operators_for_different_types() 105 assert_eq!(got.matchstr, "foo"); in test_operator_precedence_given_to_type_on_left() 134 assert_eq!(got.matchstr, "bar"); in completes_if_operator_trait_is_not_explicit()
|
/dports/lang/rust/rustc-1.58.1-src/vendor/racer/tests/ |
H A D | system.rs | 19 assert_eq!("apple", got.matchstr); in completes_fn() 35 assert_eq!("apple", got.matchstr); in finds_fn_docs() 52 assert_eq!("Apple", got.matchstr); in finds_struct_docs() 73 assert_eq!("hello", got.matchstr); in finds_struct_field_docs() 91 assert_eq!("0", got.matchstr); in finds_tuple_struct_field_docs() 116 assert_eq!("apple", got.matchstr); in completes_fn_with_substitute_file() 130 assert_eq!("apple", got.matchstr); in completes_pub_fn_locally() 574 if m.matchstr == "src1fn" { in follows_multiple_use_globs() 1419 println!("{}", got.matchstr); in differentiates_type_and_value_namespaces() 2068 assert_eq!(wo.matchstr, wi.matchstr); in completes_multiple_use_bracket() [all …]
|
H A D | trait_bounds.rs | 15 assert_eq!(get_only_completion(src, None).matchstr, "method"); in finds_type_parameter_for_fnarg() 30 assert_eq!(get_only_completion(src, None).matchstr, "method"); in completes_methods_for_fnarg_by_trait_bounds() 48 assert_eq!(get_only_completion(src, None).matchstr, "method"); in completes_methods_for_fnarg_by_where_clause() 62 .any(|ma| ma.matchstr == "clone")); in completes_external_methods_for_fnarg_by_trait_bounds() 118 assert_eq!(get_only_completion(src, None).matchstr, "method"); in completes_impled_bounds_for_fnarg() 135 assert_eq!(get_only_completion(src, None).matchstr, "method"); in completes_impled_bounds_for_self() 156 assert_eq!(get_only_completion(src, None).matchstr, "method"); in completes_impled_bounds_for_self_field() 177 assert_eq!(get_only_completion(src, None).matchstr, "method"); in completes_impled_bounds_for_ref_self_field() 213 assert_eq!(get_only_completion(src, None).matchstr, "foo"); in completes_impl_trait_in_arg_position() 236 assert_eq!(get_only_completion(src, None).matchstr, "foo"); in completes_impl_trait_in_fn_return_position() [all …]
|
H A D | struct_field.rs | 15 assert_eq!(get_only_completion(src, None).matchstr, "name"); in follows_struct_field_in_constructor() 31 assert_eq!(get_only_completion(src, None).matchstr, "name"); in follows_struct_field_for_typedef() 49 assert_eq!(get_only_completion(src, None).matchstr, "name"); in follows_struct_field_for_use_as() 62 assert_eq!(get_only_completion(src, None).matchstr, "name"); in follows_enum_variant_field_in_constructor() 75 assert_eq!(get_only_completion(src, None).matchstr, "name"); in follows_struct_field_in_let() 90 assert_eq!(get_only_completion(src, None).matchstr, "name"); in follows_struct_field_in_if_let() 106 assert_eq!(get_definition(src, None).matchstr, "id"); in finds_struct_field_in_constructor() 117 assert_eq!(get_definition(src, None).matchstr, "println!"); in dont_find_struct_field_in_unsafe() 138 let expected = match completion.matchstr.as_ref() { in struct_field_scalar_primitive_types() 142 _ => panic!("unexpected match from Foo struct ({})", completion.matchstr), in struct_field_scalar_primitive_types()
|
H A D | primitive.rs | 11 assert_eq!(got.matchstr, "i64", "{:?}", got); in finds_def_of_i64() 23 assert_eq!("to_lowercase", got.matchstr); in get_def_of_str_method() 36 assert_eq!(got.matchstr, "to_lowercase"); in completes_liballoc_method_for_str() 49 assert_eq!(got.matchstr, "len"); in completes_libcore_method_for_str() 64 .all(|ma| ma.matchstr == "0" || ma.matchstr == "1")) in completes_tuple_field() 76 assert_eq!(got.matchstr, "is_uppercase"); in completes_methods_for_char() 88 assert_eq!(got.matchstr, "split_mut"); in completes_slice_methods_for_array() 104 assert_eq!(got.matchstr, "split_first_mut"); in completes_methods_for_slice() 117 assert_eq!(got.matchstr, "split_first_mut"); in completes_slice_methods_for_vec()
|
H A D | alias.rs | 23 assert_eq!(get_only_completion(src, None).matchstr, "new"); in completes_static_methods_for_aliased_struct() 45 assert_eq!(get_only_completion(src, None).matchstr, "new"); in completes_names_for_aliased_module() 63 assert_eq!(got.matchstr, "S"); in finds_definition_of_use_as() 82 assert_eq!(got.matchstr, "m"); in finds_definition_of_use_self_as() 104 assert_eq!(got.matchstr, "myfoofn"); in follows_use_as() 130 assert_eq!(got.matchstr, "Wpr"); in follows_use_as_in_braces() 155 assert_eq!(get_only_completion(src, None).matchstr, "method"); in completes_for_type_alias() 170 assert_eq!(got.matchstr, "new"); in follows_use_aliased_self() 182 assert_eq!(get_only_completion(src, None).matchstr, "capacity"); in completes_for_alias_with_resolved_generics() 202 assert_eq!(get_only_completion(src, None).matchstr, "method"); in completes_for_alias_with_type_param()
|
H A D | try.rs | 25 assert_eq!("0", got.matchstr); in try_operator() 53 assert_eq!("bar", got[0].matchstr); in try_operator_struct() 54 assert_eq!("baz", got[1].matchstr); in try_operator_struct() 83 assert_eq!("bar", got[0].matchstr); in let_then_try_with_struct() 84 assert_eq!("baz", got[1].matchstr); in let_then_try_with_struct() 110 assert_eq!("0", got.matchstr); in let_try() 124 assert!(got.into_iter().any(|ma| ma.matchstr == "multicast_loop_v6")); in let_try_socket() 139 assert_eq!(got.matchstr, "as_mut_vec"); in let_try_option() 153 assert_eq!(got.matchstr, "as_mut_vec"); in try_option()
|
H A D | binary.rs | 26 assert!(got.iter().any(|ma| ma.matchstr == "x")); in completes_fields_for_binary_operators() 27 assert!(got.iter().any(|ma| ma.matchstr == "y")); in completes_fields_for_binary_operators() 28 assert!(got.iter().any(|ma| ma.matchstr == "add")); in completes_fields_for_binary_operators() 58 assert!(got.iter().any(|ma| ma.matchstr == "x")); in completes_binary_operators_for_different_types() 59 assert!(got.iter().any(|ma| ma.matchstr == "y")); in completes_binary_operators_for_different_types() 60 assert!(got.iter().any(|ma| ma.matchstr == "sub")); in completes_binary_operators_for_different_types() 105 assert_eq!(got.matchstr, "foo"); in test_operator_precedence_given_to_type_on_left() 134 assert_eq!(got.matchstr, "bar"); in completes_if_operator_trait_is_not_explicit()
|
/dports/emulators/uae/uae-0.8.29/src/od-amiga/ |
H A D | ami-rexx.c | 240 } else if(matchstr(&line, "SOUND")) { in QUERY() 272 if(matchstr(&line, "ADDRESS") || in FEEDBACK() 273 matchstr(&line, "PORT")) { in FEEDBACK() 275 } else if(matchstr(&line,"COMMAND") || in FEEDBACK() 276 matchstr(&line,"CMD") || in FEEDBACK() 277 matchstr(&line,"CMD_ON")) { in FEEDBACK() 279 } else if(matchstr(&line,"CMD_OFF")) { in FEEDBACK() 290 if(matchstr(&line,"STRING")) { in VERSION() 304 } else if(matchstr(&line,"NUM")) { in VERSION() 306 } else if(matchstr(&line,"AUTHOR")) { in VERSION() [all …]
|
/dports/games/libretro-uae/libretro-uae-8333daa/sources/src/gui-muirexx/ |
H A D | ami-rexx.c | 259 } else if (matchstr (&line, "SOUND")) { in QUERY() 289 if (matchstr (&line, "ADDRESS") || in FEEDBACK() 290 matchstr (&line, "PORT")) { in FEEDBACK() 292 } else if (matchstr (&line,"COMMAND") || in FEEDBACK() 293 matchstr (&line,"CMD") || in FEEDBACK() 294 matchstr (&line,"CMD_ON")) { in FEEDBACK() 296 } else if (matchstr(&line,"CMD_OFF")) { in FEEDBACK() 307 if (matchstr (&line, "STRING")) { in GET_VERSION() 311 } else if (matchstr (&line, "NUM")) { in GET_VERSION() 315 } else if (matchstr (&line, "PORT")) { in GET_VERSION() [all …]
|
/dports/x11/libwacom/libwacom-1.5/tools/ |
H A D | generate-hwdb.c | 57 const char *matchstr = "b0003v056Ap0084"; in print_wireless_kit_quirk() local 70 "\n", matchstr, matchstr, matchstr); in print_wireless_kit_quirk() 78 char matchstr[64]; in print_hwdb_entry() local 93 g_snprintf (matchstr, sizeof(matchstr), in print_hwdb_entry() 106 "\n", matchstr); in print_hwdb_entry() 116 "\n", matchstr, touchtype); in print_hwdb_entry() 122 "\n", matchstr); in print_hwdb_entry()
|
/dports/net/freeswitch/freeswitch-1.10.3.-release/scripts/python/freepy/ |
H A D | request.py | 94 result = matchstr.search(line) 101 result = matchstr.search(line) 107 matchstr = re.compile("Reply-Text", re.I) 108 result = matchstr.search(line) 117 matchstr = re.compile("Job-UUID", re.I) 118 result = matchstr.search(line) 129 result = matchstr.search(line) 135 result = matchstr.search(line) 146 matchstr = re.compile("OK", re.I) 186 matchstr = re.compile("OK", re.I) [all …]
|