HomeSort by relevance Sort by last modified time
    Searched refs:SIGN (Results 1 - 25 of 40) sorted by null

1 2

  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/
MySignature1.java 46 public static int SIGN = Signature.SIGN;
  /external/dropbear/libtommath/mtest/
mpi.c 287 SIGN(mp) = MP_ZPOS;
320 SIGN(mp) = SIGN(from);
376 /* Copy the precision and sign from the original */
378 SIGN(to) = SIGN(from);
470 SIGN(mp) = MP_ZPOS;
517 SIGN(mp) = MP_NEG;
533 Compute the sum b = a + d, for a single digit d. Respects the sign of
546 if(SIGN(b) == MP_ZPOS)
    [all...]
mpi.h 56 #define SIGN(MP) ((MP)->sign)
75 mp_sign sign; /* sign of this quantity */ member in struct:__anon5308
116 /* Sign manipulations */
  /external/apache-http/src/org/apache/commons/codec/binary/
Base64.java 86 * Used to test the sign of a byte.
88 static final int SIGN = -128;
281 ((b1 & SIGN) == 0) ? (byte) (b1 >> 2) : (byte) ((b1) >> 2 ^ 0xc0);
283 ((b2 & SIGN) == 0) ? (byte) (b2 >> 4) : (byte) ((b2) >> 4 ^ 0xf0);
285 ((b3 & SIGN) == 0) ? (byte) (b3 >> 6) : (byte) ((b3) >> 6 ^ 0xfc);
327 ((b1 & SIGN) == 0) ? (byte) (b1 >> 2) : (byte) ((b1) >> 2 ^ 0xc0);
340 ((b1 & SIGN) == 0) ? (byte) (b1 >> 2) : (byte) ((b1) >> 2 ^ 0xc0);
342 ((b2 & SIGN) == 0) ? (byte) (b2 >> 4) : (byte) ((b2) >> 4 ^ 0xf0);
  /frameworks/base/core/java/android/text/method/
