HomeSort by relevance Sort by last modified time
    Searched full:signum (Results 101 - 125 of 432) sorted by null

1 2 3 45 6 7 8 91011>>

  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
BigIntegerOperateBitsTest.java 154 assertEquals("incorrect sign", 0, result.signum());
172 assertEquals("incorrect sign", 0, result.signum());
190 assertEquals("incorrect sign", -1, result.signum());
208 assertEquals("incorrect sign", -1, result.signum());
265 assertEquals("incorrect sign", -1, result.signum());
283 assertEquals("incorrect sign", -1, result.signum());
301 assertEquals("incorrect sign", 1, result.signum());
319 assertEquals("incorrect sign", 1, result.signum());
337 assertEquals("incorrect sign", 1, result.signum());
355 assertEquals("incorrect sign", 1, result.signum());
    [all...]
BigIntegerAndTest.java 48 assertEquals("incorrect sign", 0, result.signum());
68 assertEquals("incorrect sign", 0, result.signum());
88 assertEquals("incorrect sign", 0, result.signum());
108 assertEquals("incorrect sign", 0, result.signum());
128 assertEquals("incorrect sign", 0, result.signum());
139 assertEquals("incorrect sign", 0, result.signum());
150 assertEquals("incorrect sign", 1, result.signum());
170 assertEquals("incorrect sign", 1, result.signum());
190 assertEquals("incorrect sign", 1, result.signum());
210 assertEquals("incorrect sign", 1, result.signum());
    [all...]
BigIntegerCompareTest.java 28 * Methods: abs, compareTo, equals, max, min, negate, signum
45 assertEquals("incorrect sign", 1, result.signum());
62 assertEquals("incorrect sign", 1, result.signum());
311 assertTrue("incorrect sign", result.signum() == 1);
332 assertTrue("incorrect sign", result.signum() == 1);
353 assertEquals("incorrect sign", 1, result.signum());
372 assertTrue("incorrect sign", result.signum() == 0);
393 assertEquals("incorrect sign", 1, result.signum());
414 assertEquals("incorrect sign", 1, result.signum());
435 assertTrue("incorrect sign", result.signum() == 1)
    [all...]
BigIntegerOrTest.java 48 assertEquals("incorrect sign", 1, result.signum());
68 assertEquals("incorrect sign", -1, result.signum());
88 assertEquals("incorrect sign", 1, result.signum());
108 assertEquals("incorrect sign", -1, result.signum());
128 assertEquals("incorrect sign", 0, result.signum());
148 assertEquals("incorrect sign", 1, result.signum());
168 assertEquals("incorrect sign", 1, result.signum());
188 assertEquals("incorrect sign", 1, result.signum());
208 assertEquals("incorrect sign", 1, result.signum());
228 assertEquals("incorrect sign", 1, result.signum());
    [all...]
BigIntegerModPowTest.java 78 assertEquals("incorrect sign", 1, result.signum());
101 assertEquals("incorrect sign", 1, result.signum());
178 assertEquals("incorrect sign", 1, result.signum());
198 assertEquals("incorrect sign", 1, result.signum());
218 assertEquals("incorrect sign", 1, result.signum());
236 assertEquals("incorrect sign", 1, result.signum());
256 assertEquals("incorrect sign", 1, result.signum());
276 assertEquals("incorrect sign", 1, result.signum());
294 assertEquals("incorrect sign", 1, result.signum());
309 assertEquals("incorrect sign", 0, result.signum());
    [all...]
  /external/chromium_org/third_party/webrtc/base/
