Home
last modified time | relevance | path

Searched refs:isneg (Results 1 – 8 of 8) sorted by relevance

/external/syslinux/com32/lua/src/
Dlobject.c98 static int isneg (const char **s) { in isneg() function
124 neg = isneg(&s); /* check signal */ in lua_strx2number()
141 neg1 = isneg(&s); /* signal */ in lua_strx2number()
/external/icu/android_icu4j/src/main/java/android/icu/math/
DBigDecimal.java319 private static final byte isneg = -1; // ind: indicates negative (must be -1) field in BigDecimal
535 ind = isneg; in BigDecimal()
772 ind = isneg; in BigDecimal()
781 ind = isneg; in BigDecimal()
795 ind = isneg;/* negative */// [0 case already handled] in BigDecimal()
846 ind = isneg;/* negative */ in BigDecimal()
951 if (this.ind == isneg) in abs()
1112 … if (((lhs.ind == isneg) ? 1 : 0) == ((rhs.ind == isneg) ? 1 : 0)) // same sign, 0 non-negative in add()
1738 if (rhs.ind == isneg) in pow()
2398 if (ind == isneg) // really was negative in intValueExact()
[all …]
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/math/
DBigDecimal.java328 private static final byte isneg = -1; // ind: indicates negative (must be -1) field in BigDecimal
549 ind = isneg; in BigDecimal()
788 ind = isneg; in BigDecimal()
797 ind = isneg; in BigDecimal()
811 ind = isneg;/* negative */// [0 case already handled] in BigDecimal()
863 ind = isneg;/* negative */ in BigDecimal()
971 if (this.ind == isneg) in abs()
1134 … if (((lhs.ind == isneg) ? 1 : 0) == ((rhs.ind == isneg) ? 1 : 0)) // same sign, 0 non-negative in add()
1779 if (rhs.ind == isneg) in pow()
2447 if (ind == isneg) // really was negative in intValueExact()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/math/
DBigDecimal.java330 private static final byte isneg = -1; // ind: indicates negative (must be -1) field in BigDecimal
551 ind = isneg; in BigDecimal()
790 ind = isneg; in BigDecimal()
799 ind = isneg; in BigDecimal()
813 ind = isneg;/* negative */// [0 case already handled] in BigDecimal()
865 ind = isneg;/* negative */ in BigDecimal()
973 if (this.ind == isneg) in abs()
1136 … if (((lhs.ind == isneg) ? 1 : 0) == ((rhs.ind == isneg) ? 1 : 0)) // same sign, 0 non-negative in add()
1782 if (rhs.ind == isneg) in pow()
2455 if (ind == isneg) // really was negative in intValueExact()
[all …]
/external/boringssl/src/crypto/x509v3/
Dv3_utl.c227 int isneg, ishex; in s2i_ASN1_INTEGER() local
236 isneg = 1; in s2i_ASN1_INTEGER()
238 isneg = 0; in s2i_ASN1_INTEGER()
257 if (isneg && BN_is_zero(bn)) in s2i_ASN1_INTEGER()
258 isneg = 0; in s2i_ASN1_INTEGER()
266 if (isneg) in s2i_ASN1_INTEGER()
/external/libxml2/
Dxmlschemastypes.c1211 int isneg = 0, digcnt = 0; in _xmlSchemaParseGYear() local
1218 isneg = 1; in _xmlSchemaParseGYear()
1235 if (isneg) in _xmlSchemaParseGYear()
1435 int isneg = 0, tmp = 0; in _xmlSchemaParseTimeZone() local
1436 isneg = (*cur == '-'); in _xmlSchemaParseTimeZone()
1459 if (isneg) in _xmlSchemaParseTimeZone()
1792 int isneg = 0; in xmlSchemaValidateDuration() local
1806 isneg = 1; in xmlSchemaValidateDuration()
1876 if (isneg) { in xmlSchemaValidateDuration()
Dxpath.c10051 int isneg = 0; in xmlXPathStringEvalNumber() local
10064 isneg = 1; in xmlXPathStringEvalNumber()
10131 if (isneg) ret = -ret; in xmlXPathStringEvalNumber()
/external/python/cpython3/Modules/_decimal/libmpdec/
Dmpdecimal.c1343 int isneg; in mpd_qget_ssize() local
1350 isneg = mpd_isnegative(a); in mpd_qget_ssize()
1352 return isneg ? -((mpd_ssize_t)u) : (mpd_ssize_t)u; in mpd_qget_ssize()
1354 else if (isneg && u+(MPD_SSIZE_MIN+MPD_SSIZE_MAX) == MPD_SSIZE_MAX) { in mpd_qget_ssize()
1427 int isneg; in _c32_qget_i64() local
1434 isneg = mpd_isnegative(a); in _c32_qget_i64()
1436 return isneg ? -((int64_t)u) : (int64_t)u; in _c32_qget_i64()
1438 else if (isneg && u+(INT64_MIN+INT64_MAX) == INT64_MAX) { in _c32_qget_i64()