/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/ |
H A D | SynchronousHttpClient.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 44 static long readAllAndClose(InputStream in) throws IOException { argument 47 for (int count; (count = in.read(buffer)) != -1; ) { 50 in.close();
|
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/guide/ |
H A D | GetExample.java | 20 InputStream in = null; 23 in = connection.getInputStream(); 24 byte[] response = readFully(in); 27 if (in != null) in.close(); 31 byte[] readFully(InputStream in) throws IOException { argument 34 for (int count; (count = in.read(buffer)) != -1; ) {
|
/external/openssl/apps/ |
H A D | nseq.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/)" 73 BIO *in = NULL, *out = NULL; local 84 else if (!strcmp (*args, "-in")) { 102 BIO_printf (bio_err, "-in file input file\n"); 109 if (!(in [all...] |
H A D | pkeyparam.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/)" 72 BIO *in = NULL, *out = NULL; local 92 if (!strcmp (*args, "-in")) 132 BIO_printf(bio_err, "-in file input file\n"); 148 if (!(in [all...] |
/external/openssl/crypto/bf/ |
H A D | bf_skey.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 76 BF_LONG *p,ri,in[2]; local 107 in[ [all...] |
/external/openssl/crypto/comp/ |
H A D | comp_lib.c | 38 unsigned char *in, int ilen) 46 ret=ctx->meth->compress(ctx,out,olen,in,ilen); 56 unsigned char *in, int ilen) 65 ret=ctx->meth->expand(ctx,out,olen,in,ilen); 37 COMP_compress_block(COMP_CTX *ctx, unsigned char *out, int olen, unsigned char *in, int ilen) argument 55 COMP_expand_block(COMP_CTX *ctx, unsigned char *out, int olen, unsigned char *in, int ilen) argument
|
/external/openssl/crypto/des/ |
H A D | cbc_cksm.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 61 DES_LONG DES_cbc_cksum(const unsigned char *in, DES_cblock *output, argument 77 c2l(in,tin [all...] |
H A D | cfb64enc.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 63 * 64bit block we have used is contained in *num; 66 void DES_cfb64_encrypt(const unsigned char *in, unsigne argument [all...] |
H A D | 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 68 const unsigned char *in = &(*input)[0]; local 71 c2l(in,l [all...] |
H A D | ncbc_enc.c | 16 * apply to all code found in this distribution, be it the RC4, RSA, 21 * Copyright remains Eric Young's, and as such any Copyright notices in 23 * If this package is used in a product, Eric Young should be given attribution 25 * This can be in the form of a textual message at program startup or 26 * in documentation (online or textual) provided with the package. 28 * Redistribution and use in source and binary forms, with or without 33 * 2. Redistributions in binary form must reproduce the above copyright 34 * notice, this list of conditions and the following disclaimer in the 67 void DES_cbc_encrypt(const unsigned char *in, unsigned char *out, long length, argument 70 void DES_ncbc_encrypt(const unsigned char *in, unsigne [all...] |
/external/openssl/crypto/evp/ |
H A D | e_idea.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 76 const unsigned char *in, size_t inl) 79 idea_ecb_encrypt(in 75 idea_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) argument [all...] |
H A D | e_null.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 69 const unsigned char *in, size_t inl); 98 const unsigned char *in, size_ 97 null_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) argument [all...] |
/external/openssl/crypto/modes/ |
H A D | ofb128.c | 4 * 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 19 * for use in the OpenSSL Toolkit. (http://www.openssl.org/)" 27 * nor may "OpenSSL" appear in their names without prior written 33 * for use in the OpenSSL Toolkit (http://www.openssl.org/)" 64 * 128bit block we have used is contained in *num; 66 void CRYPTO_ofb128_encrypt(const unsigned char *in, unsigned char *out, argument 74 assert(in && out && key && ivec && num); 81 *(out++) = *(in [all...] |
/external/openssl/crypto/pkcs7/ |
H A D | pk7_mime.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/)" 64 int i2d_PKCS7_bio_stream(BIO *out, PKCS7 *p7, BIO *in, int flags) argument 66 return i2d_ASN1_bio_stream(out, (ASN1_VALUE *)p7, in, flags, 70 int PEM_write_bio_PKCS7_stream(BIO *out, PKCS7 *p7, BIO *in, int flags) argument 72 return PEM_write_bio_ASN1_stream(out, (ASN1_VALUE *) p7, in, flag [all...] |
/external/openssl/crypto/rc4/ |
H A D | rc4.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 68 " -in arg - input file - default stdin\n", 76 FILE *in local [all...] |
/external/openssl/crypto/x509/ |
H A D | x509_set.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 79 ASN1_INTEGER *in; local 82 in 109 ASN1_TIME *in; local 127 ASN1_TIME *in; local [all...] |
H A D | x509cset.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/)" 86 ASN1_TIME *in; local 89 in=x->crl->lastUpdate; 90 if (in != tm) 92 in 104 ASN1_TIME *in; local 138 ASN1_TIME *in; local 156 ASN1_INTEGER *in; local [all...] |
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/ |
H A D | cmshalf.c | 8 // to deal in the Software without restriction, including without limitation 13 // The above copyright notice and this permission notice shall be included in 30 // This code is inspired in the paper "Fast Half Float Conversions" 523 } in; local 527 in.flt = flt; 528 n = in.num;
|
/external/protobuf/java/src/device/main/java/com/google/protobuf/nano/android/ |
H A D | ParcelingUtil.java | 5 // Redistribution and use in source and binary forms, with or without 11 // * Redistributions in binary form must reproduce the above 13 // in the documentation and/or other materials provided with the 43 static <T extends MessageNano> T createFromParcel(Parcel in) { argument 44 String className = in.readString(); 45 byte[] data = in.createByteArray();
|
/external/qemu/audio/ |
H A D | mixeng_template.h | 8 * in the Software without restriction, including without limitation the rights 13 * The above copyright notice and this permission notice shall be included in 115 IN_T *in = (IN_T *) src; local 125 out->l = VOL (glue (conv_, ET) (*in++), vol->l); 126 out->r = VOL (glue (conv_, ET) (*in++), vol->r); 135 IN_T *in = (IN_T *) src; local 145 out->l = VOL (glue (conv_, ET) (in[0]), vol->l); 148 in += 1; 155 const struct st_sample *in = src; local 158 *out++ = glue (clip_, ET) (in 167 const struct st_sample *in = src; local [all...] |
/external/qemu/distrib/libsparse/src/ |
H A D | img2simg.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 48 int in; local 70 in = STDIN_FILENO; 72 in = open(argv[1], O_RDONLY | O_BINARY); 73 if (in < 0) { 89 len = lseek64(in, 0, SEEK_END); 90 lseek64(in, 0, SEEK_SET); 99 ret = sparse_file_read(s, in, false, false); 111 close(in); [all...] |
/external/smack/src/org/jivesoftware/smack/util/collections/ |
H A D | ReferenceMap.java | 6 * you may not use this file except in compliance with the License. 11 * Unless required by applicable law or agreed to in writing, software 37 * in which case this class will behave like a 44 * It differs in that keys and values in this class are compared using <code>equals()</code>. 65 * @since Commons Collections 3.0 (previously in main package v2.1) 154 * Read the map in using a custom routine. 156 private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException { argument 157 in.defaultReadObject(); 158 doReadObject(in); [all...] |
/external/smack/src/org/jivesoftware/smackx/bytestreams/socks5/ |
H A D | Socks5Utils.java | 3 * you may not use this file except in compliance with the License.
8 * Unless required by applicable law or agreed to in writing, software
30 * Returns a SHA-1 digest of the given parameters as specified in <a
50 * @param in the DataInputStream to read the message from
55 public static byte[] receiveSocks5Message(DataInputStream in) throws IOException, XMPPException {
argument 57 in.readFully(header, 0, 5);
68 in.readFully(response, header.length, addressLength + 2);
|
/external/smack/src/org/xbill/DNS/ |
H A D | EmptyRecord.java | 8 * A class implementing Records with no data; that is, records used in 9 * the question section of messages and meta-records in dynamic update. 26 rrFromWire(DNSInput in) throws IOException { argument
|
H A D | GenericEDNSOption.java | 33 optionFromWire(DNSInput in) throws IOException { argument 34 data = in.readByteArray();
|