/cts/tests/tests/security/src/android/security/cts/ |
KernelSettingsTest.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 81 * Verify that ext4 extended attributes (xattrs) are enabled in the 88 * Failure to enable this option may result in upgrade problems when 117 BufferedReader in = null; local 119 in = new BufferedReader(new FileReader(filename)); 120 return in.readLine().trim(); 122 if (in != null) { 123 in.close();
|
/cts/tests/tests/selinux/selinuxTargetSdk/src/android/selinuxtargetsdk/cts/ |
SELinuxTargetSdkTest.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 32 BufferedReader in = null; local 34 in = new BufferedReader(new FileReader(filename)); 35 return in.readLine().trim(); 37 if (in != null) { 38 in.close(); 52 "must run in the untrusted_app_25 selinux domain.",
|
/cts/tools/cfassembler/src/dxconvext/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();
|
/dalvik/dexgen/src/com/android/dexgen/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 76 FileInputStream in = new FileInputStream(file); local 80 int amt = in.read(result, at, length); 88 in.close();
|
/dalvik/dx/src/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();
|
/development/tools/idegen/src/ |
Files.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 Reader in = new FileReader(file); local 33 while ((read = in.read(buffer)) > -1) { 36 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/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/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
testcapi_long.h | 32 TYPENAME in, out;
local 59 in = (TYPENAME)uin;
60 pyresult = F_S_TO_PY(in);
69 if (out != in)
|
/device/linaro/bootloader/edk2/OvmfPkg/Include/IndustryStandard/Xen/io/ |
console.h | 8 * deal in the Software without restriction, including without limitation the
13 * The above copyright notice and this permission notice shall be included in
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE.
35 char in[1024];
member in struct:xencons_interface
|
/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 29 const std::vector<uint8_t> &in, 36 // Feed 16 bytes in. Some implementations begin in non-SIMD mode and upgrade 39 if (todo > in.size()) { 40 todo = in.size(); 42 CRYPTO_poly1305_update(&state, in.data(), todo) 76 std::vector<uint8_t> key, in, mac; local [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 81 ASN1_INTEGER *in; local 112 ASN1_TIME *in; local 129 ASN1_TIME *in; local [all...] |
/external/clang/test/SemaCXX/ |
wchar_t.cpp | 31 wchar_t in[] = L"\x434" "\x434"; // No warning variable
|