/external/apache-harmony/x-net/src/test/impl/java/org/apache/harmony/xnet/tests/provider/jsse/ |
FinishedTest.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 47 HandshakeIODataStream in = new HandshakeIODataStream(); local 48 in.append(encoded); 49 Finished message_2 = new Finished(in, message.length()); 53 in.append(encoded); 55 message_2 = new Finished(in, message.length() - 1); 60 in.append(encoded); 61 in.append(new byte[] { 1, 2, 3 }); 63 message_2 = new Finished(in, message.length() + 3) [all...] |
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
CertificateVerifyTest.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 46 HandshakeIODataStream in = new HandshakeIODataStream(); local 47 new CertificateVerify(in, 0); 64 HandshakeIODataStream in = new HandshakeIODataStream(); local 65 in.append(encoded); 66 CertificateVerify message_2 = new CertificateVerify(in, message.length()); 70 in.append(encoded); 72 message_2 = new CertificateVerify(in, message.length() - 1); 77 in.append(encoded) [all...] |
/external/dexmaker/src/dx/java/com/android/dx/util/ |
FileUtils.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 75 FileInputStream in = new FileInputStream(file); local 78 int amt = in.read(result, at, length); 85 in.close();
|
/external/guava/guava/src/com/google/common/io/ |
MultiInputStream.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 37 private InputStream in; field in class:MultiInputStream 51 if (in != null) { 53 in.close(); 55 in = null; 66 in = it.next().openStream(); 71 if (in == null) { 74 return in.available(); 82 if (in == null) [all...] |
/external/jacoco/org.jacoco.examples.test/src/org/jacoco/examples/ |
ClassInfoTest.java | 45 InputStream in = getClass().getResource( local 50 while ((b = in.read()) != -1) { 53 in.close();
|
/external/lzma/Java/Tukaani/src/ |
LZMADecDemo.java | 29 // No need to use BufferedInputStream with System.in which 31 InputStream in = new LZMAInputStream(System.in); local 34 while ((size = in.read(buf)) != -1) 41 InputStream in = new FileInputStream(name); local 44 // In contrast to other classes in org.tukaani.xz, 50 in = new BufferedInputStream(in); 51 in = new LZMAInputStream(in) [all...] |
XZDecDemo.java | 25 InputStream in = new XZInputStream(System.in); local 28 while ((size = in.read(buf)) != -1) 35 InputStream in = new FileInputStream(name); local 41 // in = new BufferedInputStream(in); 42 in = new XZInputStream(in); 45 while ((size = in.read(buf)) != -1) 51 in.close() [all...] |
/frameworks/base/core/tests/coretests/src/android/content/ |
MemoryFileProviderTest.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 30 * in a different process. 40 InputStream in = resolver.openInputStream(uri); local 41 assertNotNull(in); 42 int count = in.read(buf); 44 assertEquals(-1, in.read()); 45 in.close(); 57 InputStream in = resolver.openInputStream(uri); local 58 assertNotNull("Failed to open stream number " + i, in); 73 InputStream in = resolver.openInputStream(uri); local [all...] |
/frameworks/base/tools/preload/ |
Compile.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 26 * an emulator or device running in the background, this class will use it 43 BufferedReader in = new BufferedReader(new InputStreamReader( local 48 while ((line = in.readLine()) != null) { 69 in.close();
|
/libcore/dex/src/main/java/com/android/dex/util/ |
FileUtils.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 71 FileInputStream in = new FileInputStream(file); local 74 int amt = in.read(result, at, length); 81 in.close();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
InputStreamTest.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 InputStream in = new MockInputStream(); local 30 in.read(null, -1, 1);
|
/libcore/luni/src/main/java/org/xml/sax/helpers/ |
XMLReaderFactory.java | 5 // NO WARRANTY! This class is in the Public Domain. 22 * <em>This module, both source code and documentation, is in the 43 * best to return a parser when one is in the class path, even when 66 * In environments which can support it, the name of the XMLReader 67 * class is determined by trying each these options in order, and 74 * in the <em>META-INF/services/org.xml.sax.driver</em> file in 82 * return a system default SAX1 parser, that parser is wrapped in 89 * <p> In environments such as small embedded systems, which can not 94 * initialized on a command line. This means that <em>in most cases</em 120 InputStream in; local [all...] |
/external/guava/guava-tests/test/com/google/common/io/ |
LittleEndianDataInputStreamTest.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 70 DataInput in = new LittleEndianDataInputStream(new ByteArrayInputStream(data)); local 72 in.readFully(b); 77 DataInput in = new LittleEndianDataInputStream(new ByteArrayInputStream(new byte[0])); local 79 in.readUnsignedByte(); 87 DataInput in = new LittleEndianDataInputStream(new ByteArrayInputStream(buf)); local 89 in.readUnsignedShort(); 95 DataInput in = new LittleEndianDataInputStream(new ByteArrayInputStream(data)); local 97 in.readLine() 105 DataInput in = new LittleEndianDataInputStream(new ByteArrayInputStream(data)); local 137 DataInput in = new LittleEndianDataInputStream(new ByteArrayInputStream(data)); local [all...] |
/external/jarjar/src/main/com/tonicsystems/jarjar/util/ |
StandaloneJarProcessor.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 31 JarFile in = new JarFile(from); local 37 Enumeration<JarEntry> e = in.entries(); 43 IoUtil.pipe(in.getInputStream(entry), baos, buf); 62 in.close();
|
/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/ |
ShutdownTest.java | 9 * Redistribution and use in source and binary forms, with or without modification, 15 * 2. Redistributions in binary form must reproduce the above copyright notice, 16 * this list of conditions and the following disclaimer in the documentation 26 * IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 30 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE 31 * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 78 // Keep-alive seems to be on by default, but just in case that changes. 80 InputStream in = connection.getInputStream(); local 81 while (in.available() > 0) { 82 in.read() [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
OldMessageFormatFieldTest.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 // implemented in 47 ObjectInputStream in = null; local 62 in = new ObjectInputStream(new ByteArrayInputStream(bytes 66 mfield2 = (MessageFormat.Field) in.readObject(); 73 in.readObject(); 86 if (in != null) 87 in.close();
|
OldNumberFormatFieldTest.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 43 // implemented in 57 ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray())); local 58 NumberFormat.Field nfield2 = (NumberFormat.Field) in.readObject(); 62 in.readObject(); 67 in.close();
|
/dalvik/dx/tests/117-modified-utf8/com/android/dx/util/ |
Mutf8Test.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 29 ByteInput in = new ByteArrayByteInput( local 31 assertEquals('A', in.readByte()); 32 assertEquals("BC\u0000", Mutf8.decode(in, new char[3])); 33 assertEquals('E', in.readByte());
|
/device/google/contexthub/firmware/external/arm/ |
arm_cos_f32.c | 14 * Redistribution and use in source and binary forms, with or without
19 * - Redistributions in binary form must reproduce the above copyright
20 * notice, this list of conditions and the following disclaimer in
30 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
35 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
36 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
53 * The input to the floating-point version is in radians while the
89 * @param[in] x input value in radians.
96 float32_t cosVal, fract, in; /* Temporary variables for input, output */ local [all...] |
arm_sin_f32.c | 14 * Redistribution and use in source and binary forms, with or without
19 * - Redistributions in binary form must reproduce the above copyright
20 * notice, this list of conditions and the following disclaimer in
30 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
35 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
36 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
54 * The input to the floating-point version is in radians while the
90 * @param[in] x input value in radians.
97 float32_t sinVal, fract, in; /* Temporary variables for input, output */ local [all...] |
/external/boringssl/src/crypto/evp/ |
evp_asn1.c | 10 * apply to all code found in this distribution, be it the RC4, RSA, 15 * Copyright remains Eric Young's, and as such any Copyright notices in 17 * If this package is used in a product, Eric Young should be given attribution 19 * This can be in the form of a textual message at program startup or 20 * in documentation (online or textual) provided with the package. 22 * Redistribution and use in source and binary forms, with or without 27 * 2. Redistributions in binary form must reproduce the above copyright 28 * notice, this list of conditions and the following disclaimer in the 43 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 47 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRIC 86 const uint8_t *in = *inp; local [all...] |
/external/boringssl/src/crypto/poly1305/ |
poly1305_test.cc | 5 * copyright notice and this permission notice appear in all copies. 9 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 11 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION 12 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 35 std::vector<uint8_t> key, in, mac; local 37 !t->GetBytes(&in, "Input") || 49 CRYPTO_poly1305_update(&state, in.data(), in.size()); 59 for (size_t i = 0; i < in.size(); i++) { 60 CRYPTO_poly1305_update(&state, &in[i], 1) [all...] |
/external/boringssl/src/crypto/x509/ |
x509_set.c | 10 * apply to all code found in this distribution, be it the RC4, RSA, 15 * Copyright remains Eric Young's, and as such any Copyright notices in 17 * If this package is used in a product, Eric Young should be given attribution 19 * This can be in the form of a textual message at program startup or 20 * in documentation (online or textual) provided with the package. 22 * Redistribution and use in source and binary forms, with or without 27 * 2. Redistributions in binary form must reproduce the above copyright 28 * notice, this list of conditions and the following disclaimer in the 43 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 47 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRIC 83 ASN1_INTEGER *in; local 113 ASN1_TIME *in; local 131 ASN1_TIME *in; local [all...] |
/external/clang/test/SemaCXX/ |
wchar_t.cpp | 31 wchar_t in[] = L"\x434" "\x434"; // No warning variable
|
/external/curl/src/ |
tool_cb_see.c | 10 * This software is licensed as described in the file COPYING, which 49 struct InStruct *in = userdata; local 67 if(LSEEK_ERROR == lseek(in->fd, 0, SEEK_SET)) 73 if(LSEEK_ERROR == lseek(in->fd, step, SEEK_CUR)) 82 if(LSEEK_ERROR == lseek(in->fd, offset, whence)) 83 /* couldn't rewind, the reason is in errno but errno is just not portable
|