DigitsKeyListener.java 34 private static final int SIGN = 1;
64 * plus the minus sign (only at the beginning) and/or decimal point
67 public DigitsKeyListener(boolean sign, boolean decimal) {
68 mSign = sign;
71 int kind = (sign ? SIGN : 0) | (decimal ? DECIMAL : 0);
84 * plus the minus sign (only at the beginning) and/or decimal point
87 public static DigitsKeyListener getInstance(boolean sign, boolean decimal) {
88 int kind = (sign ? SIGN : 0) | (decimal ? DECIMAL : 0)
139 int sign = -1; local
    [all...]
  /external/apache-harmony/security/src/test/impl/java.injected/java/security/
Signature_Impl1Test.java 35 * Class under test for int sign(byte[], int, int)
41 s.sign(b, 0, 5);
49 s.sign(b, 0, 5);
55 s.sign(b, 0, 5);
56 assertEquals("state", Signature.SIGN, s.getState());
57 assertTrue("sign() failed", s.runEngineSign);
Signature_Impl2Test.java 115 s.sign();
123 s.sign();
129 s.sign();
130 assertEquals("Incorrect state", Signature.SIGN, ((MySignature1) s)
132 assertTrue("sign() failed", ((MySignature1) s).runEngineSign);
140 assertEquals("Incorrect state", Signature.SIGN, ((MySignature1) s)
142 assertTrue("sign() failed", ((MySignature1) s).runEngineUpdate1);
167 s.sign(b, 0, 5);
173 s.sign(b, 0, 3);
175 assertTrue("sign() failed", MySignature2.runEngineSign)
    [all...]
  /external/apache-harmony/security/src/test/api/java.injected/java/security/
SignatureTest.java 89 assertEquals("state", Signature.SIGN, s.getState());
100 assertEquals("state", Signature.SIGN, s.getState());
105 * Class under test for byte[] sign()
110 s.sign();
118 s.sign();
124 s.sign();
125 assertEquals("state", Signature.SIGN, s.getState());
126 assertTrue("sign() failed", s.runEngineSign);
203 assertEquals("state", Signature.SIGN, s.getState());
224 assertEquals("state", Signature.SIGN, s.getState())
    [all...]
  /libcore/luni/src/main/java/java/security/
Signature.java 60 protected static final int SIGN = 2;
70 * possible states are {@link #UNINITIALIZED}, {@link #SIGN} or
281 state = SIGN;
299 state = SIGN;
314 public final byte[] sign() throws SignatureException { method in class:Signature
315 if (state != SIGN) {
343 public final int sign(byte[] outbuf, int offset, int len) method in class:Signature
349 if (state != SIGN) {
507 case SIGN:
508 return "SIGN";
    [all...]
  /external/quake/quake/src/QW/scitech/include/
debug.h 231 #ifndef SIGN
232 # define SIGN(a) ((a) > 0 ? 1 : -1)
  /external/quake/quake/src/WinQuake/scitech/INCLUDE/
DEBUG.H 231 #ifndef SIGN
232 # define SIGN(a) ((a) > 0 ? 1 : -1)
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
SignatureTest.java 159 assertEquals("state", MySignature1.SIGN, s.getState());
193 assertEquals("state", MySignature1.SIGN, s.getState());
208 * Class under test for byte[] sign()
213 s.sign();
221 s.sign();
227 s.sign();
228 assertEquals("state", MySignature1.SIGN, s.getState());
229 assertTrue("sign() failed", s.runEngineSign);
233 * Class under test for sign(byte[], offset, len)
239 s.sign(outbuf, 0, outbuf.length)
    [all...]
  /external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
Support_DecimalFormat.java 60 t_FormatWithField(5, format, number, text, NumberFormat.Field.SIGN, 0,
92 t_FormatWithField(18, format, number, text, NumberFormat.Field.SIGN, 0,
116 t_FormatWithField(27, format, number, text, NumberFormat.Field.SIGN, 0,
207 v.add(new FieldContainer(0, 1, NumberFormat.Field.SIGN));
  /libcore/support/src/test/java/tests/support/
Support_DecimalFormat.java 59 t_FormatWithField(5, format, number, text, NumberFormat.Field.SIGN, 0,
91 t_FormatWithField(18, format, number, text, NumberFormat.Field.SIGN, 0,
117 t_FormatWithField(27, format, number, text, NumberFormat.Field.SIGN, 0,
223 v.add(new FieldContainer(4, 5, NumberFormat.Field.SIGN));
  /external/opencv/cvaux/src/
_cvvm.h 63 #define SIGN(x) ( (x)<0 ? -1:((x)>0?1:0 ) )
cvlmeds.cpp 234 fi1 = CV_PI * (1 - SIGN( c1 )) / 2;
235 fi2 = CV_PI * (1 - SIGN( c2 )) / 2;
250 tt = SIGN( ro1 ) * pow( fabs( ro1 ), 0.333333333333 );
257 tt = SIGN( ro2 ) * pow( fabs( ro2 ), 0.333333333333 );
    [all...]
cvscanlines.cpp 1299 int sign[4], i; local
1908 int sign[4], i; local
    [all...]
cvlee.cpp 47 #define SIGN(x) ( x<0 ? -1:( x>0 ? 1:0 ) )
    [all...]
  /external/dropbear/
buffer.c 275 if (SIGN(mp) == MP_NEG) {
  /external/stlport/src/
num_put_float.cpp 216 static inline char* _Stl_ecvtR(double x, int n, int* pt, int* sign, char* buf)
217 { return ecvtbuf(x, n, pt, sign, buf); }
218 static inline char* _Stl_fcvtR(double x, int n, int* pt, int* sign, char* buf)
219 { return fcvtbuf(x, n, pt, sign, buf); }
224 static inline char* _Stl_ecvtR(long double x, int n, int* pt, int* sign, char* buf)
225 { return ecvtbuf(x, n, pt, sign, buf); }
226 static inline char* _Stl_fcvtR(long double x, int n, int* pt, int* sign, char* buf)
227 { return fcvtbuf(x, n, pt, sign, buf); }
231 static inline char* _Stl_ecvtR(double x, int n, int* pt, int* sign, char* buf, size_t bsize)
232 { return ecvt_r(x, n, pt, sign, buf, bsize) == 0 ? buf : 0;
862 int decpt, sign; local
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
OpenSSLSignature.java 154 if (state == SIGN) {
  /ndk/sources/cxx-stl/stlport/src/
num_put_float.cpp 216 static inline char* _Stl_ecvtR(double x, int n, int* pt, int* sign, char* buf)
217 { return ecvtbuf(x, n, pt, sign, buf); }
218 static inline char* _Stl_fcvtR(double x, int n, int* pt, int* sign, char* buf)
219 { return fcvtbuf(x, n, pt, sign, buf); }
224 static inline char* _Stl_ecvtR(long double x, int n, int* pt, int* sign, char* buf)
225 { return ecvtbuf(x, n, pt, sign, buf); }
226 static inline char* _Stl_fcvtR(long double x, int n, int* pt, int* sign, char* buf)
227 { return fcvtbuf(x, n, pt, sign, buf); }
231 static inline char* _Stl_ecvtR(double x, int n, int* pt, int* sign, char* buf, size_t bsize)
232 { return ecvt_r(x, n, pt, sign, buf, bsize) == 0 ? buf : 0;
861 int decpt, sign; local
    [all...]
  /libcore/luni/src/main/java/java/text/
NumberFormat.java 759 * This constant stands for the number sign.
761 public static final Field SIGN = new Field("sign");
779 * This constant stands for the exponent sign symbol.
781 public static final Field EXPONENT_SIGN = new Field("exponent sign");
  /external/icu4c/common/
putil.c 20 * 05/13/97 aliu Restored sign of timezone
156 #define SIGN 0x80000000U
377 return ((highBits & ~SIGN) == 0x70FF0000L) && (lowBits == 0x00000000L);
406 return((highBits & SIGN) && uprv_isInfinite(number));
    [all...]
  /packages/apps/Calculator/
arity-2.1.2.jar 

Completed in 415 milliseconds

1 2