/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
BerInputStreamTest.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 82 BerInputStream in = new BerInputStream( local 87 assertEquals(expected, in.getLength()); 116 encoding[1] = (byte) 0x82; // length is encoded in two bytes 120 BerInputStream in = new BerInputStream(new ByteArrayInputStream( local 122 assertEquals(encoding.length, in.getBuffer().length); 140 BerInputStream in = new BerInputStream(encoded, 0, 3); local 141 assertEquals("boolean", 1, in.getLength()); 144 in = new BerInputStream(encoded, 3, 4) 178 ByteArrayInputStream in = new ByteArrayInputStream(encoding) { local [all...] |
BitStringTest.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 64 DerInputStream in = new DerInputStream( local 68 BitString decoded = (BitString) asn1.decode(in); 79 DerInputStream in = new DerInputStream(new ByteArrayInputStream( local 83 BitString decoded = (BitString) asn1.decode(in); 111 // wrong content: unused bits in final octet are not 0 118 DerInputStream in = new DerInputStream(invalid[i]); local 119 ASN1BitString.getInstance().decode(in); 159 DerInputStream in = new DerInputStream local 201 DerInputStream in = new DerInputStream( local [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 27 /* cbs_find_ber walks an ASN.1 structure in |orig_in| and sets |*ber_found| 29 * |in| is not changed. It returns one on success (i.e. |*ber_found| was set) 32 CBS in; local 38 CBS_init(&in, CBS_data(orig_in), CBS_len(orig_in)); 41 while (CBS_len(&in) > 0) { 46 if (!CBS_get_any_ber_asn1_element(&in, &contents, &tag, &header_len)) [all...] |
/external/boringssl/src/crypto/cipher/ |
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 119 const std::vector<uint8_t> *in, *out local [all...] |
/external/boringssl/src/crypto/ |
mem.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 138 const uint8_t *in = ptr; local [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 441 uint32_t *p, ri, in[2]; local [all...] |
/external/boringssl/src/ssl/ |
ssl_file.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 135 BIO *in; local 198 BIO *in; local 299 BIO *in; local 342 BIO *in; local 383 BIO *in; local 423 BIO *in; local 465 BIO *in; local 505 BIO *in; local 547 BIO *in; local [all...] |
/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 44 static bool Curl_isunreserved(unsigned char in) 46 switch (in) { 84 unsigned char in; /* we need to treat the characters unsigned */ local 96 in = *string; 98 if(Curl_isunreserved(in)) 100 ns[strindex++]=in; 116 result = Curl_convert_to_network(handle, &in, 1); 123 snprintf(&ns[strindex], 4, "%%%02X", in); 150 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/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 | 182 le_int32 in, out; local 184 for (in = 0, out = 0; in < glyphCount; in += 1) { 185 TTGlyphID glyph = LE_GET_GLYPH(glyphs[in]); 189 glyph_t[out].x = x + positions[in*2]; 190 glyph_t[out].y = y + positions[in*2 + 1];
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/ |
Trans.java | 60 BufferedReader in = null; local 62 in = new BufferedReader(new InputStreamReader(new FileInputStream(inName), "UTF8")); 70 trans(trans, inText, in, out, isHTML); 75 BufferedReader in, PrintWriter out, boolean isHTML) throws IOException { 82 } else if (in != null) { 83 line = in.readLine();
|
/external/jacoco/org.jacoco.core/src/org/jacoco/core/data/ |
ExecutionDataReader.java | 28 protected final CompactDataInput in; field in class:ExecutionDataReader 39 * is read in single bytes. 45 this.in = new CompactDataInput(input); 82 type = in.readByte(); 122 if (in.readChar() != ExecutionDataWriter.MAGIC_NUMBER) { 125 final char version = in.readChar(); 136 final String id = in.readUTF(); 137 final long start = in.readLong(); 138 final long dump = in.readLong(); 146 final long id = in.readLong() [all...] |
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/instr/ |
SignatureRemoverTest.java | 101 InputStream in = new ByteArrayInputStream( local 105 assertTrue(remover.filterEntry("META-INF/MANIFEST.MF", in, out));
|
/external/jsilver/src/com/google/clearsilver/jsilver/precompiler/ |
PrecompiledTemplateMapFileReader.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 35 * Utility class that reads in the file output by BatchCompiler that is a list of template names and 48 * Helper object that reads in the specified resource file and generates a mapping of template 52 * @param dirPattern prefix to remove from read in template names. Used in conjunction with 55 * to the location of the templates in production via a flag. 100 throw new IllegalArgumentException("No template file name found in " + templateMapFile 113 throw new IllegalArgumentException("No class name found in " + templateMapFile + " on line " 125 throw new IllegalArgumentException("Invalid escape mode found in " + templateMapFil 136 InputStream in = classLoader.getResourceAsStream(templateMapFile); local [all...] |