Home
last modified time | relevance | path

Searched refs:signals (Results 1 – 25 of 316) sorted by relevance

12345678910>>...13

/external/tensorflow/tensorflow/python/kernel_tests/signal/
Ddct_ops_test.py45 def _np_dct1(signals, norm=None): argument
50 dct_size = signals.shape[-1]
51 dct = np.zeros_like(signals)
54 dct[..., k] = 2 * np.sum(signals[..., 1:-1] * phi, axis=-1) + (
55 signals[..., 0] + (-1) ** k * signals[..., -1])
59 def _np_dct2(signals, norm=None): argument
62 dct_size = signals.shape[-1]
63 dct = np.zeros_like(signals)
66 dct[..., k] = np.sum(signals * phi, axis=-1)
79 def _np_dct3(signals, norm=None): argument
[all …]
/external/tensorflow/tensorflow/python/tpu/
Dtpu_estimator_signals_test.py105 signals = inputs.signals()
113 result, evaluated_signals = sess.run([features, signals])
119 result, evaluated_signals = sess.run([features, signals])
125 _, evaluated_signals = sess.run([features, signals])
147 signals = inputs.signals()
155 result, evaluated_signals = sess.run([features, signals])
163 result, evaluated_signals = sess.run([features, signals])
171 _, evaluated_signals = sess.run([features, signals])
190 signals = inputs.signals()
199 sess.run([features, labels, signals]))
[all …]
Dtpu_estimator.py820 signals = inputs.signals()
825 features, labels, signals))
838 if signals is None:
843 'signals': signals,
889 signals = inputs.signals()
894 signals['stopping'] = cached_signals['stopping']
896 cached_signals = signals
906 features, labels, signals))
912 if signals:
913 input_partition_dims += [None] * len(signals)
[all …]
/external/libchrome/mojo/core/
Dquota_unittest.cc150 MojoHandleSignalsState signals; in TEST_F() local
151 EXPECT_EQ(MOJO_RESULT_OK, MojoQueryHandleSignalsState(b, &signals)); in TEST_F()
152 EXPECT_FALSE(signals.satisfied_signals & MOJO_HANDLE_SIGNAL_QUOTA_EXCEEDED); in TEST_F()
166 EXPECT_EQ(MOJO_RESULT_OK, MojoQueryHandleSignalsState(b, &signals)); in TEST_F()
167 EXPECT_FALSE(signals.satisfied_signals & MOJO_HANDLE_SIGNAL_QUOTA_EXCEEDED); in TEST_F()
173 EXPECT_EQ(MOJO_RESULT_OK, MojoQueryHandleSignalsState(b, &signals)); in TEST_F()
174 EXPECT_TRUE(signals.satisfied_signals & MOJO_HANDLE_SIGNAL_QUOTA_EXCEEDED); in TEST_F()
187 EXPECT_EQ(MOJO_RESULT_OK, MojoQueryHandleSignalsState(b, &signals)); in TEST_F()
188 EXPECT_FALSE(signals.satisfied_signals & MOJO_HANDLE_SIGNAL_QUOTA_EXCEEDED); in TEST_F()
209 MojoHandleSignalsState signals; in TEST_F() local
[all …]
Dhandle_signals_state.h42 bool satisfies_any(MojoHandleSignals signals) const { in satisfies_any()
43 return !!(satisfied_signals & signals); in satisfies_any()
46 bool satisfies_all(MojoHandleSignals signals) const { in satisfies_all()
47 return (satisfied_signals & signals) == signals; in satisfies_all()
50 bool can_satisfy_any(MojoHandleSignals signals) const { in can_satisfy_any()
51 return !!(satisfiable_signals & signals); in can_satisfy_any()
/external/libchrome/mojo/public/cpp/system/
Dhandle_signals_state.h38 bool satisfies_any(MojoHandleSignals signals) const { in satisfies_any()
39 return !!(satisfied_signals & signals); in satisfies_any()
42 bool satisfies_all(MojoHandleSignals signals) const { in satisfies_all()
43 return (satisfied_signals & signals) == signals; in satisfies_all()
46 bool can_satisfy_any(MojoHandleSignals signals) const { in can_satisfy_any()
47 return !!(satisfiable_signals & signals); in can_satisfy_any()
Dwait.h38 MojoHandleSignals signals,
45 MojoHandleSignals signals,
47 return Wait(handle, signals, MOJO_TRIGGER_CONDITION_SIGNALS_SATISFIED,
82 const MojoHandleSignals* signals,
Dwait.cc68 MojoHandleSignals signals, in Wait() argument
81 rv = MojoAddTrigger(trap.get().value(), handle.value(), signals, condition, in Wait()
114 const MojoHandleSignals* signals, in WaitMany() argument
118 if (!handles || !signals) in WaitMany()
135 MojoAddTrigger(trap.get().value(), handles[i].value(), signals[i], in WaitMany()
Dhandle_signal_tracker.cc13 MojoHandleSignals signals) in HandleSignalTracker() argument
21 handle, signals, MOJO_TRIGGER_CONDITION_SIGNALS_SATISFIED, in HandleSignalTracker()
26 handle, signals, MOJO_TRIGGER_CONDITION_SIGNALS_UNSATISFIED, in HandleSignalTracker()
/external/libchrome/mojo/public/cpp/system/tests/
Dwait_unittest.cc66 MojoHandleSignals signals[2] = {MOJO_HANDLE_SIGNAL_NONE, in TEST_F() local
70 WaitMany(invalid_handles, signals, 2, &result_index)); in TEST_F()
72 WaitMany(nullptr, signals, 2, &result_index)); in TEST_F()
189 MojoHandleSignals signals[2] = {MOJO_HANDLE_SIGNAL_READABLE, in TEST_F() local
196 WaitMany(handles, signals, 2, &result_index, c_hss)); in TEST_F()
202 EXPECT_EQ(MOJO_RESULT_OK, WaitMany(handles, signals, 2, &result_index, hss)); in TEST_F()
219 WaitMany(handles, signals, 2, &result_index, hss)); in TEST_F()
222 WaitMany(handles, signals, 1, &result_index, hss)); in TEST_F()
233 MojoHandleSignals signals[3] = {MOJO_HANDLE_SIGNAL_READABLE, in TEST_F() local
247 WaitMany(handles, signals, 3, &result_index)); in TEST_F()
[all …]
/external/mdnsresponder/mDNSPosix/
DPosixDaemon.c140 sigset_t signals; in MainLoop() local
169 (void) mDNSPosixRunEventLoopOnce(m, &timeout, &signals, &gotData); in MainLoop()
171 if (sigismember(&signals, SIGHUP )) Reconfigure(m); in MainLoop()
172 if (sigismember(&signals, SIGUSR1)) DumpStateLog(m); in MainLoop()
174 if (sigismember(&signals, SIGPIPE)) LogMsg("Received SIGPIPE - ignoring"); in MainLoop()
175 if (sigismember(&signals, SIGINT) || sigismember(&signals, SIGTERM)) break; in MainLoop()
/external/ltp/testcases/kernel/io/disktest/
DMakefile.aix139 ….h parse.h childmain.h threading.h globals.h usage.h Getopt.h io.h dump.h timer.h stats.h signals.h
140 ….c parse.c childmain.c threading.c globals.c usage.c Getopt.c io.c dump.c timer.c stats.c signals.c
141 ….o parse.o childmain.o threading.o globals.o usage.o Getopt.o io.o dump.o timer.o stats.o signals.o
161 signals.o: signals.c signals.h $(GBLHDRS)
/external/u-boot/drivers/reset/
Dsandbox-reset.c19 struct sandbox_reset_signal signals[SANDBOX_RESET_SIGNALS]; member
45 sbr->signals[reset_ctl->id].asserted = true; in sandbox_reset_assert()
56 sbr->signals[reset_ctl->id].asserted = false; in sandbox_reset_deassert()
106 return sbr->signals[id].asserted; in sandbox_reset_query()
DKconfig10 controller drivers allow control over these reset signals. In some
28 Say Y if you want to control reset signals provided by system config
42 Enable support for manipulating Tegra's on-SoC reset signals via
49 Enable support for manipulating Tegra's on-SoC reset signals via IPC
64 Say Y if you want to control reset signals provided by System Control
75 is that some reset signals, like I2C or MISC reset multiple devices.
83 though is that some reset signals, like I2C or MISC reset multiple
/external/libchrome/mojo/public/java/system/
Dwatcher_impl.cc34 jint signals) { in Start() argument
42 static_cast<MojoHandleSignals>(signals), ready_callback); in Start()
86 jint signals) { in JNI_WatcherImpl_Start() argument
88 return watcher->Start(env, jcaller, mojo_handle, signals); in JNI_WatcherImpl_Start()
/external/tensorflow/tensorflow/python/ops/signal/
Dspectral_ops.py37 def stft(signals, frame_length, frame_step, fft_length=None, argument
68 with ops.name_scope(name, 'stft', [signals, frame_length,
70 signals = ops.convert_to_tensor(signals, name='signals')
71 signals.shape.with_rank_at_least(1)
83 signals, frame_length, frame_step, pad_end=pad_end)
/external/python/cpython3/Doc/library/
Dsignal.rst45 arbitrary amount of time, regardless of any signals received. The Python
56 even if the signal was received in another thread. This means that signals
98 ':c:func:`signal`' lists the existing signals (on some systems this is
152 indicating that signals are to be blocked.
159 indicating that signals are to be unblocked.
228 thread <signals-and-threads>`. Therefore, the only point of sending a
250 is the set of signals whose delivery is currently blocked for the caller.
251 Return the old signal mask as a set of signals.
255 * :data:`SIG_BLOCK`: The set of blocked signals is the union of the current
257 * :data:`SIG_UNBLOCK`: The signals in *mask* are removed from the current
[all …]
/external/python/cpython3/Lib/test/libregrtest/
Dsetup.py30 signals = []
32 signals.append(signal.SIGALRM)
34 signals.append(signal.SIGUSR1)
35 for signum in signals:
/external/wpa_supplicant_8/src/utils/
Deloop_win.c58 struct eloop_signal *signals; member
429 if (eloop.signals[i].sig == sig) {
430 eloop.signals[i].signaled++;
451 if (eloop.signals[i].signaled) { in eloop_process_pending_signals()
452 eloop.signals[i].signaled = 0; in eloop_process_pending_signals()
453 eloop.signals[i].handler(eloop.signals[i].sig, in eloop_process_pending_signals()
454 eloop.signals[i].user_data); in eloop_process_pending_signals()
471 tmp = os_realloc_array(eloop.signals, eloop.signal_count + 1, in eloop_register_signal()
481 eloop.signals = tmp; in eloop_register_signal()
659 os_free(eloop.signals); in eloop_destroy()
/external/mtpd/
Dmtpd.c60 static int signals[2]; variable
64 write(signals[1], &signal, sizeof(int)); in interrupt()
176 if (pipe(signals) == -1) { in main()
180 fcntl(signals[0], F_SETFD, FD_CLOEXEC); in main()
181 fcntl(signals[1], F_SETFD, FD_CLOEXEC); in main()
194 pollfds[1].fd = signals[0]; in main()
226 read(signals[0], &signal, sizeof(int)); in main()
/external/libdrm/etnaviv/
Detnaviv_perfmon.c57 list_addtail(&sig->head, &dom->signals); in etna_perfmon_query_signals()
82 list_inithead(&dom->signals); in etna_perfmon_query_domains()
107 LIST_FOR_EACH_ENTRY_SAFE(sig, next, &dom->signals, head) { in etna_perfmon_free_signals()
178 LIST_FOR_EACH_ENTRY(signal, &dom->signals, head) { in etna_perfmon_get_sig_by_name()
/external/autotest/client/tests/monotonic_time/src/
Dtime_test.c238 sigset_t signals; in run_test() local
244 sigemptyset(&signals); in run_test()
245 sigaddset(&signals, SIGINT); in run_test()
246 sigprocmask(SIG_BLOCK, &signals, NULL); in run_test()
278 while (sigtimedwait(&signals, NULL, timeout) < 0) { in run_test()
/external/bcc/tools/
Dkillsnoop_example.txt4 This traces signals sent via the kill() syscall. For example:
24 Trace signals issued by the kill() syscall
32 ./killsnoop # trace all kill() signals
/external/python/cpython3/Lib/unittest/test/
Dtest_break.py23 unittest.signals._results = weakref.WeakKeyDictionary()
24 unittest.signals._interrupt_handler = None
38 self.assertTrue(unittest.signals._interrupt_handler.called)
42 self.assertNotIn(result, unittest.signals._results)
46 self.assertIn(result, unittest.signals._results)
154 self.assertIn(result, unittest.signals._results)
/external/libevent/
Dsignal.c133 static char signals[1024]; in evsig_cb() local
145 n = recv(fd, signals, sizeof(signals), 0); in evsig_cb()
147 n = read(fd, signals, sizeof(signals)); in evsig_cb()
159 ev_uint8_t sig = signals[i]; in evsig_cb()

12345678910>>...13