/libcore/luni/src/main/java/javax/xml/transform/ |
H A D | URIResolver.java | 33 * @param base The base URI against which the first argument will be made 42 public Source resolve(String href, String base) argument
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
H A D | GeneralSubtree.java | 42 * base GeneralName, 54 /** the value of base field of the structure */ 55 private final GeneralName base; field in class:GeneralSubtree 63 public GeneralSubtree(GeneralName base, int minimum, int maximum) { argument 64 this.base = base; 70 * Returns the value of base field of the structure. 73 return base; 88 sb.append(prefix).append(" base: ").append(base) [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | OldAndroidURITest.java | 44 private static void resolve(String base, String uri, String expected) { argument 45 URI b = URI.create(base);
|
/libcore/luni/src/test/java/libcore/java/io/ |
H A D | FileTest.java | 28 String base = System.getProperty("java.io.tmpdir"); 29 File directory = new File(base, UUID.randomUUID().toString()); 42 private static File createDeepStructure(File base) throws Exception { argument 48 File f = base; 59 File base = createTemporaryDirectory(); 60 assertTrue(createDeepStructure(base).exists()); 71 File base = createTemporaryDirectory(); 72 File target = createDeepStructure(base); 73 File source = new File(base, "source"); 159 File base [all...] |
/libcore/luni/src/main/java/java/net/ |
H A D | URLStreamHandler.java | 25 * The abstract class {@code URLStreamHandler} is the base for all classes which 198 * Returns a new path by resolving {@code path} relative to {@code base}. 200 private static String relativePath(String base, String path) { argument 203 } else if (base != null) { 204 String combined = base.substring(0, base.lastIndexOf('/') + 1) + path;
|
H A D | URLClassLoader.java | 224 URL targetURL(URL base, String name) { argument 227 fileBuilder.append(base.getFile()); 231 return new URL(base.getProtocol(), base.getHost(), base.getPort(), file, null);
|
/libcore/luni/src/main/java/java/util/concurrent/atomic/ |
H A D | AtomicIntegerArray.java | 23 private static final int base = unsafe.arrayBaseOffset(int[].class); field in class:AtomicIntegerArray 42 return ((long) i << shift) + base;
|
H A D | AtomicLongArray.java | 22 private static final int base = unsafe.arrayBaseOffset(long[].class); field in class:AtomicLongArray 41 return ((long) i << shift) + base;
|
H A D | AtomicReferenceArray.java | 20 * @param <E> The base class of elements held in this array 26 private static final int base; field in class:AtomicReferenceArray 36 base = unsafe.arrayBaseOffset(Object[].class); 54 return ((long) i << shift) + base;
|
/libcore/luni/src/main/java/java/util/ |
H A D | ComparableTimSort.java | 84 * address base[i] and extends for len[i] elements. It's always 476 * @param base the index of the first element in the range 487 int base, int len, int hint) { 492 if (key.compareTo(a[base + hint]) > 0) { 493 // Gallop right until a[base+hint+lastOfs] < key <= a[base+hint+ofs] 495 while (ofs < maxOfs && key.compareTo(a[base + hint + ofs]) > 0) { 504 // Make offsets relative to base 507 } else { // key <= a[base + hint] 508 // Gallop left until a[base 486 gallopLeft(Comparable<Object> key, Object[] a, int base, int len, int hint) argument 556 gallopRight(Comparable<Object> key, Object[] a, int base, int len, int hint) argument [all...] |
H A D | TimSort.java | 109 * address base[i] and extends for len[i] elements. It's always 509 * @param base the index of the first element in the range 520 private static <T> int gallopLeft(T key, T[] a, int base, int len, int hint, argument 525 if (c.compare(key, a[base + hint]) > 0) { 526 // Gallop right until a[base+hint+lastOfs] < key <= a[base+hint+ofs] 528 while (ofs < maxOfs && c.compare(key, a[base + hint + ofs]) > 0) { 537 // Make offsets relative to base 540 } else { // key <= a[base + hint] 541 // Gallop left until a[base 590 gallopRight(T key, T[] a, int base, int len, int hint, Comparator<? super T> c) argument [all...] |
H A D | ResourceBundle.java | 35 * the resource. If the fallback mechanism reaches the base bundle and still 39 * <li>All bundles for the same group of resources share a common base bundle. 40 * This base bundle acts as the root and is the last fallback in case none of 43 * differences between a language and the language of the base bundle need to be 58 * <li>BaseName (base bundle) 165 * The passed base name and {@code Locale} are used to create resource bundle names. 166 * The first name is created by concatenating the base name with the result 191 * replacing dots in the base name with a slash and by appending 242 * Finds the named resource bundle for the specified base name and control. 245 * the base nam 476 handleGetBundle(boolean loadBase, String base, Locale locale, ClassLoader loader) argument [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/ |
H A D | DocumentBuilderImpl.java | 417 private String resolveCharacterReference(String value, int base) { argument 419 int codePoint = Integer.parseInt(value, base);
|
/libcore/luni/src/test/java/libcore/xml/ |
H A D | XsltXPathConformanceTestSuite.java | 171 File base = new File(catalogXml.getParentFile(), majorPath); 174 result.addTest(suite.create(base, testCaseElement)); 184 private TestCase create(File base, Element testCaseElement) { argument 237 File inBase = new File(base, testDirectory); 238 File outBase = new File(new File(base, "REF_OUT"), testDirectory);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
H A D | URITest.java | 1556 // base = opaque 1596 private void testRelativize(String base, String target, String expected) argument 1598 assertEquals(expected, new URI(base).relativize(new URI(target)).toString()); 1605 URI base = new URI("file", null, "/test", null); 1607 URI relative = base.relativize(uri); 1682 // return given when base is opaque
|
/libcore/luni/src/main/java/java/math/ |
H A D | BigInt.java | 118 String checkString(String s, int base) { argument 123 // one or more digit characters appropriate to the given base, 143 if (Character.digit(ch, base) == -1) { 150 return nonAscii ? toAscii(s, base) : s; 156 private static String toAscii(String s, int base) { argument 161 int value = Character.digit(ch, base);
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
H A D | TestCertUtils.java | 745 // <code>num</code> is interpreted as a number with a base of 746 // <code>base</code> and each digit of this number is stored as a 750 // @param base 753 private static boolean inc(int[] num, int base) { argument 755 if ((++num[i]) >= base) {
|
/libcore/benchmarks/libs/ |
H A D | caliper.jar | ... com.google.caliper.internal.guava.base.Supplier) throws java.lang.Exception int i ... |
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | ForkJoinPool.java | 164 * vs poll (steal) from being on the indices ("base" and "top") to 167 * we rely on CASes of references, we do not need tag bits on base 171 * == base means the queue is empty, but otherwise may err on the 183 * variants that try once at the apparent base index, else 512 * for {@code ForkJoinWorkerThread} subclasses that extend base 557 * Field "base" is the index (mod array.length) of the least valid 566 * by other threads only after reading (volatile) base. Both top 567 * and base are allowed to wrap around on overflow, but (top - 568 * base) (or more commonly -(base 630 volatile int base; // index of next slot for poll field in class:ForkJoinPool.WorkQueue [all...] |