Home
last modified time | relevance | path

Searched refs:to (Results 1 – 25 of 70) sorted by relevance

123

/libcore/luni/src/main/java/java/util/concurrent/
DCopyOnWriteArrayList.java133 static boolean containsAll(Collection<?> collection, Object[] snapshot, int from, int to) { in containsAll() argument
135 if (indexOf(o, snapshot, from, to) == -1) { in containsAll()
164 public int lastIndexOf(E object, int to) { in lastIndexOf() argument
166 return lastIndexOf(object, snapshot, 0, to); in lastIndexOf()
218 public List<E> subList(int from, int to) { in subList() argument
220 if (from < 0 || from > to || to > snapshot.length) { in subList()
221 throw new IndexOutOfBoundsException("from=" + from + ", to=" + to + in subList()
224 return new CowSubList(snapshot, from, to); in subList()
375 private void replaceInRange(int from, int to, UnaryOperator<E> operator) { in replaceInRange() argument
379 for (int i = from; i < to; i++) { in replaceInRange()
[all …]
/libcore/
DLICENSE8 Everyone is permitted to copy and distribute verbatim copies of this license
13 The licenses for most software are designed to take away your freedom to share
14 and change it. By contrast, the GNU General Public License is intended to
15 guarantee your freedom to share and change free software--to make sure the
16 software is free for all its users. This General Public License applies to
17 most of the Free Software Foundation's software and to any other program whose
18 authors commit to using it. (Some other Free Software Foundation software is
19 covered by the GNU Library General Public License instead.) You can apply it to
22 When we speak of free software, we are referring to freedom, not price. Our
23 General Public Licenses are designed to make sure that you have the freedom to
[all …]
DNOTICE2 == NOTICE file corresponding to the section 4 d of ==
14 == NOTICE file corresponding to the section 4 d of ==
26 Intel Corporation and are licensed to the Apache Software
39 Permission is hereby granted, free of charge, to any person obtaining
41 "Software"), to deal in the Software without restriction, including
42 without limitation the rights to use, copy, modify, merge, publish,
43 distribute, and/or sell copies of the Software, and to permit persons
44 to whom the Software is furnished to do so, provided that the above
60 shall not be used in advertising or otherwise to promote the sale, use
74 Permission is hereby granted, free of charge, to any person obtaining
[all …]
Dknown_oj_tags.txt9 # Unless required by applicable law or agreed to in writing, software
15 # List of tags that are "known" to us from the OpenJdk code. We don't treat
16 # them specially, and putting them in here is equivalent to ignoring them
/libcore/tzdata/tools/
Dtzupdate.properties1 # Edit these to reflect the update files.
5 # characters to the end.
10 # Edit these as required to point to the file expected to exist on the device.
/libcore/luni/
Dbouncycastle-license.txt4 Permission is hereby granted, free of charge, to any person obtaining
6 "Software"), to deal in the Software without restriction, including
7 without limitation the rights to use, copy, modify, merge, publish,
8 distribute, sublicense, and/or sell copies of the Software, and to
9 permit persons to whom the Software is furnished to do so, subject to
Dunicode-license.txt22 Permission is hereby granted, free of charge, to any person obtaining a copy
24 Unicode software and any associated documentation (the "Software") to deal in
26 rights to use, copy, modify, merge, publish, distribute, and/or sell copies of
27 the Data Files or Software, and to permit persons to whom the Data Files or
28 Software are furnished to do so, provided that (a) the above copyright notice(s)
46 be used in advertising or otherwise to promote the sale, use or other dealings
/libcore/benchmarks/libs/
Dcaliper.jar.txt19 "control" means (i) the power, direct or indirect, to cause the
28 including but not limited to software source code, documentation
33 not limited to compiled object code, generated documentation,
34 and conversions to other media types.
38 copyright notice that is included in or attached to the work
46 separable from, or merely link (or bind by name) to the interfaces of,
51 to that Work or Derivative Works thereof, that is intentionally
52 submitted to Licensor for inclusion in the Work by the copyright owner
53 or by an individual or Legal Entity authorized to submit on behalf of
56 to the Licensor or its representatives, including but not limited to
[all …]
/libcore/ojluni/src/main/java/java/util/stream/
DNode.java121 default Node<T> truncate(long from, long to, IntFunction<T[]> generator) { in truncate() argument
122 if (from == 0 && to == count()) in truncate()
125 long size = to - from; in truncate()
253 T_NODE truncate(long from, long to, IntFunction<T[]> generator); in truncate() argument
356 default Node.OfInt truncate(long from, long to, IntFunction<Integer[]> generator) { in truncate() argument
357 if (from == 0 && to == count()) in truncate()
359 long size = to - from; in truncate()
429 default Node.OfLong truncate(long from, long to, IntFunction<Long[]> generator) { in truncate() argument
430 if (from == 0 && to == count()) in truncate()
432 long size = to - from; in truncate()
[all …]
/libcore/harmony-tests/src/test/resources/resources/
Dtest.rtf2 * Licensed to the Apache Software Foundation (ASF) under one or more
5 * The ASF licenses this file to You under the Apache License, Version 2.0
11 * Unless required by applicable law or agreed to in writing, software
18 /* A bogus RTF file used to see if we can detect
Dtest.doc2 * Licensed to the Apache Software Foundation (ASF) under one or more
5 * The ASF licenses this file to You under the Apache License, Version 2.0
11 * Unless required by applicable law or agreed to in writing, software
18 /* A bogus doc file used to see if we can detect
/libcore/luni/src/main/java/java/util/logging/
Dlogging.properties1 # Licensed to the Apache Software Foundation (ASF) under one or more
4 # The ASF licenses this file to You under the Apache License, Version 2.0
10 # Unless required by applicable law or agreed to in writing, software
22 # passed to "java" command, or as property definition passed to JNI_CreateJavaVM.
23 # You can refer to JavaDoc of java.util.logging package for more information
39 # For example, use the line below to add SocketHandler. Note that the handler
47 # during logging package initialization, which may contain some code to set the
/libcore/expectations/
Dbrokentests.txt2 * This file contains expectations for tests that we'd like to eventually fix, but aren't urgent.
12 need to check that they're secure, so they all fail when we refuse to install
20 description: "ignore compilation errors due to different available APIs",
32 …description: "Some tests (ExcludedProxyTest) connect to a public webserver to check that the HTTP …
34 failure: "connect to the Internet",
38 …description: "Some tests (ExcludedProxyTest) connect to a public webserver to check that the HTTP …
140 description: "Causes OutOfMemoryError to test finalization",
163 description: "Unable to execute Support_AvailTest",
/libcore/ojluni/src/main/java/sun/reflect/misc/
DReflectUtil.java130 public static boolean needsPackageAccessCheck(ClassLoader from, ClassLoader to) { in needsPackageAccessCheck() argument
131 if (from == null || from == to) in needsPackageAccessCheck()
134 if (to == null) in needsPackageAccessCheck()
137 return !isAncestor(from, to); in needsPackageAccessCheck()
/libcore/ojluni/
DNOTICE8 To change the template for this generated file go to
19 US and International patents. This notice and attribution to IBM may not *
20 to removed. *
31 US and International patents. This notice and attribution to IBM may not *
32 to removed. *
43 US and International patents. This notice and attribution to IBM may not *
44 to removed. *
106 US and International patents. This notice and attribution to IBM may not *
107 to removed. *
123 patents. This notice and attribution to IBM may not be removed.
[all …]
/libcore/support/src/test/java/tests/resources/x509/
Ddefault.cnf23 # 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
65 # X.509v3 extensions to use:
97 x509_extensions = usr_cert # The extentions to add to the cert
107 # Extensions to add to a CRL. Note: Netscape communicator chokes on V2 CRLs
108 # so this is commented out by default to leave a V1 CRL.
111 default_days = 365 # how long to certify for
113 default_md = sha1 # which md to use.
141 x509_extensions = v3_ca # The extentions to add to the self signed cert
143 req_extensions = v3_req # The extensions to add to a certificate request
/libcore/ojluni/src/main/java/sun/nio/ch/
DServerSocketAdaptor.java116 long to = timeout; in accept() local
121 int ns = sel.select(to); in accept()
126 to -= System.currentTimeMillis() - st; in accept()
127 if (to <= 0) in accept()
DSocketAdaptor.java118 long to = timeout; in connect() local
123 int ns = sel.select(to); in connect()
128 to -= System.currentTimeMillis() - st; in connect()
129 if (to <= 0) { in connect()
233 long to = timeout; in read() local
238 int ns = sel.select(to); in read()
244 to -= System.currentTimeMillis() - st; in read()
245 if (to <= 0) in read()
/libcore/ojluni/src/main/java/sun/net/www/protocol/mailto/
DMailToURLConnection.java99 String to = ParseUtil.decode(url.getPath()); in getOutputStream() local
101 client.to(to); in getOutputStream()
/libcore/ojluni/src/main/java/java/util/
DJumboEnumSet.java54 void addRange(E from, E to) { in addRange() argument
56 int toIndex = to.ordinal() >>> 6; in addRange()
59 elements[fromIndex] = (-1L >>> (from.ordinal() - to.ordinal() - 1)) in addRange()
65 elements[toIndex] = -1L >>> (63 - to.ordinal()); in addRange()
67 size = to.ordinal() - from.ordinal() + 1; in addRange()
DEnumSet.java341 public static <E extends Enum<E>> EnumSet<E> range(E from, E to) { in range() argument
342 if (from.compareTo(to) > 0) in range()
343 throw new IllegalArgumentException(from + " > " + to); in range()
345 result.addRange(from, to); in range()
353 abstract void addRange(E from, E to); in addRange() argument
/libcore/tzdata/update/src/main/libcore/tzdata/update/
DFileUtils.java121 public static void rename(File from, File to) throws IOException { in rename() argument
122 ensureFileDoesNotExist(to); in rename()
123 if (!from.renameTo(to)) { in rename()
124 throw new IOException("Unable to rename " + from + " to " + to); in rename()
/libcore/luni/src/main/java/java/security/
Dsecurity.properties1 # Licensed to the Apache Software Foundation (ASF) under one or more
4 # The ASF licenses this file to You under the Apache License, Version 2.0
10 # Unless required by applicable law or agreed to in writing, software
19 # See also: J2SE doc. "How to Implement a Provider for the JavaTM Cryptography Architecture"
/libcore/ojluni/src/main/java/sun/net/www/http/
DHttpClient.java200 protected HttpClient(URL url, Proxy p, int to) throws IOException { in HttpClient() argument
208 setConnectTimeout(to); in HttpClient()
243 boolean proxyDisabled, int to)
246 newHttpProxy(proxyHost, proxyPort, "http"), to);
263 public static HttpClient New(URL url, Proxy p, int to, boolean useCache,
308 ret = new HttpClient(url, p, to);
323 public static HttpClient New(URL url, Proxy p, int to,
326 return New(url, p, to, true, httpuc);
337 boolean useCache, int to,
341 to, useCache, httpuc);
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/
DREADME.txt1 These classes are tied to the VM, e.g. the VM may invoke some of the methods.

123