HomeSort by relevance Sort by last modified time
    Searched defs:in (Results 526 - 550 of 3057) sorted by null

<<21222324252627282930>>

  /libcore/luni/src/main/java/javax/xml/datatype/
DatatypeConfigurationException.java 6 * (the "License"); you may not use this file except in compliance with
11 * Unless required by applicable law or agreed to in writing, software
44 /** Indicates whether this class is being used in a JDK 1.4 context. */
152 private void readObject(ObjectInputStream in)
154 in.defaultReadObject();
  /libcore/luni/src/main/java/javax/xml/namespace/
QName.java 6 * (the "License"); you may not use this file except in compliance with
11 * Unless required by applicable law or agreed to in writing, software
29 * as defined in the XML specifications: <a
33 * in XML</a>, <a
35 * in XML Errata</a>.</p>
41 * <p>The prefix is included in <code>QName</code> to retain lexical
42 * information <strong><em>when present</em></strong> in an {@link
44 * <strong><em>NOT</em></strong> used in {@link #equals(Object)
60 * @see <a href="http://www.w3.org/TR/REC-xml-names/#ns-qualnames">Namespaces in XML</a>
61 * @see <a href="http://www.w3.org/XML/xml-names-19990114-errata">Namespaces in XML Errata</a
    [all...]
  /libcore/luni/src/test/etc/loading-test-jar/
TestMethods.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
28 * file. Each test method in this class is called from the same-named
29 * method in {@code DexClassLoaderTest}.
66 public static byte[] readFully(InputStream in) throws IOException {
67 // This is a copy of the same-named method in libcore.io.Streams.
71 int byteCount = in.read(buffer);
123 * Test getting a resource which should be in the same jar
128 InputStream in = cl.getResourceAsStream("test/Resource1.txt"); local
129 byte[] contents = readFully(in);
184 InputStream in = cl.getResourceAsStream("test2\/Resource2.txt"); local
    [all...]
  /libcore/luni/src/test/java/libcore/java/io/
OldAndroidPipedStreamTest.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
42 final PipedInputStream in = new PipedInputStream(); local
43 final PipedOutputStream out = new PipedOutputStream(in);
45 assertEquals(0, in.available());
58 readInt = in.read();
109 final PipedInputStream in = new PipedInputStream(); local
110 final PipedOutputStream out = new PipedOutputStream(in);
112 assertEquals(0, in.available());
127 ret = in.read(readBytes, nread, readBytes.length - nread)
194 final PipedInputStream in = new PipedInputStream(); local
    [all...]
  /libcore/luni/src/test/java/libcore/util/
SerializationTester.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
89 ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes)); local
90 Object result = in.readObject();
91 assertEquals(-1, in.read());
  /libcore/ojluni/src/main/java/java/io/
LineNumberInputStream.java 9 * by Oracle in the LICENSE file that accompanied this code.
11 * This code is distributed in the hope that it will be useful, but WITHOUT
14 * version 2 for more details (a copy is included in the LICENSE file that
35 * immediately by a linefeed character. In all three cases, the line
61 * @param in the underlying input stream.
63 public LineNumberInputStream(InputStream in) {
64 super(in);
69 * byte is returned as an <code>int</code> in the range
79 * returns and newline characters in the input, and modifies the
87 * @see java.io.FilterInputStream#in
    [all...]
PushbackInputStream.java 9 * by Oracle in the LICENSE file that accompanied this code.
11 * This code is distributed in the hope that it will be useful, but WITHOUT
14 * version 2 for more details (a copy is included in the LICENSE file that
32 * one byte. This is useful in situations where
73 if (in == null)
81 * <code>in</code>, for later use. Initially,
86 * @param in the input stream from which bytes will be read.
91 public PushbackInputStream(InputStream in, int size) {
92 super(in);
103 * <code>in</code>, for later use. Initially
    [all...]
  /libcore/ojluni/src/main/java/sun/security/ec/
ECPrivateKeyImpl.java 9 * by Oracle in the LICENSE file that accompanied this code.
11 * This code is distributed in the hope that it will be useful, but WITHOUT
14 * version 2 for more details (a copy is included in the LICENSE file that
57 * not in the private key structure.
122 DerInputStream in = new DerInputStream(key); local
123 DerValue derValue = in.getDerValue();
147 + "encoded in the algorithm identifier");
  /ndk/sources/cxx-stl/stlport/stlport/stl/
_codecvt.h 84 result in(state_type& __state, function
202 result in(state_type& __state,
299 result in(state_type& __state,
  /packages/apps/Email/src/com/beetstra/jutf7/
UTF7StyleCharsetDecoder.java 6 * "Software"), to deal in the Software without restriction, including
13 * included in all copies or substantial portions of the Software.
18 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
19 * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
20 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
21 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
64 protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) {
65 while (in.hasRemaining()) {
66 byte b = in.get();
70 return malformed(in);
    [all...]
  /packages/apps/Email/tests/src/com/android/email/mail/store/imap/
ImapTestUtils.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
103 ByteArrayInputStream in = new ByteArrayInputStream(Utility.toAscii(content + "#trailing")); local
104 return new FixedLengthInputStream(in, content.length());
  /packages/apps/TV/usbtuner/src/com/android/usbtuner/
ChannelScanFileParser.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
67 BufferedReader in = new BufferedReader(new InputStreamReader(is)); local
71 while ((line = in.readLine()) != null) {
  /packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
BinaryTempFileBody.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
72 InputStream in = getInputStream(); local
75 IOUtils.copy(in, base64Out);
81 public BinaryTempFileBodyInputStream(InputStream in) {
82 super(in);
  /prebuilts/ndk/current/sources/cxx-stl/stlport/stlport/stl/
_codecvt.h 84 result in(state_type& __state, function
202 result in(state_type& __state,
299 result in(state_type& __state,
  /system/extras/ext4_utils/
ext2simg.c 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
120 const char *in = NULL; local
150 in = argv[optind++];
166 infd = open(in, O_RDONLY);
175 build_sparse_ext(infd, in);
  /system/update_engine/
omaha_response_handler_action_unittest.cc 5 // you may not use this file except in compliance with the License.
10 // Unless required by applicable law or agreed to in writing, software
55 bool DoTest(const OmahaResponse& in,
94 const OmahaResponse& in,
102 feeder_action.set_obj(in);
103 if (in.update_exists && in.version != kBadVersion) {
105 SetString(kPrefsUpdateCheckResponseHash, in.hash))
114 string current_url = in.payload_urls.size() ? in.payload_urls[0] : ""
144 OmahaResponse in; local
169 OmahaResponse in; local
190 OmahaResponse in; local
213 OmahaResponse in; local
221 OmahaResponse in; local
241 OmahaResponse in; local
262 OmahaResponse in; local
282 OmahaResponse in; local
301 OmahaResponse in; local
321 OmahaResponse in; local
363 OmahaResponse in; local
405 OmahaResponse in; local
    [all...]
  /cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DocumentsClientTestCase.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
85 final InputStream in = getInstrumentation().getContext().getContentResolver() local
87 return readFully(in);
94 try (AutoCloseInputStream in = new AutoCloseInputStream(descriptor)) {
95 return readFully(in);
99 protected byte[] readFully(InputStream in) throws IOException {
104 while ((count = in.read(buffer)) != -1) {
109 in.close();
  /cts/hostsidetests/tv/src/com/android/cts/tv/
TvInputManagerHostTest.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
114 Scanner in = new Scanner(logs); local
115 while (in.hasNextLine()) {
116 String line = in.nextLine();
121 in.close();
141 // Each line in the output of the command has the format "feature:{FEATURE_VALUE}".
  /cts/tests/core/runner/src/com/android/cts/runner/
CtsTestRunListener.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
103 // no way to implement this in JUnit4...
131 BufferedReader in = null; local
136 in = new BufferedReader(new InputStreamReader(proc.getInputStream()));
139 while ((line = in.readLine()) != null) {
146 Log.d(TAG, "In finally");
147 if (in != null) {
149 in.close();
161 * Nulls all non-static reference fields in the given test class. Thi
    [all...]
  /cts/tests/openglperf2/src/android/opengl2/cts/reference/
GLGameActivity.java 5 * in compliance with the License. You may obtain a copy of the License at
9 * Unless required by applicable law or agreed to in writing, software distributed under the License
146 InputStream in = null; local
148 in = manager.open(path);
155 Bitmap bmp = BitmapFactory.decodeStream(in, null, op);
173 in.close();
  /cts/tests/tests/keystore/src/android/keystore/cts/
AESCipherNistCavpKatTest.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
167 BufferedReader in = null; local
170 in = new BufferedReader(new InputStreamReader(
179 while ((line = in.readLine()) != null) {
261 if (in != null) {
263 in.close();
305 private static void readFully(InputStream in, byte[] buf) throws IOException {
309 int chunkSize = in.read(buf, offset, remaining);
  /cts/tests/tests/security/src/android/security/cts/
ClonedSecureRandomTest.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
88 * This test spawns a Service in a new process to check the initial state of
117 * number of times because of the pigeonhole principle. In an attempt to
173 * Make sure the AndroidManifest.xml wasn't altered in a way that
176 assertFalse("SecureRandomService must run in a different process. Check "
231 * another service spawned as we are doing in this test.
249 BufferedReader in = null; local
251 in = new BufferedReader(new FileReader(filename));
252 final String line = in.readLine()
    [all...]
X509CertChainBuildingTest.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
46 /* Certificates for tests. These are initialized in setUp.
120 // in the loop caused by the cross signed certificates.
163 InputStream in = null; local
165 in = assetManager.open(new File(CERT_ASSET_DIR, file).toString());
166 return (X509Certificate) certFactory.generateCertificate(in);
168 if (in != null) {
169 in.close();
  /cts/tests/tests/util/src/android/util/cts/
StrictJarFileTest.java 5 * use this file except in compliance with the License. You may obtain a copy of
10 * Unless required by applicable law or agreed to in writing, software
203 InputStream in = getContext().getAssets().open(file); local
207 while ((c = in.read(buffer)) != -1) {
212 in.close();
  /dalvik/dx/src/com/android/dx/cf/direct/
ClassPathOpener.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
33 * Opens all the class files found in a class path element. Path elements
45 * classes and "package-info" occurs before all other classes in that
110 * classes and "package-info" occurs before all other classes in that
123 * classes and "package-info" occurs before all other classes in that
182 * classes and "package-info" preceeds all other classes in its package.
270 InputStream in = zip.getInputStream(one); local
274 while ((read = in.read(buf)) != -1) {
278 in.close()
    [all...]

Completed in 1144 milliseconds

<<21222324252627282930>>