/external/owasp/sanitizer/src/main/org/owasp/html/ |
D | HtmlEntities.java | 223 .put("quot", Integer.valueOf('"')) 224 .put("amp", Integer.valueOf('&')) 225 .put("lt", Integer.valueOf('<')) 226 .put("gt", Integer.valueOf('>')) 229 .put("apos", Integer.valueOf('\'')) 232 .put("nbsp", Integer.valueOf('\u00a0')) 233 .put("iexcl", Integer.valueOf('\u00a1')) 234 .put("cent", Integer.valueOf('\u00a2')) 235 .put("pound", Integer.valueOf('\u00a3')) 236 .put("curren", Integer.valueOf('\u00a4')) [all …]
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | CacheBuilderGwtTest.java | 71 assertEquals(Integer.valueOf(10), cache.get(0, loader)); in testLoader() 72 assertEquals(Integer.valueOf(1), cache.get(20, loader)); in testLoader() 73 assertEquals(Integer.valueOf(2), cache.get(34, loader)); in testLoader() 76 assertEquals(Integer.valueOf(3), cache.get(0, loader)); in testLoader() 80 assertEquals(Integer.valueOf(4), cache.get(0, loader)); in testLoader() 96 assertEquals(Integer.valueOf(20), cache.getIfPresent(2)); in testSizeConstraint() 97 assertEquals(Integer.valueOf(30), cache.getIfPresent(3)); in testSizeConstraint() 98 assertEquals(Integer.valueOf(40), cache.getIfPresent(4)); in testSizeConstraint() 99 assertEquals(Integer.valueOf(50), cache.getIfPresent(5)); in testSizeConstraint() 102 assertEquals(Integer.valueOf(10), cache.getIfPresent(1)); in testSizeConstraint() [all …]
|
D | CacheRefreshTest.java | 43 assertEquals(Integer.valueOf(i), cache.getUnchecked(i)); in testAutoRefresh() 50 assertEquals(Integer.valueOf(0), cache.getUnchecked(0)); in testAutoRefresh() 51 assertEquals(Integer.valueOf(1), cache.getUnchecked(1)); in testAutoRefresh() 52 assertEquals(Integer.valueOf(2), cache.getUnchecked(2)); in testAutoRefresh() 58 assertEquals(Integer.valueOf(1), cache.getUnchecked(0)); in testAutoRefresh() 60 assertEquals(Integer.valueOf(1), cache.getUnchecked(1)); in testAutoRefresh() 61 assertEquals(Integer.valueOf(2), cache.getUnchecked(2)); in testAutoRefresh() 68 assertEquals(Integer.valueOf(1), cache.getUnchecked(0)); in testAutoRefresh() 69 assertEquals(Integer.valueOf(-1), cache.getUnchecked(1)); in testAutoRefresh() 70 assertEquals(Integer.valueOf(2), cache.getUnchecked(2)); in testAutoRefresh() [all …]
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue103/ |
D | MergingTest.java | 65 assertEquals(Integer.valueOf(1), center.get("x")); in check() 66 assertEquals(Integer.valueOf(2), center.get("y")); in check() 70 assertEquals(Integer.valueOf(0), left.get("x")); in check() 71 assertEquals(Integer.valueOf(2), left.get("y")); in check() 75 assertEquals(Integer.valueOf(10), big.get("r")); in check() 79 assertEquals(Integer.valueOf(1), small.get("r")); in check() 87 assertEquals(Integer.valueOf(1), explicitKeys.get("x")); in check() 88 assertEquals(Integer.valueOf(2), explicitKeys.get("y")); in check() 89 assertEquals(Integer.valueOf(10), explicitKeys.get("r")); in check() 94 assertEquals(Integer.valueOf(1), merge_center.get("x")); in check() [all …]
|
/external/vogar/src/vogar/target/ |
D | PrintStreamDecorator.java | 27 print(String.valueOf(l)); in print() 31 print(String.valueOf(i)); in print() 35 print(String.valueOf(f)); in print() 39 print(String.valueOf(d)); in print() 43 print(String.valueOf(s)); in print() 47 print(String.valueOf(c)); in print() 71 println(String.valueOf(l)); in println() 75 println(String.valueOf(i)); in println() 79 println(String.valueOf(f)); in println() 83 println(String.valueOf(d)); in println() [all …]
|
/external/slf4j/jcl-over-slf4j/src/main/java/org/apache/commons/logging/impl/ |
D | SLF4JLog.java | 104 logger.trace(String.valueOf(message)); in trace() 117 logger.trace(String.valueOf(message), t); in trace() 128 logger.debug(String.valueOf(message)); in debug() 141 logger.debug(String.valueOf(message), t); in debug() 152 logger.info(String.valueOf(message)); in info() 165 logger.info(String.valueOf(message), t); in info() 176 logger.warn(String.valueOf(message)); in warn() 189 logger.warn(String.valueOf(message), t); in warn() 200 logger.error(String.valueOf(message)); in error() 213 logger.error(String.valueOf(message), t); in error() [all …]
|
D | SLF4JLocationAwareLog.java | 107 logger.log(null, FQCN, LocationAwareLogger.TRACE_INT, String.valueOf(message), null, null); in trace() 120 logger.log(null, FQCN, LocationAwareLogger.TRACE_INT, String.valueOf(message), null, t); in trace() 131 logger.log(null, FQCN, LocationAwareLogger.DEBUG_INT, String.valueOf(message), null, null); in debug() 144 logger.log(null, FQCN, LocationAwareLogger.DEBUG_INT, String.valueOf(message), null, t); in debug() 155 logger.log(null, FQCN, LocationAwareLogger.INFO_INT, String.valueOf(message), null, null); in info() 168 logger.log(null, FQCN, LocationAwareLogger.INFO_INT, String.valueOf(message), null, t); in info() 179 logger.log(null, FQCN, LocationAwareLogger.WARN_INT, String.valueOf(message), null, null); in warn() 192 logger.log(null, FQCN, LocationAwareLogger.WARN_INT, String.valueOf(message), null, t); in warn() 203 logger.log(null, FQCN, LocationAwareLogger.ERROR_INT, String.valueOf(message), null, null); in error() 216 logger.log(null, FQCN, LocationAwareLogger.ERROR_INT, String.valueOf(message), null, t); in error() [all …]
|
/external/cldr/tools/java/org/unicode/cldr/util/props/ |
D | ICUPropertyFactory.java | 62 return UTF16.valueOf(UCharacter.getMirror(codePoint)); in _getValue() 64 return UCharacter.foldCase(UTF16.valueOf(codePoint), true); in _getValue() 68 return UCharacter.toLowerCase(Locale.ENGLISH, UTF16.valueOf(codePoint)); in _getValue() 72 return UTF16.valueOf(UCharacter.foldCase(codePoint, true)); in _getValue() 74 return UTF16.valueOf(UCharacter.toLowerCase(codePoint)); in _getValue() 76 return UTF16.valueOf(UCharacter.toTitleCase(codePoint)); in _getValue() 78 return UTF16.valueOf(UCharacter.toUpperCase(codePoint)); in _getValue() 80 return UCharacter.toTitleCase(Locale.ENGLISH, UTF16.valueOf(codePoint), null); in _getValue() 84 return UCharacter.toUpperCase(Locale.ENGLISH, UTF16.valueOf(codePoint)); in _getValue() 90 …return String.valueOf(Normalizer.normalize(codePoint, Normalizer.NFC).equals(UTF16.valueOf(codePoi… in _getValue() [all …]
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/ |
D | Frequency.java | 136 obj = Long.valueOf(((Integer) v).longValue()); in addValue() 141 freqTable.put(obj, Long.valueOf(1)); in addValue() 143 freqTable.put(obj, Long.valueOf(count.longValue() + 1)); in addValue() 159 addValue(Long.valueOf(v)); in addValue() 170 addValue(Long.valueOf(v.longValue())); in addValue() 179 addValue(Long.valueOf(v)); in addValue() 188 addValue(Character.valueOf(v)); in addValue() 268 return getCount(Long.valueOf(v)); in getCount() 278 return getCount(Long.valueOf(v)); in getCount() 288 return getCount(Character.valueOf(v)); in getCount() [all …]
|
/external/crcalc/src/com/hp/creals/ |
D | CR.java | 213 static final BigInteger bigm1 = BigInteger.valueOf(-1); 214 static final BigInteger big2 = BigInteger.valueOf(2); 215 static final BigInteger bigm2 = BigInteger.valueOf(-2); 216 static final BigInteger big3 = BigInteger.valueOf(3); 217 static final BigInteger big6 = BigInteger.valueOf(6); 218 static final BigInteger big8 = BigInteger.valueOf(8); 220 static final BigInteger big750 = BigInteger.valueOf(750); 221 static final BigInteger bigm750 = BigInteger.valueOf(-750); 279 public static CR valueOf(BigInteger n) { in valueOf() method in CR 287 public static CR valueOf(int n) { in valueOf() method in CR [all …]
|
/external/crcalc/tests/src/com/hp/creals/ |
D | CRTest.java | 69 CR zero = CR.valueOf(0); in testCR() 70 CR one = CR.valueOf(1); in testCR() 71 CR two = CR.valueOf(2); in testCR() 86 check_eq(CR.valueOf(4), four, "2 + 2 failed"); in testCR() 87 check_eq(CR.valueOf(3), three, "2 + 1 failed"); in testCR() 93 CR thirteen = CR.valueOf(13); in testCR() 108 BigInteger million = BigInteger.valueOf(1000*1000); in testCR() 109 BigInteger thousand = BigInteger.valueOf(1000); in testCR() 110 CR huge = CR.valueOf(million.multiply(million).multiply(thousand)); in testCR() 135 CR tmp = CR.PI.add(CR.valueOf(-123).exp()); in testCR() [all …]
|
D | SlowCRTest.java | 49 final static CR ZERO = CR.valueOf(0); 50 final static CR ONE = CR.valueOf(1); 51 final static CR TWO = CR.valueOf(2); 52 final static CR BIG = CR.valueOf(200).exp(); 54 final static CR HALF_PI = CR.PI.divide(CR.valueOf(2)); 95 CR v = CR.valueOf(i); in checkTrig() 102 CR.valueOf(1), in checkTrig() 133 checkEq(x.multiply(CR.valueOf(2)).exp(), in checkExpLn() 142 checkEq(x.ln().divide(CR.valueOf(2)), x.sqrt().ln(), in checkExpLn() 146 CR v = CR.valueOf(i); in checkExpLn() [all …]
|
/external/desugar/test/java/com/google/devtools/build/android/desugar/ |
D | DesugarJava8FunctionalTest.java | 249 assertThrows(ClassCastException.class, () -> object.copy(Double.valueOf(1))); in testBridgeAndDefaultMethods() 252 assertThat(object.getNumber()).isEqualTo(Double.valueOf(2.3d)); in testBridgeAndDefaultMethods() 253 assertThat(object.getDouble()).isEqualTo(Double.valueOf(2.3d)); in testBridgeAndDefaultMethods() 258 assertThat(testObject.add(Integer.valueOf(2))).isEqualTo(4); in testBridgeAndDefaultMethods() 262 assertThat(top.add(Integer.valueOf(2))).isEqualTo(4); in testBridgeAndDefaultMethods() 264 assertThrows(ClassCastException.class, () -> top.add(Double.valueOf(1))); in testBridgeAndDefaultMethods() 265 assertThrows(ClassCastException.class, () -> top.add(Long.valueOf(1))); in testBridgeAndDefaultMethods() 269 assertThat(levelOne.add(Integer.valueOf(2))).isEqualTo(4); in testBridgeAndDefaultMethods() 271 assertThrows(ClassCastException.class, () -> top.add(Double.valueOf(1))); in testBridgeAndDefaultMethods() 272 assertThrows(ClassCastException.class, () -> top.add(Long.valueOf(1))); in testBridgeAndDefaultMethods() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | DataDrivenNumberFormatTestData.java | 279 minIntegerDigits = Integer.valueOf(value); in setMinIntegerDigits() 283 maxIntegerDigits = Integer.valueOf(value); in setMaxIntegerDigits() 287 minFractionDigits = Integer.valueOf(value); in setMinFractionDigits() 291 maxFractionDigits = Integer.valueOf(value); in setMaxFractionDigits() 295 minGroupingDigits = Integer.valueOf(value); in setMinGroupingDigits() 303 useSigDigits = Integer.valueOf(value); in setUseSigDigits() 307 minSigDigits = Integer.valueOf(value); in setMinSigDigits() 311 maxSigDigits = Integer.valueOf(value); in setMaxSigDigits() 315 useGrouping = Integer.valueOf(value); in setUseGrouping() 319 multiplier = Integer.valueOf(value); in setMultiplier() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DataDrivenNumberFormatTestData.java | 276 minIntegerDigits = Integer.valueOf(value); in setMinIntegerDigits() 280 maxIntegerDigits = Integer.valueOf(value); in setMaxIntegerDigits() 284 minFractionDigits = Integer.valueOf(value); in setMinFractionDigits() 288 maxFractionDigits = Integer.valueOf(value); in setMaxFractionDigits() 292 minGroupingDigits = Integer.valueOf(value); in setMinGroupingDigits() 300 useSigDigits = Integer.valueOf(value); in setUseSigDigits() 304 minSigDigits = Integer.valueOf(value); in setMinSigDigits() 308 maxSigDigits = Integer.valueOf(value); in setMaxSigDigits() 312 useGrouping = Integer.valueOf(value); in setUseGrouping() 316 multiplier = Integer.valueOf(value); in setMultiplier() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/sec/ |
D | SECNamedCurves.java | 49 BigInteger h = BigInteger.valueOf(1); 75 BigInteger h = BigInteger.valueOf(4); 101 BigInteger h = BigInteger.valueOf(1); 127 BigInteger h = BigInteger.valueOf(4); 150 BigInteger b = BigInteger.valueOf(7); 153 BigInteger h = BigInteger.valueOf(1); 192 BigInteger h = BigInteger.valueOf(1); 218 BigInteger h = BigInteger.valueOf(1); 241 BigInteger b = BigInteger.valueOf(3); 244 BigInteger h = BigInteger.valueOf(1); [all …]
|
/external/guava/guava-gwt/test-super/com/google/common/math/super/com/google/common/math/ |
D | IntMathTest.java | 27 import static java.math.BigInteger.valueOf; 82 assertEquals(BigIntegerMath.log2(valueOf(x), mode), IntMath.log2(x, mode)); in testLog2MatchesBigInteger() 121 new BigDecimal(valueOf(p)).divide(new BigDecimal(valueOf(q)), 0, mode).intValue(); in testDivNonZero() 168 assertEquals(valueOf(x).mod(valueOf(m)).intValue(), IntMath.mod(x, m)); in testMod() 196 assertEquals(valueOf(a).gcd(valueOf(b)), valueOf(IntMath.gcd(a, b))); in testGCD() 238 BigInteger expectedResult = valueOf(a).add(valueOf(b)); in testCheckedAdd() 253 BigInteger expectedResult = valueOf(a).subtract(valueOf(b)); in testCheckedSubtract() 268 BigInteger expectedResult = valueOf(a).multiply(valueOf(b)); in testCheckedMultiply() 283 BigInteger expectedResult = valueOf(b).pow(k); in testCheckedPow() 341 BigInteger bigX = BigInteger.valueOf(x); in computeMeanSafely() [all …]
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/sec/ |
D | SECNamedCurves.java | 53 BigInteger h = BigInteger.valueOf(1); 79 BigInteger h = BigInteger.valueOf(4); 105 BigInteger h = BigInteger.valueOf(1); 131 BigInteger h = BigInteger.valueOf(4); 154 BigInteger b = BigInteger.valueOf(7); 157 BigInteger h = BigInteger.valueOf(1); 196 BigInteger h = BigInteger.valueOf(1); 222 BigInteger h = BigInteger.valueOf(1); 245 BigInteger b = BigInteger.valueOf(3); 248 BigInteger h = BigInteger.valueOf(1); [all …]
|
/external/apache-http/src/org/apache/commons/logging/impl/ |
D | Jdk14Logger.java | 118 log(Level.FINE, String.valueOf(message), null); in debug() 130 log(Level.FINE, String.valueOf(message), exception); in debug() 141 log(Level.SEVERE, String.valueOf(message), null); in error() 153 log(Level.SEVERE, String.valueOf(message), exception); in error() 164 log(Level.SEVERE, String.valueOf(message), null); in fatal() 176 log(Level.SEVERE, String.valueOf(message), exception); in fatal() 198 log(Level.INFO, String.valueOf(message), null); in info() 210 log(Level.INFO, String.valueOf(message), exception); in info() 269 log(Level.FINEST, String.valueOf(message), null); in trace() 281 log(Level.FINEST, String.valueOf(message), exception); in trace() [all …]
|
/external/guava/guava/src/com/google/common/base/ |
D | MoreObjects.java | 195 return addHolder(name, String.valueOf(value)); in add() 205 return addHolder(name, String.valueOf(value)); in add() 215 return addHolder(name, String.valueOf(value)); in add() 225 return addHolder(name, String.valueOf(value)); in add() 235 return addHolder(name, String.valueOf(value)); in add() 245 return addHolder(name, String.valueOf(value)); in add() 271 return addHolder(String.valueOf(value)); in addValue() 283 return addHolder(String.valueOf(value)); in addValue() 295 return addHolder(String.valueOf(value)); in addValue() 307 return addHolder(String.valueOf(value)); in addValue() [all …]
|
D | Objects.java | 240 return addHolder(name, String.valueOf(value)); in add() 250 return addHolder(name, String.valueOf(value)); in add() 260 return addHolder(name, String.valueOf(value)); in add() 270 return addHolder(name, String.valueOf(value)); in add() 280 return addHolder(name, String.valueOf(value)); in add() 290 return addHolder(name, String.valueOf(value)); in add() 312 return addHolder(String.valueOf(value)); in addValue() 324 return addHolder(String.valueOf(value)); in addValue() 336 return addHolder(String.valueOf(value)); in addValue() 348 return addHolder(String.valueOf(value)); in addValue() [all …]
|
/external/guava/guava-tests/test/com/google/common/math/ |
D | LongMathTest.java | 29 import static java.math.BigInteger.valueOf; 80 BigInteger.valueOf(LongMath.halfPowersOf10[i])); in testConstantsHalfPowersOf10() 84 assertTrue(nextBigger.compareTo(BigInteger.valueOf(Long.MAX_VALUE)) > 0); in testConstantsHalfPowersOf10() 143 BigInteger difference = BigInteger.valueOf(x).subtract(BigInteger.valueOf(y)); in testLessThanBranchFree() 168 BigInteger bigX = BigInteger.valueOf(x); in testIsPowerOfTwo() 199 assertEquals(BigIntegerMath.log2(valueOf(x), mode), LongMath.log2(x, mode)); in testLog2MatchesBigInteger() 245 assertEquals(BigIntegerMath.log10(valueOf(x), mode), LongMath.log10(x, mode)); in testLog10MatchesBigInteger() 292 assertEquals(BigIntegerMath.sqrt(valueOf(x), mode), valueOf(LongMath.sqrt(x, mode))); in testSqrtMatchesBigInteger() 317 assertEquals(LongMath.pow(i, exp), valueOf(i) in testPow() 330 new BigDecimal(valueOf(p)).divide(new BigDecimal(valueOf(q)), 0, mode).longValue(); in testDivNonZero() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/ |
D | X962NamedCurves.java | 23 BigInteger h = BigInteger.valueOf(1); 45 BigInteger h = BigInteger.valueOf(1); 67 BigInteger h = BigInteger.valueOf(1); 89 BigInteger h = BigInteger.valueOf(1); 111 BigInteger h = BigInteger.valueOf(1); 133 BigInteger h = BigInteger.valueOf(1); 155 BigInteger h = BigInteger.valueOf(1); 180 BigInteger c2m163v1h = BigInteger.valueOf(2); 203 BigInteger c2m163v2h = BigInteger.valueOf(2); 226 BigInteger c2m163v3h = BigInteger.valueOf(2); [all …]
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/x9/ |
D | X962NamedCurves.java | 25 BigInteger h = BigInteger.valueOf(1); 47 BigInteger h = BigInteger.valueOf(1); 69 BigInteger h = BigInteger.valueOf(1); 91 BigInteger h = BigInteger.valueOf(1); 113 BigInteger h = BigInteger.valueOf(1); 135 BigInteger h = BigInteger.valueOf(1); 157 BigInteger h = BigInteger.valueOf(1); 182 BigInteger c2m163v1h = BigInteger.valueOf(2); 205 BigInteger c2m163v2h = BigInteger.valueOf(2); 228 BigInteger c2m163v3h = BigInteger.valueOf(2); [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | ForwardingConcurrentMapTest.java | 43 assertEquals(Integer.valueOf(1), map.putIfAbsent("foo", 2)); in testPutIfAbsent() 44 assertEquals(Integer.valueOf(1), map.get("foo")); in testPutIfAbsent() 46 assertEquals(Integer.valueOf(3), map.get("bar")); in testPutIfAbsent() 54 assertEquals(Integer.valueOf(1), map.get("foo")); in testRemove() 62 assertEquals(Integer.valueOf(1), map.replace("foo", 2)); in testReplace() 64 assertEquals(Integer.valueOf(2), map.get("foo")); in testReplace() 73 assertEquals(Integer.valueOf(1), map.get("foo")); in testReplaceConditional() 76 assertEquals(Integer.valueOf(4), map.get("foo")); in testReplaceConditional()
|