Home
last modified time | relevance | path

Searched defs:base (Results 1 – 25 of 59) sorted by relevance

123

/libcore/ojluni/src/test/java/time/test/java/time/
DTestOffsetDateTime.java125 …OffsetDateTime base = OffsetDateTime.of(LocalDate.of(2008, 6, 30), LocalTime.of(11, 30, 59), OFFSE… in test_withOffsetSameLocal() local
133 …OffsetDateTime base = OffsetDateTime.of(LocalDate.of(2008, 6, 30), LocalTime.of(11, 30, 59), OFFSE… in test_withOffsetSameLocal_noChange() local
140 …OffsetDateTime base = OffsetDateTime.of(LocalDate.of(2008, 6, 30), LocalTime.of(11, 30, 59), OFFSE… in test_withOffsetSameInstant_noChange() local
147 …OffsetDateTime base = OffsetDateTime.of(LocalDate.of(2008, 6, 30), LocalTime.of(11, 30, 59), OFFSE… in test_withYear_noChange() local
154 …OffsetDateTime base = OffsetDateTime.of(LocalDate.of(2008, 6, 30), LocalTime.of(11, 30, 59), OFFSE… in test_withMonth_noChange() local
161 …OffsetDateTime base = OffsetDateTime.of(LocalDate.of(2008, 6, 30), LocalTime.of(11, 30, 59), OFFSE… in test_withDayOfMonth_noChange() local
174 …OffsetDateTime base = OffsetDateTime.of(LocalDate.of(2008, 6, 30), LocalTime.of(11, 30, 59), OFFSE… in test_withHour_noChange() local
181 …OffsetDateTime base = OffsetDateTime.of(LocalDate.of(2008, 6, 30), LocalTime.of(11, 30, 59), OFFSE… in test_withMinute_noChange() local
188 …OffsetDateTime base = OffsetDateTime.of(LocalDate.of(2008, 6, 30), LocalTime.of(11, 30, 59), OFFSE… in test_withSecond_noChange() local
195 …OffsetDateTime base = OffsetDateTime.of(LocalDate.of(2008, 6, 30), LocalTime.of(11, 30, 59, 1), OF… in test_withNanoOfSecond_noChange() local
[all …]
DTestDuration.java180 Duration base = Duration.ofSeconds(12); in test_abs_same() local
181 assertSame(base.abs(), base); in test_abs_same() local
/libcore/luni/src/test/java/libcore/java/net/
DURITest.java302 URI base = new URI("http://host/file?query/x"); in testRelativePathOnQuery() local
311 URI base = new URI("http://host/file?query/x#fragment"); in testRelativeFragmentOnQuery() local
325 URI base = new URI("http://host/file"); in testRelativePathAndFragment() local
330 URI base = new URI("http://host/a/b/c"); in testRelativeParentDirectory() local
335 URI base = new URI("http://host/a/b/c"); in testRelativeChildDirectory() local
340 URI base = new URI("http://host/a/b/c"); in testRelativeRootDirectory() local
345 URI base = new URI("http://host/a/b/c"); in testRelativeFullUrl() local
351 URI base = new URI("http://host/a/b/c"); in testRelativeDifferentScheme() local
356 URI base = new URI("http://host/a/b/c"); in testRelativeDifferentAuthority() local
361 URI base = new URI("http://host/a/b/c"); in testRelativeWithScheme() local
[all …]
DURLTest.java561 URL base = new URL("http://host/file?query/x"); in testRelativePathOnQuery() local
571 URL base = new URL("http://host/file?query/x#fragment"); in testRelativeFragmentOnQuery() local
606 URL base = new URL("http://host/file"); in testRelativePathAndFragment() local
611 URL base = new URL("http://host/a/b/c"); in testRelativeParentDirectory() local
616 URL base = new URL("http://host/a/b/c"); in testRelativeChildDirectory() local
621 URL base = new URL("http://host/a/b/c"); in testRelativeRootDirectory() local
626 URL base = new URL("http://host/a/b/c"); in testRelativeFullUrl() local
632 URL base = new URL("http://host/a/b/c"); in testRelativeDifferentScheme() local
637 URL base = new URL("http://host/a/b/c"); in testRelativeDifferentAuthority() local
642 URL base = new URL("http://host/a/b/c"); in testRelativeWithScheme() local
[all …]
DOldAndroidURITest.java44 private static void resolve(String base, String uri, String expected) { in resolve()
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKDecimalStyle.java107 DecimalStyle base = DecimalStyle.STANDARD; in test_zeroDigit() local
113 DecimalStyle base = DecimalStyle.STANDARD; in test_positiveSign() local
119 DecimalStyle base = DecimalStyle.STANDARD; in test_negativeSign() local
125 DecimalStyle base = DecimalStyle.STANDARD; in test_decimalSeparator() local
201 DecimalStyle base = DecimalStyle.STANDARD; in test_toString_base() local
207 DecimalStyle base = DecimalStyle.of(Locale.US).withZeroDigit('A').withDecimalSeparator('@'); in test_toString_altered() local
/libcore/luni/src/test/java/libcore/java/io/
DFileTest.java41 String base = System.getProperty("java.io.tmpdir"); in createTemporaryDirectory() local
55 private static File createDeepStructure(File base) throws Exception { in createDeepStructure()
72 File base = createTemporaryDirectory(); in test_longPath() local
84 File base = createTemporaryDirectory(); in test_longReadlink() local
172 File base = createTemporaryDirectory(); in test_getCanonicalPath() local
249 File base = createTemporaryDirectory(); in test_mkdirs() local
291 File base = createTemporaryDirectory(); in testFilesWithSurrogatePairs() local
366 private static native void nativeTestFilesWithSurrogatePairs(String base); in nativeTestFilesWithSurrogatePairs()
DOldFileTest.java137 String base = System.getProperty("java.io.tmpdir"); in test_renameToLjava_io_File() local
/libcore/luni/src/main/java/javax/xml/transform/
DURIResolver.java42 public Source resolve(String href, String base) in resolve()
/libcore/dalvik/src/test/java/libcore/dalvik/system/
DCloseGuardTest.java37 private Statement preserveEnabledState(final Statement base, Description description) { in preserveEnabledState()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DFileTest.java360 String base = tempDirectory.getPath(); in test_createNewFile() local
531 String base = System.getProperty("java.io.tmpdir"); in test_createTempFileLjava_lang_StringLjava_lang_StringLjava_io_File() local
706 String base = addTrailingSlash(tempDirectory.getPath()); in test_getAbsoluteFile() local
727 String base = addTrailingSlash(tempDirectory.getPath()); in test_getAbsolutePath() local
749 String base = addTrailingSlash(tempDirectory.getPath()); in test_getCanonicalFile() local
804 String base = tempDirectory.getCanonicalPath(); in test_getCanonicalPath() local
964 String base = System.getProperty("user.home"); in test_getPath() local
1086 String base = addTrailingSlash(tempDirectory.getPath()); in test_isDirectory() local
1104 String base = tempDirectory.getPath(); in test_isFile() local
1177 String base = tempDirectory.getPath(); in test_list() local
[all …]
/libcore/dalvik/test-rules/src/main/java/libcore/dalvik/system/
DCloseGuardSupport.java99 public Statement apply(Statement base, Description description) { in apply()
/libcore/benchmarks/src/benchmarks/
DBigIntegerBenchmark.java124 private static BigInteger myPow(BigInteger base, int exp, BigInteger scaleBy) { in myPow()
141 BigInteger base = scaledOne.add(scaledOne.divide(BigInteger.valueOf(n))); in eApprox() local
169 BigInteger base = BigInteger.TEN.pow(len / 4); in repeatModPow() local
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKThaiBuddhistChronology.java368 ThaiBuddhistDate base = ThaiBuddhistChronology.INSTANCE.date(1728, 10, 29); in test_adjust1() local
375 ThaiBuddhistDate base = ThaiBuddhistChronology.INSTANCE.date(1728, 12, 2); in test_adjust2() local
385 ThaiBuddhistDate base = ThaiBuddhistChronology.INSTANCE.date(2555, 8, 29); in test_withYear_BE() local
392 ThaiBuddhistDate base = ThaiBuddhistChronology.INSTANCE.date(-2554, 8, 29); in test_withYear_BBE() local
402 ThaiBuddhistDate base = ThaiBuddhistChronology.INSTANCE.date(2555, 8, 29); in test_withEra_BE() local
409 ThaiBuddhistDate base = ThaiBuddhistChronology.INSTANCE.date(-2554, 8, 29); in test_withEra_BBE() local
416 ThaiBuddhistDate base = ThaiBuddhistChronology.INSTANCE.date(-2554, 8, 29); in test_withEra_swap() local
/libcore/luni/src/test/native/
Dlibcore_java_io_FileTest.cpp32 std::string base(baseDirUtf.c_str()); in Java_libcore_java_io_FileTest_nativeTestFilesWithSurrogatePairs() local
/libcore/ojluni/src/main/java/java/util/
DArraysParallelSortHelpers.java116 final int base, size, wbase, gran; field in ArraysParallelSortHelpers.FJObject.Sorter
118 Sorter(CountedCompleter<?> par, T[] a, T[] w, int base, int size, in Sorter()
238 final int base, size, wbase, gran; field in ArraysParallelSortHelpers.FJByte.Sorter
239 Sorter(CountedCompleter<?> par, byte[] a, byte[] w, int base, in Sorter()
349 final int base, size, wbase, gran; field in ArraysParallelSortHelpers.FJChar.Sorter
350 Sorter(CountedCompleter<?> par, char[] a, char[] w, int base, in Sorter()
460 final int base, size, wbase, gran; field in ArraysParallelSortHelpers.FJShort.Sorter
461 Sorter(CountedCompleter<?> par, short[] a, short[] w, int base, in Sorter()
571 final int base, size, wbase, gran; field in ArraysParallelSortHelpers.FJInt.Sorter
572 Sorter(CountedCompleter<?> par, int[] a, int[] w, int base, in Sorter()
[all …]
DComparableTimSort.java504 int base, int len, int hint) { in gallopLeft()
574 int base, int len, int hint) { in gallopRight()
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKYear.java542 Year base = Year.of(2007); in test_plusYear_zero_equals() local
600 …public void test_plus_long_TemporalUnit(Year base, long amount, TemporalUnit unit, Year expectedYe… in test_plus_long_TemporalUnit()
674 Year base = Year.of(2007); in test_minusYear_zero_equals() local
732 …public void test_minus_long_TemporalUnit(Year base, long amount, TemporalUnit unit, Year expectedY… in test_minus_long_TemporalUnit()
750 LocalDate base = LocalDate.of(2007, 2, 12); in test_adjustDate() local
774 Year base = Year.of(-10); in test_with_TemporalAdjuster() local
792 Year base = Year.of(5); in test_with() local
DTestIsoChronology.java210 LocalDate base = IsoChronology.INSTANCE.date(1728, 10, 28); in test_adjust1() local
217 LocalDate base = IsoChronology.INSTANCE.date(1728, 12, 2); in test_adjust2() local
DTCKDayOfWeek.java305 public void test_plus_long(int base, long amount, int expected) { in test_plus_long()
336 public void test_minus_long(int base, long amount, int expected) { in test_minus_long()
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DBuilder.java143 static int distance(GeneralNameInterface base, in distance()
189 static int hops(GeneralNameInterface base, GeneralNameInterface test, in hops()
/libcore/test-rules/src/main/java/libcore/junit/util/
DResourceLeakageDetector.java135 public Statement apply(Statement base, Description description) { in apply()
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/
DTCKChronoUnit.java169 …public void test_unitAndTemporal(ChronoUnit unit, Temporal base, boolean isSupportedBy, long amoun… in test_unitAndTemporal()
/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestDateTimeFormatter.java101 DateTimeFormatter base = in test_withLocale_same() local
/libcore/ojluni/src/main/java/java/awt/font/
DNumericShaper.java346 private final int base; field in NumericShaper.Range
351 private Range(int base, int start, int end) { in Range()
1245 int base; in shapeNonContextually() local
1276 int base = bases[ctxKey]; in shapeContextually() local
1320 int base = ctxKey.getDigitBase(); in shapeContextually() local

123