/external/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/ |
get_year_wide.pass.cpp | 42 const wchar_t in[] = L"2009"; local 45 I i = f.get_year(I(in), I(in+sizeof(in)/sizeof(in[0])-1), ios, err, &t); 46 assert(i.base() == in+sizeof(in)/sizeof(in[0])-1); 52 const wchar_t in[] = L"2009"; local 55 I i = f.get_year(I(in), I(in+sizeof(in)/sizeof(in[0])-1), ios, err, &t) 62 const wchar_t in[] = L"2009"; local 72 const wchar_t in[] = L"2009"; local [all...] |
/external/nanopb-c/examples/using_double_on_avr/ |
double_conversion.c | 18 conversion_t in; local 19 in.f = value; 25 sign = (in.i >> 31) & 1; 26 exponent = ((in.i >> 23) & 0xFF) - 127; 27 mantissa = in.i & 0x7FFFFF; 74 /* Figure if value is in range representable by floats. */
|
/external/openssl/crypto/bf/ |
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 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 BF_LONG *p,ri,in[2]; local [all...] |
/external/openssl/crypto/x509/ |
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 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 79 ASN1_INTEGER *in; local 109 ASN1_TIME *in; local 127 ASN1_TIME *in; local [all...] |
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/)" 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 86 ASN1_TIME *in; local 104 ASN1_TIME *in; local 138 ASN1_TIME *in; local 156 ASN1_INTEGER *in; local [all...] |
/external/apache-harmony/x-net/src/test/impl/java/org/apache/harmony/xnet/tests/provider/jsse/ |
HelloRequestTest.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 44 HandshakeIODataStream in = new HandshakeIODataStream(); local 45 in.append(encoded); 46 HelloRequest message_2 = new HelloRequest(in, message.length()); 49 in.append(encoded); 51 new HelloRequest(in, message.length() - 1); 56 in.append(encoded); 57 in.append(new byte[] { 1, 2, 3 }); 59 new HelloRequest(in, message.length() + 3) [all...] |
ServerHelloDoneTest.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 50 HandshakeIODataStream in = new HandshakeIODataStream(); local 51 in.append(encoded); 52 ServerHelloDone message_2 = new ServerHelloDone(in, message.length()); 55 in.append(encoded); 57 new ServerHelloDone(in, message.length() - 1); 62 in.append(encoded); 63 in.append(new byte[] { 1, 2, 3 }); 65 new ServerHelloDone(in, message.length() + 3) [all...] |
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
CertificateMessageTest.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 70 HandshakeIODataStream in = new HandshakeIODataStream(); local 71 in.append(encoded); 73 CertificateMessage message_2 = new CertificateMessage(in, message.length()); 100 HandshakeIODataStream in = new HandshakeIODataStream(); local 101 in.append(encoded); 102 CertificateMessage message_2 = new CertificateMessage(in, message.length()); 107 in.append(encoded); 109 message_2 = new CertificateMessage(in, message.length() - 1) [all...] |
ClientHelloTest.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 53 HandshakeIODataStream in = new HandshakeIODataStream(); local 54 in.append(encoded); 55 ClientHello message_2 = new ClientHello(in, message.length()); 62 in.append(encoded); 64 message_2 = new ClientHello(in, message.length() - 1); 69 in.append(encoded); 71 message_2 = new ClientHello(in, message.length() + 1); 76 in.append(encoded) [all...] |
ClientKeyExchangeTest.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 55 HandshakeIODataStream in = new HandshakeIODataStream(); local 56 in.append(encoded); 57 ClientKeyExchange message_2 = new ClientKeyExchange(in, message 65 in.append(encoded); 67 message_2 = new ClientKeyExchange(in, message.length() - 1, 78 in.append(encoded); 79 in.append(new byte[] { 1, 2, 3 }); 81 message_2 = new ClientKeyExchange(in, message.length() + 3 114 HandshakeIODataStream in = new HandshakeIODataStream(); local 163 HandshakeIODataStream in = new HandshakeIODataStream(); local [all...] |
ServerHelloTest.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 53 HandshakeIODataStream in = new HandshakeIODataStream(); local 54 in.append(encoded); 55 ServerHello message_2 = new ServerHello(in, message.length()); 66 in.append(encoded); 68 new ServerHello(in, message.length() - 1); 73 in.append(encoded); 74 in.append(new byte[] { 1, 2, 3 }); 76 new ServerHello(in, message.length() + 3) [all...] |
CertificateRequestTest.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 80 HandshakeIODataStream in = new HandshakeIODataStream(); local 81 in.append(encoded); 82 CertificateRequest message_2 = new CertificateRequest(in, message.length()); 88 in.append(encoded); 90 message_2 = new CertificateRequest(in, message.length() - 1); 95 in.append(encoded); 96 in.append(new byte[] { 1, 2, 3 }); 98 message_2 = new CertificateRequest(in, message.length() + 3) [all...] |
ServerKeyExchangeTest.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 55 HandshakeIODataStream in = new HandshakeIODataStream(); local 56 in.append(encoded); 57 ServerKeyExchange message_2 = new ServerKeyExchange(in, message 68 in.append(encoded); 70 new ServerKeyExchange(in, message.length() - 1, 76 in.append(encoded); 77 in.append(new byte[] { 1, 2, 3 }); 79 new ServerKeyExchange(in, message.length() + 3 109 HandshakeIODataStream in = new HandshakeIODataStream(); local 158 HandshakeIODataStream in = new HandshakeIODataStream(); local [all...] |
/external/easymock/src/org/easymock/internal/ |
EasyMockProperties.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
29 * <li>easymock.properties in classpath default package</li>
58 InputStream in = getClassLoader().getResourceAsStream(
local 60 if (in != null) {
61 in = new BufferedInputStream(in);
63 properties.load(in);
69 in.close();
|
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/guide/ |
GetExample.java | 20 InputStream in = null; local 23 in = connection.getInputStream(); 24 byte[] response = readFully(in); 27 if (in != null) in.close(); 31 byte[] readFully(InputStream in) throws IOException { 34 for (int count; (count = in.read(buffer)) != -1; ) {
|
PostExample.java | 24 InputStream in = null; local 37 in = connection.getInputStream(); 38 return readFirstLine(in); 42 if (in != null) in.close(); 46 String readFirstLine(InputStream in) throws IOException { 47 BufferedReader reader = new BufferedReader(new InputStreamReader(in, "UTF-8"));
|
/cts/common/host-side/xml-plan-generator/src/com/android/compatibility/common/xmlgenerator/ |
TestListParser.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 24 * Parser of test lists in the form; 43 Scanner in = null; local 45 in = new Scanner(input); 46 while (in.hasNextLine()) { 47 final String line = in.nextLine(); 90 if (in != null) { 91 in.close();
|
/cts/libs/vogar-expect/src/vogar/util/ |
Strings.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 45 BufferedReader in = new BufferedReader(reader); local 47 while ((line = in.readLine()) != null) { 51 in.close(); 60 BufferedReader in = local 64 while ((line = in.readLine()) != null) { 67 in.close();
|
/dalvik/dx/src/com/android/multidex/ |
Path.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 static byte[] readStream(InputStream in, ByteArrayOutputStream baos, byte[] readBuffer) 69 int amt = in.read(readBuffer); 77 in.close(); 100 InputStream in = element.open(path); local 102 byte[] bytes = readStream(in, baos, readBuffer); 108 in.close();
|
/development/samples/Vault/src/com/example/android/vault/ |
Utils.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 59 final InputStream in = new FileInputStream(file); local 64 while ((count = in.read(buffer)) != -1) { 69 in.close();
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/runner/ |
ParserLoader.java | 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 20 IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 24 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 51 // load all the class files in the "classDir" related to the grammarName 60 final InputStream in = new BufferedInputStream(new FileInputStream(f)); local 61 final byte[] classData = new byte[in.available()]; 62 in.read(classData) [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
SequenceOfTest.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 83 DerInputStream in = new DerInputStream((byte[]) testcases[i][1]); local 85 .decode(in)); 108 public Object getDecodedObject(BerInputStream in) 116 DerInputStream in = new DerInputStream((byte[]) testcases[i][1]); local 117 in.setVerify(); 118 seqVerify.decode(in);
|
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_GetLocal.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 42 InputStream in = Support_GetLocal.class.getResourceAsStream(url); local 48 while ((result = in.read(buf)) != -1) { 51 in.close(); 62 InputStream in = new URL(url).openStream(); local 68 while ((result = in.read(buf)) != -1) { 71 in.close(); 80 InputStream in = new URL(url).openStream(); local 84 while ((result = in.read(buf)) != -1) [all...] |
/external/doclava/src/com/google/doclava/ |
JarUtils.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 69 InputStream in = fromJar.getInputStream(entry); local 75 while ((s = in.read(buffer)) > 0) { 82 in.close();
|
/external/emma/core/java12/com/vladium/emma/rt/ |
RTExitHook.java | 43 InputStream in = null; local 50 in = RTExitHook.class.getResourceAsStream (CLOSURE_RESOURCE); 51 if (in != null) 54 closureMap.load (in); 69 if (in != null) try { in.close (); } catch (IOException ignore) { ignore.printStackTrace (); } 71 in = null; 120 private Class m_RT; // keep our RT class pinned in memory
|