/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/java/io/ |
SequenceInputStream.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 38 private InputStream in; field in class:SequenceInputStream 58 in = s1; 69 * if any of the elements in {@code e} is {@code null}. 74 in = e.nextElement(); 75 if (in == null) { 83 if (e != null && in != null) { 84 return in.available(); 90 * Closes all streams in this sequence of input stream [all...] |
/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 | 32 // Keep-alive seems to be on by default, but just in case that changes. 34 InputStream in = connection.getInputStream(); local 35 while (in.available() > 0) { 36 in.read(); 38 in.close();
|
/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();
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
ZipInputStreamTest.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 54 ZipInputStream in = new ZipInputStream(new ByteArrayInputStream(bytes)); local 57 ZipEntry entry = in.getNextEntry(); 62 while ((count = in.read(buffer)) != -1) { 66 assertNull(in.getNextEntry()); // There's only one entry in the Zip files we create. 68 in.close(); 77 ZipInputStream in = new ZipInputStream(emptyZipIn); local 79 ZipEntry entry = in.getNextEntry() [all...] |
/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());
|
/external/chromium_org/chrome/browser/net/ |
disk_cache_dir_policy_handler_unittest.cc | 3 // found in the LICENSE file. 41 // Use a variable in the value. It should be expanded by the handler. 42 const std::string in = "${user_name}/foo"; local 46 base::Value::CreateStringValue(in),
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/ |
inet_ntop.cc | 3 // found in the LICENSE file. 25 struct in_addr in; local 26 memcpy(&in, src, sizeof(in)); 27 char* result = inet_ntoa(in);
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
json_unittest.cc | 5 * Redistribution and use in source and binary forms, with or without 10 * 2. Redistributions in binary form must reproduce the above copyright notice, 11 * this list of conditions and the following disclaimer in the documentation 18 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO 23 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 24 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 184 std::vector<T> in; local 185 in.push_back(a); 186 in.push_back(b); 187 in.push_back(c) 201 std::vector<Json::Value> in = VecOf3<Json::Value>("a", "b", "c"); local 217 std::vector<int> in = VecOf3<int>(1, 2, 3); local 233 std::vector<unsigned int> in = VecOf3<unsigned int>(1, 2, 3); local 249 std::vector<std::string> in = VecOf3<std::string>("a", "b", "c"); local 265 std::vector<bool> in = VecOf3<bool>(false, true, false); local 281 std::vector<double> in = VecOf3<double>(1.0, 2.0, 3.0); local [all...] |
/external/chromium_org/third_party/openmax_dl/dl/sp/src/x86/ |
x86SP_FFT_F32_radix4_kernel.c | 5 * that can be found in the LICENSE file in the root of the source 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 15 const OMX_F32 *in, 20 const OMX_F32 *in, 25 const OMX_F32 *in, 30 const OMX_F32 *in, 35 const OMX_F32 *in, 124 OMX_F32 *in = buf1; local 174 OMX_F32 *in, *out; local [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/bf/ |
bf_skey.c | 11 * apply to all code found in this distribution, be it the RC4, RSA, 16 * Copyright remains Eric Young's, and as such any Copyright notices in 18 * If this package is used in a product, Eric Young should be given attribution 20 * This can be in the form of a textual message at program startup or 21 * in documentation (online or textual) provided with the package. 23 * Redistribution and use in source and binary forms, with or without 28 * 2. Redistributions in binary form must reproduce the above copyright 29 * notice, this list of conditions and the following disclaimer in the 44 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 48 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRIC 76 BF_LONG *p,ri,in[2]; local [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/x509/ |
x509_set.c | 11 * apply to all code found in this distribution, be it the RC4, RSA, 16 * Copyright remains Eric Young's, and as such any Copyright notices in 18 * If this package is used in a product, Eric Young should be given attribution 20 * This can be in the form of a textual message at program startup or 21 * in documentation (online or textual) provided with the package. 23 * Redistribution and use in source and binary forms, with or without 28 * 2. Redistributions in binary form must reproduce the above copyright 29 * notice, this list of conditions and the following disclaimer in the 44 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 48 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRIC 79 ASN1_INTEGER *in; local 109 ASN1_TIME *in; local 127 ASN1_TIME *in; local [all...] |
x509cset.c | 8 * Redistribution and use in source and binary forms, with or without 15 * 2. Redistributions in binary form must reproduce the above copyright 16 * notice, this list of conditions and the following disclaimer in 23 * for use in the OpenSSL Toolkit. (http://www.OpenSSL.org/)" 31 * nor may "OpenSSL" appear in their names without prior written 37 * for use in the OpenSSL Toolkit (http://www.OpenSSL.org/)" 42 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR 47 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 49 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 86 ASN1_TIME *in; local 104 ASN1_TIME *in; local 138 ASN1_TIME *in; local 156 ASN1_INTEGER *in; local [all...] |
/external/chromium_org/third_party/webrtc/base/ |
json_unittest.cc | 5 * that can be found in the LICENSE file in the root of the source 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 167 std::vector<T> in; local 168 in.push_back(a); 169 in.push_back(b); 170 in.push_back(c); 171 return in; 184 std::vector<Json::Value> in = VecOf3<Json::Value>("a", "b", "c"); local 200 std::vector<int> in = VecOf3<int>(1, 2, 3); local 216 std::vector<unsigned int> in = VecOf3<unsigned int>(1, 2, 3); local 232 std::vector<std::string> in = VecOf3<std::string>("a", "b", "c"); local 248 std::vector<bool> in = VecOf3<bool>(false, true, false); local 264 std::vector<double> in = VecOf3<double>(1.0, 2.0, 3.0); local [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/ |
genstring.c | 7 * Redistribution and use in source and binary forms, with or without 12 * 2. Redistributions in binary form must reproduce the above copyright 13 * notice, this list of conditions and the following disclaimer in the 19 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR OTHER CONTRIBUTORS BE 23 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 37 FILE *in, *out; local 63 in = fopen(argv[i], "rt"); 64 if (!in) { 71 while (fgets(str, MAXLINE, in)) { [all...] |
/external/chromium_org/tools/gn/ |
string_utils_unittest.cc | 3 // found in the LICENSE file. 69 const char* in = "\\\"\\$\\\\"; local 71 EXPECT_TRUE(CheckExpansionCase(in, out, true));
|
/external/clang/test/SemaCXX/ |
wchar_t.cpp | 31 wchar_t in[] = L"\x434" "\x434"; // No warning variable
|
/external/fio/ |
fifo.h | 11 * This program is distributed in the hope that it will be useful, 24 unsigned int in; /* data is added at offset (in % size) */ member in struct:fifo 35 return fifo->in - fifo->out; 40 return fifo->size - fifo->in + fifo->out;
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
Platform.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 * Methods factored out so that they can be emulated differently in GWT. 43 ObjectInputStream in = new ObjectInputStream( local 45 return (T) in.readObject();
|
/external/libcxx/test/input.output/stream.buffers/streambuf/streambuf.members/streambuf.pub.get/ |
in_avail.pass.cpp | 48 char in[5]; local 49 t.setg(in, in+2, in+5);
|