Home
last modified time | relevance | path

Searched refs:neg (Results 1 – 6 of 6) sorted by relevance

/libcore/luni/src/main/java/java/math/
DNativeBN.java34 public static native void putULongInt(long a, long dw, boolean neg); in putULongInt() argument
42 public static native void BN_bin2bn(byte[] s, int len, boolean neg, long ret); in BN_bin2bn() argument
47 public static native void litEndInts2bn(int[] ints, int len, boolean neg, long ret); in litEndInts2bn() argument
DBigInt.java82 void putULongInt(long val, boolean neg) { in putULongInt() argument
84 NativeBN.putULongInt(this.bignum, val, neg); in putULongInt()
168 void putBigEndian(byte[] a, boolean neg) { in putBigEndian() argument
170 NativeBN.BN_bin2bn(a, a.length, neg, this.bignum); in putBigEndian()
173 void putLittleEndianInts(int[] a, boolean neg) { in putLittleEndianInts() argument
175 NativeBN.litEndInts2bn(a, a.length, neg, this.bignum); in putLittleEndianInts()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLEngineResultTest.java49 int[] neg = { -1, -10, -1000, Integer.MIN_VALUE, in test_ConstructorLjavax_net_ssl_SSLEngineResult_StatusLjavax_net_ssl_SSLEngineResult_HandshakeStatusII() local
63 for (int i = 0; i < neg.length; i++) { in test_ConstructorLjavax_net_ssl_SSLEngineResult_StatusLjavax_net_ssl_SSLEngineResult_HandshakeStatusII()
66 SSLEngineResult.HandshakeStatus.FINISHED, neg[i], 1); in test_ConstructorLjavax_net_ssl_SSLEngineResult_StatusLjavax_net_ssl_SSLEngineResult_HandshakeStatusII()
71 for (int i = 0; i < neg.length; i++) { in test_ConstructorLjavax_net_ssl_SSLEngineResult_StatusLjavax_net_ssl_SSLEngineResult_HandshakeStatusII()
74 SSLEngineResult.HandshakeStatus.FINISHED, 1, neg[i]); in test_ConstructorLjavax_net_ssl_SSLEngineResult_StatusLjavax_net_ssl_SSLEngineResult_HandshakeStatusII()
/libcore/ojluni/src/main/java/java/util/
DFormatter.java3186 boolean neg = value < 0; in print()
3194 leadingSign(sb, neg); in print()
3197 localizedMagnitude(sb, va, f, adjustWidth(width, f, neg), l); in print()
3200 trailingSign(sb, neg); in print()
3238 private StringBuilder leadingSign(StringBuilder sb, boolean neg) {
3239 if (!neg) {
3255 private StringBuilder trailingSign(StringBuilder sb, boolean neg) {
3256 if (neg && f.contains(Flags.PARENTHESES))
3263 boolean neg = value.signum() == -1;
3267 leadingSign(sb, neg);
[all …]
/libcore/ojluni/src/main/java/java/io/
DStreamTokenizer.java581 boolean neg = false; in nextToken()
588 neg = true; in nextToken()
614 nval = neg ? -v : v; in nextToken()
/libcore/luni/src/main/native/
Djava_math_NativeBN.cpp127 static void NativeBN_putULongInt(JNIEnv* env, jclass, jlong a0, jlong java_dw, jboolean neg) { in NativeBN_putULongInt() argument
138 BN_set_negative(a, neg); in NativeBN_putULongInt()
177 static void NativeBN_BN_bin2bn(JNIEnv* env, jclass, jbyteArray arr, int len, jboolean neg, jlong re… in NativeBN_BN_bin2bn() argument
188 BN_set_negative(toBigNum(ret), neg); in NativeBN_BN_bin2bn()
191 static void NativeBN_litEndInts2bn(JNIEnv* env, jclass, jintArray arr, int len, jboolean neg, jlong… in NativeBN_litEndInts2bn() argument
210 BN_set_negative(ret, neg); in NativeBN_litEndInts2bn()