/external/openssl/crypto/engine/ |
eng_openssl.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 60 * ECDH support in OpenSSL originally developed by 374 BIO *in; local [all...] |
/external/openssl/crypto/evp/ |
evp_test.c | 5 * 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 20 * for use in the OpenSSL Toolkit. (http://www.openssl.org/)" 28 * nor may "OpenSSL" appear in their names without prior written 34 * for use in the OpenSSL Toolkit (http://www.openssl.org/)" 39 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR 44 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 46 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 137 const unsigned char *iv,int in, 371 int kn,in,pn,cn; local [all...] |
/external/openssl/crypto/rc2/ |
rc2test.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 107 unsigned char in[8]={0x00,0x00,0x00,0x01,0x00,0x02,0x00,0x03}; variable [all...] |
/external/openssl/ssl/ |
ssl_cert.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 654 BIO *in; local 725 BIO *in; local [all...] |
ssl_rsa.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 88 BIO *in; local 232 BIO *in; local 317 BIO *in; local 457 BIO *in; local 554 BIO *in; local 636 BIO *in; local 745 BIO *in; local [all...] |
/external/oprofile/libabi/ |
opimport.cpp | 199 void * in; local 207 in = mmap(0, statb.st_size, PROT_READ, MAP_PRIVATE, in_fd, 0); 208 assert(in != (void *)-1); 219 import_from_abi(input_abi, in, statb.st_size, &dest); 226 rc = munmap(in, statb.st_size);
|
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/ |
DocumentsClientTest.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 316 InputStream in = getInstrumentation().getContext().getContentResolver() local 322 while ((count = in.read(buffer)) != -1) { 327 in.close();
|
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
ImageFetcher.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 182 * The main process method, which will be called by the ImageWorker in the AsyncTask background 185 * @param data The data to load the bitmap, in this case, a regular http URL 210 Log.d(TAG, "processBitmap, not found in http cache, downloading..."); 270 BufferedInputStream in = null; local 275 in = new BufferedInputStream(urlConnection.getInputStream(), IO_BUFFER_SIZE); 279 while ((b = in.read()) != -1) { 284 Log.e(TAG, "Error in downloadBitmap - " + e); 293 if (in != null) [all...] |
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
ImageFetcher.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 182 * The main process method, which will be called by the ImageWorker in the AsyncTask background 185 * @param data The data to load the bitmap, in this case, a regular http URL 210 Log.d(TAG, "processBitmap, not found in http cache, downloading..."); 270 BufferedInputStream in = null; local 275 in = new BufferedInputStream(urlConnection.getInputStream(), IO_BUFFER_SIZE); 279 while ((b = in.read()) != -1) { 284 Log.e(TAG, "Error in downloadBitmap - " + e); 293 if (in != null) [all...] |
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/ |
ImageFetcher.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 182 * The main process method, which will be called by the ImageWorker in the AsyncTask background 185 * @param data The data to load the bitmap, in this case, a regular http URL 210 Log.d(TAG, "processBitmap, not found in http cache, downloading..."); 270 BufferedInputStream in = null; local 275 in = new BufferedInputStream(urlConnection.getInputStream(), IO_BUFFER_SIZE); 279 while ((b = in.read()) != -1) { 284 Log.e(TAG, "Error in downloadBitmap - " + e); 293 if (in != null) [all...] |
/external/apache-http/src/org/apache/commons/logging/impl/ |
SimpleLog.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 * included in output messages. Defaults to <code>false</code>.</li> 52 * included in output messages. Defaults to <code>true</code>.</li> 55 * to be included in output messages. Default is <code>false</code>.</li> 57 * The date and time format to be used in the output messages. 59 * used in <code>java.text.SimpleDateFormat</code>. If the format is not 64 * <p>In addition to looking for system properties with the names specified 96 /** Include the instance name in the log message? */ 98 /** Include the short name ( last component ) of the logger in the lo 159 InputStream in = getResourceAsStream("simplelog.properties"); typedefs 162 simpleLogProps.load(in); typedefs [all...] |
/external/chromium_org/components/cronet/android/test/src/org/chromium/cronet_test_apk/ |
CronetTestActivity.java | 3 // found in the LICENSE file. 142 InputStream in = assetManager.open(testFile); local 146 while ((read = in.read(buffer)) != -1) { 149 in.close();
|
/cts/hostsidetests/theme/src/android/theme/cts/ |
ThemeHostTest.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 55 private static final int CAPTURE_TIMEOUT = 500;//0.5sec in ms 57 private static final int ADB_TIMEOUT = 60 * 60 * 1000;//60mins in ms 65 /** The class name of the main activity in the APK. */ 230 final ZipInputStream in = new ZipInputStream(zipStream); local 234 while ((ze = in.getNextEntry()) != null) { 239 while ((count = in.read(buffer)) != -1) { 247 in.close(); 305 assertTrue(failures + " failures in theme test", failures == 0) 328 final Scanner in = new Scanner(logs); local [all...] |
/cts/libs/json/src/com/android/json/stream/ |
JsonReader.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 * end delimiters of objects and arrays. The tokens are traversed in 30 * depth-first order, the same order that they appear in the JSON document. 37 * <p>Next, create handler methods for each structure in your JSON text. You'll 86 * public List<Message> readJsonStream(InputStream in) throws IOException { 87 * JsonReader reader = new JsonReader(new InputStreamReader(in, "UTF-8")); 165 * in JSON. 176 private final Reader in; field in class:JsonReader 207 * and length in the buffer [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
ParcelFileDescriptorTest.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 53 AutoCloseInputStream in = new AutoCloseInputStream(pfd); local 56 assertEquals(0, in.read()); 57 assertEquals(1, in.read()); 58 assertEquals(2, in.read()); 59 assertEquals(3, in.read()); 61 in.close(); 105 AutoCloseInputStream in = new AutoCloseInputStream(pfd); local 106 assertEquals(DATA, in.read()) 181 AutoCloseInputStream in = new AutoCloseInputStream(pfd); local [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/ |
DebugEventSocketProxy.java | 6 Redistribution and use in source and binary forms, with or without 11 2. Redistributions in binary form must reproduce the above copyright 12 notice, this list of conditions and the following disclaimer in the 20 IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 24 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 43 * be kept in sync. New events must be handled on both sides of socket. 52 protected BufferedReader in; field in class:DebugEventSocketProxy 83 in = new BufferedReader(isr); 108 in.readLine() [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
KeyStore2Test.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 472 InputStream in = new ByteArrayInputStream(keyStore); local 473 keyTest.load(in, pssWord); 474 in.close(); 484 in = new ByteArrayInputStream(keyStore); 485 keyTest.load(in, null); 486 in.close();
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/utils/ |
Util.java | 166 InputStream in = new FileInputStream(src); local 170 while ((len = in.read(buf)) > 0) { 173 in.close(); 188 * @param in the input stream. 193 public static boolean copyStream(InputStream in, File dest) { 199 while ((len = in.read(buf)) > 0) { 202 in.close();
|
/bionic/libc/tools/zoneinfo/ |
ZoneCompactor.java | 27 // Maximum number of characters in a zone name, including '\0' terminator. 43 InputStream in = new FileInputStream(inFile); local 46 int nbytes = in.read(buf); 89 // Fill in fields for links. 106 // int index_offset -- so we can slip in extra header fields in a backwards-compatible way 164 // Go back and fix up the offsets in the header.
|
/bootable/recovery/minui/ |
graphics.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 282 // fall back to the compiled-in font. 293 unsigned char* in = font.rundata; local 294 while((data = *in++)) {
|
/cts/common/host-side/java-scanner/tests/src/com/android/compatibility/common/scanner/ |
JavaScannerTest.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 48 // TestCases must have TestCase in their hierarchy 113 final BufferedReader in = new BufferedReader(new InputStreamReader(p.getInputStream())); local 115 while ((line = in.readLine()) != null) {
|
/cts/libs/vogar-expect/src/vogar/commands/ |
Command.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 121 BufferedReader in = new BufferedReader( local 125 while ((outputLine = in.readLine()) != null) {
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
MovieTest.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 98 private byte[] inputStreamToBytes(InputStream in) throws IOException { 102 while ((len = in.read(buffer)) >= 0) { 105 in.close();
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
TestAcosh.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 public float in; field in class:TestAcosh.ArgumentsFloatFloat 43 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xb2c74105f8e94ea7l, false); local 46 script.forEach_testAcoshFloatFloat(in, out); 47 verifyResultsAcoshFloatFloat(in, out, false); 53 scriptRelaxed.forEach_testAcoshFloatFloat(in, out); 54 verifyResultsAcoshFloatFloat(in, out, true); 60 private void verifyResultsAcoshFloatFloat(Allocation in, Allocation out, boolean relaxed) { 62 in.copyTo(arrayIn) 102 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x4123c61e7e518f4bl, false); local 161 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0x4123d0bfdd5824e5l, false); local 220 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 4, 0x4123db613c5eba7fl, false); local [all...] |
TestAsinh.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 public float in; field in class:TestAsinh.ArgumentsFloatFloat 43 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x3c94145f20a86cdal, false); local 46 script.forEach_testAsinhFloatFloat(in, out); 47 verifyResultsAsinhFloatFloat(in, out, false); 53 scriptRelaxed.forEach_testAsinhFloatFloat(in, out); 54 verifyResultsAsinhFloatFloat(in, out, true); 60 private void verifyResultsAsinhFloatFloat(Allocation in, Allocation out, boolean relaxed) { 62 in.copyTo(arrayIn) 102 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 2, 0x8986450e91b2ada6l, false); local 161 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 3, 0x89864faff0b94340l, false); local 220 Allocation in = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 4, 0x89865a514fbfd8dal, false); local [all...] |