/third_party/ltp/libs/libltpsigwait/ |
D | sigwait.c | 15 sigset_t sigs; in test_empty_set() local 19 SAFE_SIGEMPTYSET(&sigs); in test_empty_set() 24 TEST(sigwaitinfo(&sigs, &si, NULL)); in test_empty_set() 40 sigset_t sigs; in test_timeout() local 49 SAFE_SIGEMPTYSET(&sigs); in test_timeout() 54 TEST(sigwaitinfo(&sigs, &si, tst_ts_get(&ts))); in test_timeout() 74 sigset_t sigs; in test_unmasked_matching() local 78 SAFE_SIGEMPTYSET(&sigs); in test_unmasked_matching() 79 SAFE_SIGADDSET(&sigs, signo); in test_unmasked_matching() 84 TEST(sigwaitinfo(&sigs, &si, NULL)); in test_unmasked_matching() [all …]
|
/third_party/mindspore/tests/ut/cpp/utils/ |
D | signal_test.cc | 43 explicit A(signals *sigs) : sigs_(sigs) { in A() argument 60 explicit Ca(signals *sigs) : A(sigs) { printf("conn C:%p\n", this); } in Ca() argument 67 explicit B(signals *sigs) : A(sigs) { printf("conn B:%p\n", this); } in B() argument 85 signals sigs; in TEST_F() local 86 A objA(&sigs); in TEST_F() 87 B objB(&sigs); in TEST_F() 88 Ca objC(&sigs); in TEST_F() 90 sigs.signal.connect(&objA, &A::FuncA); in TEST_F() 91 sigs.signal.connect(&objB, &B::FuncA); in TEST_F() 92 sigs.signal.connect(&objC, &Ca::FuncA); in TEST_F() [all …]
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaddset/ |
D | 1-3.c | 23 static const int sigs[] = { variable 42 for (i = 0; i < sizeof(sigs)/sizeof(int); i++) { in main() 43 if (sigaddset(&signalset, sigs[i]) == 0) { in main() 44 if (sigismember(&signalset, sigs[i]) != 1) { in main() 46 printf("Signal %d wasn't added \n", sigs[i]); in main() 50 printf("Failed to add sinal %d\n", sigs[i]); in main()
|
D | 4-1.c | 23 static const int sigs[] = {-1, -10000, INT32_MIN, INT32_MIN + 1}; variable 36 for (i = 0; i < ARRAY_SIZE(sigs); i++) { in main() 37 ret = sigaddset(&signalset, sigs[i]); in main() 42 sigs[i], ret, errno); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigignore/ |
D | 5-1.c | 21 static const int sigs[] = {-1, -10000, INT32_MIN, INT32_MIN + 1}; variable 23 #define NUMSIGNALS (sizeof(sigs) / sizeof(sigs[0])) 30 ret = sigignore(sigs[i]); in main() 35 sigs[i], ret, errno); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sighold/ |
D | 3-1.c | 22 static const int sigs[] = {-1, -10000, INT32_MIN, INT32_MIN + 1}; variable 24 #define NUMSIGNALS (sizeof(sigs) / sizeof(sigs[0])) 31 ret = sighold(sigs[i]); in main() 36 sigs[i], ret, errno); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigrelse/ |
D | 3-1.c | 25 static const int sigs[] = {-1, -10000, INT32_MIN, INT32_MIN + 1}; variable 27 #define NUMSIGNALS (sizeof(sigs) / sizeof(sigs[0])) 34 ret = sigrelse(sigs[i]); in main() 39 sigs[i], ret, errno); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigdelset/ |
D | 4-1.c | 25 static const int sigs[] = {-1, -10000, INT32_MIN, INT32_MIN + 1}; variable 27 #define NUMSIGNALS (sizeof(sigs) / sizeof(sigs[0])) 40 ret = sigdelset(&signalset, sigs[i]); in main() 44 sigs[i], ret, errno); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigismember/ |
D | 5-1.c | 24 static const int sigs[] = {-1, -10000, INT32_MIN, INT32_MIN + 1}; variable 26 #define NUMSIGNALS (sizeof(sigs) / sizeof(sigs[0])) 39 ret = sigismember(&signalset, sigs[i]); in main() 44 sigs[i], ret, errno); in main()
|
/third_party/musl/src/linux/ |
D | signalfd.c | 7 int signalfd(int fd, const sigset_t *sigs, int flags) in signalfd() argument 9 int ret = __syscall(SYS_signalfd4, fd, sigs, _NSIG/8, flags); in signalfd() 12 ret = __syscall(SYS_signalfd, fd, sigs, _NSIG/8); in signalfd()
|
D | epoll.c | 25 int epoll_pwait(int fd, struct epoll_event *ev, int cnt, int to, const sigset_t *sigs) in epoll_pwait() argument 27 int r = __syscall(SYS_epoll_pwait, fd, ev, cnt, to, sigs, _NSIG/8); in epoll_pwait() 29 if (r==-ENOSYS && !sigs) r = __syscall(SYS_epoll_wait, fd, ev, cnt, to); in epoll_pwait()
|
/third_party/ltp/lib/ |
D | tst_safe_macros.c | 210 sigset_t *sigs, int signo) in safe_sigaddset() argument 214 rval = sigaddset(sigs, signo); in safe_sigaddset() 230 sigset_t *sigs, int signo) in safe_sigdelset() argument 234 rval = sigdelset(sigs, signo); in safe_sigdelset() 250 sigset_t *sigs) in safe_sigemptyset() argument 254 rval = sigemptyset(sigs); in safe_sigemptyset() 267 sigset_t *sigs) in safe_sigfillset() argument 271 rval = sigfillset(sigs); in safe_sigfillset()
|
/third_party/toybox/toys/other/ |
D | reboot.c | 28 sigs[] = {SIGTERM, SIGUSR1, SIGUSR2}, idx; in reboot_main() local 34 else toys.exitval = kill(1, sigs[idx]); in reboot_main()
|
/third_party/ltp/include/ |
D | tst_safe_macros.h | 477 sigset_t *sigs, int signo); 478 #define SAFE_SIGADDSET(sigs, signo) \ argument 479 safe_sigaddset(__FILE__, __LINE__, (sigs), (signo)) 482 sigset_t *sigs, int signo); 483 #define SAFE_SIGDELSET(sigs, signo) \ argument 484 safe_sigdelset(__FILE__, __LINE__, (sigs), (signo)) 487 sigset_t *sigs); 488 #define SAFE_SIGEMPTYSET(sigs) \ argument 489 safe_sigemptyset(__FILE__, __LINE__, (sigs)) 492 sigset_t *sigs); [all …]
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/ |
D | 16-1.c | 51 static struct sig_info sigs[] = { variable 90 struct sig_info *s = &sigs[0]; in lookup() 211 struct sig_info *s = &sigs[0]; in main()
|
/third_party/ltp/testcases/kernel/syscalls/signal/ |
D | signal02.c | 70 int sigs[] = { _NSIG + 1, SIGKILL, SIGSTOP }; variable 93 Tret = signal(sigs[i], SIG_IGN); in main()
|
/third_party/nghttp2/src/ |
D | shrpx_signal.cc | 97 int signal_set_handler(void (*handler)(int), Signals &&sigs) { in signal_set_handler() argument 102 for (auto sig : sigs) { in signal_set_handler()
|
/third_party/openssl/test/recipes/ |
D | 70-test_sslsigalgs.t | 424 my $sigs; 427 $sigs = pack "C26", 0x00, 0x18, 435 $sigs = pack "C10", 0x00, 0x08, 439 $sigs = pack "C4", 0x00, 0x02, 443 $message->set_extension(TLSProxy::Message::EXT_SIG_ALGS_CERT, $sigs);
|
D | 70-test_renegotiation.t | 124 my $sigs = pack "C10", 0x00, 0x08, 127 $message->set_extension(TLSProxy::Message::EXT_SIG_ALGS_CERT, $sigs);
|
/third_party/python/Lib/test/ |
D | test_signal.py | 1192 sigs = [] 1203 sigs.append(signum) 1219 while len(sigs) < expected_sigs and time.monotonic() < deadline: 1224 while len(sigs) < expected_sigs and time.monotonic() < deadline: 1229 self.assertEqual(len(sigs), N, "Some signals were lost") 1238 sigs = [] 1241 sigs.append(signum) 1257 while len(sigs) < expected_sigs and time.monotonic() < deadline: 1262 self.assertEqual(len(sigs), N, "Some signals were lost")
|
/third_party/mindspore/mindspore/ops/composite/ |
D | base.py | 457 for sigs, fn in self.entries: 458 if len(sigs) != len(types): 460 if any(not mstype.issubclass_(type_, sig) for sig, type_ in zip(sigs, types)):
|
/third_party/toybox/porting/liteos_a/toys/other/ |
D | reboot.c | 23 sigs[] = {SIGTERM, SIGUSR1, SIGUSR2}, idx; in reboot_main() local
|
/third_party/python/Lib/distutils/ |
D | README | 9 https://www.python.org/sigs/distutils-sig/
|
/third_party/skia/ |
D | go.mod | 64 sigs.k8s.io/structured-merge-diff v0.0.0-20190525122527-15d366b2352e // indirect 65 sigs.k8s.io/structured-merge-diff/v3 v3.0.0 // indirect
|
/third_party/typescript/src/services/ |
D | goToDefinition.ts | 178 const sigs = type.getCallSignatures(); constant 179 if (sigs.length === 1) return checker.getReturnTypeOfSignature(first(sigs));
|