/external/guava/src/com/google/common/io/ |
LimitInputStream.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 * @param in the input stream to be wrapped 42 public LimitInputStream(InputStream in, long limit) { 43 super(in); 44 Preconditions.checkNotNull(in); 50 return (int) Math.min(in.available(), left); 54 in.mark(readlimit); 64 int result = in.read(); 77 int result = in.read(b, off, len) [all...] |
/external/oauth/core/src/main/java/net/oauth/http/ |
HttpMessageDecoder.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 65 private HttpMessageDecoder(HttpResponseMessage in, String encoding) 67 super(in.method, in.url); 68 this.headers.addAll(in.headers); 71 InputStream body = in.getBody(); 82 this.in = in; 85 private final HttpResponseMessage in; field in class:HttpMessageDecoder [all...] |
/external/openssl/apps/ |
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/)" 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 73 BIO *in = NULL, *out = NULL local [all...] |
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/)" 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 72 BIO *in = NULL, *out = NULL local [all...] |
/external/openssl/crypto/asn1/ |
evp_asn1.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 101 ASN1_INTEGER in; local [all...] |
/external/openssl/crypto/des/ |
ecb_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 113 const unsigned char *in = &(*input)[0]; local [all...] |
pcbc_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 67 const unsigned char *in; local [all...] |
/external/openssl/crypto/pkcs12/ |
p12_decr.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 67 /* Encrypt/Decrypt a buffer based on password and algor, result in 155 unsigned char *in = NULL; local [all...] |
/external/openssl/crypto/pkcs7/ |
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 71 BIO *in; local [all...] |
sign.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 73 BIO *in; local [all...] |
/external/openssl/crypto/rc4/ |
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 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 76 FILE *in=NULL,*out=NULL; local [all...] |
/external/openssl/crypto/x509/ |
by_file.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 133 BIO *in=NULL; local 200 BIO *in=NULL; local 268 BIO *in; local [all...] |
/external/qemu/audio/ |
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 18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 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 155 const struct st_sample *in = src; local 167 const struct st_sample *in = src; local [all...] |
/external/webkit/WebKitTools/DumpRenderTree/cairo/ |
PixelDumpSupportCairo.cpp | 5 * 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
21 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
50 Vector<unsigned char>* in = reinterpret_cast<Vector<unsigned char>*>(closure);
local 51 in->append(data, length);
|
/external/zlib/examples/ |
zpipe.c | 10 1.3 6 Apr 2005 Remove incorrect assertion in inf() 41 unsigned char in[CHUNK]; local 54 strm.avail_in = fread(in, 1, CHUNK, source); 60 strm.next_in = in; 63 compression if all of source has been read in */ 77 /* done when last data in file processed */ 97 unsigned char in[CHUNK]; local 112 strm.avail_in = fread(in, 1, CHUNK, source); 119 strm.next_in = in;
|
/frameworks/base/core/java/android/ddm/ |
DdmHandleExit.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 40 * Register for the messages we're interested in. 68 ByteBuffer in = wrapChunk(request); local 70 int statusCode = in.getInt();
|
/frameworks/base/core/tests/coretests/src/android/net/ |
SSLTest.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 InputStream in = ssl.getInputStream(); local 39 assertNotNull(in); 48 int ret = in.read(b);
|
/frameworks/base/include/private/media/ |
VideoFrame.h | 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 FILE *in = fopen(url, "r"); local 38 if (!in) { 41 fseek(in, 0, SEEK_END); 42 mSize = ftell(in); // Allocating buffer of size equals to the external file size. 44 fclose(in); 50 rewind(in); 51 if (fread(mData, 1, mSize, in) != mSize) { // Read failed. 57 fclose(in); [all...] |
/frameworks/base/media/jni/ |
android_media_ResampleInputStream.cpp | 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 102 short in[BUF_SIZE]; local 103 env->GetByteArrayRegion(jIn, jInOffset, (jNpoints * 2 + nFir21 - 1) * 2, (jbyte*)in); 110 const short* inp = &in[i * 2];
|
/libcore/luni/src/main/java/java/io/ |
FileDescriptor.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 29 * if desired, but it is recommended to go through System.in, System.out, and 43 public static final FileDescriptor in = new FileDescriptor(); field in class:FileDescriptor 67 in.descriptor = 0;
|
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
ASN1Boolean.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 69 public Object decode(BerInputStream in) throws IOException { 70 in.readBoolean(); 72 if (in.isVerify) { 75 return getDecodedObject(in); 81 * @param in - BER input stream 84 public Object getDecodedObject(BerInputStream in) throws IOException { 85 if (in.buffer[in.contentOffset] == 0) [all...] |
ASN1OpenType.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 public Object decode(BerInputStream in) throws IOException { 49 int[] oid = (int[]) in.get(key); 55 if (attr == null || (!attr.type.checkTag(in.tag))) { 56 in.content = (byte[]) super.getDecodedObject(in); 58 in.content = attr.type.decode(in); 60 return in.content [all...] |
ASN1Sequence.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 48 public Object decode(BerInputStream in) throws IOException { 49 in.readSequence(this); 51 if (in.isVerify) { 54 return getDecodedObject(in);
|
ASN1Set.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 51 public Object decode(BerInputStream in) throws IOException { 52 in.readSet(this); 54 if(in.isVerify){ 57 return getDecodedObject(in);
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
SSLBufferedInput.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 33 private ByteBuffer in; field in class:SSLBufferedInput 45 protected void setSourceBuffer(ByteBuffer in) { 47 this.in = in; 52 // in assumption that the buffer has been set 53 return in.remaining(); 64 * Reads the following byte value. If there are no bytes in the source 71 bytik = in.get() & 0x00FF [all...] |