/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());
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
BaseCipherSpi.java | 186 PrivateKeyInfo in = PrivateKeyInfo.getInstance(encoded); local 188 PrivateKey privKey = BouncyCastleProvider.getPrivateKey(in); 196 throw new InvalidKeyException("algorithm " + in.getPrivateKeyAlgorithm().getAlgorithm() + " not supported");
|
/external/clang/test/SemaTemplate/ |
instantiate-init.cpp | 61 // cause instantiation is in an unevaluated context, but one requiring its 104 Description<int*>::data // expected-note{{in instantiation of static data member 'PR7985::Description<int *>::data' requested here}} 112 // Ensure that in-class direct-initialization is instantiated as 118 // expected-note@+1 {{in instantiation of default member initializer}} 133 char in[4] = {0,0,0,0}; local 134 fun(in);
|
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/ |
SubcomponentBuilderValidationTest.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 67 .in(componentFile); method 101 .in(componentFile); method 139 .in(childComponentFile); method 171 .in(childComponentFile); 187 .in(builder); 217 .in(childComponentFile); 236 .in(childComponentFile); 255 .in(childComponentFile) [all...] |
/external/dhcpcd-6.8.2/dbus/ |
dbus-dict.c | 6 * 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 18 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 94 struct in_addr in; local 148 if (strchr(data, '.') != NULL && inet_aton(data, &in) == 1) 149 u32 = in.s_addr; 198 /* sscanf("1z", "%2hhx", &u8) will store 0x01 in u8 an 223 struct in_addr in; local [all...] |
/external/e2fsprogs/lib/ext2fs/ |
dirhash.c | 22 * Keyed 32-bit hash function using TEA in a Davis-Meyer function 34 static void TEA_transform(__u32 buf[4], __u32 const in[]) 38 __u32 a = in[0], b = in[1], c = in[2], d = in[3]; 59 * good macro practice, in favor of extra legibility. 71 static void halfMD4Transform (__u32 buf[4], __u32 const in[]) 76 ROUND(F, a, b, c, d, in[0] + K1, 3); 77 ROUND(F, d, a, b, c, in[1] + K1, 7) 199 __u32 in[8], buf[4]; local [all...] |
/external/eigen/unsupported/test/ |
FFTW.cpp | 122 // cout << "freqBuf=" << freqBuf[i] << " in2=" << tbuf3[i] << " - in=" << tbuf[i] << " => " << (tbuf3[i] - tbuf[i] ) << endl; 213 VectorXf in; local 215 in.setRandom( len ); 221 fft.fwd(out1,in); 222 out2 = fft.fwd(in); 225 VERIFY( (in1-in).norm() < test_precision<float>() );
|
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/ |
CollectionToArrayTester.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 49 * <tt>toArray(new Object[0])</tt> is identical in function to 80 Object[] in = new Object[0]; local 81 Object[] array = collection.toArray(in);
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
CollectionToArrayTester.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 52 * <tt>toArray(new Object[0])</tt> is identical in function to 83 Object[] in = new Object[0]; local 84 Object[] array = collection.toArray(in);
|
/external/guava/guava-tests/test/com/google/common/hash/ |
HashingInputStreamTest.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 53 HashingInputStream in = new HashingInputStream(hashFunction, buffer); local 55 int b = in.read(); 66 HashingInputStream in = new HashingInputStream(hashFunction, buffer); local 69 int numOfByteRead = in.read(buf, 0, buf.length); 83 HashingInputStream in = new HashingInputStream(hashFunction, buffer); local 86 int numOfByteRead = in.read(buf, 0, 3); 104 HashingInputStream in = new HashingInputStream(hashFunction, buffer); local 106 int numOfByteRead = in.read(buf, 0, 100) 118 HashingInputStream in = new HashingInputStream(Hashing.md5(), buffer); local 129 HashingInputStream in = new HashingInputStream(Hashing.md5(), buffer); local 141 HashingInputStream in = new HashingInputStream(Hashing.md5(), buffer); local [all...] |
/external/guice/core/src/com/google/inject/internal/ |
AbstractBindingBuilder.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 88 public void in(final Class<? extends Annotation> scopeAnnotation) { method in class:AbstractBindingBuilder 94 public void in(final Scope scope) { method in class:AbstractBindingBuilder
|
/external/icu/icu4c/source/test/intltest/ |
punyref.c | 26 and distribute it in any way that does not diminish the rights 39 /* Implementation (would normally go in its own .c file): */ 62 /* point (for use in representing integers) in the range 0 to */ 72 /* (when used for representing integers) is d, which needs to be in */ 74 /* nonzero, in which case the uppercase form is used. The behavior */ 225 b, j, in, oldi, w, k, digit, t; local 250 for (in = b > 0 ? b + 1 : 0; in < input_length; ++out) { 252 /* in is the index of the next character to be consumed, and * [all...] |