Home
last modified time | relevance | path

Searched refs:signal (Results 1 – 25 of 28) sorted by relevance

12

/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/ets/test/
DSignalNdk.test.ets17 import signal from 'libsignalndk.so'
32 let a: number = signal.sighold(0,0);
46 let a: number = signal.sighold(-1, 99999);
60 let a: number = signal.sighold(-1, 0);
74 let a: number = signal.sigrelse(0,0);
88 let a: number = signal.sigrelse(-1, 99999);
102 let a: number = signal.sigrelse(-1, 0);
116 let a: number = signal.sigdelset(0,0);
130 let a: number = signal.sigdelset(-1, 99999);
144 let a: number = signal.sigdelset(-1, 0);
[all …]
DSignalNdk1.test.ets17 import signal from 'libsignalndk1.so'
30 let a: number = signal.__sigtimedwait_time641();
43 let a: number = signal.__sigtimedwait_time642();
/test/xts/acts/kernel_lite/time_posix/src/
DAlarmTest.h32 signal(SIGALRM, SignalHandler); in SetUpTestCase()
36 signal(SIGALRM, SIG_DFL); in TearDownTestCase()
DAlarmTest.cpp222 ASSERT_NE(signal(SIGUSR1, SignalHandler), SIG_ERR) << "ERROR: signal()";
240 signal(SIGUSR1, SIG_DFL);
399 ASSERT_NE(signal(SIGINT, SignalHandler), SIG_ERR) << "ERROR: signal()";
442 signal(SIGINT, SIG_DFL);
/test/xts/acts/kernel_lite/ipc_posix/signal/
DSignalTest.cpp192 signal(SIGURG, SIG_IGN);
200 signal(SIGURG, SignalHandler);
209 signal(SIGURG, SIG_DFL);
243 signal(SIGQUIT, SignalHandler);
274 signal(SIGABRT, SigAbortHandler);
356 signal(SIGTERM, SignalHandler);
357 signal(SIGALRM, SignalHandler);
412 signal(SIGTERM, SignalHandler);
413 signal(SIGALRM, SignalHandler);
445 signal(SIGSEGV, SignalHandler);
[all …]
DSignalTestUtils.cpp159 handler_type rt = signal(signum, SignalHandler); in SendAndRecvTest()
199 handler_type rt = signal(signum, h); in SignalFailTest()
222 signal(sigNo, SignalHandler); in ThreadFunc1()
246 signal(SIGINT, SignalHandler); in ThreadFuncForSigmask1()
/test/xts/tools/lite/reliability/
Dutils.py20 import signal
67 os.killpg(proc.pid, signal.SIGTERM)
69 os.kill(proc.pid, signal.SIGINT)
/test/xts/acts/multimedia/avsource/entry/src/main/cpp/
Daudioencoderxdlndk.cpp118 AEncSignal *signal = static_cast<AEncSignal *>(userData); in OnNeedInputData() local
119 unique_lock<mutex> lock(signal->inMutex_); in OnNeedInputData()
120 signal->inQueue_.push(index); in OnNeedInputData()
121 signal->inBufferQueue_.push(data); in OnNeedInputData()
122 signal->inCond_.notify_all(); in OnNeedInputData()
128 AEncSignal *signal = static_cast<AEncSignal *>(userData); in OnNeedOutputData() local
129 unique_lock<mutex> lock(signal->outMutex_); in OnNeedOutputData()
130 signal->outQueue_.push(index); in OnNeedOutputData()
131 signal->outBufferQueue_.push(data); in OnNeedOutputData()
133 signal->attrQueue_.push(*attr); in OnNeedOutputData()
DaudioEncoderAvBuffer.cpp120 AEncSignal *signal = static_cast<AEncSignal *>(userData); in OnNeedInputBuffer() local
121 unique_lock<mutex> lock(signal->inMutex_); in OnNeedInputBuffer()
122 signal->inQueue_.push(index); in OnNeedInputBuffer()
123 signal->inBufferQueue_.push(buffer); in OnNeedInputBuffer()
124 signal->inCond_.notify_all(); in OnNeedInputBuffer()
129 AEncSignal *signal = static_cast<AEncSignal *>(userData); in OnNewOutputBuffer() local
130 unique_lock<mutex> lock(signal->outMutex_); in OnNewOutputBuffer()
131 signal->outQueue_.push(index); in OnNewOutputBuffer()
132 signal->outBufferQueue_.push(buffer); in OnNewOutputBuffer()
Daudiodecoderxdlndk.cpp113 ADecSignal *signal = static_cast<ADecSignal *>(userData); in onNeedInputData() local
114 pthread_mutex_lock(&signal->inMutex_); in onNeedInputData()
115 signal->inQueue_.push(index); in onNeedInputData()
116 signal->inBufferQueue_.push(data); in onNeedInputData()
117 signal->inCond_.notify_all(); in onNeedInputData()
123 ADecSignal *signal = static_cast<ADecSignal *>(userData); in onNeedOutputData() local
124 pthread_mutex_unlock(&signal->outMutex_); in onNeedOutputData()
125 signal->outQueue_.push(index); in onNeedOutputData()
126 signal->outBufferQueue_.push(data); in onNeedOutputData()
128 signal->attrQueue_.push(*attr); in onNeedOutputData()
[all …]
DaudioDecoderAvBuffer.cpp113 ADecSignal *signal = static_cast<ADecSignal *>(userData); in OnNeedInputBuffer() local
119 signal->inQueue_.push(ret); in OnNeedInputBuffer()
120 signal->inCond_.notify_all(); in OnNeedInputBuffer()
125 ADecSignal *signal = static_cast<ADecSignal *>(userData); in OnNewOutputBuffer() local
128 signal->outQueue_.push(ret); in OnNewOutputBuffer()
129 signal->outCond_.notify_all(); in OnNewOutputBuffer()
/test/testfwk/developer_test/src/core/command/
Dconsole.py21 import signal
93 signal.signal(signal.SIGTSTP, self.handler_ctrl_z) # ctrl+x linux
94 signal.signal(signal.SIGINT, self.handler_ctrl_c) # ctrl+c
/test/testfwk/developer_test/libs/fuzzlib/tools/
Dutils.py18 import signal
/test/xts/dcts/distributedhardware/distributedscreentest/
Ddecoder_demo.h43 explicit VDecDemoCallback(std::shared_ptr<VDecSignal> signal) : signal_(signal) {}; in VDecDemoCallback() argument
/test/xts/acts/kernel_lite/ipc_posix/
DBUILD.gn20 "//test/xts/acts/kernel_lite/ipc_posix/signal:ActsIpcSignalTest",
/test/xts/acts/commonlibrary/toolchain/libc-test/src/
Dtoolchaintest.cpp73 retfunc = signal(SIGCHLD, Handler); in RunTests()
/test/xts/hats/kernel/freelist/modify_pointer/
DMalloc_modify_pointer.cpp141 signal(SIGCHLD, handler);
/test/testfwk/xdevice/src/xdevice/_core/testkit/
Dkit.py26 import signal
293 os.killpg(proc.pid, signal.SIGKILL)
/test/testfwk/xdevice/src/xdevice/_core/
Dutils.py29 import signal
100 signal_value = signal.SIGINT if sys_type == "Windows" \
101 else signal.SIGTERM
216 os.killpg(proc.pid, signal.SIGTERM)
218 os.kill(proc.pid, signal.SIGINT)
/test/xts/hats/kernel/freelist/encode_pointer/
DMalloc_encode_pointer.cpp150 signal(SIGCHLD, handler);
/test/xts/hats/kernel/freelist/safe_unlink/
DMalloc_safe_unlink.cpp160 signal(SIGCHLD, handler);
/test/testfwk/xdevice/src/xdevice/_core/command/
Dconsole.py22 import signal
111 signal.signal(signal.SIGINT, self.handler_terminate_signal)
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
Dfnmatch1ndk.cpp155 signal(SIGALRM, SignalHandler); in SetITimer_time64()
Dtimendk.cpp131 signal(SIGALRM, signalHandler); in Setitimer()
242 signal(SIGUSR1, TimerHandler); in Timer_delete()
296 signal(SIGNUM, handler); in Timer_settime()
/test/xts/acts/arkui/libuv/
DBUILD.gn125 "//third_party/libuv/test/test-signal-multiple-loops.c",
126 "//third_party/libuv/test/test-signal-pending-on-close.c",
127 "//third_party/libuv/test/test-signal.c",

12