/external/apache-harmony/support/src/test/java/org/apache/harmony/testframework/serialization/ |
SerializationTest.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 49 * returns array of objects to be de/serialized in tests, and the second 57 * should be set to value "serial.reference". In this mode, no testing 61 * The location of golden files (in both modes) is controlled via 121 * @return array of objects to be de/serialized in tests. 385 * The <code>comparator</code> is searched in the following order: <br>- 388 * has class in its classes hierarchy that overrides <code>equals(Object)</code> 499 * with corresponding object in provided array (i.e. <code>objects[N]</code>) 501 * in object's array. 603 InputStream in = SerializationTest.class.getResourceAsStream(path.toString()); local 661 ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray()); local [all...] |
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_Configuration.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 105 InputStream in = null; local 114 in = new FileInputStream(iniName); 121 if (in == null) { 125 in = cl.getResourceAsStream(iniName); 130 if (in != null) { 131 load(in, props); 221 static void load(InputStream in, Hashtable<String, String> result) throws IOException { 227 while ((nextChar = in.read()) != -1) [all...] |
/external/bison/src/ |
output.c | 13 This program is distributed in the hope that it will be useful, 93 /* Build `NAME_min' and `NAME_max' in the obstack. */ \ 233 /* Index of rule R in RHS. */ 242 /* Separator in RHS. */ 465 YYPACT) so that in states with unresolved conflicts, the default 466 reduction is not used in the conflicted entries, so that there is 470 parser, so we could avoid accidents by not writing them out in 505 FILE *in; 548 /* Some future version of GNU M4 (most likely 1.6) may treat the -dV in a 603 in = fdopen (filter_fd[0], "r") 504 FILE *in; local [all...] |
/external/boringssl/src/crypto/bytestring/ |
cbs.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 196 * If the number portion is 31 (0x1f, the largest value that fits in the 209 /* The format for the length encoding is specified in ITU-T X.690 section 454 CBS in = *cbs; local 456 if (!CBS_get_u8(&in, &num_unused_bits) || 467 if (!CBS_get_last_u8(&in, &last) ||
|
/external/boringssl/src/crypto/cipher_extra/ |
aead_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 38 // handle inputs that are a multiple of eight bytes in length and the 112 // IN: 6a4583908d 120 std::vector<uint8_t> key, nonce, in, ad, ct, tag; 123 ASSERT_TRUE(t->GetBytes(&in, "IN")); 129 // Legacy AEADs are MAC-then-encrypt and may include padding in the TA 502 uint8_t *in = buffer.data() + 1; local [all...] |
/external/boringssl/src/crypto/fipsmodule/des/ |
des.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 300 const uint8_t *in; local 544 const uint8_t *in = in_block->bytes; local 640 const uint8_t *in = input->bytes; local [all...] |
/external/boringssl/src/crypto/rsa_extra/ |
rsa_test.cc | 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 708 uint8_t in[1024 \/ 8] = {0}, out[1024 \/ 8]; local [all...] |
/external/boringssl/src/fipstools/ |
cavp_tdes_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 58 // If it is not, the keys are concatenated in a single attribute "KEYs". 89 std::vector<uint8_t> keys, key1, key2, key3, iv, in, result; local 100 !t->GetBytes(&in, in_label)) { 118 in)) { 145 EncodeHex(in.data(), in.size()).c_str()) 212 std::vector<uint8_t> key1, key2, key3, iv, in, result; local [all...] |
/external/boringssl/src/tool/ |
speed.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 53 // num_calls is the number of function calls done in the time period. 55 // us is the number of microseconds that elapsed in the time period. 59 printf("Did %u %s operations in %uus (%.1f ops/sec)\n", num_calls, 65 printf("Did %u %s operations in %uus (%.1f ops/sec): %.1f MB/s\n", 171 * certificate or similar, in which case we'd need to construct a new 197 static uint8_t *align(uint8_t *in, unsigned alignment) 223 uint8_t *const in = align(in_storage.get(), kAlignment); local [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
BCDHPrivateKey.java | 109 * return the encoding format we produce in getEncoded(). 194 ObjectInputStream in) 197 in.defaultReadObject(); 199 this.dhSpec = new DHParameterSpec((BigInteger)in.readObject(), (BigInteger)in.readObject(), in.readInt());
|
BCDHPublicKey.java | 83 throw new IllegalArgumentException("invalid info structure in DH public key"); 209 ObjectInputStream in) 212 in.defaultReadObject(); 214 this.dhSpec = new DHParameterSpec((BigInteger)in.readObject(), (BigInteger)in.readObject(), in.readInt());
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/ |
BCDSAPublicKey.java | 76 throw new IllegalArgumentException("invalid info structure in DSA public key"); 184 ObjectInputStream in) 187 in.defaultReadObject(); 189 BigInteger p = (BigInteger)in.readObject(); 196 this.dsaSpec = new DSAParameterSpec(p, (BigInteger)in.readObject(), (BigInteger)in.readObject());
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/ec/ |
BCECPrivateKey.java | 243 * return the encoding format we produce in getEncoded(). 398 ObjectInputStream in) 401 in.defaultReadObject(); 403 byte[] enc = (byte[])in.readObject();
|
BCECPublicKey.java | 335 ObjectInputStream in) 338 in.defaultReadObject(); 340 byte[] enc = (byte[])in.readObject();
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
CertificateFactory.java | 67 InputStream in) 70 return getCertificate(PEM_CERT_PARSER.readPEMObject(in)); 125 InputStream in) 128 return getCRL(PEM_CRL_PARSER.readPEMObject(in)); 180 InputStream in) 185 currentStream = in; 189 else if (currentStream != in) // reset if input stream has changed 191 currentStream = in; 214 if (in.markSupported()) 216 pis = in; 390 BufferedInputStream in = new BufferedInputStream(inStream); local [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/ |
BaseWrapCipher.java | 366 PrivateKeyInfo in = PrivateKeyInfo.getInstance(encoded); local 368 PrivateKey privKey = BouncyCastleProvider.getPrivateKey(in); 376 throw new InvalidKeyException("algorithm " + in.getPrivateKeyAlgorithm().getAlgorithm() + " not supported");
|
/external/c-ares/ |
ares_gethostbyname.c | 7 * notice appear in all copies and that both that copyright 8 * notice and this permission notice appear in supporting 9 * documentation, and that the name of M.I.T. not be used in 23 # include <netinet/in.h> 65 int want_family; /* this family is what is asked for in the API */ 107 /* Allocate and fill in the host query structure. */ 165 that can occur, as that is in fact no longer the case */ 247 struct in_addr in; local 271 result = ((in.s_addr = inet_addr(name)) == INADDR_NONE ? 0 : 1); 285 addrs[0] = (char *)∈ [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/util/ |
Util.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 46 // try replacing the last dot with a $, in case that helps 48 // amusingly, the $ character means three different things in this one line alone 62 // Use the thread context class loader. This is necessary because in some configurations, e.g. 72 InputStream in = closer.register(is.openStream()); local 74 props.load(in); 100 * <p>The keys in the returned map have had their {@code <groupName>.} prefix removed.
|
/external/caliper/caliper/src/test/java/com/google/caliper/runner/ |
FakeWorkers.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 65 * Returns a ProcessBuilder that attempts to invoke the given class as main in a JVM configured 86 * A simple main method that will sleep for the number of milliseconds specified in the first 110 System.in.close();
|
/external/clang/test/Analysis/ |
const-method-call.cpp | 45 Inner in; member in struct:Outer 95 t.in.p = &x; 99 clang_analyzer_eval(t.in.p == &x); // expected-warning{{TRUE}} 105 t.in.x = 2; 106 t.in.bar(); 108 clang_analyzer_eval(t.in.x == 2); // expected-warning{{TRUE}} 136 DInner in; member in struct:DOuter 166 t.in.x = 3; 167 t.in.p = &x; 171 clang_analyzer_eval(t.in.x == 3); // expected-warning{{TRUE} 238 InnerWithRef in; member in struct:Outer2 [all...] |
/external/conscrypt/openjdk/src/main/java/org/conscrypt/ |
NativeLibraryLoader.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 21 * version 2.0 (the "License"); you may not use this file except in compliance 26 * Unless required by applicable law or agreed to in writing, software 92 // This shouldn't happen, but just in case .. 160 * Loads the first available library in the collection with the specified 204 InputStream in = null; local 209 in = url.openStream(); 214 while ((length = in.read(buffer)) > 0) { 220 // because otherwise Windows will refuse to load it when it's in use by other process [all...] |
/external/curl/docs/examples/ |
curlx.c | 8 - using an ssl application callback to find a URI in the 20 * Redistribution and use in source and binary forms, with or without 28 * 2. Redistributions in binary form must reproduce the above copyright 30 * and the original OpenSSL and SSLeay Licences below in 37 * for use in the OpenEvidence Toolkit. (http://www.openevidence.org/)" 39 * for use in the OpenSSL Toolkit (https://www.openssl.org/)" 50 * nor may "OpenEvidence" appear in their names without prior written 56 * for use in the OpenEvidence Toolkit (http://www.openevidence.org/) 58 * for use in the OpenSSL Toolkit (https://www.openssl.org/)" 66 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenEvidence PROJECT O 270 BIO* in=NULL; local [all...] |
http2-upload.c | 10 * This software is licensed as described in the file COPYING, which 41 libcurls old enough to not have this symbol. It is _not_ defined to zero in 139 default: /* in case a new one is introduced to shock us */ 167 FILE *in; member in struct:input 175 size_t retcode = fread(ptr, size, nmemb, i->in); 199 indata[num].in = fopen(upload, "rb"); 212 /* send in the URL to store the upload as */ 317 select(maxfd + 1, ...); specially in case of (maxfd == -1) there are 319 to sleep 100ms, which is the minimum suggested value in the
|
/external/curl/lib/ |
asyn-ares.c | 10 * This software is licensed as described in the file COPYING, which 29 #include <netinet/in.h> 38 #include <in.h> 54 * as defined in asyn.h, nothing else belongs in this file! 85 /* The last 3 #include files should be in this order */ 212 * Returns: sockets-in-use-bitmap 412 in the cache. */ 496 struct in_addr in; local 505 if(Curl_inet_pton(AF_INET, hostname, &in) > 0) [all...] |
asyn-thread.c | 10 * This software is licensed as described in the file COPYING, which 26 #include <netinet/in.h> 35 #include <in.h> 72 /* The last 3 #include files should be in this order */ 346 * if the thread is still blocking in the resolve syscall, detach it and 376 * Returns FALSE in case of failure, otherwise TRUE. 459 * This is the version for resolves-in-a-thread. 568 struct in_addr in; local 572 if(Curl_inet_pton(AF_INET, hostname, &in) > 0) 574 return Curl_ip2addr(AF_INET, &in, hostname, port) 597 struct in_addr in; local [all...] |