/external/openssl/crypto/des/ |
ecb3_enc.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 68 const unsigned char *in = &(*input)[0]; local [all...] |
/external/oprofile/libutil++/ |
string_manip.h | 41 * separate fields in a string in a list of token; field are 43 * by '\\' to specify a sep char in a token, '\\' not followed 89 std::ostringstream in; local 90 if (!(in << src)) 92 std::istringstream out(in.str()); 96 in.str() +"\")"); 101 // specialization accepting hexadecimal and octal number in input. Note that
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
md5_utils.h | 4 * written by Colin Plumb in 1993, no copyright is claimed. 5 * This code is in the public domain; do with it what you wish. 20 * Still in the public domain. 37 UWORD32 in[16]; member in struct:MD5Context 43 void MD5Transform(UWORD32 buf[4], UWORD32 const in[16]);
|
/libcore/luni/src/test/java/libcore/java/io/ |
FilterInputStreamNullSourceTest.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 49 InputStream in = new CipherInputStream(null, new NullCipher()); local 51 in.read(); 56 assertEquals(0, in.available()); 59 in.close(); 105 private void assertReadsFailWithIoException(InputStream in) throws IOException { 107 in.read(); 113 in.available(); 118 in.close() [all...] |
/libcore/luni/src/test/java/libcore/java/util/zip/ |
DeflaterInputStreamTest.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 InputStream in = new DeflaterInputStream(new ByteArrayInputStream(data)); local 35 assertEquals(1, in.available()); 37 while ((b = in.read()) != -1) { 40 assertEquals(0, in.available()); 44 in.close(); 46 in.available(); 53 java.io.InputStream in = new InflaterInputStream(new ByteArrayInputStream(bytes)); local 57 while ((count = in.read(buffer)) != -1) 66 InputStream in = new DeflaterInputStream(new ByteArrayInputStream(data)); local 89 InputStream in = new DeflaterInputStream(new ByteArrayInputStream(data)); local [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.get.area/ |
setg.pass.cpp | 41 char in[] = "ABC"; local 42 t.setg(in, in+1, in+sizeof(in)/sizeof(in[0])); 46 wchar_t in[] = L"ABC"; local 47 t.setg(in, in+1, in+sizeof(in)/sizeof(in[0])) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.put.area/ |
setp.pass.cpp | 41 char in[] = "ABC"; local 42 t.setp(in, in+sizeof(in)/sizeof(in[0])); 46 wchar_t in[] = L"ABC"; local 47 t.setp(in, in+sizeof(in)/sizeof(in[0])) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.put/ |
xsputn.pass.cpp | 37 char in[] = "123456"; local 38 assert(t.sputn(in, sizeof(in)) == 0); 39 char out[sizeof(in)] = {0}; 41 assert(t.sputn(in, sizeof(in)) == sizeof(in)); 42 assert(strcmp(in, out) == 0);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/ |
__scan_keyword.pass.cpp | 15 // Scans [__b, __e) until a match is found in the basic_strings range 16 // [__kb, __ke) or until it can be shown that there is no match in [__kb, __ke). 18 // or proved to not exist. A keyword may be "", in which will match anything. 19 // If one keyword is a prefix of another, and the next CharT in the input 25 // If on exit __b == __e, eofbit is set in __err. If __case_sensitive is false, 48 const char* in = input; local 51 std::string* k = std::__scan_keyword(in, input+sizeof(input)-1, 55 assert(in == input+1); 60 const char* in = input; local 63 std::string* k = std::__scan_keyword(in, input+sizeof(input)-1 72 const char* in = input; local 84 const char* in = input; local 96 const char* in = input; local 108 const char* in = input; local [all...] |
/packages/apps/Camera/jni/feature_mos/src/mosaic/ |
Interp.h | 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 51 ImageTypeShortBase *in = img->ptr[yi-1] + xi - 1; local 54 tmpf[0] = in[0] * ciTable[off + 40]; 55 tmpf[0] += in[1] * ciTable[off]; 56 tmpf[0] += in[2] * ciTable[40 - off]; 57 tmpf[0] += in[3] * ciTable[80 - off]; 58 in += img->pitch; 59 tmpf[1] = in[0] * ciTable[off + 40]; 60 tmpf[1] += in[1] * ciTable[off] [all...] |
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
Interp.h | 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 51 ImageTypeShortBase *in = img->ptr[yi-1] + xi - 1; local 54 tmpf[0] = in[0] * ciTable[off + 40]; 55 tmpf[0] += in[1] * ciTable[off]; 56 tmpf[0] += in[2] * ciTable[40 - off]; 57 tmpf[0] += in[3] * ciTable[80 - off]; 58 in += img->pitch; 59 tmpf[1] = in[0] * ciTable[off + 40]; 60 tmpf[1] += in[1] * ciTable[off] [all...] |
/cts/tests/tests/security/src/android/security/cts/ |
AslrTest.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 39 BufferedReader in = null; local 41 in = new BufferedReader(new FileReader("/proc/sys/kernel/randomize_va_space")); 42 int level = Integer.parseInt(in.readLine().trim()); 49 if (in != null) { 50 in.close();
|
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 38 * Ensure that SELinux is in enforcing mode. 102 * Verify that ext4 extended attributes (xattrs) are enabled in the 109 * Failure to enable this option may result in upgrade problems when 119 BufferedReader in = null; local 121 in = new BufferedReader(new FileReader(filename)); 122 return in.readLine().trim(); 124 if (in != null) { 125 in.close() [all...] |
Proc.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 34 BufferedReader in = null; local 36 in = new BufferedReader(new FileReader(cmdLine)); 37 String line = in.readLine(); 42 if (in != null) { 43 in.close();
|
/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 75 FileInputStream in = new FileInputStream(file); local 78 int amt = in.read(result, at, length); 85 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/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/pkcs7/ |
AuthenticatedAttributesTest.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 37 InputStream in = Support_Resources.getResourceStream(tSTokenPath); local 42 ContentInfo token = (ContentInfo) ContentInfo.ASN1.decode(in); 52 in.close();
|
/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 33 private InputStream in; field in class:MultiInputStream 48 if (in != null) { 50 in.close(); 52 in = null; 63 in = it.next().getInput(); 68 if (in == null) { 71 return in.available(); 79 if (in == null) [all...] |
/external/okhttp/okcurl/src/main/java/com/squareup/okhttp/curl/ |
Main.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 63 InputStream in = Main.class.getResourceAsStream("/okcurl-version.properties"); local 64 prop.load(in); 65 in.close(); 106 @Option(name = { "-i", "--include" }, description = "Include protocol headers in the output")
|
/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();
|