physicalsocketserver_unittest.cc 160 static void RecordSignal(int signum) {
161 signals_received_.push_back(signum);
176 bool ExpectSignal(int signum) {
181 if (signals_received_[0] != signum) {
183 signals_received_[0] << ", expected " << signum; local
physicalsocketserver.cc 634 bool IsSignalSet(int signum) const {
635 ASSERT(signum < ARRAY_SIZE(received_signal_));
636 if (signum < ARRAY_SIZE(received_signal_)) {
637 return received_signal_[signum];
644 void ClearSignal(int signum) {
645 ASSERT(signum < ARRAY_SIZE(received_signal_));
646 if (signum < ARRAY_SIZE(received_signal_)) {
647 received_signal_[signum] = false;
660 void OnPosixSignalReceived(int signum) {
661 if (signum >= ARRAY_SIZE(received_signal_))
    [all...]
physicalsocketserver.h 93 virtual bool SetPosixSignalHandler(int signum, void (*handler)(int));
104 static bool InstallSignal(int signum, void (*handler)(int));
  /external/ltrace/
handle_event.c 66 static char *shortsignal(struct process *proc, int signum);
123 shortsignal(event->proc, event->e_un.signum),
124 event->e_un.signum);
140 shortsignal(event->proc, event->e_un.signum),
141 event->e_un.signum);
337 shortsignal(struct process *proc, int signum)
350 debug(DEBUG_FUNCTION, "shortsignal(pid=%d, signum=%d)", proc->pid, signum);
353 if (signum < 0 || signum >= nsignals[proc->personality])
    [all...]
ltrace.h 51 int signum; /* EVENT_SIGNAL, EVENT_EXIT_SIGNAL */ member in union:Event::__anon10327
  /external/guava/guava/src/com/google/common/math/
MathPreconditions.java 47 if (x.signum() <= 0) {
68 if (checkNotNull(x).signum() < 0) {
  /external/mdnsresponder/mDNSPosix/
mDNSPosix.h 80 extern mStatus mDNSPosixListenForSignalInEventLoop( int signum);
81 extern mStatus mDNSPosixIgnoreSignalInEventLoop( int signum);
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_posix_libcdep.cc 125 static void MaybeInstallSigaction(int signum,
127 if (!IsDeadlySignal(signum))
134 CHECK_EQ(0, internal_sigaction(signum, &sigact, 0));
135 VReport(1, "Installed the sigaction for signal %d\n", signum);
sanitizer_mac.cc 124 int internal_sigaction(int signum, const void *act, void *oldact) {
125 return sigaction(signum,
277 bool IsDeadlySignal(int signum) {
278 return (signum == SIGSEGV || signum == SIGBUS) && common_flags()->handle_segv;
sanitizer_linux.h 44 int internal_sigaction_norestorer(int signum, const void *act, void *oldact);
45 void internal_sigdelset(__sanitizer_sigset_t *set, int signum);
  /external/valgrind/main/coregrind/
pub_core_libcsignal.h 54 extern Int VG_(sigaddset) ( vki_sigset_t* set, Int signum );
55 extern Int VG_(sigdelset) ( vki_sigset_t* set, Int signum );
56 extern Int VG_(sigismember) ( const vki_sigset_t* set, Int signum );
66 extern Int VG_(sigaction) ( Int signum,
  /external/valgrind/main/memcheck/tests/amd64-linux/
int3-amd64.c 11 static void int_handler(int signum, siginfo_t *si, void *uc_arg)
  /external/valgrind/main/memcheck/tests/
badjump2.c 14 void SIGSEGV_handler(int signum)
  /external/valgrind/main/memcheck/tests/x86-linux/
int3-x86.c 11 static void int_handler(int signum, siginfo_t *si, void *uc_arg)
  /bionic/linker/
debugger.cpp 120 static void log_signal_summary(int signum, const siginfo_t* info) {
123 switch (signum) {
180 signum, signal_name, code_desc, addr_desc, gettid(), thread_name);
184 * Returns true if the handler for signal "signum" has SA_SIGINFO set.
186 static bool have_siginfo(int signum) {
194 if (sigaction(signum, &new_action, &old_action) < 0) {
201 if (sigaction(signum, &old_action, nullptr) == -1) {
  /libcore/luni/src/test/resources/
math_java_only.csv 183 signum,-0x1.0p0,-0x1.8ec3beb2d4185p1023
184 signum,-0x1.0p0,-0x1.a49ea827e7d05p1023
185 signum,-0x1.0p0,-0x1.47afe754a89fep1021
186 signum,-0x1.0p0,-0x1.ea33b08c7fbfbp1022
187 signum,0x1.0p0,0x1.40c8f2c416881p1023
188 signum,-0x1.0p0,-0x1.d2762c5e7c22bp1022
189 signum,0x1.0p0,0x1.0c0c8b67b7daep1021
190 signum,-0x1.0p0,-0x1.800e50b80ea85p1023
191 signum,0x1.0p0,0x1.ccf6eeb86909cp1020
192 signum,-0x1.0p0,-0x1.6d6d5ccb7231fp102
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/
LauncherScroller.java 419 if (Math.signum(velocityX) == Math.signum(oldVelocityX) &&
420 Math.signum(velocityY) == Math.signum(oldVelocityY)) {
441 mDistance = (int) (totalDistance * Math.signum(velocity));
556 return !mFinished && Math.signum(xvel) == Math.signum(mFinalX - mStartX) &&
557 Math.signum(yvel) == Math.signum(mFinalY - mStartY);
  /libcore/luni/src/main/java/java/math/
BigInteger.java 86 private int signum; field in class:BigInteger
261 * @param signum sign of the new {@code BigInteger} (-1 for negative, 0 for
269 public BigInteger(int signum, byte[] magnitude) {
273 if (signum < -1 || signum > 1) {
274 throw new NumberFormatException("Invalid signum: " + signum);
276 if (signum == 0) {
279 throw new NumberFormatException("signum-magnitude mismatch");
284 bigInt.putBigEndian(magnitude, signum < 0)
446 public int signum() { method in class:BigInteger
    [all...]
  /frameworks/webview/chromium/tools/
run_webview_cts.py 64 def handler(signum, frame):
66 proc.send_signal(signum)
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
Scroller.java 382 if (Math.signum(velocityX) == Math.signum(oldVelocityX) &&
383 Math.signum(velocityY) == Math.signum(oldVelocityY)) {
504 return !mFinished && Math.signum(xvel) == Math.signum(mFinalX - mStartX) &&
505 Math.signum(yvel) == Math.signum(mFinalY - mStartY);

Completed in 717 milliseconds

1 2 3 45 6 7 8 91011>>