Home
last modified time | relevance | path

Searched full:trigger (Results 1 – 25 of 2683) sorted by relevance

12345678910>>...108

/third_party/rust/rust/src/tools/clippy/tests/ui/
Dnew_ret_no_self.rs23 // should not trigger the lint
36 // should not trigger the lint
49 // should trigger the lint
63 // should not trigger the lint
72 // should not trigger lint
81 // should trigger lint
90 // should trigger lint
99 // should not trigger lint
108 // should not trigger lint (it doesn't matter which element in the tuple is Self)
117 // should not trigger lint (tuple can contain multiple Self)
[all …]
Dempty_structs_with_brackets.fixed5 pub struct MyEmptyStruct; // should trigger lint
6 struct MyEmptyTupleStruct; // should trigger lint
8 // should not trigger lint
14 // should not trigger lint
17 // should not trigger lint
21 struct MyTupleStruct(usize, String); // should not trigger lint
22 struct MySingleTupleStruct(usize); // should not trigger lint
23 struct MyUnitLikeStruct; // should not trigger lint
Dempty_structs_with_brackets.rs5 pub struct MyEmptyStruct {} // should trigger lint
6 struct MyEmptyTupleStruct(); // should trigger lint
8 // should not trigger lint
14 // should not trigger lint
17 // should not trigger lint
21 struct MyTupleStruct(usize, String); // should not trigger lint
22 struct MySingleTupleStruct(usize); // should not trigger lint
23 struct MyUnitLikeStruct; // should not trigger lint
Dtrim_split_whitespace.fixed62 let _ = " A B C ".split_whitespace(); // should trigger lint
63 let _ = " A B C ".split_whitespace(); // should trigger lint
64 let _ = " A B C ".split_whitespace(); // should trigger lint
67 let _ = (" A B C ").to_string().split_whitespace(); // should trigger lint
68 let _ = (" A B C ").to_string().split_whitespace(); // should trigger lint
69 let _ = (" A B C ").to_string().split_whitespace(); // should trigger lint
72 let _ = Custom.trim().split_whitespace(); // should not trigger lint
76 let _ = s.split_whitespace(); // should trigger lint
80 let _ = s.trim().split_whitespace(); // should not trigger lint
84 let _ = s.split_whitespace(); // should trigger lint
[all …]
Dtrim_split_whitespace.rs62 let _ = " A B C ".trim().split_whitespace(); // should trigger lint in main()
63 let _ = " A B C ".trim_start().split_whitespace(); // should trigger lint in main()
64 let _ = " A B C ".trim_end().split_whitespace(); // should trigger lint in main()
67 let _ = (" A B C ").to_string().trim().split_whitespace(); // should trigger lint in main()
68 let _ = (" A B C ").to_string().trim_start().split_whitespace(); // should trigger lint in main()
69 let _ = (" A B C ").to_string().trim_end().split_whitespace(); // should trigger lint in main()
72 let _ = Custom.trim().split_whitespace(); // should not trigger lint in main()
76 let _ = s.trim().split_whitespace(); // should trigger lint in main()
80 let _ = s.trim().split_whitespace(); // should not trigger lint in main()
84 let _ = s.trim().split_whitespace(); // should trigger lint in main()
[all …]
Dor_then_unwrap.fixed24 let _ = option.unwrap_or("fallback"); // should trigger lint
27 let _ = result.unwrap_or("fallback"); // should trigger lint
31 let _ = option.map(|v| v).unwrap_or("fallback").to_string().chars(); // should trigger lint
35 let _ = instance.or(Some(SomeStruct {})).unwrap(); // should not trigger lint
39 let _ = instance.or().unwrap(); // should not trigger lint and should not panic
43 let _ = option.or(None).unwrap(); // should not trigger lint
47 let _ = result.or::<&str>(Err("Other Error")).unwrap(); // should not trigger lint
51 let _ = option.or(Some("fallback")).map(|v| v).unwrap(); // should not trigger lint
Dor_then_unwrap.rs24 let _ = option.or(Some("fallback")).unwrap(); // should trigger lint in main()
27 let _ = result.or::<&str>(Ok("fallback")).unwrap(); // should trigger lint in main()
31 …let _ = option.map(|v| v).or(Some("fallback")).unwrap().to_string().chars(); // should trigger lint in main()
35 let _ = instance.or(Some(SomeStruct {})).unwrap(); // should not trigger lint in main()
39 let _ = instance.or().unwrap(); // should not trigger lint and should not panic in main()
43 let _ = option.or(None).unwrap(); // should not trigger lint in main()
47 let _ = result.or::<&str>(Err("Other Error")).unwrap(); // should not trigger lint in main()
51 let _ = option.or(Some("fallback")).map(|v| v).unwrap(); // should not trigger lint in main()
Dseek_to_start_instead_of_rewind.fixed21 // This should NOT trigger clippy warning because
27 // This should NOT trigger clippy warning because
33 // This should NOT trigger clippy warning because
39 // This should NOT trigger clippy warning because
45 // This should NOT trigger clippy warning because
51 // This should trigger clippy warning
56 // This should trigger clippy warning
61 // This should NOT trigger clippy warning because
67 // This should NOT trigger clippy warning because
73 // This should NOT trigger clippy warning because
Dtrim_split_whitespace.stderr4 LL | let _ = " A B C ".trim().split_whitespace(); // should trigger lint
12 LL | let _ = " A B C ".trim_start().split_whitespace(); // should trigger lint
18 LL | let _ = " A B C ".trim_end().split_whitespace(); // should trigger lint
24 LL | let _ = (" A B C ").to_string().trim().split_whitespace(); // should trigger lint
30 LL | let _ = (" A B C ").to_string().trim_start().split_whitespace(); // should trigger lint
36 LL | let _ = (" A B C ").to_string().trim_end().split_whitespace(); // should trigger lint
42 LL | let _ = s.trim().split_whitespace(); // should trigger lint
48 LL | let _ = s.trim().split_whitespace(); // should trigger lint
Dneedless_match.fixed24 // Don't trigger
30 // Mingled, don't trigger
41 // Don't trigger, this is the case for manual_map_option
55 // as ref, don't trigger
68 // Don't trigger
76 // Don't trigger
84 // Don't trigger
92 // Don't trigger
101 // Input type mismatch, don't trigger
109 // Don't trigger
[all …]
Dseek_to_start_instead_of_rewind.rs21 // This should NOT trigger clippy warning because
27 // This should NOT trigger clippy warning because
33 // This should NOT trigger clippy warning because
39 // This should NOT trigger clippy warning because
45 // This should NOT trigger clippy warning because
51 // This should trigger clippy warning
56 // This should trigger clippy warning
61 // This should NOT trigger clippy warning because
67 // This should NOT trigger clippy warning because
73 // This should NOT trigger clippy warning because
Dexplicit_counter_loop.rs78 // should not trigger the lint because variable is used after the loop #473 in test()
86 // should not trigger the lint because the count is conditional #1219 in test()
97 // should not trigger the lint because the count is conditional in test()
107 // should trigger the lint because the count is not conditional in test()
118 // should trigger the lint because the count is not conditional in test()
129 // should not trigger the lint because the count is incremented multiple times in test()
144 // should not trigger the lint because the count is incremented multiple times in test()
154 // should not trigger the lint because the count is incremented multiple times in test()
165 // should not trigger the lint because the count is incremented multiple times in test()
190 // should not trigger the lint because the count is used after the loop in test()
[all …]
Dcase_sensitive_file_extension_comparisons.rs18 // std::string::String and &str should trigger the lint failure with .ext12 in main()
27 // The test struct should not trigger the lint failure with .ext12 in main()
30 // std::string::String and &str should trigger the lint failure with .EXT12 in main()
34 // Should not trigger the lint failure because of the calls to to_lowercase and to_uppercase in main()
38 // The test struct should not trigger the lint failure with .EXT12 in main()
41 // Should not trigger the lint failure with .eXT12 in main()
46 // Should not trigger the lint failure with .EXT123 (too long) in main()
Dwrong_self_convention2.rs13 // don't trigger, e.g. `ToString` from `std` requires `&self`
24 // don't trigger
36 // don't trigger
48 // don't trigger (`s` is not `self`)
60 // don't trigger (`s` is not `self`)
75 // don't trigger
90 // don't trigger
Dcase_sensitive_file_extension_comparisons.fixed20 // std::string::String and &str should trigger the lint failure with .ext12
35 // The test struct should not trigger the lint failure with .ext12
38 // std::string::String and &str should trigger the lint failure with .EXT12
46 // Should not trigger the lint failure because of the calls to to_lowercase and to_uppercase
50 // The test struct should not trigger the lint failure with .EXT12
53 // Should not trigger the lint failure with .eXT12
58 // Should not trigger the lint failure with .EXT123 (too long)
Dmissing_assert_message.rs10 // Should trigger warning
20 // Should trigger warning
28 // Should trigger warning
38 // Should not trigger warning
46 // Should not trigger warning
56 // Should not trigger warning
71 // Should not trigger warning
Dneedless_match.rs38 // Don't trigger in custom_type_match()
44 // Mingled, don't trigger in custom_type_match()
58 // Don't trigger, this is the case for manual_map_option in option_match()
78 // as ref, don't trigger in result_match()
91 // Don't trigger in if_let_option()
99 // Don't trigger in if_let_option()
107 // Don't trigger in if_let_option()
115 // Don't trigger in if_let_option_result()
124 // Input type mismatch, don't trigger in if_let_result()
140 // Don't trigger in if_let_custom_enum()
[all …]
/third_party/grpc/src/python/grpcio_tests/tests/unit/
D_resource_exhausted_test.py51 # Block in a response handler and wait for a trigger
62 def trigger(self): member in _TestTrigger
68 def handle_unary_unary(trigger, request, servicer_context): argument
69 trigger.await_trigger()
73 def handle_unary_stream(trigger, request, servicer_context): argument
74 trigger.await_trigger()
79 def handle_stream_unary(trigger, request_iterator, servicer_context): argument
80 trigger.await_trigger()
87 def handle_stream_stream(trigger, request_iterator, servicer_context): argument
88 trigger.await_trigger()
[all …]
/third_party/iptables/extensions/
Dlibxt_LED.man1 This creates an LED-trigger that can then be attached to system indicator
5 the trigger behavior:
7 \fB\-\-led\-trigger\-id\fP \fIname\fP
8 This is the name given to the LED trigger. The actual name of the trigger
15 leave the LED on permanently once activated. (In this case the trigger will
26 Create an LED trigger for incoming SSH traffic:
27 iptables \-A INPUT \-p tcp \-\-dport 22 \-j LED \-\-led\-trigger\-id ssh
29 Then attach the new trigger to an LED:
30 echo netfilter\-ssh >/sys/class/leds/\fIledname\fP/trigger
/third_party/mesa3d/src/freedreno/common/
Dfreedreno_rd_output.c32 { "trigger", FD_RD_DUMP_TRIGGER },
98 if (FD_RD_DUMP(TRIGGER)) { in fd_rd_output_init()
120 /* Remove the trigger file. The filename is reconstructed here in fd_rd_output_fini()
133 assert(FD_RD_DUMP(TRIGGER)); in fd_rd_output_update_trigger_count()
135 /* Retrieve the trigger file size, only attempt to update the trigger in fd_rd_output_update_trigger_count()
140 mesa_loge("[fd_rd_output] failed to acccess the %s trigger file", in fd_rd_output_update_trigger_count()
151 mesa_loge("[fd_rd_output] failed to read from the %s trigger file", in fd_rd_output_update_trigger_count()
157 /* After reading from it, the trigger file should be reset, which means in fd_rd_output_update_trigger_count()
162 mesa_loge("[fd_rd_output] failed to reset the %s trigger file position", in fd_rd_output_update_trigger_count()
168 mesa_loge("[fd_rd_output] failed to truncate the %s trigger file", in fd_rd_output_update_trigger_count()
[all …]
/third_party/rust/rust/src/tools/clippy/tests/ui/size_of_in_element_count/
Dexpressions.rs14 // Count expression involving multiplication of size_of (Should trigger the lint) in main()
17 // Count expression involving nested multiplications of size_of (Should trigger the lint) in main()
20 // Count expression involving divisions of size_of (Should trigger the lint) in main()
23 // Count expression involving divisions by size_of (Should not trigger the lint) in main()
26 // Count expression involving divisions by multiple size_of (Should not trigger the lint) in main()
29 // Count expression involving recursive divisions by size_of (Should trigger the lint) in main()
32 // No size_of calls (Should not trigger the lint) in main()
35 // Different types for pointee and size_of (Should not trigger the lint) in main()
/third_party/rust/rust/tests/ui/span/
Dissue-26656.rs4 trait Trigger<B> { fn fire(&self, b: &mut B); } in fire() interface
5 impl<B: Button> Trigger<B> for () { impl
13 struct Zook<B> { button: B, trigger: Box<dyn Trigger<B>+'static> } field
17 self.trigger.fire(&mut self.button); in drop()
38 trigger: Box::new(()) }; in main()
/third_party/skia/third_party/externals/opengl-registry/extensions/I3D/
DWGL_I3D_genlock.txt137 The genlock trigger is used to synchronize the start of a frame
138 with a trigger pulse. If field data is being displayed (e.g.
142 The genlock trigger is derived from the genlock source. The
185 to generate the genlock trigger.
199 The genlock trigger is generated by sampling the genlock pulses.
206 <uRate> specifies every nth pulse be used for the genlock trigger.
208 genlock pulse would generate a genlock trigger. The minimum
214 The genlock trigger can be delayed up to an entire frame by
220 <uDelay> specifies the delay (in pixels) that the trigger is
257 the genlock trigger delay with wglGenlockSourceDelayI3D.
/third_party/openGLES/extensions/I3D/
DWGL_I3D_genlock.txt137 The genlock trigger is used to synchronize the start of a frame
138 with a trigger pulse. If field data is being displayed (e.g.
142 The genlock trigger is derived from the genlock source. The
185 to generate the genlock trigger.
199 The genlock trigger is generated by sampling the genlock pulses.
206 <uRate> specifies every nth pulse be used for the genlock trigger.
208 genlock pulse would generate a genlock trigger. The minimum
214 The genlock trigger can be delayed up to an entire frame by
220 <uDelay> specifies the delay (in pixels) that the trigger is
257 the genlock trigger delay with wglGenlockSourceDelayI3D.
/third_party/skia/infra/bots/gen_tasks_logic/
Djob_builder.go40 // trigger dictates when the job should be triggered.
41 func (b *jobBuilder) trigger(trigger string) { func
42 b.Spec.Trigger = trigger
223 b.trigger(specs.TRIGGER_NIGHTLY)
225 b.trigger(specs.TRIGGER_WEEKLY)
227 b.trigger(specs.TRIGGER_MAIN_ONLY)
229 b.trigger(specs.TRIGGER_ON_DEMAND)
231 b.trigger(specs.TRIGGER_ANY_BRANCH)

12345678910>>...108