Home
last modified time | relevance | path

Searched refs:isPositive (Results 1 – 20 of 20) sorted by relevance

/external/clang/lib/Basic/
DWarnings.cpp99 bool isPositive = true; in ProcessWarningOptions() local
101 isPositive = false; in ProcessWarningOptions()
108 isPositive ? diag::Severity::Warning : diag::Severity::Ignored; in ProcessWarningOptions()
114 Diags.setSuppressSystemWarnings(!isPositive); in ProcessWarningOptions()
122 if (isPositive) { in ProcessWarningOptions()
148 Diags.setWarningsAsErrors(isPositive); in ProcessWarningOptions()
154 Diags.setDiagnosticGroupWarningAsError(Specifier, isPositive); in ProcessWarningOptions()
176 Diags.setErrorsAsFatal(isPositive); in ProcessWarningOptions()
182 Diags.setDiagnosticGroupErrorAsFatal(Specifier, isPositive); in ProcessWarningOptions()
191 EmitUnknownDiagWarning(Diags, Flavor, isPositive ? "-W" : "-Wno-", in ProcessWarningOptions()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDigitList.java167 public BigInteger getBigInteger(boolean isPositive) {
185 if (!isPositive) {
190 if (!isPositive) {
209 private String getStringRep(boolean isPositive) {
212 if (!isPositive) {
245 public java.math.BigDecimal getBigDecimal(boolean isPositive) {
267 if (!isPositive) {
279 return new java.math.BigDecimal(getStringRep(isPositive));
291 public com.ibm.icu.math.BigDecimal getBigDecimalICU(boolean isPositive) {
313 if (!isPositive) {
[all …]
DTimeZoneFormat.java259 private GMTOffsetPatternType(String defaultPattern, String required, boolean isPositive) { in GMTOffsetPatternType() argument
262 _isPositive = isPositive; in GMTOffsetPatternType()
273 private boolean isPositive() { in isPositive() method in TimeZoneFormat.GMTOffsetPatternType
2328 sign = gmtPatType.isPositive() ? 1 : -1;
2349 tmpSign = gmtPatType.isPositive() ? 1 : -1;
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDigitList.java168 public BigInteger getBigInteger(boolean isPositive) {
186 if (!isPositive) {
191 if (!isPositive) {
210 private String getStringRep(boolean isPositive) {
213 if (!isPositive) {
246 public java.math.BigDecimal getBigDecimal(boolean isPositive) {
268 if (!isPositive) {
280 return new java.math.BigDecimal(getStringRep(isPositive));
292 public android.icu.math.BigDecimal getBigDecimalICU(boolean isPositive) {
314 if (!isPositive) {
[all …]
DTimeZoneFormat.java231 private GMTOffsetPatternType(String defaultPattern, String required, boolean isPositive) { in GMTOffsetPatternType() argument
234 _isPositive = isPositive; in GMTOffsetPatternType()
245 private boolean isPositive() { in isPositive() method in TimeZoneFormat.GMTOffsetPatternType
2258 sign = gmtPatType.isPositive() ? 1 : -1;
2279 tmpSign = gmtPatType.isPositive() ? 1 : -1;
/external/clang/test/Analysis/
Dtest-after-div-zero.c137 int getValue(bool *isPositive);
140 bool isPositive; in foo() local
141 int x = getValue(&isPositive); in foo()
142 if (isPositive) { in foo()
/external/libgdx/tests/gdx-tests-android/assets/data/g3d/shaders/
Dlights.glsl116 vec3 isPositive = step(0.0, normal);
117 return squaredNormal.x * mix(u_ambientCubemap[0], u_ambientCubemap[1], isPositive.x) +
118 squaredNormal.y * mix(u_ambientCubemap[2], u_ambientCubemap[3], isPositive.y) +
119 squaredNormal.z * mix(u_ambientCubemap[4], u_ambientCubemap[5], isPositive.z);
/external/eigen/test/
Dcholesky.cpp329 VERIFY(!ldlt.isPositive()); in cholesky_definiteness()
335 VERIFY(!ldlt.isPositive()); in cholesky_definiteness()
341 VERIFY(ldlt.isPositive()); in cholesky_definiteness()
347 VERIFY(ldlt.isPositive()); in cholesky_definiteness()
353 VERIFY(!ldlt.isPositive()); in cholesky_definiteness()
371 VERIFY_RAISES_ASSERT(ldlt.isPositive()) in cholesky_verify_assert()
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/shaders/
Ddefault.vertex.glsl273 vec3 isPositive = step(0.0, normal);
274 ambientLight += squaredNormal.x * mix(u_ambientCubemap[0], u_ambientCubemap[1], isPositive.x) +
275 squaredNormal.y * mix(u_ambientCubemap[2], u_ambientCubemap[3], isPositive.y) +
276 squaredNormal.z * mix(u_ambientCubemap[4], u_ambientCubemap[5], isPositive.z);
/external/icu/icu4c/source/i18n/
Dprecision.cpp141 if (!value.isPositive()) { in handleNonNumeric()
161 if (!value.isPositive()) { in initVisibleDigits()
Ddigitlst.h329 UBool isPositive(void) const { return decNumberIsNegative(fDecNumber) == 0;} in isPositive() function
Ddigitlst.cpp467 if (!isPositive()) { in getDouble()
Ddecimfmt.cpp878 isNegative = !adjustedNum.isPositive(); in _round()
1000 result.setDouble(digits->isPositive() ? inf : -inf); in parse()
1030 if (digits->isZero() && !digits->isPositive() && isParseIntegerOnly()) { in parse()
/external/clang/include/clang/AST/
DCharUnits.h122 bool isPositive() const { return Quantity > 0; } in isPositive() function
/external/eigen/Eigen/src/Cholesky/
DLDLT.h149 inline bool isPositive() const in isPositive() function
158 return isPositive(); in isPositiveDefinite()
/external/eigen/doc/
DTemplateKeyword.dox21 bool isPositive(T x)
/external/clang/lib/CodeGen/
DMicrosoftCXXABI.cpp1310 assert(Adjustment.isPositive()); in adjustThisArgumentForVirtualFunctionCall()
1354 assert(StaticOffset.isPositive()); in adjustThisArgumentForVirtualFunctionCall()
1416 assert(Adjustment.isPositive()); in adjustThisParameterInVirtualFunctionPrologue()
DCGDebugInfo.cpp2895 if (NumPaddingBytes.isPositive()) { in EmitTypeForVarWithBlocksAttr()
/external/clang/lib/AST/
DASTContext.cpp5043 if (sz.isPositive() && type->isIntegralOrEnumerationType()) in getObjCEncodingTypeSize()
5089 assert (sz.isPositive() && "BlockExpr - Incomplete param type"); in getObjCEncodingForBlock()
5133 assert (sz.isPositive() && in getObjCEncodingForFunctionDecl()
5200 assert (sz.isPositive() && in getObjCEncodingForMethodDecl()
/external/icu/icu4c/source/test/intltest/
Dnumfmtst.cpp8561 assertFalse("", d.isPositive()); in Test10727_RoundingZero()
8563 assertFalse("", d.isPositive()); in Test10727_RoundingZero()