/third_party/musl/porting/liteos_a/user/src/aio/ |
D | lio_listio.c | 9 struct sigevent *sev; member 41 static void notify_signal(struct sigevent *sev) in notify_signal() argument 44 .si_signo = sev->sigev_signo, in notify_signal() 45 .si_value = sev->sigev_value, in notify_signal() 56 struct sigevent *sev = st->sev; in wait_thread() local 59 switch (sev->sigev_notify) { in wait_thread() 61 notify_signal(sev); in wait_thread() 64 sev->sigev_notify_function(sev->sigev_value); in wait_thread() 70 …istio(int mode, struct aiocb *restrict const *restrict cbs, int cnt, struct sigevent *restrict sev) in lio_listio() argument 82 if (mode == LIO_WAIT || (sev && sev->sigev_notify != SIGEV_NONE)) { in lio_listio() [all …]
|
D | aio.c | 160 struct sigevent sev = cb->aio_sigevent; in cleanup() local 189 if (sev.sigev_notify == SIGEV_SIGNAL) { in cleanup() 191 .si_signo = sev.sigev_signo, in cleanup() 192 .si_value = sev.sigev_value, in cleanup() 199 if (sev.sigev_notify == SIGEV_THREAD) { in cleanup() 201 sev.sigev_notify_function(sev.sigev_value); in cleanup()
|
/third_party/musl/src/aio/ |
D | lio_listio.c | 9 struct sigevent *sev; member 41 static void notify_signal(struct sigevent *sev) in notify_signal() argument 44 .si_signo = sev->sigev_signo, in notify_signal() 45 .si_value = sev->sigev_value, in notify_signal() 56 struct sigevent *sev = st->sev; in wait_thread() local 59 switch (sev->sigev_notify) { in wait_thread() 61 notify_signal(sev); in wait_thread() 64 sev->sigev_notify_function(sev->sigev_value); in wait_thread() 70 …istio(int mode, struct aiocb *restrict const *restrict cbs, int cnt, struct sigevent *restrict sev) in lio_listio() argument 81 if (mode == LIO_WAIT || (sev && sev->sigev_notify != SIGEV_NONE)) { in lio_listio() [all …]
|
D | aio.c | 161 struct sigevent sev = cb->aio_sigevent; in cleanup() local 190 if (sev.sigev_notify == SIGEV_SIGNAL) { in cleanup() 192 .si_signo = sev.sigev_signo, in cleanup() 193 .si_value = sev.sigev_value, in cleanup() 200 if (sev.sigev_notify == SIGEV_THREAD) { in cleanup() 204 sev.sigev_notify_function(sev.sigev_value); in cleanup()
|
/third_party/musl/src/mq/ |
D | mq_notify.c | 16 const struct sigevent *sev; member 25 void (*func)(union sigval) = args->sev->sigev_notify_function; in start() 26 union sigval val = args->sev->sigev_value; in start() 37 int mq_notify(mqd_t mqd, const struct sigevent *sev) in mq_notify() argument 40 if (!sev || sev->sigev_notify != SIGEV_THREAD) { in mq_notify() 41 return syscall(SYS_mq_notify, mqd, sev); in mq_notify() 47 struct args args = { .sev = sev }; in mq_notify() 54 if (!sev || sev->sigev_notify != SIGEV_THREAD) in mq_notify() 55 return syscall(SYS_mq_notify, mqd, sev); in mq_notify() 61 if (sev->sigev_notify_attributes) attr = *sev->sigev_notify_attributes; in mq_notify()
|
/third_party/musl/porting/linux/user/src/mq/ |
D | mq_notify.c | 13 const struct sigevent *sev; member 22 void (*func)(union sigval) = args->sev->sigev_notify_function; in start() 23 union sigval val = args->sev->sigev_value; in start() 33 int mq_notify(mqd_t mqd, const struct sigevent *sev) in mq_notify() argument 35 struct args args = { .sev = sev }; in mq_notify() 42 if (!sev || sev->sigev_notify != SIGEV_THREAD) in mq_notify() 43 return syscall(SYS_mq_notify, mqd, sev); in mq_notify() 49 if (sev->sigev_notify_attributes) attr = *sev->sigev_notify_attributes; in mq_notify()
|
/third_party/musl/libc-test/src/functionalext/supplement/time/ |
D | timer_settime.c | 47 struct sigevent sev; in timer_settime_0100() local 50 sev.sigev_notify = SIGEV_SIGNAL; in timer_settime_0100() 51 sev.sigev_signo = SIGNUM; in timer_settime_0100() 52 sev.sigev_value.sival_ptr = &timerid; in timer_settime_0100() 56 int result = timer_create(CLOCK_REALTIME, &sev, &timerid); in timer_settime_0100() 101 struct sigevent sev; in timer_settime64_0100() local 104 sev.sigev_notify = SIGEV_SIGNAL; in timer_settime64_0100() 105 sev.sigev_signo = SIGNUM; in timer_settime64_0100() 106 sev.sigev_value.sival_ptr = &timerid; in timer_settime64_0100() 110 int result = timer_create(CLOCK_REALTIME, &sev, &timerid); in timer_settime64_0100()
|
D | timer_delete.c | 42 struct sigevent sev; in timer_delete_0100() local 45 sev.sigev_notify = SIGEV_SIGNAL; in timer_delete_0100() 46 sev.sigev_signo = SIGUSR1; in timer_delete_0100() 47 sev.sigev_value.sival_ptr = &timerid; in timer_delete_0100() 50 if (timer_create(CLOCK_MONOTONIC, &sev, &timerid) == -1) { in timer_delete_0100()
|
D | timer_getoverrun.c | 45 struct sigevent sev; in timer_getoverrun_0100() local 47 sev.sigev_notify = SIGEV_SIGNAL; in timer_getoverrun_0100() 48 sev.sigev_signo = SIGNUM; in timer_getoverrun_0100() 49 sev.sigev_value.sival_ptr = &timerid; in timer_getoverrun_0100() 53 int result = timer_create(CLOCK_REALTIME, &sev, &timerid); in timer_getoverrun_0100()
|
D | timer_create.c | 39 struct sigevent sev; in timer_create_0100() local 42 sev.sigev_notify = SIGEV_SIGNAL; in timer_create_0100() 43 sev.sigev_signo = SIGNUM; in timer_create_0100() 44 sev.sigev_value.sival_ptr = &timerid; in timer_create_0100() 48 int result = timer_create(CLOCK_REALTIME, &sev, &timerid); in timer_create_0100()
|
D | timer_gettime.c | 47 struct sigevent sev; in timer_gettime_0100() local 51 sev.sigev_notify = SIGEV_SIGNAL; in timer_gettime_0100() 52 sev.sigev_signo = SIGUSR1; in timer_gettime_0100() 53 sev.sigev_value.sival_ptr = &timerid; in timer_gettime_0100() 56 if (timer_create(CLOCK_MONOTONIC, &sev, &timerid) == -1) { in timer_gettime_0100()
|
/third_party/node/deps/npm/node_modules/npm-audit-report/lib/ |
D | colors.js | 7 const severity = (sev, s) => sev.toLowerCase() === 'moderate' ? yellow(s || sev) argument 8 : sev.toLowerCase() === 'high' ? red(s || sev) 9 : sev.toLowerCase() === 'critical' ? magenta(s || sev) 10 : white(s || sev)
|
D | exit-code.js | 13 .some(([sev, count]) => count > 0 && severities.has(sev) && 14 severities.get(sev) >= severities.get(level)) ? 1 : 0
|
/third_party/ltp/testcases/kernel/syscalls/mq_notify/ |
D | mq_notify03.c | 47 struct sigevent sev; in try_null_dereference() local 49 memset(&sev, '\0', sizeof(sev)); in try_null_dereference() 50 sev.sigev_notify = SIGEV_THREAD; in try_null_dereference() 51 sev.sigev_notify_function = try_null_dereference_cb; in try_null_dereference() 57 TST_EXP_PASS(mq_notify(m, &sev)); in try_null_dereference() 64 TST_EXP_PASS(mq_notify(m, &sev)); in try_null_dereference()
|
/third_party/musl/libc-test/src/functionalext/supplement/time/time_gtest/ |
D | timer_test.cpp | 151 struct sigevent sev; variable 154 sev.sigev_notify = SIGEV_SIGNAL; 155 sev.sigev_signo = SIGUSR1; 156 sev.sigev_value.sival_ptr = &timerid; 158 int result = timer_create(CLOCK_REALTIME, &sev, &timerid); 176 sigevent sev; variable 177 memset(&sev, 0, sizeof(sev)); 178 sev.sigev_notify = SIGEV_THREAD; 179 sev.sigev_notify_function = NotifyFunction; 180 EXPECT_EQ(-1, timer_create(invalid, &sev, &timer));
|
/third_party/musl/porting/liteos_a/user/src/mq/ |
D | mq_notify.c | 9 int mq_notify(mqd_t mqd, const struct sigevent *sev) in mq_notify() argument 11 if (!sev || sev->sigev_notify != SIGEV_THREAD) in mq_notify() 12 return syscall(SYS_mq_notify, mqd, sev); in mq_notify()
|
/third_party/ltp/testcases/kernel/syscalls/timer_settime/ |
D | timer_settime03.c | 58 struct sigevent sev; in setup() local 60 memset(&sev, 0, sizeof(struct sigevent)); in setup() 61 sev.sigev_notify = SIGEV_SIGNAL; in setup() 62 sev.sigev_signo = SIGUSR1; in setup() 65 SAFE_TIMER_CREATE(CLOCK_REALTIME, &sev, &timer); in setup()
|
/third_party/rust/crates/nix/test/sys/ |
D | test_aio.rs | 62 let sev = aiocb.sigevent().sigevent(); in test_accessors() localVariable 63 assert_eq!(Signal::SIGUSR2 as i32, sev.sigev_signo); in test_accessors() 64 assert_eq!(99, sev.sigev_value.sival_ptr as i64); in test_accessors() 130 let sev = aiocb.sigevent().sigevent(); in test_accessors() localVariable 131 assert_eq!(Signal::SIGUSR2 as i32, sev.sigev_signo); in test_accessors() 132 assert_eq!(99, sev.sigev_value.sival_ptr as i64); in test_accessors() 257 let sev = aiocb.sigevent().sigevent(); in test_accessors() localVariable 258 assert_eq!(Signal::SIGUSR2 as i32, sev.sigev_signo); in test_accessors() 259 assert_eq!(99, sev.sigev_value.sival_ptr as i64); in test_accessors() 317 let sev = aiocb.sigevent().sigevent(); in test_accessors() localVariable [all …]
|
/third_party/mesa3d/src/gallium/frontends/clover/api/ |
D | event.cpp | 42 auto &sev = obj<soft_event>(d_ev); in clSetUserEventStatus() local 47 if (sev.status() <= 0) in clSetUserEventStatus() 51 sev.abort(status); in clSetUserEventStatus() 53 sev.trigger(); in clSetUserEventStatus() 75 auto sev = create<soft_event>(evs.front().context(), evs, true); in clWaitForEvents() local 78 sev().wait(); in clWaitForEvents()
|
/third_party/musl/src/time/ |
D | timer_create.c | 16 struct sigevent *sev; member 44 void (*notify)(union sigval) = args->sev->sigev_notify_function; in start() 45 union sigval val = args->sev->sigev_value; in start() 103 args.sev = evp; in timer_create()
|
/third_party/musl/porting/linux/user/src/time/ |
D | timer_create.c | 16 struct sigevent *sev; member 44 void (*notify)(union sigval) = args->sev->sigev_notify_function; in start() 45 union sigval val = args->sev->sigev_value; in start() 103 args.sev = evp; in timer_create()
|
/third_party/rust/crates/nix/src/sys/ |
D | aio.rs | 348 fn set_sigev_notify(&mut self, sev: SigevNotify); in set_sigev_notify() 382 fn set_sigev_notify(&mut self, sev: SigevNotify) { 383 self.aiocb.set_sigev_notify(sev) 1198 let sev = SigevNotify::SigevNone; in casting() localVariable 1199 let aiof = AioFsync::new(666, AioFsyncMode::O_SYNC, 0, sev); in casting() 1206 let aior = AioRead::new(666, 0, &mut rbuf, 0, sev); in casting() 1213 let aiow = AioWrite::new(666, 0, &wbuf, 0, sev); in casting() 1223 let sev = SigevNotify::SigevNone; in casting_vectored() localVariable 1227 let aiorv = AioReadv::new(666, 0, &mut rbufs[..], 0, sev); in casting_vectored() 1235 let aiowv = AioWritev::new(666, 0, &wbufs, 0, sev); in casting_vectored()
|
/third_party/musl/porting/linux/user/src/aio/ |
D | aio.c | 160 struct sigevent sev = cb->aio_sigevent; in cleanup() local 189 if (sev.sigev_notify == SIGEV_SIGNAL) { in cleanup() 191 .si_signo = sev.sigev_signo, in cleanup() 192 .si_value = sev.sigev_value, in cleanup() 199 if (sev.sigev_notify == SIGEV_THREAD) { in cleanup() 203 sev.sigev_notify_function(sev.sigev_value); in cleanup()
|
/third_party/mesa3d/src/mesa/main/ |
D | errors.h | 105 #define _mesa_perf_debug(ctx, sev, ...) do { \ argument 111 sev, \
|
/third_party/node/deps/npm/node_modules/npm-audit-report/lib/reporters/ |
D | install.js | 38 const [sev, count] = sevs[0] 39 output.push(`${count} ${c.severity(sev)} severity vulnerabilit${count === 1 ? 'y' : 'ies'}`)
|