Home
last modified time | relevance | path

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

/third_party/libsnd/src/ALAC/
Dag_enc.c88 int32_t isneg = a >> 31 ; in abs_func() local
89 int32_t xorval = a ^ isneg ; in abs_func()
90 int32_t result = xorval-isneg ; in abs_func()
/third_party/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 …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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 …]
/third_party/openssl/crypto/x509/
Dv3_utl.c198 int isneg, ishex; in s2i_ASN1_INTEGER() local
212 isneg = 1; in s2i_ASN1_INTEGER()
214 isneg = 0; in s2i_ASN1_INTEGER()
235 if (isneg && BN_is_zero(bn)) in s2i_ASN1_INTEGER()
236 isneg = 0; in s2i_ASN1_INTEGER()
244 if (isneg) in s2i_ASN1_INTEGER()
/third_party/libxml2/
Dxmlschemastypes.c1214 int isneg = 0, digcnt = 0; in _xmlSchemaParseGYear() local
1221 isneg = 1; in _xmlSchemaParseGYear()
1245 if (isneg) in _xmlSchemaParseGYear()
1445 int isneg = 0, tmp = 0; in _xmlSchemaParseTimeZone() local
1446 isneg = (*cur == '-'); in _xmlSchemaParseTimeZone()
1469 if (isneg) in _xmlSchemaParseTimeZone()
1802 int isneg = 0; in xmlSchemaValidateDuration() local
1814 isneg = 1; in xmlSchemaValidateDuration()
1939 if (isneg) { in xmlSchemaValidateDuration()
Dxpath.c9988 int isneg = 0; in xmlXPathStringEvalNumber() local
10001 isneg = 1; in xmlXPathStringEvalNumber()
10068 if (isneg) ret = -ret; in xmlXPathStringEvalNumber()
/third_party/python/Modules/_decimal/libmpdec/
Dmpdecimal.c1415 int isneg; in mpd_qget_ssize() local
1423 isneg = mpd_isnegative(a); in mpd_qget_ssize()
1425 return isneg ? -((mpd_ssize_t)u) : (mpd_ssize_t)u; in mpd_qget_ssize()
1427 else if (isneg && u+(MPD_SSIZE_MIN+MPD_SSIZE_MAX) == MPD_SSIZE_MAX) { in mpd_qget_ssize()
1500 int isneg; in _c32_qget_i64() local
1507 isneg = mpd_isnegative(a); in _c32_qget_i64()
1509 return isneg ? -((int64_t)u) : (int64_t)u; in _c32_qget_i64()
1511 else if (isneg && u+(INT64_MIN+INT64_MAX) == INT64_MAX) { in _c32_qget_i64()