/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/nonstiff/ |
H A D | RungeKuttaStepInterpolator.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 * instance in order to initialize the internal arrays. This 50 * constructor is used only in order to delay the initialization in 97 // we cannot keep any reference to the equations in the copy 109 * abstract classes call this method in order to let the step 155 public void readExternal(final ObjectInput in) argument 159 final double t = readBaseExternal(in); 163 final int kMax = in [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/sampling/ |
H A D | AbstractStepInterpolator.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 86 * instance in order to initialize the internal arrays. This 87 * constructor is used only in order to delay the initialization in 382 * differential equations (for example update some data in the 432 public abstract void readExternal(ObjectInput in) argument 439 * @exception IOException in case of write error 483 * @param in stream where to read the state from 485 * @exception IOException in cas 487 readBaseExternal(final ObjectInput in) argument [all...] |
H A D | DummyStepInterpolator.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 * should be called before using the instance in order to initialize 51 * the internal arrays. This constructor is used only in order to delay 52 * the initialization in some cases. As an example, the {@link 126 * @param in input channel 130 public void readExternal(final ObjectInput in) argument 134 final double t = readBaseExternal(in); 141 currentDerivative[i] = in.readDouble();
|
H A D | NordsieckStepInterpolator.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 /** Step size used in the first scaled derivative and Nordsieck vector. */ 69 * before using the instance in order to initialize the internal arrays. This 70 * constructor is used only in order to delay the initialization in 104 * arrays, in order to ensure proper update without copy.</p> 117 * arrays, in order to ensure proper update without copy.</p> 119 * @param stepSize step size used in the scaled and nordsieck arrays 140 * this method has the side effect of rescaling this arrays in th 253 readExternal(final ObjectInput in) argument [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/random/ |
H A D | EmpiricalDistributionImpl.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 * <li>Generate a uniformly distributed value in (0,1) </li> 89 /** upper bounds of subintervals in (0,1) "belonging" to the bins */ 92 /** RandomData instance to use in repeated calls to getNext() */ 117 * @param in the input data array 119 public void load(double[] in) { argument 120 DataAdapter da = new ArrayDataAdapter(in); 123 fillBinStats(in); 138 BufferedReader in 216 getAdapter(Object in) argument 244 StreamDataAdapter(BufferedReader in) argument 292 ArrayDataAdapter(double[] in) argument 323 fillBinStats(Object in) argument [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/inference/ |
H A D | ChiSquareTestImpl.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 27 * Implements Chi-Square test statistics defined in the 325 * @param in input 2-way table to check 328 private void checkArray(long[][] in) throws IllegalArgumentException { argument 330 if (in.length < 2) { 332 LocalizedFormats.INSUFFICIENT_DIMENSION, in.length, 2); 335 if (in[0].length < 2) { 337 LocalizedFormats.INSUFFICIENT_DIMENSION, in[0].length, 2); 340 checkRectangular(in); 354 checkRectangular(long[][] in) argument 370 checkPositive(double[] in) argument 386 checkNonNegative(long[] in) argument 402 checkNonNegative(long[][] in) argument [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
H A D | BigReal.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 * in order to implement the {@link FieldElement} interface. 98 * @param in character representation of the value 100 public BigReal(char[] in) { argument 101 d = new BigDecimal(in); 105 * @param in character representation of the value 109 public BigReal(char[] in, int offset, int len) { argument 110 d = new BigDecimal(in, offset, len); 114 * @param in characte 119 BigReal(char[] in, int offset, int len, MathContext mc) argument 127 BigReal(char[] in, MathContext mc) argument [all...] |
H A D | FastMath.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 22 * Additionally implements the following methods not found in StrictMath: 28 * The following methods are found in StrictMath since 1.6 only 62 /** Exponential over the range of 0 - 1 in increments of 2^-10 67 /** Exponential over the range of 0 - 1 in increments of 2^-10 75 /** Extended precision logarithm table over the range 1 - 2 in increments of 2^-10. */ 117 /** Coefficients for log in the range of 1.0 < x < 1.0 + 2^-10. */ 173 * a multiply in this time-critical routine 185 * There are 52 bits in th 1094 splitReciprocal(final double in[], final double result[]) argument [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/ |
H A D | 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 196 private int loadClassData(InputStream in, byte[] raw, int size) throws IOException { argument 197 int len = in.read(raw); 200 in.close(); 212 * Internal class used in ClassUnloadTest
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/share/ |
H A D | JPDADebuggeeSynchronizer.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 58 protected DataInputStream in; field in class:JPDADebuggeeSynchronizer 109 msg = in.readUTF(); 129 msg = in.readUTF(); 148 msg = in.readUTF(); 186 "[SYNC] Exception in binding for socket sync connection", e); 203 in = new DataInputStream(clientSocket.getInputStream()); 206 "[SYNC] Exception in accepting socket sync connection", e); 223 in [all...] |
/external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/io/ |
H A D | UnixFileTest.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 52 ConsoleResulter(Process p, InputStream in) { argument 54 is = in; 87 // in case the test case will run under other OS. 162 // in case we cannot fetch the value from command line 306 // setReadable(true, false/true) and set them in turn
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
H A D | Identity2Test.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 62 public void decode(InputStream in) { argument 225 assertEquals("Certificate not contained in the identity",
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
H A D | TestCertUtils.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 92 * TestCertificate-s included in the CertPath will be uniq (will have 95 * in the CertPath. The second certificate will have (startID+1) number 228 * (int) number of certificates in this CertPath<br> 246 private void readObject(ObjectInputStream in) throws IOException, argument 248 String s = in.readUTF(); 253 int count = in.readInt(); 256 certs[i] = (Certificate) in.readObject(); 398 private void readObject(ObjectInputStream in) throw argument [all...] |
/external/apache-harmony/support/src/test/java/tests/support/ |
H A D | 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; 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 { argument 227 while ((nextChar = in [all...] |
H A D | Support_HttpServer.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 218 InputStream in = socket.getInputStream(); 224 while (((line = readln(in)) != null) && (line.length() > 1)) { 227 // determine the resource requested in the first line 286 postTest(length, in); 291 in.close(); 366 // the URL was in the format: 446 private void postTest(int length, InputStream in) { argument 451 data.write(in [all...] |
/external/apache-harmony/support/src/test/java/tests/support/resource/ |
H A D | Support_Resources.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 91 InputStream in = Support_Resources.getStream(src); 94 copyLocalFileTo(dst, in); 104 public static void copyLocalFileTo(File dest, InputStream in) throws IOException { argument 109 while ((result = in.read(buf)) != -1) { 112 in.close(); 120 InputStream in = new URL(url).openStream(); 122 copyLocalFileTo(temp, in);
|
/external/apache-http/src/org/apache/http/conn/ |
H A D | EofSensorInputStream.java | 12 * (the "License"); you may not use this file except in compliance with 17 * Unless required by applicable law or agreed to in writing, software 44 * This class is based on <code>AutoCloseInputStream</code> in HttpClient 3.1, 84 * is <code>null</code>, we're running in EOF mode. 104 * @param in the wrapped stream 108 public EofSensorInputStream(final InputStream in, argument 110 if (in == null) { 115 wrappedStream = in; 125 * <code>false</code> if this stream is in EOF mode and 236 * in cas [all...] |
/external/apache-http/src/org/apache/http/impl/conn/ |
H A D | LoggingSessionInputBuffer.java | 12 * (the "License"); you may not use this file except in compliance with 17 * Unless required by applicable law or agreed to in writing, software 56 private final SessionInputBuffer in; field in class:LoggingSessionInputBuffer 63 * @param in The session input buffer. 66 public LoggingSessionInputBuffer(final SessionInputBuffer in, final Wire wire) { argument 68 this.in = in; 73 return this.in.isDataAvailable(timeout); 77 int l = this.in.read(b, off, len); 85 int l = this.in [all...] |
/external/apache-http/src/org/apache/http/impl/io/ |
H A D | 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) { argument 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 [all...] |
H A D | ContentLengthInputStream.java | 12 * "License"); you may not use this file except in compliance 17 * Unless required by applicable law or agreed to in writing, 94 private SessionInputBuffer in = null; field in class:ContentLengthInputStream 99 * @param in The session input buffer to wrap 103 public ContentLengthInputStream(final SessionInputBuffer in, long contentLength) { argument 105 if (in == null) { 111 this.in = in; 152 return this.in.read(); 179 int count = this.in [all...] |
H A D | IdentityInputStream.java | 12 * "License"); you may not use this file except in compliance 17 * Unless required by applicable law or agreed to in writing, 55 private final SessionInputBuffer in; field in class:IdentityInputStream 59 public IdentityInputStream(final SessionInputBuffer in) { argument 61 if (in == null) { 64 this.in = in; 68 if (!this.closed && this.in.isDataAvailable(10)) { 83 return this.in.read(); 91 return this.in [all...] |
/external/bison/src/ |
H A D | 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 504 FILE *in; local [all...] |
H A D | scan-skel.c | 209 /* The state buf must be large enough to hold one state per character in the main buffer. 267 char *yy_buf_pos; /* current position in input buffer */ 269 /* Size of input buffer in bytes, not including room for EOB 339 /* We provide macros for accessing buffer states in case in the 340 * future we want to put the buffer states in a more general 364 /* Points to current character in buffer. */ 470 /* This struct is not used in this scanner, 613 This program is distributed in the hope that it will be useful, 622 /* Work around a bug in fle 2277 scan_skel(FILE *in) argument [all...] |
/external/boringssl/ |
H A D | android_compat_keywrap.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/)" 65 const uint8_t *in, unsigned int inlen) { 71 memcpy(out + 8, in, inlen); 95 const uint8_t *in, unsigned int inlen) { 103 memcpy(A, in, 64 AES_wrap_key(AES_KEY *key, const uint8_t *iv, uint8_t *out, const uint8_t *in, unsigned int inlen) argument 94 AES_unwrap_key(AES_KEY *key, const uint8_t *iv, uint8_t *out, const uint8_t *in, unsigned int inlen) argument [all...] |
/external/boringssl/src/crypto/aes/ |
H A D | aes.c | 4 * 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 19 * for use in the OpenSSL Toolkit. (http://www.openssl.org/)" 27 * nor may "OpenSSL" appear in their names without prior written 33 * for use in the OpenSSL Toolkit (http://www.openssl.org/)" 677 void AES_encrypt(const uint8_t *in, uint8_t *out, const AES_KEY *key) { argument 684 assert(in && out && key); 689 s0 = GETU32(in) ^ rk[0]; 690 s1 = GETU32(in 865 AES_decrypt(const uint8_t *in, uint8_t *out, const AES_KEY *key) argument 1066 AES_encrypt(const uint8_t *in, uint8_t *out, const AES_KEY *key) argument 1071 AES_decrypt(const uint8_t *in, uint8_t *out, const AES_KEY *key) argument [all...] |