Home
last modified time | relevance | path

Searched full:alarm (Results 1 – 25 of 571) sorted by relevance

12345678910>>...23

/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DAlarm.cpp1 //===-- Alarm.cpp ---------------------------------------------------------===//
9 #include "lldb/Host/Alarm.h"
17 Alarm::Alarm(Duration timeout, bool run_callback_on_exit) in Alarm() function in Alarm
22 Alarm::~Alarm() { StopAlarmThread(); } in ~Alarm()
24 Alarm::Handle Alarm::Create(std::function<void()> callback) { in Create()
25 // Gracefully deal with the unlikely event that the alarm thread failed to in Create()
43 // Tell the alarm thread we need to recompute the next alarm. in Create()
51 bool Alarm::Restart(Handle handle) { in Restart()
52 // Gracefully deal with the unlikely event that the alarm thread failed to in Restart()
74 // Tell the alarm thread we need to recompute the next alarm. in Restart()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Host/
H A DAlarm.h1 //===-- Alarm.h -------------------------------------------------*- C++ -*-===//
21 /// \class Alarm abstraction that enables scheduling a callback function after a
22 /// specified timeout. Creating an alarm for a callback returns a Handle that
23 /// can be used to restart or cancel the alarm.
24 class Alarm {
31 Alarm(Duration timeout, bool run_callback_on_exit = false);
32 ~Alarm();
34 /// Create an alarm for the given callback. The alarm will expire and the
38 /// Handle which can be used to restart or cancel the alarm.
41 /// Restart the alarm for the given Handle. The alarm will expire and the
[all …]
/freebsd/lib/libc/gen/
H A Dalarm.332 .Nm alarm
33 .Nd set signal timer alarm
39 .Fn alarm "unsigned int seconds"
47 .Fn alarm
52 If an alarm has already been set with
53 .Fn alarm
55 .Fn alarm
58 .Fn alarm "0"
60 alarm and the signal SIGALRM will not be delivered.
69 .Fn alarm
[all …]
/freebsd/sys/contrib/device-tree/Bindings/rtc/
H A Drtc-fsl-ftm-alarm.txt1 Freescale FlexTimer Module (FTM) Alarm
4 - compatible : Should be "fsl,<chip>-ftm-alarm", the
6 "fsl,ls1012a-ftm-alarm"
7 "fsl,ls1021a-ftm-alarm"
8 "fsl,ls1028a-ftm-alarm"
9 "fsl,ls1043a-ftm-alarm"
10 "fsl,ls1046a-ftm-alarm"
11 "fsl,ls1088a-ftm-alarm"
12 "fsl,ls208xa-ftm-alarm"
13 "fsl,lx2160a-ftm-alarm"
[all …]
H A Dfsl,ls-ftm-alarm.yaml4 $id: http://devicetree.org/schemas/rtc/fsl,ls-ftm-alarm.yaml#
7 title: Freescale FlexTimer Module (FTM) Alarm
15 - fsl,ls1012a-ftm-alarm
16 - fsl,ls1021a-ftm-alarm
17 - fsl,ls1028a-ftm-alarm
18 - fsl,ls1043a-ftm-alarm
19 - fsl,ls1046a-ftm-alarm
20 - fsl,ls1088a-ftm-alarm
21 - fsl,ls208xa-ftm-alarm
22 - fsl,lx2160a-ftm-alarm
[all …]
H A Disil,isl12057.txt1 Intersil ISL12057 I2C RTC/Alarm chip
11 (associated with the alarm supported by the driver) is not connected
13 RTC alarm rings. In order to mark the device has a wakeup source and
29 Example isl12057 node without IRQ#2 pin connected (no alarm support):
68 PMIC, allowing the device to be started based on configured alarm:
H A Dbrcm,brcmstb-waketimer.yaml15 optionally generate RTC alarm interrupts.
31 - description: the ALARM interrupt
34 An ALARM interrupt may be specified to interrupt the CPU when an RTC alarm
/freebsd/contrib/netbsd-tests/lib/libc/gen/
H A Dt_alarm.c55 atf_tc_set_md_var(tc, "descr", "A basic test of alarm(3)"); in ATF_TC_HEAD()
65 (void)alarm(1); in ATF_TC_BODY()
69 atf_tc_fail("alarm(3) failed to deliver signal"); in ATF_TC_BODY()
75 atf_tc_set_md_var(tc, "descr", "Does fork(2) clear a pending alarm?"); in ATF_TC_HEAD()
88 (void)alarm(60); in ATF_TC_BODY()
95 rv = alarm(0); in ATF_TC_BODY()
103 (void)alarm(0); in ATF_TC_BODY()
107 atf_tc_fail("pending alarm was not cleared for child"); in ATF_TC_BODY()
113 atf_tc_set_md_var(tc, "descr", "Test return value from alarm(3)"); in ATF_TC_HEAD()
121 * See that alarm(3) returns the amount in ATF_TC_BODY()
[all …]
H A Dt_sleep.c49 #define ALARM 6 /* SIGALRM after this many seconds */ macro
66 * The ALARM is only set if the current pass's delay is longer, and
67 * only if the ALARM has not already been triggered.
69 * The 'kevent' test needs the ALARM to be set on a different pass
70 * from when the KEVNT_TIMEOUT fires. So set ALARM to fire on the
289 if (tslp.tv_sec > ALARM && sig == 0) in sleeptest()
290 alarm(ALARM); in sleeptest()
332 ATF_REQUIRE_MSG(sig == 1, "Alarm did not fire!"); in sleeptest()
/freebsd/contrib/sendmail/contrib/
H A Detrn.pl131 &alarm("sending 'quit' to $server");
133 alarm(0);
136 alarm(0);
143 alarm(0);
160 &alarm("connect to $server");
164 alarm(0);
168 &alarm("greeting with $server");
170 alarm(0);
175 &alarm("giving up after bad response from $server");
177 alarm(0);
[all …]
/freebsd/sys/contrib/device-tree/src/arm64/qcom/
H A Dx1e80100-pmics.dtsi224 reg-names = "rtc", "alarm";
269 pm8550_temp_alarm: temp-alarm@a00 {
270 compatible = "qcom,spmi-temp-alarm";
307 pm8550ve_2_temp_alarm: temp-alarm@a00 {
308 compatible = "qcom,spmi-temp-alarm";
332 pmc8380_3_temp_alarm: temp-alarm@a00 {
333 compatible = "qcom,spmi-temp-alarm";
356 pmc8380_4_temp_alarm: temp-alarm@a00 {
357 compatible = "qcom,spmi-temp-alarm";
380 pmc8380_5_temp_alarm: temp-alarm@a00 {
[all …]
H A Dpm8550vs.dtsi101 pm8550vs_c_temp_alarm: temp-alarm@a00 {
102 compatible = "qcom,spmi-temp-alarm";
125 pm8550vs_d_temp_alarm: temp-alarm@a00 {
126 compatible = "qcom,spmi-temp-alarm";
149 pm8550vs_e_temp_alarm: temp-alarm@a00 {
150 compatible = "qcom,spmi-temp-alarm";
173 pm8550vs_g_temp_alarm: temp-alarm@a00 {
174 compatible = "qcom,spmi-temp-alarm";
H A Dsa8775p-pmics.dtsi108 pmm8654au_0_temp_alarm: temp-alarm@a00 {
109 compatible = "qcom,spmi-temp-alarm";
165 pmm8654au_1_temp_alarm: temp-alarm@a00 {
166 compatible = "qcom,spmi-temp-alarm";
189 pmm8654au_2_temp_alarm: temp-alarm@a00 {
190 compatible = "qcom,spmi-temp-alarm";
213 pmm8654au_3_temp_alarm: temp-alarm@a00 {
214 compatible = "qcom,spmi-temp-alarm";
H A Dpm8010.dtsi61 pm8010_m_temp_alarm: temp-alarm@2400 {
62 compatible = "qcom,spmi-temp-alarm";
75 pm8010_n_temp_alarm: temp-alarm@2400 {
76 compatible = "qcom,spmi-temp-alarm";
/freebsd/sys/contrib/device-tree/Bindings/thermal/
H A Dqcom-spmi-temp-alarm.txt1 Qualcomm QPNP PMIC Temperature Alarm
3 QPNP temperature alarm peripherals are found inside of Qualcomm PMIC chips
8 - compatible: Should contain "qcom,spmi-temp-alarm".
10 - interrupts: PMIC temperature alarm interrupt.
20 pm8941_temp: thermal-alarm@2400 {
21 compatible = "qcom,spmi-temp-alarm";
H A Dqcom,spmi-temp-alarm.yaml4 $id: http://devicetree.org/schemas/thermal/qcom,spmi-temp-alarm.yaml#
7 title: Qualcomm QPNP PMIC Temperature Alarm
13 QPNP temperature alarm peripherals are found inside of Qualcomm PMIC chips
22 const: qcom,spmi-temp-alarm
57 compatible = "qcom,spmi-temp-alarm";
/freebsd/contrib/ntp/scripts/stats/
H A DREADME.timecodes15 A alarm indicator (format specific)
22 is useful to have a common interpretation of alarm conditions and signal
23 quality. When the alarm indicator it on, the receiver is not operating
25 alarm indicator is off and the quality indicator is on, the receiver has
44 Note: alarm condition is indicated by other than <SP> at A, which
66 Note: alarm condition is indicated by other than <SP> at A, which
83 q = quality/alarm indicator (<SP> = locked, ? = alarm)
85 Note: alarm condition is indicated by ? at A, which occurs during
138 Note: The alarm condition is indicated by other than ? at A, which
/freebsd/contrib/ntp/libntp/
H A Dmachines.c100 /* emulate unix alarm in sleep()
105 void alarm (int seconds)
194 * Setitimer emulation support. Note that we implement this using alarm(),
195 * and since alarm() only delivers one signal, we must re-enable the alarm
197 * before the real handler routine and re-enable the alarm at that time.
214 unsigned long current_msec; /* current alarm() value in effect */
215 unsigned long interval_msec; /* next alarm() value from setitimer */
216 unsigned long value_msec; /* first alarm() value from setitimer */
222 * Undocumented, unsupported function to do alarm() i
106 void alarm (int seconds) alarm() function
[all...]
/freebsd/tests/sys/mqueue/
H A Dmqtest2.c60 alarm(3); in main()
71 alarm(0); in main()
86 alarm(3); in main()
91 alarm(3); in main()
93 alarm(0); in main()
H A Dmqtest3.c65 alarm(3); in main()
79 alarm(0); in main()
95 alarm(3); in main()
108 alarm(3); in main()
110 alarm(0); in main()
H A Dmqtest5.c76 alarm(3); in main()
95 alarm(0); in main()
111 alarm(3); in main()
118 alarm(3); in main()
120 alarm(0); in main()
H A Dmqtest4.c65 alarm(3); in main()
79 alarm(0); in main()
100 alarm(3); in main()
110 alarm(3); in main()
112 alarm(0); in main()
/freebsd/sys/contrib/device-tree/Bindings/hwmon/
H A Dgpio-fan.txt12 - alarm-gpios: This pin going active indicates something is wrong with
19 Note: At least one the "gpios" or "alarm-gpios" properties must be set.
30 alarm-gpios = <&gpio1 15 1>;
39 alarm-gpios = <&gpio2 15 1>;
/freebsd/sys/contrib/ncsw/inc/flib/
H A Dfsl_fman_rtc.h77 @Description FM RTC Alarm Polarity Options.
115 @Description FM RTC timer alarm
147 alarm */
283 * fman_rtc_set_timer_alarm_l() - Set timer alarm low register
285 * @index: The index of alarm to set
292 * fman_rtc_set_timer_alarm() - Set timer alarm
294 * @index: The index of alarm to set
401 * fman_rtc_set_alarm() - Set an alarm
403 * @id: id of alarm
410 * fman_rtc_set_periodic_pulse() - Set an alarm
[all …]
/freebsd/contrib/sendmail/libsm/
H A Dclock.c176 (void) alarm((unsigned) (intvl < 1 ? 1 : intvl));
235 /* nothing left in event queue, no need for an alarm */
243 (void) alarm(0);
266 /* nothing will be left in event queue, no need for an alarm */ in sm_clear_events()
274 (void) alarm(0); in sm_clear_events()
299 ** Called by the alarm clock. This routine runs events as needed.
340 (void) alarm(0);
441 (void) alarm((unsigned) (SmEventQueue->ev_time
444 (void) alarm(3);
459 (void) alarm(0);
[all …]

12345678910>>...23