/development/samples/training/network-usage/src/com/example/android/networkusage/ |
StackOverflowXmlParser.java | 5 * in compliance with the License. You may obtain a copy of the License at 9 * Unless required by applicable law or agreed to in writing, software distributed under the License 30 * where each list element represents a single entry (post) in the XML feed. 37 public List<Entry> parse(InputStream in) throws XmlPullParserException, IOException { 41 parser.setInput(in, null); 45 in.close(); 68 // This class represents a single entry (post) in the XML feed. 108 // Processes title tags in the feed. 116 // Processes link tags in the feed. 132 // Processes summary tags in the feed [all...] |
/device/asus/fugu/libaudio/ |
AudioHardwareInput.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 109 AudioStreamIn* in; local 111 in = new AudioStreamIn(*this); 112 if (in == NULL) { 117 *status = in->set(format, channelMask, sampleRate); 120 delete in; 124 mInputStreams.add(in); 126 return in; 129 void AudioHardwareInput::closeInputStream(AudioStreamIn* in) 146 AudioStreamIn* in = mInputStreams[0]; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/ |
socketmodule.h | 10 # include <netinet/in.h>
98 struct sockaddr_in in;
member in union:sock_addr 133 double sock_timeout; /* Operation timeout in seconds;
142 The _ssl module needs access to the type object defined in
145 C API of a module in a struct which then gets exported to
148 The code in socketmodule.c defines this struct (which currently
156 a static copy of this struct in the importing module.
169 Now use the C API as if it were defined in the using
194 XXX named PySocketModule_APIObject in _ssl.c. It's unclear why it isn't
219 /* You *must* call this before using any of the functions in
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
socketmodule.h | 10 # include <netinet/in.h>
98 struct sockaddr_in in;
member in union:sock_addr 133 double sock_timeout; /* Operation timeout in seconds;
142 The _ssl module needs access to the type object defined in
145 C API of a module in a struct which then gets exported to
148 The code in socketmodule.c defines this struct (which currently
156 a static copy of this struct in the importing module.
169 Now use the C API as if it were defined in the using
194 XXX named PySocketModule_APIObject in _ssl.c. It's unclear why it isn't
219 /* You *must* call this before using any of the functions in
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/ |
minigzip.c | 3 * For conditions of distribution and use, see copyright notice in zlib.h
13 * or in pipe mode.
53 #ifndef WIN32 /* unlink already in stdio.h for WIN32 */
75 void gz_compress OF((FILE *in, gzFile out));
77 int gz_compress_mmap OF((FILE *in, gzFile out));
79 void gz_uncompress OF((gzFile in, FILE *out));
98 void gz_compress(in, out)
99 FILE *in;
107 /* Try first compressing with mmap. If mmap fails (minigzip used in a
110 if (gz_compress_mmap(in, out) == Z_OK) return; 198 FILE *in; local 229 gzFile in; local [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/ |
ClassUnloadDebuggee.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 199 private int loadClassData(InputStream in, byte[] raw, int size) throws IOException { 200 int len = in.read(raw); 203 in.close(); 216 * Internal class used in ClassUnloadTest
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ReferenceType/ |
ConstantPoolTest.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 102 BufferedInputStream in = new BufferedInputStream(new FileInputStream(debuggeeClass)); local 106 count = in.read(bytes,index,length); 111 printErrorAndFail(thisCommandName + "has error in reading target class file!"); 114 // Entry count is placed in byte 8 and byte 9 of class file
|
/external/apache-http/src/org/apache/http/impl/io/ |
ChunkedInputStream.java | 12 * "License"); you may not use this file except in compliance 17 * Unless required by applicable law or agreed to in writing, 79 private SessionInputBuffer in; field in class:ChunkedInputStream 100 public ChunkedInputStream(final SessionInputBuffer in) { 102 if (in == null) { 105 this.in = in; 111 * <p> Returns all the data in a chunked stream in coalesced form. A chunk 136 return in.read() [all...] |
/external/boringssl/src/crypto/x509/ |
x_name.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 529 X509_NAME *in; local [all...] |
/external/boringssl/src/fipstools/ |
cavp_aes_test.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 45 std::vector<uint8_t> iv, std::vector<uint8_t> in) { 56 EncodeHex(in.data(), in.size()).c_str()); 61 if (!CipherOperation(cipher, &result, encrypt, key, iv, in)) { 64 in = result; 77 if (!CipherOperation(cipher, &result, encrypt, key, iv, in)) { 143 std::vector<uint8_t> key, iv, in, result; local [all...] |
test_fips.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 16 * purposes in the validation process only. */ 37 const unsigned char *in = (const unsigned char *)a; local 39 printf("%02x", in[i]);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/ |
BCDSAPrivateKey.java | 77 * return the encoding format we produce in getEncoded(). 148 ObjectInputStream in) 151 in.defaultReadObject(); 153 this.dsaSpec = new DSAParameterSpec((BigInteger)in.readObject(), (BigInteger)in.readObject(), (BigInteger)in.readObject());
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/ |
BCRSAPrivateKey.java | 131 ObjectInputStream in) 134 in.defaultReadObject();
|
BCRSAPublicKey.java | 73 throw new IllegalArgumentException("invalid info structure in RSA public key"); 148 ObjectInputStream in) 151 in.defaultReadObject(); 155 algorithmIdentifier = AlgorithmIdentifier.getInstance(in.readObject());
|