/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
BufferedReaderTest.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 61 private void assertLines(String in, String... lines) throws IOException { 63 = new BufferedReader(new Support_StringReader(in)); 75 assertTrue("Used in tests", true); 83 assertTrue("Used in tests", true); 131 Reader in = new BufferedReader(new Support_StringReader(new String( local 134 in.skip(6); 135 in.mark(14); 136 in.read(new char[14], 0, 14) 205 Reader in = new BufferedReader(new Support_StringReader(new String( local [all...] |
FileInputStreamTest.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 251 FileInputStream in = new FileInputStream(tmpFile); local 253 in.read(null, 0, 0); 258 in.close();
|
/bionic/tests/ |
fcntl_test.cpp | 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 27 // Glibc v2.19 doesn't include these in fcntl.h so host builds will fail without. 170 int in = open("/proc/cpuinfo", O_RDONLY); local 171 ASSERT_NE(in, -1); 175 ssize_t bytes_read = splice(in, 0, pipe_fds[1], NULL, 8*1024, SPLICE_F_MORE | SPLICE_F_MOVE); 183 close(in); 220 int in = open("/proc/version", O_RDONLY); local 221 ASSERT_NE(in, -1); 224 ssize_t bytes_read = splice(in, 0, pipe1[1], NULL, 8*1024, SPLICE_F_MORE | SPLICE_F_MOVE) [all...] |
/cts/tests/tests/net/src/android/net/wifi/cts/ |
ConfigParserTest.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 50 InputStream in = getClass().getClassLoader().getResourceAsStream(filename); local 51 BufferedReader reader = new BufferedReader(new InputStreamReader(in)); 62 * Generate a {@link PasspointConfiguration} that matches the configuration specified in the
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
InitTest.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 36 float[] in = new float[INPUTSIZE]; local 42 in[i] = 0; 45 mIn.copy1DRangeFrom(0, INPUTSIZE, in);
|
/cts/tests/tests/rscpp/librscpptest/ |
rs_jni_foreach.cpp | 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 52 sp<Allocation> in = Allocation::createTyped(mRS, t); local 55 fe_all->forEach_test_i8(in, out); 60 in = Allocation::createTyped(mRS, t); 63 fe_all->forEach_test_i8_2(in, out); 68 in = Allocation::createTyped(mRS, t); 71 fe_all->forEach_test_i8_3(in, out); 76 in = Allocation::createTyped(mRS, t); 79 fe_all->forEach_test_i8_4(in, out) [all...] |
/dalvik/dexgen/src/com/android/dexgen/util/ |
DexJarMaker.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 66 // Ignoring deliberately in order to keep the original exception clear. 84 BufferedInputStream in = new BufferedInputStream(new FileInputStream(source)); local 90 while ((curr = in.read()) != -1) {
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
TextSwitcher1.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 51 Animation in = AnimationUtils.loadAnimation(this, local 55 mSwitcher.setInAnimation(in);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/ |
inffast.c | 3 * For conditions of distribution and use, see copyright notice in zlib.h
38 inflate execution time is spent in this routine.
52 BAD -- error in block data
72 z_const unsigned char FAR *in; /* local strm->next_in */
local 73 z_const unsigned char FAR *last; /* have enough input while in < last */
81 unsigned whave; /* valid bytes in the window */
99 in = strm->next_in - OFF;
100 last = in + (strm->avail_in - 5);
122 hold += (unsigned long)(PUP(in)) << bits;
124 hold += (unsigned long)(PUP(in)) << bits; [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/ |
inffast.c | 3 * For conditions of distribution and use, see copyright notice in zlib.h
38 inflate execution time is spent in this routine.
52 BAD -- error in block data
72 unsigned char FAR *in; /* local strm->next_in */
local 73 unsigned char FAR *last; /* while in < last, enough input available */
81 unsigned whave; /* valid bytes in the window */
99 in = strm->next_in - OFF;
100 last = in + (strm->avail_in - 5);
122 hold += (unsigned long)(PUP(in)) << bits;
124 hold += (unsigned long)(PUP(in)) << bits; [all...] |
/external/boringssl/src/crypto/bytestring/ |
ber.c | 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 55 /* cbs_find_ber walks an ASN.1 structure in |orig_in| and sets |*ber_found| 60 CBS in; local 66 CBS_init(&in, CBS_data(orig_in), CBS_len(orig_in)); 69 while (CBS_len(&in) > 0) { 74 if (!CBS_get_any_ber_asn1_element(&in, &contents, &tag, &header_len)) { 86 /* Constructed strings are only legal in BER and require conversion. * [all...] |
/external/boringssl/src/crypto/cipher_extra/ |
cipher_test.cc | 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 121 const std::vector<uint8_t> *in, *out local [all...] |
/external/boringssl/src/crypto/pkcs7/ |
pkcs7.c | 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 37 * input. If the input is in BER format, then |*der_bytes| will be set to a 45 CBS in, content_info, content_type, wrapped_signed_data, signed_data; local 48 /* The input may be in BER format. */ 54 CBS_init(&in, *der_bytes, der_len); 56 CBS_init(&in, CBS_data(cbs), CBS_len(cbs)); 60 if (!CBS_get_asn1(&in, &content_info, CBS_ASN1_SEQUENCE) | [all...] |
/external/boringssl/src/decrepit/blowfish/ |
blowfish.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 442 uint32_t *p, ri, in[2]; local [all...] |
/external/boringssl/src/fipstools/ |
cavp_test_util.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 23 std::string EncodeHex(const uint8_t *in, size_t in_len) { 28 ret += kHexDigits[in[i] >> 4]; 29 ret += kHexDigits[in[i] & 0xf]; 82 const std::vector<uint8_t> &in) { 93 *out = std::vector<uint8_t>(in.size()); 98 !EVP_CipherUpdate(ctx.get(), out->data(), &result_len1, in.data() 147 std::vector<uint8_t> in = ct; local [all...] |
/external/boringssl/src/ssl/ |
ssl_file.cc | 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 134 BIO *in; local 198 BIO *in; variable 242 BIO_free(in); variable 252 BIO *in; local 295 BIO *in; local 336 BIO *in; local 376 BIO *in; local 418 BIO *in; local 458 BIO *in; local 500 BIO *in; local [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
PEMUtil.java | 30 InputStream in) 38 while (((c = in.read()) != '\r') && c != '\n' && (c >= 0)) 54 in.mark(1); 55 if (((c = in.read()) == '\n')) 57 in.mark(1); 62 in.reset(); 70 InputStream in) 76 while ((line = readLine(in)) != null) 84 while ((line = readLine(in)) != null)
|
/external/curl/lib/ |
escape.c | 10 * This software is licensed as described in the file COPYING, which 23 /* Escape and unescape URL encoding in strings. The functions return a new 35 /* The last 3 #include files should be in this order */ 44 static bool Curl_isunreserved(unsigned char in) 46 switch (in) { 85 unsigned char in; /* we need to treat the characters unsigned */ local 103 in = *string; 105 if(Curl_isunreserved(in)) 107 ns[strindex++]=in; 121 result = Curl_convert_to_network(data, &in, 1) 155 unsigned char in; local [all...] |
/external/dhcpcd-6.8.2/crypt/ |
md5.c | 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. 70 /* This is the central step in the MD5 algorithm. */ 82 uint32_t a, b, c, d, in[MD5_BLOCK_LENGTH / 4]; local 85 memcpy(in, block, sizeof(in)); 88 in[a] = (uint32_t)( 101 MD5STEP(F1, a, b, c, d, in[ 0] + 0xd76aa478, 7); 102 MD5STEP(F1, d, a, b, c, in[ 1] + 0xe8c7b756, 12); 103 MD5STEP(F1, c, d, a, b, in[ 2] + 0x242070db, 17) [all...] |
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/ |
BufferCallbackTimes.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 * Maintains and returns pairs of callback timestamps (in milliseconds since beginning of test) and 140 Bundle in = source.readBundle(getClass().getClassLoader()); local 141 mTimeStamps = in.getIntArray("mTimeStamps"); 142 mCallbackDurations = in.getShortArray("mCallbackDurations"); 143 mExpectedBufferPeriod = in.getShort("mExpectedBufferPeriod"); 144 mExceededCapacity = in.getBoolean("mExceededCapacity"); 145 mIndex = in.getInt("mIndex"); 150 public BufferCallbackTimes createFromParcel(Parcel in) { [all...] |
/external/freetype/src/base/ |
ftgloadr.c | 50 /* several glyphs (those `in the stack'). */ 62 /* re-implement it in one way or the other, which wasted code and */ 354 /* adjust contours count in newest outline */ 377 FT_Outline* in = &source->base.outline; local 380 FT_ARRAY_COPY( out->points, in->points, 382 FT_ARRAY_COPY( out->tags, in->tags, 384 FT_ARRAY_COPY( out->contours, in->contours,
|
/external/guava/guava-tests/test/com/google/common/io/ |
LittleEndianDataOutputStreamTest.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 42 /* Write out various test values in LITTLE ENDIAN FORMAT */ 61 DataInput in = new DataInputStream(new ByteArrayInputStream(data)); local 63 /* Read in various values NORMALLY */ 65 in.readFully(b); 68 assertEquals(true, in.readBoolean()); 69 assertEquals(false, in.readBoolean()); 70 assertEquals(100, in.readByte()); 71 assertEquals(-100, in.readByte()) 92 DataInput in = new DataInputStream(new ByteArrayInputStream(data)); local 109 DataInput in = new DataInputStream(new ByteArrayInputStream(data)); local 126 DataInput in = new DataInputStream(new ByteArrayInputStream(data)); local [all...] |
/external/icu/icu4c/source/samples/layout/ |
GnomeFontInstance.cpp | 188 le_int32 in, out; local 190 for (in = 0, out = 0; in < glyphCount; in += 1) { 191 TTGlyphID glyph = LE_GET_GLYPH(glyphs[in]); 195 glyph_t[out].x = x + positions[in*2]; 196 glyph_t[out].y = y + positions[in*2 + 1];
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/ |
Trans.java | 62 BufferedReader in = null; local 64 in = new BufferedReader(new InputStreamReader(new FileInputStream(inName), "UTF8")); 72 trans(trans, inText, in, out, isHTML); 77 BufferedReader in, PrintWriter out, boolean isHTML) throws IOException { 84 } else if (in != null) { 85 line = in.readLine();
|
/external/jacoco/org.jacoco.core/src/org/jacoco/core/data/ |
ExecutionDataReader.java | 27 protected final CompactDataInput in; field in class:ExecutionDataReader 38 * is read in single bytes. 44 this.in = new CompactDataInput(input); 83 int i = in.read(); 124 if (in.readChar() != ExecutionDataWriter.MAGIC_NUMBER) { 127 final char version = in.readChar(); 137 final String id = in.readUTF(); 138 final long start = in.readLong(); 139 final long dump = in.readLong(); 147 final long id = in.readLong() [all...] |